/* NelohimA V1.0.20 — structure commune : en-tête, menu, footer et gabarit de page identiques sur toutes les pages. */

/* ── En-tête : logo + « NelohimA » toujours visibles, sur tous les écrans ── */
.hd .hr{height:72px;gap:12px}
.hd .lg{flex:none;min-width:0;gap:9px}
.hd .lg .lt,.lg .lt{display:inline!important;font:800 20px/1 var(--fd);letter-spacing:-.03em;color:var(--hd)}
.hd .lgi{width:38px;height:38px;object-fit:contain}
.hd .ra{gap:8px;flex:none}
@media(max-width:480px){
  .hd .hr{gap:8px;height:66px}
  .hd .lgi{width:34px;height:34px}
  .hd .lg .lt,.lg .lt{font-size:17px}
  .hd .ra{gap:6px}.hd .ib{min-width:36px;height:36px}.hd .lang button{min-width:30px;height:34px;font-size:11.5px}
}
@media(max-width:350px){.hd .lg .lt,.lg .lt{font-size:15px}.hd .lgi{width:30px;height:30px}.hd .lang button{min-width:26px}.hd .ib{min-width:33px;height:33px}}

/* ── Menu-toggle (tiroir) : conservé, texte lisible ── */
.dr .mn a{white-space:normal}
.dr .mn{overflow-y:auto}

/* ── Footer commun (référence V1.0.17) ── */
.tri{height:5px;background:linear-gradient(90deg,#e10600 34%,#ffc20e 34% 67%,#e10600 67%)}
.nl-footer{background:#071d3f;color:#d9e4f6;padding:55px 0 22px}
.nl-wrap{width:min(1240px,calc(100% - 48px));margin-inline:auto}
.nl-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:42px}
.nl-footer .nl-brand{display:flex;align-items:center;gap:10px;color:#fff;font:800 23px/1.1 'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.04em;text-decoration:none}
.nl-footer .nl-brand img{width:40px;height:40px;object-fit:contain}
.nl-footer p{font-size:14px;max-width:33ch;color:#b5c6df;margin:20px 0 0}
.nl-footer h2{font:700 12px/1.4 Figtree,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.1em;color:#ffda6c;margin:5px 0 18px}
.nl-footer nav a{display:block;font-size:14px;padding:4px 0;color:#d9e4f6;text-decoration:none;min-height:28px}
.nl-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.nl-footer a:focus-visible{outline:2px solid #ffc20e;outline-offset:3px;border-radius:4px}
.nl-footer-bottom{margin-top:35px;border-top:1px solid #ffffff24;padding-top:18px;display:flex;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;font-size:12px;color:#b5c6df}
.nl-footer-bottom nav{display:flex;gap:8px 22px;flex-wrap:wrap}
.nl-footer-bottom nav a{font-size:12.5px;padding:2px 0}
@media(max-width:980px){.nl-wrap{width:calc(100% - 36px)}.nl-footer-grid{grid-template-columns:1.4fr 1fr;gap:30px}}
@media(max-width:600px){.nl-wrap{width:calc(100% - 32px)}.nl-footer{padding-top:36px}.nl-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px}.nl-footer-grid>div:first-child{grid-column:1/-1}.nl-footer nav a{font-size:15px;padding:6px 0}.nl-footer .nl-brand{font-size:21px}.nl-footer-bottom{flex-direction:column;gap:12px}}

/* ── Gabarit de page : même largeur, même rythme, même fond sur toutes les pages ── */
body{background:var(--bg);color:var(--tx)}
main{display:block;min-height:50vh}
main .w,.v111-page .v111-main{width:min(1240px,calc(100% - 48px));margin-inline:auto}
@media(max-width:980px){main .w,.v111-page .v111-main{width:calc(100% - 36px)}}
@media(max-width:600px){main .w,.v111-page .v111-main{width:calc(100% - 32px)}}
main section{padding-block:clamp(40px,5.5vw,76px)}
main h1{letter-spacing:-.04em;text-wrap:balance}
main h1,.v111-hero h1{font-family:var(--fd)}

/* Photos de section : taille d'origine (proportions respectées), plus de bande écrasée de 20 px */
.nl-section-visual{width:min(100% - 36px,1000px);max-width:100%;margin:22px auto 6px;overflow:hidden;border-radius:20px;border:1px solid var(--ln);background:var(--sf);text-align:center}
.nl-section-visual img{display:block;width:auto!important;max-width:100%;height:auto!important;max-height:clamp(220px,42vw,440px);margin-inline:auto;object-fit:contain;filter:none;opacity:1}

/* Zone de lecture : garde-fous communs */
main img{max-width:100%;height:auto}
.skip{position:absolute;left:12px;top:-60px;background:var(--gold);color:var(--navy);padding:10px 16px;border-radius:10px;z-index:100;font-weight:700}.skip:focus{top:10px}

/* Pages « v111 » : couleurs lisibles en clair et en sombre (reprend l'ancien gabarit commun) */
.v111-hero{background:linear-gradient(120deg,#071d45,#e10600);border-radius:22px;padding:clamp(28px,5vw,60px);color:#fff}
.v111-hero h1,.v111-hero p{color:#fff}
.v111-panel,.v111-card{background:var(--cd);border:1px solid var(--ln);border-radius:20px}
.v111-panel h2,.v111-card h3{color:var(--tx)}
.v111-panel p,.v111-card p{color:var(--mu)}
.v111-faq details{background:var(--cd);border-color:var(--ln)}.v111-faq summary{color:var(--tx)}
