.editorial-hero{padding:4rem 0 3.5rem;background:var(--ivory);border-bottom:1px solid rgba(25,36,62,.14)}
.editorial-hero__grid{display:grid;grid-template-columns:1.12fr .88fr;gap:3.5rem;align-items:center}
.editorial-hero h1{max-width:720px;margin:.35rem 0 1.5rem;font-family:var(--display);font-size:clamp(3.8rem,6.6vw,6.7rem);font-weight:400;letter-spacing:-.04em;line-height:.94}
.editorial-hero h1 em{color:var(--pink);font-weight:400}
.editorial-hero__copy{max-width:650px;font-size:1.12rem}
.editorial-hero__mark{position:relative;display:grid;min-height:330px;place-items:center;border:8px solid rgba(243,155,155,.5);background:#fff}
.editorial-hero__mark::before{position:absolute;inset:8px;border:1px solid var(--pink);content:""}
.editorial-hero__mark span{position:relative;z-index:1;max-width:310px;color:var(--navy);font-family:var(--display);font-size:clamp(2.4rem,4vw,4.1rem);font-style:italic;line-height:1.02;text-align:center}
.editorial-intro{padding:3.5rem 0!important}
.editorial-intro .section-head{align-items:end}
.editorial-services{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-top:2rem}
.editorial-service{min-height:245px;padding:1.8rem;border:1px solid rgba(25,36,62,.18);background:var(--ivory)}
.editorial-service:nth-child(2){background:#f6ded0}.editorial-service:nth-child(3){background:#fff}
.editorial-service span{color:var(--pink);font-weight:700}
.editorial-service h3{margin:1.6rem 0 .75rem;font-family:var(--display);font-size:2rem;font-weight:400;line-height:1.05}
.editorial-service p{margin:0}
.editorial-method{padding:3.5rem 0!important;background:var(--navy);color:#fff}
.editorial-method__grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:4rem;align-items:start}
.editorial-method h2{color:#fff}
.editorial-method__steps{display:grid;gap:.7rem;counter-reset:step}
.editorial-method__step{display:grid;grid-template-columns:46px 1fr;gap:1rem;padding:1.15rem 1.3rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18)}
.editorial-method__step::before{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:var(--pink);color:var(--navy);content:counter(step,decimal-leading-zero);counter-increment:step;font-weight:700}
.editorial-method__step h3{margin:0 0 .3rem;color:var(--pink);font-size:1.05rem}
.editorial-method__step p{margin:0;font-size:.94rem}
@media(max-width:900px){.editorial-hero__grid,.editorial-method__grid{grid-template-columns:1fr}.editorial-hero__mark{min-height:240px}.editorial-services{grid-template-columns:1fr}.editorial-service{min-height:0}}
@media(max-width:640px){.editorial-hero{padding:3rem 0}.editorial-hero h1{font-size:clamp(3.1rem,15vw,4.7rem)}.editorial-hero__grid{gap:2rem}.editorial-method__grid{gap:2rem}}

/* Illustrations éditoriales sans cadre : rédaction et relecture. */
.editorial-hero__illustration{align-self:center;width:100%;height:380px;margin:0;overflow:hidden;background:var(--ivory)}
.editorial-hero__illustration img{display:block;width:100%;height:380px!important;object-fit:cover;object-position:center}
.editorial-service>h3:first-child{margin-top:0}
@media(max-width:900px){.editorial-hero__illustration{width:min(100%,720px);height:auto;aspect-ratio:3/2;margin-inline:auto}.editorial-hero__illustration img{height:100%!important}}

.editorial-hero__mark--gutenberg{overflow:hidden;padding:.75rem;margin:0;background:linear-gradient(145deg,#fff 0%,#fff3e8 100%)}
.editorial-hero__mark--gutenberg img{position:relative;z-index:1;width:100%;height:330px;object-fit:contain;object-position:center}
.editorial-plea{padding:2.25rem 0 3.5rem;background:#fff}
.editorial-plea__panel{position:relative;display:grid;grid-template-columns:.78fr 1.22fr;gap:3.5rem;padding:3.2rem 3.5rem;border:8px solid rgba(243,155,155,.45);background:var(--ivory);box-shadow:12px 12px 0 rgba(242,213,193,.75)}
.editorial-plea__panel::before{position:absolute;inset:8px;border:1px solid var(--pink);content:"";pointer-events:none}
.editorial-plea__heading,.editorial-plea__copy{position:relative;z-index:1}
.editorial-plea__heading .eyebrow{margin:0 0 1rem;color:#a85f69}
.editorial-plea__heading h2{margin:0;font-family:var(--display);font-size:clamp(2.8rem,4.5vw,4.8rem);font-weight:400;line-height:.98;letter-spacing:-.03em}
.editorial-plea__copy{padding-left:2.5rem;border-left:1px solid rgba(25,36,62,.2)}
.editorial-plea__copy p{margin:0 0 1rem;line-height:1.62}
.editorial-plea__lead{font-family:var(--display);font-size:1.55rem;line-height:1.3!important}
.editorial-plea__copy ul{margin:.4rem 0 1.3rem;padding-left:1.2rem}
.editorial-plea__copy li{margin:.35rem 0}
.editorial-plea__closing{margin-top:1.5rem!important;color:#a85f69;font-family:var(--display);font-size:1.75rem;font-style:italic;line-height:1.25!important}
@media(max-width:820px){.editorial-hero__mark--gutenberg img{height:300px}.editorial-plea__panel{grid-template-columns:1fr;gap:2rem;padding:2.5rem 2rem}.editorial-plea__copy{padding-left:0;border-left:0;border-top:1px solid rgba(25,36,62,.2);padding-top:2rem}}
@media(max-width:640px){.editorial-plea{padding:1.5rem 0 2.5rem}.editorial-plea__panel{padding:2rem 1.35rem}.editorial-plea__heading h2{font-size:2.7rem}}

/* Plaidoyer compact : titre et texte exploitent toute la largeur du cadre. */
.editorial-plea__panel{display:block;padding:2.35rem 3rem 2.2rem}
.editorial-plea__heading{display:flex;align-items:baseline;justify-content:space-between;gap:2rem;margin-bottom:1.4rem;padding-bottom:1.2rem;border-bottom:1px solid rgba(25,36,62,.2)}
.editorial-plea__heading .eyebrow{flex:none;margin:0}
.editorial-plea__heading h2{width:100%;font-size:clamp(2.5rem,3.8vw,3.8rem);line-height:1;text-align:right}
.editorial-plea__copy{width:100%;padding:0;border:0}
.editorial-plea__lead{font-size:1.4rem}
.editorial-plea__copy ul{columns:2;column-gap:3rem;margin:.35rem 0 1rem}
.editorial-plea__copy li{break-inside:avoid}
.editorial-plea__closing{text-align:center}
@media(max-width:760px){.editorial-plea__panel{padding:2rem 1.35rem}.editorial-plea__heading{display:block}.editorial-plea__heading .eyebrow{margin-bottom:.8rem}.editorial-plea__heading h2{text-align:left}.editorial-plea__copy ul{columns:1}}

/* Gutenberg est posé librement dans le bandeau, sans cadre. */
.editorial-hero__mark--gutenberg{min-height:330px;padding:0;border:0;background:transparent}
.editorial-hero__mark--gutenberg::before{display:none}
.editorial-hero__mark--gutenberg img{height:380px}
.editorial-plea__heading{display:grid;grid-template-columns:1fr;gap:.65rem}
.editorial-plea__heading h2{text-align:center}
@media(max-width:820px){.editorial-hero__mark--gutenberg img{height:320px}}
@media(max-width:760px){.editorial-plea__heading h2{text-align:left}}

/* Corps du plaidoyer en deux colonnes, conclusion commune sur toute la largeur. */
.editorial-plea__copy{display:grid;grid-template-columns:1fr 1fr;gap:.15rem 3rem;align-items:start}
.editorial-plea__copy>.editorial-plea__lead,.editorial-plea__copy>p:nth-of-type(2),.editorial-plea__copy>ul{grid-column:1}
.editorial-plea__copy>p:nth-of-type(3),.editorial-plea__copy>p:nth-of-type(4){grid-column:2}
.editorial-plea__copy>.editorial-plea__lead{grid-row:1}
.editorial-plea__copy>p:nth-of-type(2){grid-row:2}
.editorial-plea__copy>ul{grid-row:3;columns:1;margin-top:0}
.editorial-plea__copy>p:nth-of-type(3){grid-row:1 / span 2}
.editorial-plea__copy>p:nth-of-type(4){grid-row:3}
.editorial-plea__copy>.editorial-plea__closing{grid-column:1/-1;grid-row:4;margin:1.25rem 0 0!important;text-align:center}
@media(max-width:760px){.editorial-plea__copy{grid-template-columns:1fr;gap:0}.editorial-plea__copy>*{grid-column:1!important;grid-row:auto!important}}

.editorial-intro .section-head{display:block;width:100%}
.editorial-intro .section-head .eyebrow{margin:0 0 1rem;text-align:left}
.editorial-intro .section-head h2{width:100%;max-width:none;text-align:center}
.editorial-intro--full-title .section-head{display:grid!important;grid-template-columns:1fr!important;gap:.7rem!important;width:100%}
.editorial-intro--full-title .section-head .eyebrow,.editorial-intro--full-title .section-head h2{grid-column:1;width:100%;max-width:none}
.editorial-intro--full-title .section-head h2{text-align:center}

/* Question commune aux deux colonnes, puis départ des deux textes sur la même ligne. */
.editorial-plea__copy>.editorial-plea__lead{grid-column:1/-1;grid-row:1;margin-bottom:1.25rem;text-align:center}
.editorial-plea__copy>p:nth-of-type(2){grid-column:1;grid-row:2}
.editorial-plea__copy>ul{grid-column:1;grid-row:3}
.editorial-plea__copy>p:nth-of-type(3){grid-column:2;grid-row:2}
.editorial-plea__copy>p:nth-of-type(4){grid-column:2;grid-row:3}
.editorial-plea__copy>.editorial-plea__closing{grid-column:1/-1;grid-row:4}

/* Plaidoyer resserré : deux colonnes indépendantes pour éviter les blancs artificiels. */
.editorial-plea{padding:1.25rem 0 1.5rem}
.editorial-plea__panel{padding:1.8rem 3rem 1.65rem}
.editorial-plea__heading{margin-bottom:.85rem;padding-bottom:.8rem}
.editorial-plea__heading h2{text-align:center}
.editorial-plea__copy{display:block}
.editorial-plea__lead{margin:0 0 .9rem!important;text-align:center}
.editorial-plea__columns{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.editorial-plea__columns p{margin:0 0 .6rem;line-height:1.5}
.editorial-plea__columns ul{margin:-.15rem 0 0;padding-left:1.2rem;columns:1}
.editorial-plea__columns li{margin:.18rem 0;line-height:1.42}
.editorial-plea__copy>.editorial-plea__closing{margin:.9rem 0 0!important;text-align:center}
.editorial-plea+.editorial-intro{padding-top:2rem}
@media(max-width:760px){.editorial-plea__panel{padding:1.65rem 1.35rem}.editorial-plea__columns{grid-template-columns:1fr;gap:.8rem}.editorial-plea__lead br{display:none}.editorial-plea+.editorial-intro{padding-top:1.5rem}}

/* Illustration panoramique de l'évolution de l'imprimé. */
.editorial-print-evolution{width:min(1200px,calc(100% - 40px));margin:1.25rem auto 0;overflow:hidden;background:var(--ivory)}
.editorial-print-evolution img{display:block;width:100%;height:auto;aspect-ratio:1600/894;object-fit:cover}
.editorial-print-evolution+.editorial-plea{padding-top:1rem}

/* Gutenberg est affiché en entier, sans cadre ni découpe rectangulaire. */
.editorial-hero__mark--gutenberg{overflow:visible;display:flex;align-items:center;justify-content:center}
.editorial-hero__mark--gutenberg img{width:auto;max-width:100%;height:auto;max-height:440px;object-fit:contain;filter:drop-shadow(0 16px 18px rgba(25,36,62,.12))}
@media(max-width:760px){.editorial-print-evolution{width:calc(100% - 24px);margin-top:.75rem}.editorial-print-evolution+.editorial-plea{padding-top:.75rem}.editorial-hero__mark--gutenberg img{max-height:340px}}

/* Supports imprimables : bénéfices et formats */
.editorial-impact{position:relative;display:grid;gap:.7rem;max-width:1040px;margin:2rem auto 0;padding:1.2rem;border:1px solid rgba(25,36,62,.14);background:#fff;box-shadow:10px 10px 0 rgba(242,213,193,.65)}
.editorial-impact::before{position:absolute;inset:7px;border:1px solid rgba(243,155,155,.5);content:"";pointer-events:none}
.editorial-impact__item{position:relative;z-index:1;display:grid;grid-template-columns:82px minmax(250px,1.15fr) 90px minmax(240px,.9fr);gap:1.25rem;align-items:center;min-height:112px;padding:1rem 1.5rem;background:var(--ivory)}
.editorial-impact__item:nth-child(even){background:#f8e3d5}
.editorial-impact__icon{display:grid;width:70px;height:70px;place-items:center;border-radius:50%;background:#f0b1b1;color:var(--navy)}
.editorial-impact__icon svg{width:43px;height:43px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.editorial-impact__copy h3{margin:0 0 .25rem;color:var(--navy);font-family:var(--sans);font-size:1.15rem;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.editorial-impact__copy p,.editorial-impact__examples{margin:0;line-height:1.38}
.editorial-impact__arrow{position:relative;height:2px;background:var(--pink)}
.editorial-impact__arrow::after{position:absolute;top:50%;right:-1px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid var(--pink);content:"";transform:translateY(-50%)}
.editorial-impact__examples{font-family:var(--display);font-size:1.2rem;color:var(--navy)}
@media(max-width:760px){.editorial-impact{padding:.75rem}.editorial-impact__item{grid-template-columns:62px 1fr;gap:.7rem 1rem;padding:1rem;min-height:0}.editorial-impact__icon{grid-row:1/3;width:58px;height:58px}.editorial-impact__icon svg{width:35px;height:35px}.editorial-impact__arrow{display:none}.editorial-impact__examples{grid-column:2;padding-top:.55rem;border-top:1px solid rgba(25,36,62,.15);font-size:1.08rem}.editorial-impact__copy h3{font-size:1.02rem}}

/* Carrousel de réalisations imprimées */
.editorial-portfolio{padding:3.5rem 0;background:#f6e1d1;overflow:hidden}
.editorial-portfolio__heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:1.7rem}
.editorial-portfolio__heading .eyebrow{margin:0 0 .6rem;color:#a85f69}
.editorial-portfolio__heading h2{margin:0;font-size:clamp(2.8rem,4.6vw,4.8rem)}
.editorial-portfolio__controls{display:flex;gap:.65rem}
.editorial-portfolio__controls button{display:grid;width:48px;height:48px;place-items:center;border:1px solid var(--navy);background:transparent;color:var(--navy);cursor:pointer;font-size:1.35rem;transition:.2s var(--ease)}
.editorial-portfolio__controls button:hover,.editorial-portfolio__controls button:focus-visible{background:var(--navy);color:#fff}
.editorial-portfolio__viewport{overflow:hidden}
.editorial-portfolio__track{display:flex;gap:1rem;transition:transform .5s var(--ease);will-change:transform}
.editorial-portfolio__card{flex:0 0 calc((100% - 2rem)/3);min-width:0;margin:0;padding:.65rem;background:#fff;box-shadow:6px 7px 0 rgba(168,120,129,.28)}
.editorial-portfolio__card{cursor:zoom-in}
.editorial-portfolio__card img{display:block;width:100%;height:310px;object-fit:contain;background:#fdf8f3}
.editorial-portfolio__card figcaption{min-height:70px;padding:1rem .75rem .65rem;color:var(--navy);font-family:var(--display);font-size:1.28rem;line-height:1.12;text-align:center}
.editorial-portfolio__card figcaption strong,.editorial-portfolio__card figcaption span{display:block}.editorial-portfolio__card figcaption strong{font-weight:400}.editorial-portfolio__card figcaption span{margin-top:.25rem;font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.04em}
@media(max-width:900px){.editorial-portfolio__card{flex-basis:calc((100% - 1rem)/2)}}
@media(max-width:620px){.editorial-portfolio{padding:2.75rem 0}.editorial-portfolio__heading{align-items:flex-start;flex-direction:column}.editorial-portfolio__controls{align-self:flex-end}.editorial-portfolio__card{flex-basis:100%}.editorial-portfolio__card img{height:300px}}

.portfolio-lightbox{position:fixed;z-index:200;inset:0;display:grid;place-items:center;padding:2rem;background:rgba(12,20,38,.9);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.portfolio-lightbox.is-open{opacity:1;visibility:visible}
.portfolio-lightbox__dialog{position:relative;display:flex;width:min(1100px,94vw);height:min(820px,90vh);flex-direction:column;align-items:center;justify-content:center;padding:1rem 1rem .8rem;background:#fff}
.portfolio-lightbox__image{display:block;max-width:100%;max-height:calc(90vh - 100px);object-fit:contain}
.portfolio-lightbox__caption{margin:.75rem 3.5rem 0;color:var(--navy);font-family:var(--display);font-size:1.35rem;text-align:center}
.portfolio-lightbox__close{position:absolute;top:.65rem;right:.65rem;z-index:1;display:grid;width:42px;height:42px;place-items:center;border:0;background:var(--navy);color:#fff;cursor:pointer;font-size:1.6rem;line-height:1}
body.portfolio-lightbox-open{overflow:hidden}
@media(max-width:620px){.portfolio-lightbox{padding:.75rem}.portfolio-lightbox__dialog{width:100%;height:auto;max-height:94vh;padding:3.5rem .65rem .75rem}.portfolio-lightbox__image{max-height:calc(94vh - 105px)}.portfolio-lightbox__caption{margin:.65rem .5rem 0;font-size:1.08rem}}
