/* ─────────────────────────────────────────────────────────────
   STYLE 3 — « Crème doux » — feuille commune des pages annexes
   (publiée le 11/11/2026). Socle repris tel quel de
   l'accueil index.html (polices, jetons, boutons, en-tête, pied),
   puis les composants propres aux pages de contenu.
   ───────────────────────────────────────────────────────────── */
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 900;font-display:swap;
  src:url(/fonts/style3/Nunito-var-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 900;font-display:swap;
  src:url(/fonts/style3/Nunito-var-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --creme:#FBF6EC; --sable:#F3EAD7; --carte:#FFFDF8;
  --encre:#2B3320; --texte2:#545A43; --olive:#4E5D2F; --olive-fonce:#3F4C26; --kaki:#9C9A6A;
  --terra:#B4532F; --terra-survol:#9A4325; --terra-txt:#9A4325;
  --sauge:#E3EBD3; --peche:#F8DFCF; --ble:#F5E8C4; --brume:#DDE8E6;
  --ligne:rgba(43,51,32,.12);
  --f:'Nunito',ui-rounded,system-ui,-apple-system,'Segoe UI',sans-serif;
  --ease:cubic-bezier(.2,.7,.2,1);
  --gout:16px; --r-xl:32px; --r-l:24px;
}
@media(min-width:700px){:root{--gout:32px;--r-xl:44px}}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--creme);color:var(--encre);font-family:var(--f);font-size:1.0625rem;line-height:1.6;font-weight:500;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
img{display:block;max-width:100%;height:auto}
h1,h2,h3{font-weight:850;line-height:1.08;letter-spacing:-.02em;text-wrap:balance}
.wrap{max-width:1200px;margin:0 auto;padding:0 var(--gout)}
:focus-visible{outline:3px solid var(--terra);outline-offset:3px;border-radius:8px}
.ico{display:inline-block;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.pastille{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 10px;border-radius:999px;background:var(--sauge);
  color:var(--olive-fonce);font-size:.88rem;font-weight:750}
.pastille .ico{width:18px;height:18px}

/* Boutons (identiques à l'accueil) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 26px;border-radius:999px;
  font-family:var(--f);font-weight:800;font-size:1.06rem;text-decoration:none;background:var(--terra);color:#fff;border:0;cursor:pointer;
  box-shadow:0 10px 24px -12px rgba(154,67,37,.7);transition:background .2s,transform .2s var(--ease),box-shadow .2s}
.btn:hover{background:var(--terra-survol);transform:translateY(-1px)}
.btn:active{transform:scale(.97)}

/* ── EN-TÊTE (identique à l'accueil) ─────────────────────── */
.tete{position:sticky;top:0;z-index:50;background:rgba(251,246,236,.86);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  transition:box-shadow .3s}
.tete.colle{box-shadow:0 1px 0 var(--ligne)}
.tete .wrap{display:flex;align-items:center;justify-content:space-between;height:66px;gap:12px}
.marque{display:flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font-weight:900;font-size:1.3rem;letter-spacing:-.02em;color:var(--encre)}
.marque img{width:36px;height:36px}
.menu{display:none;gap:6px;font-size:.98rem;font-weight:700}
.menu a{text-decoration:none;color:var(--encre);display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;transition:background .2s}
.menu a:hover{background:var(--sable)}
.menu a[aria-current]{background:var(--sauge);color:var(--olive-fonce)}
.tete .btn{min-height:44px;padding:0 18px;font-size:.95rem;box-shadow:none}
@media(min-width:1000px){.menu{display:flex}.tete .wrap{height:76px}}

/* ── PIED (identique à l'accueil) ────────────────────────── */
.pied{padding:56px 0 40px}
.pied .liens{display:flex;flex-wrap:wrap;gap:0 4px;margin:18px 0 22px}
.pied .liens a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:999px;font-size:.94rem;font-weight:650;color:var(--texte2);text-decoration:none}
.pied .liens a:hover{background:var(--sable);color:var(--encre)}
.pied .cr{font-size:.86rem;color:var(--texte2)}

/* ═════════════════════════════════════════════════════════════
   PAGES ANNEXES
   ═════════════════════════════════════════════════════════════ */
main{display:block}

/* ── Tête de page : texte à gauche, arche pastel à droite ── */
.page-hero{padding:18px 0 36px}
.ph-grille{display:grid;gap:28px;align-items:center}
.crumb{font-size:.92rem;font-weight:650;color:var(--texte2);margin-bottom:14px;display:flex;flex-wrap:wrap;align-items:center;column-gap:4px}
.crumb a{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--terra-txt);font-weight:750;
  text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:rgba(154,67,37,.35)}
.crumb a:first-child{padding-left:0}
.crumb a:hover{text-decoration-color:currentColor}
.page-hero h1{font-size:clamp(2.2rem,8.6vw,3.7rem);font-weight:900;letter-spacing:-.035em;line-height:1.04;margin:18px 0 18px;max-width:18ch}
.page-hero .lead{font-size:1.15rem;color:var(--texte2);max-width:40rem}
.ph-arche{display:none}
@media(min-width:900px){
  .page-hero{padding:40px 0 64px}
  .ph-grille{grid-template-columns:1fr 300px;gap:56px}
  .ph-arche{display:flex;position:relative;align-items:center;justify-content:center;width:300px;aspect-ratio:4/4.8;
    border-radius:999px 999px var(--r-xl) var(--r-xl);background:var(--fond-arche,var(--sauge));color:var(--olive)}
  .ph-arche .grand{width:46%;height:46%;stroke-width:1.5}
  .ph-arche .feuille-deco{position:absolute;right:-14px;top:12%;width:64px;height:64px;color:var(--kaki)}
  .ph-arche .feuille-deco.f2{right:auto;left:-10px;top:auto;bottom:14%;width:44px;height:44px;transform:scaleX(-1)}
}

/* ── Corps de lecture ────────────────────────────────────── */
.corps{padding-bottom:24px}
article,.lecture{max-width:46rem}
article>h2{position:relative;font-size:clamp(1.55rem,5.4vw,2rem);font-weight:850;margin:56px 0 14px;padding-left:26px;color:var(--olive-fonce)}
article>h2::before{content:"";position:absolute;left:0;top:.36em;width:12px;height:12px;border-radius:50%;background:var(--terra);
  box-shadow:0 0 0 6px var(--peche)}
article>h2:first-child{margin-top:8px}
article>p{margin:0 0 16px}
article strong{font-weight:800;color:var(--encre)}
article p a,article li a,.faq .ans a,.rep a{color:var(--terra-txt);font-weight:800;text-decoration:underline;text-decoration-thickness:2px;
  text-underline-offset:3px;text-decoration-color:rgba(154,67,37,.35)}
article p a:hover,article li a:hover,.faq .ans a:hover,.rep a:hover{text-decoration-color:currentColor}
sup{font-size:.7em;line-height:0}

/* Listes : cartes à coche ronde */
article>ul{list-style:none;display:grid;gap:10px;margin:8px 0 22px}
article>ul>li{position:relative;background:var(--carte);border-radius:var(--r-l);box-shadow:inset 0 0 0 1.5px var(--ligne);
  padding:16px 18px 16px 58px}
article>ul>li::before{content:"";position:absolute;left:16px;top:15px;width:28px;height:28px;border-radius:50%;background:var(--sauge)}
article>ul>li::after{content:"";position:absolute;left:25px;top:22px;width:7px;height:12px;border:solid var(--olive);
  border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
article>ul>li:nth-child(3n+2)::before{background:var(--ble)}
article>ul>li:nth-child(3n)::before{background:var(--peche)}

/* Captures : téléphone posé sur une carte pastel */
.shot{margin:32px 0 36px;border-radius:var(--r-xl);padding:28px 22px 24px;background:var(--sauge)}
article>.shot:nth-of-type(3n+2){background:var(--ble)}
article>.shot:nth-of-type(3n){background:var(--peche)}
.shot picture{display:block}
.shot.tel picture{width:min(280px,78%);margin:0 auto;padding:7px;background:#1E2318;border-radius:32px;
  box-shadow:0 30px 50px -26px rgba(43,51,32,.6),0 0 0 1px rgba(43,51,32,.1)}
.shot.tel img{width:100%;border-radius:25px;background:#2b2f24}
.shot.doc picture{width:min(340px,86%);margin:0 auto;padding:0;background:#fff;border-radius:14px;overflow:hidden;
  box-shadow:0 22px 44px -22px rgba(43,51,32,.55)}
.shot.doc img{border-radius:0}
.shot.large{padding:12px 12px 20px;background:var(--sable)}
.shot.large img{width:100%;border-radius:calc(var(--r-xl) - 14px)}
.shot figcaption{margin:18px auto 0;max-width:34rem;text-align:center;font-size:.97rem;font-weight:600;color:var(--texte2);line-height:1.5}
.shot.large figcaption{padding:0 10px}
.shot figcaption b{color:var(--encre);font-weight:850}
.shots{display:grid;gap:18px;margin:28px 0 32px}
.shots .shot{margin:0}
.shots .shot:nth-child(2){background:var(--brume)}
@media(min-width:640px){
  .shots{grid-template-columns:1fr 1fr;align-items:stretch}
  .shots .shot.tel picture{width:86%}
}
@media(min-width:1100px){
  /* La grande carte déborde du texte vers la droite (lecture éditoriale) */
  article>.shot.large{margin-right:-280px}
}

/* Questions fréquentes dans un guide : accordéons */
.faq-art{display:grid;gap:12px;margin:8px 0 8px}

/* Accordéons (FAQ et guides) */
.faq{display:grid;gap:12px}
.faq details,.faq-art details{background:var(--carte);border-radius:var(--r-l);box-shadow:inset 0 0 0 1.5px var(--ligne);transition:background .2s,box-shadow .2s}
.faq details[open],.faq-art details[open]{background:var(--sauge);box-shadow:none}
.faq summary,.faq-art summary{list-style:none;cursor:pointer;display:block;position:relative;
  min-height:60px;padding:17px 70px 17px 22px;font-weight:850;font-size:1.1rem;line-height:1.3;border-radius:var(--r-l)}
.faq-art summary h3{font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:-.01em}
.faq summary::-webkit-details-marker,.faq-art summary::-webkit-details-marker{display:none}
.faq summary::after,.faq-art summary::after{content:"";position:absolute;right:16px;top:50%;margin-top:-18px;width:36px;height:36px;border-radius:50%;
  background:linear-gradient(var(--olive-fonce),var(--olive-fonce)) center/14px 2.5px no-repeat,
             linear-gradient(var(--olive-fonce),var(--olive-fonce)) center/2.5px 14px no-repeat,var(--sauge);
  transition:transform .3s var(--ease)}
.faq details[open] summary::after,.faq-art details[open] summary::after{transform:rotate(45deg);background-color:var(--carte)}
.faq summary:hover,.faq-art summary:hover{color:var(--olive)}
.faq .ans,.rep{padding:0 22px 22px;color:var(--texte2)}
.rep p{margin:0}

/* Bloc d'appel (comme l'appel final de l'accueil) */
.cta,.more{margin:56px 0 8px;background:var(--olive-fonce);color:var(--creme);border-radius:var(--r-xl);padding:44px 24px;text-align:center;
  position:relative;overflow:hidden}
.cta::before,.more::before{content:"";position:absolute;width:220px;height:220px;right:-70px;bottom:-90px;border-radius:50%;
  background:rgba(245,232,196,.07)}
.cta h2,.more h2{font-size:clamp(1.7rem,6vw,2.4rem);font-weight:900;color:var(--creme);margin:0 auto 12px;max-width:20ch;position:relative}
.cta p,.more p{color:#E9DDBF;max-width:30rem;margin:0 auto 24px;position:relative}
.btn-blaze{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 28px;border-radius:999px;
  font-weight:800;font-size:1.06rem;text-decoration:none;background:var(--terra);color:#fff;position:relative;
  box-shadow:0 10px 24px -12px rgba(154,67,37,.7);transition:background .2s,transform .2s var(--ease)}
.btn-blaze:hover{background:var(--terra-survol);transform:translateY(-1px)}
.cta .btn-blaze,.more .btn-blaze{background:var(--ble);color:var(--olive-fonce);box-shadow:0 12px 26px -14px rgba(0,0,0,.6)}
.cta .btn-blaze:hover,.more .btn-blaze:hover{background:#fff}
.btn-blaze::after{content:"";width:9px;height:9px;border:solid currentColor;border-width:2.5px 2.5px 0 0;transform:rotate(45deg);margin-left:2px;
  transition:transform .25s var(--ease)}
.btn-blaze:hover::after{transform:translateX(3px) rotate(45deg)}
.links-inline{position:relative;margin-top:18px;color:rgba(251,246,236,.6);display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.links-inline a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:var(--creme);font-weight:750;
  text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(251,246,236,.35)}
.links-inline a:hover{text-decoration-color:currentColor}
@media(min-width:700px){.cta,.more{padding:60px 40px}}

/* « À lire aussi » */
.related{margin-top:40px}
.related>b{display:inline-flex;align-items:center;padding:6px 14px;border-radius:999px;background:var(--ble);color:#5A4A12;font-weight:850;font-size:.9rem}
.related ul{list-style:none;display:grid;gap:10px;margin-top:14px}
.related li a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;padding:14px 20px;border-radius:var(--r-l);
  background:var(--carte);box-shadow:inset 0 0 0 1.5px var(--ligne);text-decoration:none;font-weight:800;color:var(--encre);
  transition:background .2s,transform .25s var(--ease)}
.related li a::after{content:"";flex:none;width:9px;height:9px;border:solid var(--terra-txt);border-width:2.5px 2.5px 0 0;transform:rotate(45deg);margin-right:4px}
.related li a:hover{background:var(--sable);transform:translateX(3px)}
@media(min-width:700px){.related ul{grid-template-columns:1fr 1fr}}

/* Tuiles de liens (FAQ « Nos guides », 404 « Vous cherchiez peut-être ») */
.guides{margin-top:56px}
.guides h2,.suggest h2{font-size:clamp(1.55rem,5.4vw,2rem);font-weight:850;color:var(--olive-fonce);margin-bottom:18px}
.guides-grid,.suggest-grid{display:grid;gap:14px}
.guides-grid a,.suggest-grid a{display:block;border-radius:var(--r-l);padding:22px 22px 24px;text-decoration:none;color:var(--encre);
  background:var(--sauge);transition:transform .3s var(--ease)}
.guides-grid a:nth-child(4n+2),.suggest-grid a:nth-child(4n+2){background:var(--ble)}
.guides-grid a:nth-child(4n+3),.suggest-grid a:nth-child(4n+3){background:var(--peche)}
.guides-grid a:nth-child(4n),.suggest-grid a:nth-child(4n){background:var(--brume)}
.guides-grid a:hover,.suggest-grid a:hover{transform:translateY(-4px)}
.guides-grid b,.suggest-grid b{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:1.2rem;font-weight:850;line-height:1.2;margin-bottom:6px}
.guides-grid b::after,.suggest-grid b::after{content:"";flex:none;width:9px;height:9px;border:solid var(--terra-txt);border-width:2.5px 2.5px 0 0;transform:rotate(45deg);margin-right:4px}
.guides-grid span,.suggest-grid span{display:block;color:var(--texte2);font-size:.97rem}
@media(min-width:700px){.guides-grid{grid-template-columns:repeat(3,1fr)}.suggest-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.suggest-grid{grid-template-columns:repeat(4,1fr)}}
.page-faq .corps{max-width:1200px}
.page-faq .faq,.page-faq .guides,.page-faq .more{max-width:52rem}

/* ── Contact ─────────────────────────────────────────────── */
.contact{padding:0 0 24px}
.contact .grid{display:grid;gap:18px;align-items:start}
.contact .panel{background:var(--carte);border-radius:var(--r-xl);padding:28px 22px;box-shadow:inset 0 0 0 1.5px var(--ligne)}
.contact form label{display:block;font-weight:850;font-size:1rem;color:var(--encre);margin:20px 0 8px}
.contact form label:first-child{margin-top:0}
.contact input,.contact textarea{width:100%;min-height:54px;background:var(--creme);color:var(--encre);border:0;border-radius:18px;
  box-shadow:inset 0 0 0 1.5px rgba(43,51,32,.22);padding:14px 18px;font:500 1.0625rem/1.4 var(--f);transition:box-shadow .2s,background .2s}
.contact input:hover,.contact textarea:hover{box-shadow:inset 0 0 0 1.5px rgba(43,51,32,.4)}
.contact input:focus,.contact textarea:focus{outline:none;background:#fff;box-shadow:inset 0 0 0 2.5px var(--olive),0 0 0 5px var(--sauge)}
.contact textarea{min-height:170px;resize:vertical}
.contact .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact form button{margin-top:24px;width:100%;min-height:56px;border:0;border-radius:999px;background:var(--terra);color:#fff;cursor:pointer;
  font:800 1.08rem var(--f);box-shadow:0 10px 24px -12px rgba(154,67,37,.7);transition:background .2s,transform .2s var(--ease)}
.contact form button:hover{background:var(--terra-survol)}
.contact form button:active{transform:scale(.98)}
.contact form button:disabled{opacity:.6;cursor:default}
.contact .msg{margin-top:16px;border-radius:16px;padding:14px 18px;font-weight:700;font-size:.97rem;display:none}
.contact .msg.ok{display:block;background:var(--sauge);color:var(--olive-fonce)}
.contact .msg.err{display:block;background:var(--peche);color:#7E3417}
.contact .side{background:var(--sable);box-shadow:none}
.contact .side h2{font-size:1.6rem;font-weight:900;margin-bottom:6px}
.contact .side>p{color:var(--texte2)}
.contact .side .row{display:flex;gap:16px;align-items:center;margin-top:16px;background:var(--carte);border-radius:var(--r-l);padding:14px 16px}
.contact .side .ic{flex:none;width:48px;height:48px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--sauge);color:var(--olive)}
.contact .side .row:nth-of-type(2) .ic{background:var(--ble);color:#6B5A1E}
.contact .side .row:nth-of-type(3) .ic{background:var(--peche);color:var(--terra-txt)}
.contact .side .ic svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.contact .side .row b{display:block;font-weight:850;font-size:1.02rem;line-height:1.25}
.contact .side .row a,.contact .side .row span{color:var(--texte2);font-size:.97rem;font-weight:650}
.contact .side .row a{color:var(--terra-txt);font-weight:800;display:inline-flex;align-items:center;min-height:44px;margin:-10px 0;word-break:break-all;
  text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(154,67,37,.35)}
@media(min-width:800px){
  .contact .grid{grid-template-columns:1.35fr .9fr;gap:24px}
  .contact .panel{padding:40px 38px}
}

/* ── 404 ─────────────────────────────────────────────────── */
.page-404 main{padding:28px 0 32px}
.page-404 main h1{font-size:clamp(2.4rem,10vw,4.2rem);font-weight:900;letter-spacing:-.035em;line-height:1.02;margin:18px 0 16px;max-width:16ch}
.page-404 .lead{font-size:1.15rem;color:var(--texte2);max-width:36rem;margin-bottom:28px}
.page-404 .actions{display:flex;flex-direction:column;gap:12px;align-items:flex-start;margin-bottom:56px}
.page-404 .actions .btn{width:100%;max-width:380px}
.btn-line{background:var(--carte);color:var(--encre);box-shadow:inset 0 0 0 2px var(--ligne)}
.btn-line:hover{background:var(--sable)}
.page-404 .grille-404{display:grid;gap:28px;align-items:center}
.page-404 .traces{display:none}
@media(min-width:900px){
  .page-404 main{padding:56px 0 48px}
  .page-404 .actions{flex-direction:row}
  .page-404 .actions .btn{width:auto}
  .page-404 .grille-404{grid-template-columns:1fr 300px;gap:56px}
  .page-404 .traces{display:flex;align-items:center;justify-content:center;width:300px;aspect-ratio:4/4.8;border-radius:999px 999px var(--r-xl) var(--r-xl);
    background:var(--brume);color:var(--olive)}
  .page-404 .traces .ico{width:46%;height:46%;stroke-width:1.5}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
.nw{white-space:nowrap}

/* ── LA LOUPE (11/11/2026) ─────────────────────────────────────
   Une capture, une carte ou une feuille s'ouvre en grand au toucher.
   Le script est /js/loupe.js ; ce bloc est le même dans site.css et
   dans le <style> de l'accueil (qui n'utilise pas site.css). */
img.loupe-ok{cursor:zoom-in}
img.loupe-ok:focus-visible{outline:3px solid var(--terra,#B4532F);outline-offset:-3px}
.loupe-note{margin:12px 0 0;font-size:.86rem;font-weight:650;color:var(--texte2,#545A43);display:flex;align-items:center;gap:8px}
.loupe-note svg{flex:none;width:18px;height:18px;color:var(--olive,#4E5D2F)}
.visuel .loupe-note{position:absolute;top:100%;left:0;right:0;margin:4px 0 0;justify-content:center;line-height:1.35}
html.loupe-ouverte{overflow:hidden}
.loupe{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:max(18px,env(safe-area-inset-top)) 76px max(18px,env(safe-area-inset-bottom));
  background:rgba(26,32,17,.96);color:#FBF6EC;font-family:var(--f,'Nunito',system-ui,sans-serif);overscroll-behavior:contain}
.loupe[hidden]{display:none}
.loupe-scene{display:flex;align-items:center;justify-content:center;min-height:0;max-width:100%}
#loupe-img{display:block;width:auto;height:auto;max-width:min(100%,520px);max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);
  border-radius:22px;background:#1E2318;box-shadow:0 0 0 7px #1E2318,0 34px 70px -20px rgba(0,0,0,.65);cursor:default}
#loupe-img.large{max-width:100%;border-radius:16px;box-shadow:0 34px 70px -20px rgba(0,0,0,.65)}
#loupe-img.doc{border-radius:10px;background:#fff;box-shadow:0 34px 70px -20px rgba(0,0,0,.65);max-width:min(100%,900px)}
#loupe-txt{margin:6px 0 0;max-width:40rem;text-align:center;font-size:1rem;font-weight:650;line-height:1.45;color:#FBF6EC}
#loupe-txt:empty{display:none}
#loupe-aide{margin:0;font-size:.82rem;font-weight:600;color:rgba(251,246,236,.72);text-align:center}
#loupe-aide[hidden]{display:none}
.loupe-btn{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;
  background:#FBF6EC;color:#3F4C26;cursor:pointer;box-shadow:0 10px 24px -10px rgba(0,0,0,.6);
  transition:background .2s,color .2s,transform .2s var(--ease,ease)}
.loupe-btn[hidden]{display:none}
.loupe-btn:hover{background:var(--terra,#B4532F);color:#fff}
.loupe-btn:active{transform:scale(.94)}
.loupe-btn:focus-visible{outline:3px solid #F5E8C4;outline-offset:3px;border-radius:50%}
#loupe-fermer{top:max(14px,env(safe-area-inset-top));right:14px}
#loupe-prec{left:14px;top:50%;margin-top:-24px}
#loupe-suiv{right:14px;top:50%;margin-top:-24px}
@media (max-width:720px){
  /* téléphone : l'image prend toute la largeur, les flèches passent en bas */
  .loupe{padding:max(70px,calc(env(safe-area-inset-top) + 62px)) 12px max(84px,calc(env(safe-area-inset-bottom) + 76px))}
  #loupe-img{max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px)}
  #loupe-txt{font-size:.92rem}
  #loupe-prec,#loupe-suiv{top:auto;margin-top:0;bottom:max(16px,calc(env(safe-area-inset-bottom) + 10px))}
  #loupe-prec{left:16px}#loupe-suiv{right:16px}
  #loupe-aide{position:absolute;left:76px;right:76px;bottom:max(16px,calc(env(safe-area-inset-bottom) + 10px));
    min-height:48px;display:flex;align-items:center;justify-content:center}
  .loupe-astuce{display:none}
}
@media (hover:none){.loupe-astuce{display:none}}
@media (prefers-reduced-motion:no-preference){
  .loupe:not([hidden]){animation:loupe-fondu .2s ease-out}
  .loupe:not([hidden]) #loupe-img{animation:loupe-zoom .25s var(--ease,ease-out)}
}
@keyframes loupe-fondu{from{opacity:0}to{opacity:1}}
@keyframes loupe-zoom{from{opacity:.4;transform:scale(.96)}to{opacity:1;transform:none}}
