:root{--petmag-navy:#0b1b3d;--petmag-lime:#b4e532;--petmag-paper:#fff;--petmag-muted:#68758c;--petmag-line:#e4e9f1}.petmag-wm-single-wrap{max-width:1440px;margin:0 auto;padding:26px 20px 60px}.petmag-book{color:var(--petmag-navy);font-family:inherit}.petmag-book *{box-sizing:border-box}.petmag-book-toolbar{display:flex;align-items:center;gap:20px;padding:12px 16px;margin-bottom:18px;background:#fff;border:1px solid var(--petmag-line);border-radius:14px;box-shadow:0 8px 25px rgba(11,27,61,.06)}.petmag-book-brand{min-width:125px}.petmag-book-brand img{display:block;max-width:130px;max-height:52px;object-fit:contain}.petmag-book-brand>span,.petmag-wordmark,.petmag-page-running>span:first-child,.petmag-back-mark{font-size:26px;font-weight:900;letter-spacing:-1.5px;color:var(--petmag-navy)}.petmag-book-brand strong,.petmag-wordmark strong,.petmag-page-running strong,.petmag-back-mark strong{color:var(--petmag-lime)}.petmag-book-toolbar-title{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.petmag-book-toolbar-title strong{font-size:15px}.petmag-book-toolbar-title small{color:var(--petmag-muted)}.petmag-book-actions{display:flex;gap:8px}.petmag-book button{font:inherit;cursor:pointer}.petmag-book-actions button,.petmag-book-bottom-controls button{border:1px solid var(--petmag-line);border-radius:999px;padding:10px 15px;background:#fff;color:var(--petmag-navy);font-size:12px;font-weight:800}.petmag-book-actions .petmag-book-print{background:var(--petmag-lime);border-color:var(--petmag-lime)}.petmag-book-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:14px}.petmag-book-pages{position:relative;width:min(100%,850px);margin:0 auto;perspective:1800px}.petmag-page{display:none;position:relative;overflow:hidden;width:100%;aspect-ratio: .72;background:var(--petmag-paper);border:1px solid #e1e5ec;border-radius:3px 14px 14px 3px;box-shadow:0 20px 55px rgba(11,27,61,.14);transform-origin:left center;backface-visibility:hidden}.petmag-page.is-active{display:block;animation:petmag-page-in .38s ease both}.petmag-page.is-turning-next{animation:petmag-turn-next .38s ease both}.petmag-page.is-turning-prev{animation:petmag-turn-prev .38s ease both}@keyframes petmag-page-in{from{opacity:.65;transform:rotateY(-4deg) translateX(8px)}to{opacity:1;transform:rotateY(0) translateX(0)}}@keyframes petmag-turn-next{from{opacity:.6;transform:rotateY(-9deg)}to{opacity:1;transform:rotateY(0)}}@keyframes petmag-turn-prev{from{opacity:.6;transform:rotateY(9deg)}to{opacity:1;transform:rotateY(0)}}.petmag-book-nav{display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:var(--petmag-navy);color:#fff;font-size:34px;line-height:1;box-shadow:0 5px 15px rgba(11,27,61,.16)}.petmag-book-nav:disabled{opacity:.25;cursor:not-allowed}.petmag-page-cover{color:#fff;background:#0b1b3d}.petmag-cover-image,.petmag-cover-shade{position:absolute;inset:0}.petmag-cover-image{background:#1d2a40 center/cover no-repeat}.petmag-cover-shade{background:linear-gradient(180deg,rgba(4,13,31,.20) 0%,rgba(4,13,31,.04) 25%,rgba(4,13,31,.84) 100%),linear-gradient(90deg,rgba(4,13,31,.30),transparent 80%)}.petmag-cover-top{position:absolute;top:5%;left:6%;right:6%;display:flex;align-items:center;justify-content:space-between;gap:15px}.petmag-wordmark{color:#fff;font-size:clamp(25px,4vw,48px);text-shadow:0 2px 14px #0005}.petmag-cover-top>span:last-child{font-size:clamp(9px,1vw,13px);font-weight:900;text-transform:uppercase;letter-spacing:.12em;text-align:right}.petmag-cover-copy{position:absolute;left:7%;right:7%;bottom:12%;max-width:84%}.petmag-cover-date{display:inline-block;padding:7px 10px;background:var(--petmag-lime);color:var(--petmag-navy);border-radius:4px;font-size:clamp(9px,1vw,13px);font-weight:900;text-transform:uppercase}.petmag-cover-copy h1{margin:14px 0 10px;color:#fff;font-size:clamp(30px,5.4vw,68px);line-height:.99;letter-spacing:-.045em;font-weight:900;max-width:800px;text-wrap:balance}.petmag-cover-copy p{max-width:650px;font-size:clamp(13px,1.5vw,20px);line-height:1.45;margin:0 0 14px;color:#f4f6fb}.petmag-cover-copy ul{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:7px}.petmag-cover-copy li{font-size:clamp(11px,1.2vw,16px);font-weight:750}.petmag-cover-copy li:before{content:'•';color:var(--petmag-lime);margin-right:9px}.petmag-cover-bottom{position:absolute;bottom:4%;left:6%;right:6%;font-size:9px;letter-spacing:.18em;font-weight:800}.petmag-page-sommaire,.petmag-page-article{padding:5% 6% 7%}.petmag-page-running{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:2px solid var(--petmag-lime);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.petmag-page-running>span:first-child{font-size:20px;letter-spacing:-1px;text-transform:none}.petmag-kicker{display:inline-block;margin:25px 0 7px;color:#5e7c00;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}.petmag-page-sommaire h2,.petmag-article-body h2{margin:0 0 18px;color:var(--petmag-navy);font-size:clamp(25px,3.3vw,42px);line-height:1.05;letter-spacing:-.04em}.petmag-sommaire-list{display:grid;gap:0}.petmag-sommaire-list>div{display:flex;gap:15px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--petmag-line)}.petmag-sommaire-number{font-size:22px;font-weight:900;color:#9ecb20;min-width:30px}.petmag-sommaire-title{font-size:clamp(12px,1.3vw,17px);font-weight:800;line-height:1.3}.petmag-sommaire-title small{display:block;color:var(--petmag-muted);font-size:10px;font-weight:600;margin-top:5px}.petmag-article-image{height:38%;margin:0 -7% 4%;overflow:hidden;background:#eef1f5}.petmag-article-image img{display:block;width:100%;height:100%;object-fit:cover}.petmag-article-body{overflow:hidden}.petmag-article-body .petmag-kicker{margin-top:0}.petmag-article-body h2{font-size:clamp(24px,3.4vw,43px);margin-bottom:10px}.petmag-article-excerpt{font-size:clamp(12px,1.3vw,17px);line-height:1.45;font-weight:700;color:#4c5a70;border-left:3px solid var(--petmag-lime);padding-left:12px;margin:10px 0 14px}.petmag-article-content{font-size:clamp(11px,1.05vw,14px);line-height:1.55;overflow-wrap:anywhere}.petmag-article-content p{margin:0 0 12px}.petmag-article-content h2,.petmag-article-content h3{font-size:1.1em;line-height:1.2;margin:14px 0 7px}.petmag-article-content img{max-width:100%;height:auto}.petmag-article-content ul,.petmag-article-content ol{padding-left:20px}.petmag-read-original{display:inline-block;margin-top:10px;color:#607f00;font-size:11px;font-weight:800;text-decoration:none}.petmag-page-footer{position:absolute;bottom:3%;left:6%;right:6%;display:flex;justify-content:space-between;padding-top:8px;border-top:1px solid var(--petmag-line);font-size:9px;color:var(--petmag-muted)}.petmag-page-number{font-weight:900;color:var(--petmag-navy)}.petmag-page-back{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10%;background:var(--petmag-navy);color:#fff}.petmag-back-mark{font-size:clamp(48px,8vw,90px);color:#fff}.petmag-page-back p{font-size:clamp(22px,3vw,38px);line-height:1.1;font-weight:900;max-width:500px}.petmag-page-back>span{color:#c9d1e0;font-size:13px}.petmag-page-back>a{margin-top:25px;color:var(--petmag-lime);font-weight:800;text-decoration:none}.petmag-book-footer{max-width:850px;margin:15px auto 0;display:grid;grid-template-columns:auto 1fr auto;gap:15px;align-items:center;color:var(--petmag-muted);font-size:12px}.petmag-book-progress{height:5px;background:#e5eaf1;border-radius:9px;overflow:hidden}.petmag-book-progress span{display:block;width:0;height:100%;background:var(--petmag-lime);transition:width .25s}.petmag-book-bottom-controls{display:flex;gap:6px}.petmag-book-bottom-controls button{padding:7px 11px;font-size:11px}.petmag-book-bottom-controls button:disabled{opacity:.35;cursor:not-allowed}.petmag-book.is-fullscreen{position:fixed;inset:0;z-index:999999;overflow:auto;background:#f7f9fc;padding:18px}.petmag-book.is-fullscreen .petmag-book-pages{max-width:min(90vh,850px)}.petmag-book.is-fullscreen .petmag-page{max-height:78vh}.petmag-book.is-fullscreen .petmag-book-stage{min-height:78vh}
@media(max-width:760px){.petmag-wm-single-wrap{padding:14px 10px 35px}.petmag-book-toolbar{flex-wrap:wrap;gap:10px;padding:10px}.petmag-book-brand{min-width:0}.petmag-book-brand img{max-width:95px}.petmag-book-toolbar-title{flex:1}.petmag-book-actions{width:100%;justify-content:flex-end}.petmag-book-actions button{padding:8px 12px}.petmag-book-stage{grid-template-columns:28px minmax(0,1fr) 28px;gap:5px}.petmag-book-nav{width:28px;height:36px;font-size:25px}.petmag-page{aspect-ratio:.68;border-radius:3px 8px 8px 3px}.petmag-cover-copy{bottom:10%}.petmag-cover-copy h1{font-size:clamp(23px,6vw,40px)}.petmag-cover-copy p{font-size:11px}.petmag-cover-copy li{font-size:10px}.petmag-page-sommaire,.petmag-page-article{padding:4% 5% 8%}.petmag-article-image{height:28%;margin-bottom:3%}.petmag-article-body h2{font-size:clamp(18px,4.6vw,29px)}.petmag-article-content{font-size:10px;line-height:1.4}.petmag-article-content p{margin-bottom:7px}.petmag-article-content h2,.petmag-article-content h3{margin:8px 0 4px}.petmag-article-excerpt{font-size:11px;margin:6px 0}.petmag-book-footer{grid-template-columns:auto 1fr;gap:9px}.petmag-book-bottom-controls{grid-column:1/-1;justify-content:space-between}.petmag-book-counter{font-size:10px}}
@media print{@page{size:A4 portrait;margin:0}html,body{background:#fff!important;margin:0!important;padding:0!important}.petmag-wm-single-wrap{max-width:none!important;padding:0!important;margin:0!important}.petmag-book-toolbar,.petmag-book-nav,.petmag-book-footer{display:none!important}.petmag-book-stage{display:block!important}.petmag-book-pages{width:100%!important;max-width:none!important;margin:0!important;perspective:none!important}.petmag-page,.petmag-page.is-active{display:block!important;position:relative!important;width:210mm!important;height:297mm!important;aspect-ratio:auto!important;max-height:none!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;animation:none!important;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.petmag-page:last-child{break-after:auto;page-break-after:auto}.petmag-cover-copy h1{font-size:42pt}.petmag-cover-copy p{font-size:13pt}.petmag-article-content{font-size:10pt}.petmag-article-image{height:90mm}.petmag-read-original{display:none}.petmag-article-body h2{font-size:28pt}.petmag-page-sommaire h2{font-size:28pt}}

/* Correctifs 1.1 : une seule page visible à la fois, couverture arrière réservée à la fin */
.petmag-book .petmag-page[hidden]{display:none!important}
.petmag-book .petmag-page:not(.is-active){display:none!important}
.petmag-book .petmag-page.is-active{display:block!important}
.petmag-book .petmag-page-back:not(.is-active){display:none!important}
.petmag-book .petmag-page-article.is-continuation .petmag-article-image{display:none!important}
.petmag-book .petmag-page-article.is-continuation .petmag-article-body{padding-top:3%}
.petmag-book .petmag-page-article.is-continuation .petmag-article-body .petmag-kicker{margin-top:2px}
.petmag-book .petmag-page-article.is-continuation .petmag-article-body h2{font-size:clamp(20px,2.7vw,34px);margin-bottom:12px}
.petmag-book .petmag-page-article.is-continuation .petmag-article-excerpt{display:none!important}
.petmag-book .petmag-page-article.is-continuation .petmag-article-content{font-size:clamp(12px,1.15vw,15px);line-height:1.62}
.petmag-book .petmag-article-content p{break-inside:avoid}
@media(max-width:760px){.petmag-book .petmag-page-article.is-continuation .petmag-article-content{font-size:10px;line-height:1.45}}
@media print{.petmag-book .petmag-page[hidden],.petmag-book .petmag-page:not(.is-active){display:block!important}.petmag-book .petmag-page.is-active{display:block!important}}

@media print{.petmag-book .petmag-page[hidden],.petmag-book .petmag-page:not(.is-active){display:block!important}.petmag-book .petmag-page.is-active{display:block!important}}

/* Version 1.2 — vrai format A4 et double-page sur ordinateur */
.petmag-book-pages{width:min(100%,1180px);max-width:1180px}
.petmag-book-pages.is-spread{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;width:min(100%,1180px);max-width:1180px}
.petmag-book-pages.is-spread .petmag-page{width:100%;aspect-ratio:210/297;border-radius:0;min-width:0}
.petmag-book-pages.is-spread .petmag-page:nth-child(2n+1).is-active{border-left:1px solid #dfe4ec}
.petmag-book-pages.is-spread .petmag-page:nth-child(2n).is-active{border-right:1px solid #dfe4ec}
.petmag-book-pages.is-spread .petmag-page.is-active{display:block!important}
.petmag-book-pages.is-spread .petmag-page:not(.is-active){display:none!important}
.petmag-book-pages.is-spread .petmag-page-cover.is-active,
.petmag-book-pages.is-spread .petmag-page-back.is-active{grid-column:1/-1;width:50%;justify-self:center}
.petmag-book-pages.is-spread .petmag-page-article.is-continuation .petmag-article-image{display:none!important}
.petmag-book-pages.is-spread .petmag-page-article.is-continuation .petmag-article-body h2{display:none!important}
.petmag-book-pages.is-spread .petmag-page-article.is-continuation .petmag-article-body{padding-top:4%}
.petmag-book-pages.is-spread .petmag-page-article.is-continuation .petmag-article-content{font-size:clamp(12px,1.05vw,14px);line-height:1.55}
.petmag-article-body{overflow:visible}
.petmag-article-content{overflow-wrap:anywhere}
.petmag-page-article.is-continuation .petmag-article-body h2{display:none!important}
.petmag-page-article.is-continuation .petmag-article-image{display:none!important}
.petmag-book-stage{align-items:center}
@media(max-width:899px){
 .petmag-book-pages.is-spread{display:block;width:min(100%,700px)}
 .petmag-book-pages.is-spread .petmag-page{width:100%;aspect-ratio:210/297}
 .petmag-book-pages.is-spread .petmag-page-cover.is-active,.petmag-book-pages.is-spread .petmag-page-back.is-active{width:100%}
}
@media print{
 .petmag-book-pages,.petmag-book-pages.is-spread{display:block!important;width:210mm!important;max-width:none!important}
 .petmag-book-pages .petmag-page,.petmag-book-pages .petmag-page[hidden],.petmag-book-pages .petmag-page:not(.is-active){display:block!important;width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;aspect-ratio:auto!important;position:relative!important;overflow:hidden!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;break-after:page!important;page-break-after:always!important}
 .petmag-book-pages .petmag-page:last-child{break-after:auto!important;page-break-after:auto!important}
 .petmag-page-article.is-continuation .petmag-article-body h2{display:none!important}
}

/* v1.3: stabilize typography and prevent oversized cover titles */
.petmag-book .petmag-cover-copy{max-width:86%;bottom:10%}
.petmag-book .petmag-cover-copy h1{font-size:clamp(25px,3.5vw,50px)!important;line-height:1.02!important;letter-spacing:-.035em!important;overflow-wrap:break-word}
.petmag-book .petmag-page-sommaire{padding:4.5% 5.5% 7%}
.petmag-book .petmag-page-sommaire .petmag-kicker{margin:18px 0 6px}
.petmag-book .petmag-page-sommaire h2{font-size:clamp(24px,2.4vw,34px);margin-bottom:10px}
.petmag-book .petmag-sommaire-list>div{padding:9px 0;gap:11px}
.petmag-book .petmag-sommaire-number{min-width:28px;font-size:19px}
.petmag-book .petmag-sommaire-title{font-size:clamp(11px,1.05vw,14px);line-height:1.25;overflow-wrap:anywhere}
.petmag-book .petmag-page-article .petmag-article-content{font-size:clamp(12px,.95vw,13px);line-height:1.48;overflow-wrap:break-word;word-break:normal}
.petmag-book .petmag-page-article .petmag-article-content p{margin:0 0 9px}
.petmag-book .petmag-page-article .petmag-article-content h2,.petmag-book .petmag-page-article .petmag-article-content h3{font-size:1.08em;line-height:1.22;margin:12px 0 6px}
.petmag-book .petmag-page-article.is-continuation .petmag-article-content{font-size:clamp(12px,.95vw,13px);line-height:1.48}
.petmag-book .petmag-page-article.is-continuation .petmag-article-body h2{display:none!important}
.petmag-book .petmag-page-article.is-continuation .petmag-article-image{display:none!important}
.petmag-book .petmag-page-article.is-continuation .petmag-article-body{overflow:hidden}
@media(max-width:899px){
 .petmag-book .petmag-cover-copy h1{font-size:clamp(22px,6vw,36px)!important}
 .petmag-book .petmag-page-sommaire .petmag-sommaire-title{font-size:11px}
 .petmag-book .petmag-page-article .petmag-article-content{font-size:10px;line-height:1.4}
}
