/* =========================================================
   MAGRIBACHE — PAGE HISTOIRE
   ========================================================= */
.history-page{
    overflow-x:hidden;
    background:#fff;
    color:#181818;
}
.history-page .history-section{
    position:relative;
    padding:120px 0;
}

/* Hero éditorial */
.history-page .history-hero{
    position:relative;
    min-height:850px;
    height:100svh;
    overflow:hidden;
    background:#181818;
    color:#fff;
}
.history-page .history-hero-media,
.history-page .history-hero-overlay{
    position:absolute;
    inset:0;
}
.history-page .history-hero-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    filter:saturate(.82) contrast(1.03);
    transform:scale(1.035);
    animation:historyHeroBreath 16s ease-in-out infinite alternate;
}
.history-page .history-hero-overlay{
    background:
        linear-gradient(90deg,rgba(8,8,8,.85) 0%,rgba(8,8,8,.62) 44%,rgba(8,8,8,.13) 74%,rgba(8,8,8,.25) 100%),
        linear-gradient(0deg,rgba(8,8,8,.42),transparent 52%);
}
.history-page .history-hero-year{
    position:absolute;
    z-index:1;
    right:-20px;
    bottom:-82px;
    font-family:'Oswald',sans-serif;
    font-size:clamp(210px,30vw,480px);
    font-weight:700;
    line-height:.82;
    letter-spacing:-.065em;
    color:rgba(255,255,255,.075);
    pointer-events:none;
}
.history-page .history-hero-inner{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    min-height:inherit;
    height:100%;
    padding-top:90px;
}
.history-page .history-hero-copy{
    width:min(100%,1050px);
    animation:historyHeroEnter 1s .15s both cubic-bezier(.16,1,.3,1);
}
.history-page .history-hero-copy>p{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0 0 25px;
    font-family:'Manrope',sans-serif;
    font-size:11px;
    font-weight:800;
    letter-spacing:.17em;
    text-transform:uppercase;
    color:rgba(255,255,255,.74);
}
.history-page .history-hero-copy>p span{
    width:45px;
    height:2px;
    background:var(--mf-orange);
}
.history-page .history-hero h1{
    max-width:1040px;
    margin:0;
    font-family:'Oswald',sans-serif;
    font-size:clamp(64px,8vw,112px);
    font-weight:600;
    line-height:.95;
    letter-spacing:-.045em;
    color:#fff;
}
.history-page .history-hero h1 em{
    display:inline-block;
    font-style:normal;
    color:var(--mf-orange);
}
.history-page .history-hero-bottom{
    max-width:650px;
    margin-top:42px;
}
.history-page .history-hero-bottom p{
    max-width:610px;
    margin:0;
    font-family:'Manrope',sans-serif;
    font-size:15px;
    line-height:1.8;
    color:rgba(255,255,255,.76);
}
.history-page .history-hero-arrow{
    position:absolute;
    z-index:4;
    left:50%;
    bottom:30px;
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border:1px solid rgba(255,255,255,.5);
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#fff;
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
    animation:historyArrow 2.2s ease-in-out infinite;
    transition:background .3s,border-color .3s,color .3s;
    transform:translateX(-50%);
}
.history-page .history-hero-arrow:hover{
    border-color:var(--mf-orange);
    background:var(--mf-orange);
}

/* Titres : mêmes mesures que la section Solutions */
.history-page .history-section-heading{
    width:min(100%,1040px);
    margin:0 auto 72px;
    text-align:center;
}
.history-page .history-section-heading-left{
    margin-left:0;
    text-align:left;
}
.history-page .history-section-label{
    margin:0 0 22px;
    font-family:'Manrope',sans-serif;
    font-size:10px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.17em;
    text-transform:uppercase;
    color:var(--mf-orange);
}
.history-page .history-section-label span{
    display:inline-flex;
    align-items:center;
    gap:13px;
}
.history-page .history-section-label span::before{
    content:"";
    width:38px;
    height:2px;
    background:currentColor;
}
.history-page .history-section-heading h2,
.history-page .history-mission-lead h2,
.history-page .history-team-copy h2{
    margin:0;
    font-family:'Oswald',sans-serif;
    font-size:clamp(58px,6.2vw,84px);
    font-weight:600;
    line-height:1.02;
    letter-spacing:-.035em;
    text-transform:none;
    color:#181818;
}
.history-page .history-section-heading h2 em,
.history-page .history-mission-lead h2 em,
.history-page .history-team-copy h2 em{
    font-style:normal;
    color:var(--mf-orange);
}
.history-page .history-section-heading>p:last-child{
    max-width:760px;
    margin:28px auto 0;
    font-family:'Manrope',sans-serif;
    font-size:clamp(15px,1.35vw,18px);
    font-weight:500;
    line-height:1.75;
    color:#666;
}

/* Qui sommes-nous */
.history-page .history-intro{
    padding:88px 0 108px;
    background:#fff;
}
.history-page .history-intro .history-section-heading{margin-bottom:52px}
.history-page .history-intro .history-section-label{
    margin-bottom:26px;
    font-size:clamp(14px,1.35vw,18px);
    letter-spacing:.12em;
}
.history-page .history-origin-grid{
    display:grid;
    grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
    align-items:center;
    gap:clamp(55px,8vw,120px);
    max-width:1180px;
    margin:0 auto;
}
.history-page .history-origin-index{
    display:block;
    margin-bottom:25px;
    font-family:'Oswald',sans-serif;
    font-size:14px;
    letter-spacing:.08em;
    color:var(--mf-orange);
}
.history-page .history-origin-copy h3{
    margin:0 0 28px;
    font-family:'Oswald',sans-serif;
    font-size:clamp(38px,4vw,57px);
    font-weight:600;
    line-height:1.05;
    letter-spacing:-.025em;
    color:#181818;
}
.history-page .history-origin-copy p{
    margin:0;
    font-family:'Manrope',sans-serif;
    font-size:14px;
    line-height:1.85;
    color:#6c6c6c;
}
.history-page .history-origin-copy p+p{margin-top:17px}
.history-page .history-origin-image{
    position:relative;
    height:570px;
    margin:0;
    overflow:hidden;
    border-radius:30px;
    background:#eceae4;
    box-shadow:0 28px 70px rgba(24,24,24,.15);
}
.history-page .history-origin-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,rgba(16,16,16,.58),transparent 45%);
}
.history-page .history-origin-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .9s cubic-bezier(.16,1,.3,1);
}
.history-page .history-origin-image:hover img{transform:scale(1.04)}
.history-page .history-origin-image figcaption{
    position:absolute;
    z-index:2;
    left:28px;
    right:28px;
    bottom:25px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    color:#fff;
}
.history-page .history-origin-image figcaption span{
    font-size:9px;
    font-weight:800;
    letter-spacing:.15em;
    text-transform:uppercase;
    color:var(--mf-orange);
}
.history-page .history-origin-image figcaption strong{
    font-family:'Oswald',sans-serif;
    font-size:22px;
    font-weight:600;
}

/* Repères chiffrés */
.history-page .history-numbers{
    padding:0;
    border-top:1px solid #e7e4dd;
    border-bottom:1px solid #e7e4dd;
    background:#fff;
}
.history-page .history-numbers-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.history-page .history-numbers article{
    min-height:235px;
    padding:44px 30px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    border-left:1px solid #e7e4dd;
}
.history-page .history-numbers article:last-child{border-right:1px solid #e7e4dd}
.history-page .history-numbers strong{
    font-family:'Oswald',sans-serif;
    font-size:clamp(56px,6vw,82px);
    font-weight:600;
    line-height:1;
    letter-spacing:-.04em;
    color:var(--mf-orange);
}
.history-page .history-numbers p{
    margin:14px 0 0;
    font-family:'Manrope',sans-serif;
    font-size:10px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#4e4e4e;
}

/* Parcours en composition éditoriale */
.history-page .history-journey{overflow:hidden;background:#f4f3ee}
.history-page .history-journey::before{
    content:"";
    position:absolute;
    right:-220px;
    top:-210px;
    width:520px;
    height:520px;
    border:1px solid rgba(245,130,32,.17);
    border-radius:50%;
    box-shadow:0 0 0 75px rgba(245,130,32,.025),0 0 0 150px rgba(245,130,32,.018);
}
.history-page .history-journey-grid{
    position:relative;
    display:grid;
    grid-template-columns:1fr .82fr;
    grid-template-rows:repeat(2,310px);
    gap:22px;
}
.history-page .history-journey-card{
    position:relative;
    display:grid;
    grid-template-columns:190px minmax(0,1fr);
    align-items:end;
    gap:28px;
    padding:40px;
    overflow:hidden;
    border:1px solid #e4e1d9;
    border-radius:26px;
    background:#fff;
    transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.history-page .history-journey-card:hover{
    transform:translateY(-6px);
    border-color:rgba(245,130,32,.45);
    box-shadow:0 24px 55px rgba(24,24,24,.1);
}
.history-page .history-journey-card:first-child{grid-column:1;grid-row:1}
.history-page .history-journey-card-now{grid-column:1;grid-row:2}
.history-page .history-journey-card-image{grid-column:2;grid-row:1/3;display:block;padding:0;background:#e9e7e1}
.history-page .history-journey-year{
    font-family:'Oswald',sans-serif;
    font-size:45px;
    font-weight:600;
    line-height:1;
    letter-spacing:-.035em;
    color:var(--mf-orange);
    white-space:nowrap;
}
.history-page .history-journey-card-now .history-journey-year{font-size:35px}
.history-page .history-journey-card small{
    display:block;
    margin-bottom:10px;
    font-size:9px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#96938d;
}
.history-page .history-journey-card h3{
    margin:0 0 12px;
    font-family:'Oswald',sans-serif;
    font-size:27px;
    font-weight:600;
    line-height:1.12;
    color:#202020;
}
.history-page .history-journey-card p{
    margin:0;
    font-size:12px;
    line-height:1.7;
    color:#737373;
}
.history-page .history-journey-images{
    position:absolute;
    inset:0;
    overflow:hidden;
}
.history-page .history-journey-image{
    position:absolute;
    inset:0;
    margin:0;
    opacity:0;
    transform:scale(1.06);
}
.history-page .history-journey-image-workshop{opacity:1;transform:scale(1.02)}
.history-page .history-journey-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.82) contrast(1.02);
}
.history-page .history-journey-image::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(0deg,rgba(15,15,15,.62),transparent 50%);
}
.history-page .history-journey-image figcaption{
    position:absolute;
    z-index:3;
    left:25px;
    top:24px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:10px 13px;
    border:1px solid rgba(255,255,255,.38);
    border-radius:12px;
    background:rgba(20,20,20,.4);
    -webkit-backdrop-filter:blur(8px);
    backdrop-filter:blur(8px);
    color:#fff;
    font-size:9px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
}
.history-page .history-journey-image figcaption small{margin:0;color:var(--mf-orange)}
.history-page .history-journey-card-image.is-visible .history-journey-image-workshop{
    animation:historyWorkshopSwap 10s ease-in-out infinite;
}
.history-page .history-journey-card-image.is-visible .history-journey-image-field{
    animation:historyFieldSwap 10s ease-in-out infinite;
}
.history-page .history-journey-image-progress{
    position:absolute;
    z-index:4;
    left:24px;
    right:24px;
    bottom:23px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:13px;
    padding:13px 15px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:14px;
    background:rgba(18,18,18,.55);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    color:#fff;
}
.history-page .history-journey-image-progress span{
    font-size:8px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.history-page .history-journey-image-progress i{
    position:relative;
    height:2px;
    overflow:hidden;
    background:rgba(255,255,255,.3);
}
.history-page .history-journey-image-progress i::after{
    content:"";
    position:absolute;
    inset:0;
    background:var(--mf-orange);
    transform:translateX(-100%);
}
.history-page .history-journey-card-image.is-visible .history-journey-image-progress i::after{
    animation:historyImageProgress 5s linear infinite;
}

/* Mission */
.history-page .history-mission{background:#fff}
.history-page .history-mission-layout{
    display:grid;
    grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);
    gap:clamp(60px,9vw,135px);
    align-items:start;
}
.history-page .history-mission-lead>p:last-child{
    max-width:540px;
    margin:31px 0 0;
    font-size:14px;
    line-height:1.8;
    color:#6d6d6d;
}
.history-page .history-mission-list{display:grid}
.history-page .history-mission-list article{
    position:relative;
    display:grid;
    grid-template-columns:34px 62px minmax(0,1fr);
    align-items:center;
    gap:22px;
    padding:30px 0;
    border-bottom:1px solid #deddd8;
}
.history-page .history-mission-list article:first-child{padding-top:5px}
.history-page .history-mission-list article>span{
    align-self:start;
    padding-top:17px;
    font-family:'Oswald',sans-serif;
    font-size:12px;
    color:var(--mf-orange);
}
.history-page .history-mission-list article>i{
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:18px;
    background:#f5f4ef;
    color:#181818;
    font-size:19px;
    transition:background .3s,color .3s,transform .3s;
}
.history-page .history-mission-list article:hover>i{
    transform:rotate(-5deg) scale(1.05);
    background:var(--mf-orange);
    color:#fff;
}
.history-page .history-mission-list h3{
    margin:0 0 8px;
    font-family:'Oswald',sans-serif;
    font-size:25px;
    font-weight:600;
    color:#202020;
}
.history-page .history-mission-list p{
    margin:0;
    font-size:12px;
    line-height:1.7;
    color:#737373;
}

/* Équipe */
.history-page .history-team{overflow:hidden;background:#f4f3ee}
.history-page .history-team-grid{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    align-items:center;
    gap:clamp(65px,8vw,125px);
}
.history-page .history-team-visual{
    position:relative;
    min-height:660px;
}
.history-page .history-team-visual figure{margin:0;overflow:hidden;background:#ddd}
.history-page .history-team-visual img{width:100%;height:100%;object-fit:cover}
.history-page .history-team-main{
    position:absolute;
    inset:0 90px 70px 0;
    border-radius:30px;
    box-shadow:0 28px 65px rgba(24,24,24,.16);
}
.history-page .history-team-small{
    position:absolute;
    right:0;
    bottom:0;
    width:47%;
    height:275px;
    border:10px solid #f4f3ee;
    border-radius:24px;
    box-shadow:0 22px 48px rgba(24,24,24,.16);
}
.history-page .history-team-stamp{
    position:absolute;
    z-index:3;
    right:22px;
    top:105px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:auto;
    height:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#181818;
    box-shadow:none;
}
.history-page .history-team-stamp::before,
.history-page .history-team-stamp::after{
    content:"";
    width:2px;
    height:34px;
    background:var(--mf-orange);
}
.history-page .history-team-stamp span{
    font-family:'Oswald',sans-serif;
    font-size:14px;
    font-weight:600;
    letter-spacing:.13em;
    text-transform:uppercase;
    writing-mode:vertical-rl;
}
.history-page .history-team-stamp strong{
    margin:0;
    font-family:'Oswald',sans-serif;
    font-size:24px;
    color:var(--mf-orange);
}
.history-page .history-team-copy>p:not(.history-section-label){
    max-width:570px;
    margin:30px 0 0;
    font-size:14px;
    line-height:1.85;
    color:#6c6c6c;
}
.history-page .history-team-roles{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:35px;
}
.history-page .history-team-roles span{
    padding:12px 15px;
    border:1px solid #d7d4cc;
    border-radius:999px;
    background:#fff;
    font-size:9px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
    color:#323232;
}

/* Valeurs */
.history-page .history-values{background:#fff}
.history-page .history-values-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}
.history-page .history-values-grid article{
    position:relative;
    min-height:340px;
    padding:36px;
    overflow:hidden;
    border:1px solid #e4e2dc;
    border-radius:26px;
    background:#f8f7f4;
    transition:transform .35s,box-shadow .35s,background .35s,color .35s;
}
.history-page .history-values-grid article::after{
    content:"";
    position:absolute;
    right:-70px;
    bottom:-70px;
    width:170px;
    height:170px;
    border:1px solid rgba(245,130,32,.3);
    border-radius:50%;
    box-shadow:0 0 0 35px rgba(245,130,32,.04);
}
.history-page .history-values-grid article:hover{
    transform:translateY(-8px);
    background:#181818;
    color:#fff;
    box-shadow:0 28px 60px rgba(24,24,24,.16);
}
.history-page .history-values-grid span{
    display:block;
    font-family:'Oswald',sans-serif;
    font-size:13px;
    letter-spacing:.1em;
    color:var(--mf-orange);
}
.history-page .history-values-grid h3{
    margin:105px 0 18px;
    font-family:'Oswald',sans-serif;
    font-size:40px;
    font-weight:600;
    color:inherit;
}
.history-page .history-values-grid p{
    max-width:310px;
    margin:0;
    font-size:13px;
    line-height:1.75;
    color:#6f6f6f;
    transition:color .35s;
}
.history-page .history-values-grid article:hover p{color:rgba(255,255,255,.68)}

/* Chemin clair vers le site principal */
.history-page .history-return{
    padding:34px 0;
    border-top:1px solid #e4e2dc;
    border-bottom:1px solid #e4e2dc;
    background:#f4f3ee;
}
.history-page .history-return-inner{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}
.history-page .history-return-main{
    display:flex;
    align-items:center;
    gap:18px;
    width:100%;
    min-width:0;
    padding:17px 22px;
    border:1px solid #dedbd3;
    border-radius:20px;
    background:#fff;
    color:#181818;
    box-shadow:0 12px 30px rgba(24,24,24,.06);
    transition:transform .3s,border-color .3s,box-shadow .3s;
}
.history-page .history-return-main:hover{
    transform:translateY(-5px);
    border-color:rgba(245,130,32,.5);
    box-shadow:0 18px 38px rgba(24,24,24,.1);
}
.history-page .history-return-icon{
    flex:0 0 auto;
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border-radius:50%;
    background:var(--mf-orange);
    color:#fff;
}
.history-page .history-return-main small{
    display:block;
    margin-bottom:5px;
    font-size:8px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#8a8882;
}
.history-page .history-return-main strong{
    display:block;
    font-family:'Oswald',sans-serif;
    font-size:22px;
    font-weight:600;
    color:#181818;
}
.history-page .history-return-solutions .history-return-icon{background:#181818}

/* Appel final */
.history-page .history-cta{
    position:relative;
    overflow:hidden;
    padding:84px 0 96px;
    border-top:1px solid #ebe8e1;
    background:#fff;
    color:#181818;
}
.history-page .history-cta::before{
    content:"MAGRI BACHE";
    position:absolute;
    left:-20px;
    bottom:-90px;
    font-family:'Oswald',sans-serif;
    font-size:230px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    color:rgba(24,24,24,.025);
}
.history-page .history-cta-inner{
    position:relative;
    z-index:1;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:55px;
    overflow:hidden;
    padding:58px 62px;
    border:1px solid #e3e0d8;
    border-radius:30px;
    background:#f5f4ef;
    box-shadow:0 24px 60px rgba(24,24,24,.07);
}
.history-page .history-cta-inner::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:150px;
    height:5px;
    background:var(--mf-orange);
}
.history-page .history-cta p{
    margin:0 0 17px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#77736c;
}
.history-page .history-cta h2{
    margin:0;
    font-family:'Oswald',sans-serif;
    font-size:clamp(56px,6vw,82px);
    font-weight:600;
    line-height:.98;
    letter-spacing:-.035em;
    color:#181818;
}
.history-page .history-cta h2 em{font-style:normal;color:var(--mf-orange)}
.history-page .history-cta a{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:15px;
    min-height:56px;
    padding:0 25px;
    border:1px solid #181818;
    border-radius:999px;
    background:#181818;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
    box-shadow:0 14px 30px rgba(24,24,24,.14);
    transition:background .3s,border-color .3s,color .3s,transform .3s,box-shadow .3s;
}
.history-page .history-cta a:hover{
    transform:translateY(-4px);
    border-color:var(--mf-orange);
    background:var(--mf-orange);
    color:#fff;
    box-shadow:0 18px 38px rgba(245,130,32,.25);
}

@keyframes historyHeroBreath{from{transform:scale(1.035)}to{transform:scale(1.075)}}
@keyframes historyHeroEnter{from{opacity:0;transform:translateY(45px)}to{opacity:1;transform:none}}
@keyframes historyArrow{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(7px)}}
@keyframes historyFloat{50%{transform:translateY(-10px) rotate(3deg)}}
@keyframes historyWorkshopSwap{
    0%,42%{opacity:1;transform:scale(1.02)}
    50%,92%{opacity:0;transform:scale(1.075)}
    100%{opacity:1;transform:scale(1.02)}
}
@keyframes historyFieldSwap{
    0%,42%{opacity:0;transform:scale(1.075)}
    50%,92%{opacity:1;transform:scale(1.02)}
    100%{opacity:0;transform:scale(1.075)}
}
@keyframes historyImageProgress{to{transform:translateX(100%)}}

@media(max-width:1000px){
    .history-page .history-section{padding:100px 0}
    .history-page .history-intro{padding:78px 0 96px}
    .history-page .history-hero{min-height:760px}
    .history-page .history-origin-grid,
    .history-page .history-mission-layout,
    .history-page .history-team-grid{grid-template-columns:1fr;gap:58px}
    .history-page .history-origin-copy{max-width:720px}
    .history-page .history-origin-image{height:540px}
    .history-page .history-numbers-grid{grid-template-columns:repeat(2,1fr)}
    .history-page .history-numbers article:nth-child(3){border-top:1px solid #e7e4dd}
    .history-page .history-numbers article:nth-child(4){border-top:1px solid #e7e4dd}
    .history-page .history-journey-grid{grid-template-columns:1fr;grid-template-rows:auto 460px auto}
    .history-page .history-journey-card:first-child,
    .history-page .history-journey-card-now,
    .history-page .history-journey-card-image{grid-column:1;grid-row:auto}
    .history-page .history-journey-card{min-height:280px}
    .history-page .history-team-visual{min-height:620px}
}

@media(max-width:700px){
    .history-page .history-section{padding:78px 0}
    .history-page .history-hero{min-height:700px;height:92svh}
    .history-page .history-hero-overlay{background:linear-gradient(90deg,rgba(8,8,8,.82),rgba(8,8,8,.34)),linear-gradient(0deg,rgba(8,8,8,.5),transparent 60%)}
    .history-page .history-hero-year{right:-6px;bottom:-32px;font-size:165px}
    .history-page .history-hero-inner{padding-top:72px}
    .history-page .history-hero h1{font-size:53px;line-height:.98}
    .history-page .history-hero-bottom{margin-top:30px}
    .history-page .history-hero-bottom p{font-size:13px;line-height:1.7}
    .history-page .history-hero-arrow{bottom:22px;width:50px;height:50px}
    .history-page .history-section-heading{margin-bottom:48px}
    .history-page .history-intro{padding:66px 0 82px}
    .history-page .history-intro .history-section-heading{margin-bottom:38px}
    .history-page .history-section-heading h2,
    .history-page .history-mission-lead h2,
    .history-page .history-team-copy h2{font-size:46px;line-height:1.06;letter-spacing:-.03em}
    .history-page .history-section-heading>p:last-child{margin-top:22px;font-size:14px;line-height:1.7}
    .history-page .history-origin-image{height:400px;border-radius:22px}
    .history-page .history-origin-image figcaption{left:18px;right:18px;bottom:18px}
    .history-page .history-numbers article{min-height:180px;padding:30px 18px}
    .history-page .history-numbers strong{font-size:49px}
    .history-page .history-numbers p{font-size:8px;line-height:1.5}
    .history-page .history-journey-grid{grid-template-rows:auto 350px auto;gap:16px}
    .history-page .history-journey-card{grid-template-columns:1fr;gap:18px;min-height:0;padding:29px 24px;border-radius:21px}
    .history-page .history-journey-year{font-size:36px}
    .history-page .history-journey-card-image{padding:0}
    .history-page .history-mission-list article{grid-template-columns:26px 54px minmax(0,1fr);gap:14px}
    .history-page .history-mission-list article>i{width:52px;height:52px;border-radius:15px}
    .history-page .history-team-visual{min-height:470px}
    .history-page .history-team-main{right:48px;bottom:55px;border-radius:22px}
    .history-page .history-team-small{width:52%;height:190px;border-width:7px;border-radius:18px}
    .history-page .history-team-stamp{right:6px;top:82px;padding:0;border-radius:0}
    .history-page .history-team-stamp span{font-size:11px}
    .history-page .history-team-stamp::before,.history-page .history-team-stamp::after{height:24px}
    .history-page .history-values-grid{grid-template-columns:1fr;gap:14px}
    .history-page .history-values-grid article{min-height:245px;padding:28px;border-radius:21px}
    .history-page .history-values-grid h3{margin-top:70px}
    .history-page .history-cta{padding:58px 0 70px}
    .history-page .history-cta-inner{align-items:flex-start;flex-direction:column;padding:38px 25px;border-radius:22px}
    .history-page .history-cta h2{font-size:49px}
    .history-page .history-return-inner{grid-template-columns:1fr;gap:13px}
}

@media(prefers-reduced-motion:reduce){
    .history-page .history-hero-media img,
    .history-page .history-hero-copy,
    .history-page .history-hero-arrow,
    .history-page .history-team-stamp,
    .history-page .history-journey-image,
    .history-page .history-journey-image-progress i::after{animation:none}
    .history-page .history-journey-image-workshop{opacity:1;transform:none}
    .history-page .history-journey-image-field{opacity:0;transform:none}
}

/* Continuité visuelle : toutes les surfaces de contenu restent blanches */
.history-page .history-intro,
.history-page .history-numbers,
.history-page .history-journey,
.history-page .history-mission,
.history-page .history-team,
.history-page .history-values,
.history-page .history-return,
.history-page .history-cta,
.history-page .history-cta-inner,
.history-page .history-values-grid article{
    background:#fff;
}
.history-page .history-team-small{border-color:#fff}
.history-page .history-mission-list article > i{
    border:1px solid #dedbd3;
    background:#fff;
}
.history-page .history-return{
    border-color:#dedbd3;
}
.history-page .history-return-main{
    border-color:#dedbd3;
    background:#fff;
    box-shadow:none;
}
.history-page .history-cta::before{display:none}
.history-page .history-cta-inner{
    border:0;
    border-top:1px solid #dedbd3;
    border-bottom:1px solid #dedbd3;
    border-radius:0;
    box-shadow:none;
}
.history-page .history-cta-inner::before{
    width:100%;
    height:4px;
    background:linear-gradient(90deg,var(--mf-orange) 0 18%,#181818 18% 23%,transparent 23%);
}
