/* Styles limités à la page concours ; les composants communs restent inchangés. */
.contest-main{max-width:1280px;margin:auto;padding:48px 30px 60px;line-height:1.6}
.contest-main p{color:#c9c9c9;margin:0 0 16px}.contest-main h2{font-size:clamp(23px,3vw,30px);line-height:1.25;margin:0 0 14px}.contest-main h3{font-size:18px;line-height:1.4;margin:0 0 10px}.contest-main a{color:var(--green)}
.contest-main .contest-kicker{color:var(--green);font-size:12px;font-weight:700;letter-spacing:.14em;margin-bottom:12px}.contest-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:48px;align-items:center;padding-bottom:38px;border-bottom:1px solid #303030}
.contest-hero h1{font-size:clamp(48px,6vw,76px);line-height:1.05;letter-spacing:-.04em;margin:0 0 22px;color:var(--green)}.contest-hero h1 span{display:block;color:#fff;font-size:.58em;letter-spacing:-.02em;margin-top:8px}.contest-main .contest-lead{font-size:22px;color:#fff;line-height:1.45;max-width:650px}
.contest-main .contest-button{display:inline-flex;gap:24px;align-items:center;justify-content:center;background:var(--green);color:var(--on-green);border-radius:10px;padding:14px 20px;text-decoration:none;font-weight:700;margin:8px 18px 10px 0}.contest-text-link{display:inline-block;font-size:14px}
.contest-facts{padding:26px;border:1px solid #3e4920;border-radius:20px;background:linear-gradient(145deg,#1b210d,#101010 70%)}.contest-main .contest-status{display:inline-block;font-size:12px;border:1px solid #59633b;border-radius:30px;padding:5px 10px;color:#cccccc}.contest-facts dl>div{padding:12px 0;border-bottom:1px solid #34372a}.contest-facts dt{font-size:13px;color:#cccccc}.contest-facts dd{font-size:20px;font-weight:700}.contest-facts dl>div:first-child dd{color:var(--green);font-size:36px}.contest-facts>p:last-child{font-size:13px;margin:16px 0 0;color:#cccccc}
.contest-section{margin-top:34px}.contest-heading{margin-bottom:18px}.contest-heading .contest-kicker{margin-bottom:6px}.contest-steps{counter-reset:step;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:0}.contest-steps li{counter-increment:step;padding:18px;background:#111;border:1px solid #2d2d2d;border-radius:14px}.contest-steps li:before{content:counter(step,decimal-leading-zero);display:block;font-size:24px;font-weight:700;color:var(--green);margin-bottom:12px}.contest-steps h3{font-size:17px}.contest-steps p{font-size:14px;margin:0}
.contest-guides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.contest-main details{background:#111;border:1px solid #333;border-radius:14px;min-width:0}.contest-main summary{cursor:pointer;padding:20px;font-weight:700;overflow-wrap:anywhere}.contest-main summary::marker{color:var(--green)}.contest-guide summary span{vertical-align:middle}.contest-guide small{display:block;font-size:13px;color:#bdbdbd;font-weight:400;margin:6px 0 0 20px}.contest-details{padding:0 22px 20px}.contest-details p:last-child{margin-bottom:0}.contest-main .contest-note{font-size:14px;color:#cccccc;padding:14px;border-left:3px solid var(--green);background:#1b2012}.contest-main details[open]>summary{border-bottom:1px solid #303030;margin-bottom:18px}.contest-winner{margin-top:30px;display:grid;grid-template-columns:1.3fr 1fr;align-items:start;gap:26px;padding:26px;background:#14170d;border:1px solid #3d4429;border-radius:16px}.contest-winner p:last-child{margin-bottom:0}.contest-details ul{padding-left:22px;margin-bottom:16px}.contest-rules article{padding-top:20px}.contest-rules article+article{border-top:1px solid #303030;margin-top:20px}.contest-main :is(a,summary):focus-visible{outline:3px solid var(--green);outline-offset:5px}.contest-main a:hover{text-decoration:underline}.contest-main .contest-button:hover{background:#d0ff50;text-decoration:none}
@media(max-width:1000px){.contest-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.contest-hero{gap:24px}.contest-winner{grid-template-columns:1fr}}
@media(max-width:650px){.contest-main{padding:28px 18px 40px}.contest-hero,.contest-guides{grid-template-columns:1fr}.contest-hero{gap:20px}.contest-steps{grid-template-columns:1fr}.contest-steps li{position:relative;padding-left:62px}.contest-steps li:before{position:absolute;left:18px;top:16px}.contest-facts{padding:20px}.contest-facts dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.contest-facts dd{font-size:17px}.contest-main .contest-lead{font-size:20px}.contest-winner{padding:20px}.contest-main .contest-button{width:100%;margin-right:0;gap:12px}.contest-main summary{padding:16px}.contest-details{padding:0 16px 18px}}

/* V2 : compenser le zoom global de 85 % uniquement dans le contenu concours.
   21 px donnent environ 18 px à l'écran ; 19 px donnent environ 16 px. */
.contest-main{font-size:21px;line-height:1.65}
.contest-main .contest-kicker{font-size:17px;letter-spacing:.09em}
.contest-text-link,.contest-main .contest-status{font-size:18px}
.contest-facts dt,.contest-facts>p:last-child{font-size:19px}
.contest-steps p,.contest-rules,.contest-main .contest-note{font-size:19px}
.contest-steps h3{font-size:21px}
.contest-facts dd{overflow-wrap:anywhere}
.contest-guide{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid #3d4429;border-radius:14px;background:#111;text-decoration:none;min-width:0}
.contest-main .contest-guide:hover{background:#1b2012;text-decoration:none;border-color:var(--green)}
.contest-guide strong{font-size:21px;line-height:1.4}
.contest-guide>span{color:#c9c9c9;font-size:19px}
.contest-guide small{display:block;margin:0;font-size:19px;color:var(--green)}
/* V3 : véritables miniatures et habillage lightbox partagé avec les fiches. */
.contest-guide{padding:12px;gap:14px}
.contest-guide-preview{display:block;position:relative;overflow:hidden;border-radius:8px;background:#000}
.contest-guide-preview img{display:block;width:100%;height:auto;object-fit:contain}
.contest-guide strong{padding:0 6px 6px}
.contest-guide-enlarge{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:40px;height:40px;background:rgba(0,0,0,.85);border:1px solid var(--green);border-radius:8px;color:var(--green);font-size:26px;opacity:0}
.contest-guide:is(:hover,:focus-visible) .contest-guide-enlarge{opacity:1}
.contest-lightbox{background:rgba(0,0,0,.65);box-sizing:border-box;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;padding:0;border:0;overflow:hidden;touch-action:none;color:#fff;zoom:calc(1 / .85)}
.contest-lightbox::backdrop{background:transparent}
.contest-lightbox.active{display:flex}
.contest-lightbox #contest-lightbox-image{display:block;width:auto;height:auto;max-width:calc(100% - 32px);max-height:calc(100% - 128px);object-fit:contain;transform:translate(var(--guide-x,0px),var(--guide-y,0px)) scale(var(--guide-scale,1));transform-origin:center;user-select:none;-webkit-user-select:none;touch-action:none;cursor:zoom-in}
.contest-lightbox.is-zoomed #contest-lightbox-image{cursor:grab}
.contest-lightbox.is-dragging #contest-lightbox-image{cursor:grabbing}
.contest-lightbox .lightbox-close{position:absolute;z-index:2;top:16px;right:16px;width:48px;height:48px;display:grid;place-items:center;padding:0;border:1px solid #555;border-radius:12px;background:#111;font-size:26px;color:#fff}
.contest-lightbox button:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.contest-lightbox-error{position:absolute;bottom:16px;left:16px;right:16px;text-align:center;font:19px/1.5 Arial,sans-serif}
@media(hover:none){.contest-guide-enlarge{opacity:1}}
@media(max-width:1000px){.contest-facts dl{grid-template-columns:1fr}.contest-main .contest-lead{font-size:22px}}
@media(max-width:650px){.contest-guide{padding:10px}.contest-facts dd{font-size:21px}.contest-main .contest-lead{font-size:22px}}
/* V6 : précision de remise et choix de participation, uniquement sur le concours. */
.contest-main .contest-hero .contest-lead{margin-bottom:8px}
.contest-main .contest-prize-note{font-size:19px;line-height:1.5;color:#cccccc;margin-bottom:16px;overflow-wrap:break-word}
.contest-participation{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(720px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:28px;border:1px solid #454b38;border-radius:18px;overflow:auto;background:#111;color:#fff;font:16px/1.55 Arial,Helvetica,sans-serif;zoom:calc(1 / .85)}
.contest-participation::backdrop{background:rgba(0,0,0,.65)}
.contest-participation h2{font-size:25px;line-height:1.3;margin:0 44px 14px 0}
.contest-participation p{margin:0 0 20px;color:#ccc}
.contest-participation-close{position:absolute;top:14px;right:14px;width:40px;height:40px;padding:0;border:1px solid #555;border-radius:10px;background:#1b1b1b;color:#fff;font-size:21px;cursor:pointer}
.contest-participation-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contest-participation-options section{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #383d2d;border-radius:12px;background:#171a11}
.contest-participation-icon{width:32px;height:32px;flex-shrink:0;color:var(--green);margin-bottom:14px}
.contest-participation h3{font-size:19px;line-height:1.35;margin:0 0 10px}
.contest-participation-options p{flex:1}
.contest-participation-action{display:flex;align-items:center;justify-content:center;min-height:44px;padding:11px 14px;border:1px solid var(--green);border-radius:9px;background:var(--green);color:var(--on-green);font-weight:700;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.contest-participation-action:hover{background:#d0ff50}
.contest-participation-stores{display:flex;flex-wrap:wrap;gap:10px}
.contest-participation-stores a{flex:1 1 105px}
.contest-participation :is(button,a):focus-visible{outline:3px solid var(--green);outline-offset:4px}
@media(max-width:560px){.contest-participation{padding:22px 18px}.contest-participation h2{font-size:22px}.contest-participation-options{grid-template-columns:1fr;gap:12px}.contest-participation-options section{padding:16px}.contest-participation-icon{margin-bottom:10px}}

/* Affiche officielle : image entière, sans recadrage. */
.contest-poster{display:flex;justify-content:center;min-width:0}
.contest-poster img{display:block;width:auto;height:auto;max-width:100%;max-height:660px;border-radius:14px;object-fit:contain}
@media(max-width:650px){.contest-poster img{width:100%;max-width:400px;max-height:none}}

/* L’ordre du document privilégie l’affiche sur la présentation à une colonne. */
.contest-hero{grid-template-areas:"presentation affiche"}
.contest-hero>div{grid-area:presentation}
.contest-hero>.contest-poster{grid-area:affiche}
@media(max-width:650px){.contest-hero{grid-template-areas:"affiche" "presentation"}}
