.dhn-home,.dhn-auth {
    --night:#0b1929; --panel:#142b3f; --ice:#f3f9fc; --muted:#bed0dc;
    --cyan:#8be5ed; --edge:#355366; color-scheme:dark;
    margin:0; background:var(--night); color:var(--ice);
    font: 1rem/1.55 "Segoe UI",system-ui,sans-serif;
}
.dhn-home *,.dhn-auth * { box-sizing:border-box; }
.dhn-home a,.dhn-auth a { color:inherit; }
.dhn-home :focus-visible,.dhn-auth :focus-visible { outline:3px solid #ffcb82; outline-offset:4px; }
.dhn-home .skip { position:absolute; transform:translateY(-150%); z-index:5; padding:12px 20px; background:white; color:#112333; }
.dhn-home .skip:focus { transform:none; }
.dhn-home .wrap { width:min(1160px,90%); margin-inline:auto; }
.dhn-home .mast,.dhn-home .foot { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:21px; }
.dhn-home .brand,.dhn-auth .brand { display:inline-flex; align-items:center; gap:12px; color:var(--ice); text-decoration:none; }
.dhn-mark { display:block; overflow:hidden; width:48px; height:48px; flex:0 0 48px; background:#fff; border-radius:12px; }
.dhn-mark img,.dhn-auth .dhn-mark img { width:auto; height:42px; max-width:none; display:block; margin:3px; }
.dhn-wordmark { display:block; font-size:1.12rem; font-weight:750; line-height:1.18; }
.dhn-wordmark small,.dhn-auth .dhn-wordmark small { display:block; font-size:.72rem; font-weight:500; color:var(--muted); margin-top:4px; }
.dhn-home header,.dhn-home footer { border-block:1px solid #2b4054; }
.dhn-home .mast nav { display:flex; align-items:center; gap:24px; margin-inline:auto 10px; }
.dhn-home nav a,.dhn-home .login,.dhn-home .actions a,.dhn-home .axis { text-decoration:none; }
.dhn-home nav a { font-size:.92rem; font-weight:600; }
.dhn-home nav a:hover,.dhn-home .secondary:hover,.dhn-home .foot a:hover { color:var(--cyan); }
.dhn-home .login { padding:8px 16px; border:1px solid #6a99aa; border-radius:8px; font-weight:700; white-space:nowrap; }
.dhn-home .login:hover { background:#203647; }
.dhn-home .hero { background:radial-gradient(ellipse at 82% 42%,#1c485a,transparent 52%),#112537; border-bottom:1px solid var(--edge); }
.dhn-home .hero-inner { display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(25px,5vw,76px); align-items:center; padding-block:clamp(45px,6vw,86px); }
.dhn-home .eyebrow { font-size:.86rem; font-weight:700; color:var(--cyan); margin:0 0 14px; }
.dhn-home h1,.dhn-home h2,.dhn-home h3 { margin:0; text-wrap:balance; }
.dhn-home h1 { font-size:clamp(2.5rem,5.2vw,4.9rem); line-height:1.02; letter-spacing:-.055em; }
.dhn-home h1 span { color:var(--cyan); }
.dhn-home h2 { font-size:clamp(1.7rem,3.2vw,2.45rem); line-height:1.16; letter-spacing:-.035em; }
.dhn-home h3 { font-size:1.2rem; line-height:1.24; letter-spacing:-.022em; }
.dhn-home .intro,.dhn-home .section-intro,.dhn-home article p,.dhn-home .axis p { color:var(--muted); }
.dhn-home .intro { font-size:clamp(1.01rem,1.3vw,1.14rem); max-width:54ch; margin:21px 0 26px; }
.dhn-home .actions { display:flex; gap:14px 22px; flex-wrap:wrap; align-items:center; }
.dhn-home .cta,.dhn-auth .button { border-radius:8px; background:var(--cyan); color:#08212b; font-weight:750; padding:12px 18px; }
.dhn-home .cta:hover,.dhn-auth .button:hover { background:#acfbff; }
.dhn-home .cta span,.dhn-home .secondary span { margin-left:4px; }
.dhn-home .secondary { color:#f1f9fc; font-weight:650; }
.dhn-home .hero-picture { aspect-ratio:1.42; overflow:hidden; border:1px solid #668391; border-radius:22px 5px 22px 5px; box-shadow:9px 9px 0 #19384a; }
.dhn-home .hero-picture img { width:100%; height:100%; object-fit:cover; display:block; }
.dhn-home .block { padding-block:clamp(44px,5vw,70px); }
.dhn-home .section-intro { max-width:70ch; margin:10px 0 26px; }
.dhn-home .axes,.dhn-home .features { display:grid; gap:16px; }
.dhn-home .axes { grid-template-columns:repeat(4,minmax(0,1fr)); }
.dhn-home .axis,.dhn-home article { border:1px solid var(--edge); border-radius:13px; background:var(--panel); }
.dhn-home .axis { display:flex; flex-direction:column; overflow:hidden; }
.dhn-home .axis:hover { border-color:var(--cyan); background:#193548; }
.dhn-home .axis img { width:100%; height:auto; aspect-ratio:2.05; object-fit:cover; display:block; }
.dhn-home .axis-text { padding:18px; flex:1; display:flex; flex-direction:column; }
.dhn-home .axis p,.dhn-home article p { font-size:.96rem; margin:10px 0 20px; }
.dhn-home .axis-link,.dhn-home article a { margin-top:auto; color:var(--cyan); font-size:.93rem; font-weight:700; }
.dhn-home .member-block { background:#0e2030; border-top:1px solid #2b4054; }
.dhn-home .features { grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:26px; }
.dhn-home article { display:flex; flex-direction:column; padding:24px; }
.dhn-home article a,.dhn-home .foot a { width:fit-content; text-underline-offset:4px; }
.dhn-home .foot { color:var(--muted); font-size:.9rem; flex-wrap:wrap; }
.dhn-auth .entry { width:min(480px,90%); }
.dhn-auth .card { background:var(--panel); border-color:var(--edge); }
.dhn-auth .card p a { color:var(--cyan); }
@media(max-width:900px) {
    .dhn-home .axes { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .dhn-home .hero-inner { grid-template-columns:1.22fr 1fr; gap:24px; }
}
@media(max-width:700px) {
    .dhn-home .mast { flex-wrap:wrap; gap:12px; padding-block:14px; }
    .dhn-home .mast nav { order:3; width:100%; margin:0; gap:20px; }
    .dhn-home .hero-inner { grid-template-columns:1fr; }
    .dhn-home .hero-picture { aspect-ratio:2.5; max-height:240px; }
    .dhn-home .features { grid-template-columns:1fr; }
    .dhn-home .brand { gap:8px; }
    .dhn-home .login { font-size:.91rem; padding:8px 11px; }
}
@media(max-width:460px) {
    .dhn-home .axes { grid-template-columns:1fr; }
    .dhn-home .axis img { aspect-ratio:2.6; }
    .dhn-home .dhn-mark { width:36px; height:36px; flex-basis:36px; border-radius:8px; }
    .dhn-home .dhn-mark img { height:32px; margin:2px; }
    .dhn-wordmark { font-size:1rem; }
    .dhn-wordmark small { font-size:.64rem; }
}
.dhn-auth .entry { margin:clamp(32px,10vh,96px) auto; }
.dhn-auth .card { margin-top:26px; padding:clamp(18px,5vw,32px); border:1px solid var(--edge); border-radius:14px; }
.dhn-auth .card h1 { margin:0; line-height:1.16; }
.dhn-auth label { display:block; margin:16px 0; font-weight:650; }
.dhn-auth input { display:block; width:100%; padding:10px; margin-top:4px; background:#0b1a29; color:var(--ice); border:1px solid #7793a3; border-radius:6px; font:inherit; }
.dhn-auth .button { font:inherit; font-weight:700; border:0; cursor:pointer; }
.dhn-auth .notice { color:#a0eed6; }
.dhn-auth .error { color:#ffbfc6; }
/* Palette des publications du Carrefour DHN. */
.dhn-home,.dhn-auth {--night:#f7f6f2;--panel:#fff;--ice:#082f56;--muted:#405967;--cyan:#006b70;--edge:#d3dcdb;color-scheme:light}
.dhn-home header,.dhn-home footer {background:white;border-color:var(--edge)}.dhn-home header {border-top:5px solid #db6b27}
.dhn-home .hero {background:#082f56;border-color:#06314c;color:#fff}.dhn-home .hero .intro {color:#e5f0f4}.dhn-home .hero .eyebrow {color:#99e0d7}
.dhn-home .hero-picture {box-shadow:8px 8px 0 #11646b;border-color:#59929b}.dhn-home .cta,.dhn-auth .button {background:#006a6d;color:white}
.dhn-home .hero .cta {background:#ffab6a;color:#092e4c}.dhn-home .hero .cta:hover {background:#ffbd8d}.dhn-home .hero .secondary:hover {color:#9ee4dc}
.dhn-home .login {border-color:#457080}.dhn-home .login:hover,.dhn-home .axis:hover {background:#e7f1ed}
.dhn-home .member-block {background:#eaf1ed;border-color:#d3dcdb}.dhn-home .doors article {border-top:4px solid #00777a}.dhn-home .doors article:nth-child(2) {border-top-color:#d56a28}.dhn-home .doors article:nth-child(3){border-top-color:#082f56}
.dhn-home .doors {padding-bottom:5px}.dhn-auth input {background:#fff;color:#082f56}.dhn-auth .button:hover {background:#00565b;color:white}
.dhn-auth .error {color:#922b25}.dhn-auth .notice {color:#00594e}.dhn-auth .staff-login {border-top:1px solid #d3dcdb;padding-top:14px}.dhn-auth .card a.button {color:#fff;text-decoration:none;display:inline-block}
