/* Diagnostics Actalan — mise en page v4 */
.dg-wrap{max-width:1344px;margin:0 auto;box-sizing:border-box;padding:clamp(44px,5.4vw,84px) clamp(20px,3.4vw,48px) 0}
.dg-hero{display:flex;flex-direction:column;gap:18px;max-width:940px}
.dg-eyebrow{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#007550}
.dg-eyebrow a{text-decoration:underline;text-underline-offset:4px}
.dg-h1{margin:0;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(34px,4.3vw,62px);line-height:1.05;letter-spacing:-.024em;text-wrap:balance}
.dg-h1 em{font-style:italic;color:#007550}
.dg-lead{margin:0;font-size:18px;line-height:1.55;color:#2B3A4B;max-width:840px}
.dg-meta{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0;list-style:none}
.dg-meta li{padding:6px 12px;border-radius:999px;background:#EEF3F1;font-size:13px;font-weight:600;color:#0A1A2F}
.dg-go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.dg-go span{font-size:14.5px;color:#4F5D6C}
.dg-maj{margin:0;font-size:14px;color:#4F5D6C}
.dg-maj a,.dg-small a,.dg-p a{text-decoration:underline;text-underline-offset:4px}
.dg-shell{margin-top:clamp(28px,4vw,52px);background:#0A1A2F;border-radius:28px;padding:clamp(10px,2.2vw,28px)}
.dg-card{background:#fff;color:#0A1A2F;border-radius:20px;padding:clamp(20px,4vw,52px);min-height:440px;display:flex;flex-direction:column;gap:22px;max-width:940px;margin:0 auto;box-sizing:border-box}
.dg-card.in>*{animation:dgin .38s cubic-bezier(.2,.7,.2,1) both}
@keyframes dgin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.dg-card.in>*{animation:none}.dg-prog i{transition:none}}
.dg-card :focus{outline:none}
.dg-card :focus-visible{outline:3px solid #0A1A2F;outline-offset:3px;border-radius:8px}
.dg-card h2[tabindex]:focus-visible{outline:none}
.dg-intro,.dg-exit,.dg-res{display:flex;flex-direction:column;gap:20px}
.dg-top{display:flex;flex-direction:column;gap:10px}
.dg-step{display:flex;justify-content:space-between;gap:16px;font-size:12.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4F5D6C}
.dg-prog{height:6px;border-radius:999px;background:#E3E9EE;overflow:hidden}
.dg-prog i{display:block;height:100%;background:#05F1A2;border-radius:999px;transition:width .35s ease}
.dg-q{margin:0;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(23px,2.7vw,33px);line-height:1.2;letter-spacing:-.012em;text-wrap:pretty}
.dg-p{margin:0;font-size:17px;line-height:1.55;color:#2B3A4B}
.dg-small{margin:0;font-size:14px;line-height:1.5;color:#4F5D6C}
.dg-ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;font-size:16px;color:#0A1A2F}
.dg-ticks li{display:flex;gap:12px;align-items:flex-start}
.dg-ticks li::before{content:"";flex:none;width:18px;height:18px;margin-top:3px;border-radius:50%;background:#05F1A2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.6L13 6.5' fill='none' stroke='%230A1A2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.dg-opts{display:grid;gap:10px}
.dg-opt{display:flex;align-items:center;gap:14px;width:100%;box-sizing:border-box;text-align:left;font:inherit;color:inherit;background:#fff;border:1.5px solid #C5D0DA;border-radius:14px;padding:13px 16px;min-height:62px;cursor:pointer;transition:border-color .15s,background .15s,color .15s;-webkit-tap-highlight-color:transparent}
.dg-opt:hover{border-color:#0A1A2F;background:#F4F8F6}
.dg-opt[aria-pressed=true]{border-color:#0A1A2F;background:#0A1A2F;color:#fff}
.dg-opt:disabled{cursor:default}
.dg-opt.q{border-style:dashed;min-height:52px}
.dg-ob{flex:1;min-width:0}
.dg-ob b{display:block;font-size:16.5px;font-weight:600;line-height:1.3}
.dg-ob .d{display:block;font-size:14px;line-height:1.35;color:#4F5D6C}
.dg-opt[aria-pressed=true] .d{color:#C9D3DD}
.dg-opt kbd{flex:none;font:600 12px/1 Inter,system-ui,sans-serif;color:#6B7785;border:1px solid #C5D0DA;border-radius:6px;padding:5px 7px;background:#fff}
.dg-opt[aria-pressed=true] kbd{background:transparent;color:#C9D3DD;border-color:#51607A}
.dg-lv{flex:none;display:flex;align-items:flex-end;justify-content:center;gap:3px;width:28px;height:22px}
.dg-lv i{width:5px;border-radius:2px;background:#D3DBE3}
.dg-lv i:nth-child(1){height:7px}.dg-lv i:nth-child(2){height:12px}.dg-lv i:nth-child(3){height:17px}.dg-lv i:nth-child(4){height:22px}
.dg-lv i.on{background:#007550}
.dg-opt[aria-pressed=true] .dg-lv i{background:#3A4A66}
.dg-opt[aria-pressed=true] .dg-lv i.on{background:#05F1A2}
.dg-lv.u{align-items:center;font:600 18px/1 Newsreader,Georgia,serif;color:#6B7785}
.dg-opt[aria-pressed=true] .dg-lv.u{color:#05F1A2}
.dg-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:4px}
.dg-hint{font-size:13px;color:#6B7785}
@media (hover:none),(max-width:760px){.dg-hint,.dg-opt kbd{display:none}}
.dg-actions{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center}
.dg-actions.sub{gap:0 18px;margin-top:-6px}
.dg-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;box-sizing:border-box;padding:10px 22px;border-radius:12px;border:0;font:inherit;font-size:13.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;text-align:center;cursor:pointer;background:#05F1A2;color:#0A1A2F;text-decoration:none}
.dg-btn:hover{filter:brightness(.96)}
.dg-btn.dark{background:#0A1A2F;color:#fff}
.dg-btn.line{background:#fff;color:#0A1A2F;box-shadow:inset 0 0 0 1.5px #0A1A2F}
.dg-btn.txt{background:none;text-transform:none;letter-spacing:0;font-size:15px;font-weight:500;padding:10px 2px;min-height:44px;text-decoration:underline;text-underline-offset:4px}
@media (max-width:560px){.dg-actions:not(.sub) .dg-btn{width:100%}}
.dg-pill{display:inline-flex;align-items:center;gap:10px;padding:8px 16px;border-radius:999px;font-size:15px;font-weight:700}
.dg-pill i{width:10px;height:10px;border-radius:50%;background:currentColor}
.dg-pill.M{background:#DDF7EC;color:#00593D}.dg-pill.S{background:#FCEFD2;color:#7A4B00}.dg-pill.F{background:#FBE1DF;color:#8E1F1A}.dg-pill.V{background:#E6EBF1;color:#2B3A4B}
.dg-res-h{margin:0;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(24px,2.9vw,35px);line-height:1.18;letter-spacing:-.012em;text-wrap:pretty}
.dg-dapres{color:#4F5D6C;font-style:italic}
.dg-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.dg-strip span{padding:9px 6px;border-radius:10px;background:#EEF2F5;color:#7A8796;font-size:13px;font-weight:600;text-align:center}
.dg-strip span.on.M{background:#0B8F63;color:#fff}.dg-strip span.on.S{background:#C98A12;color:#fff}.dg-strip span.on.F{background:#C2413B;color:#fff}
.dg-strip.off span{background:repeating-linear-gradient(135deg,#EEF2F5 0 8px,#E3E9EE 8px 16px)}
.dg-why{font-size:16px}
.dg-box{border-radius:16px;padding:18px 20px;background:#F3F7F5;display:flex;flex-direction:column;gap:8px}
.dg-box p{margin:0;font-size:16px;line-height:1.5}
.dg-box.alert{background:#FDF0EE;border-left:5px solid #C2413B}
.dg-box.warn{background:#FFF6E3;border-left:5px solid #D99A1C}
.dg-box.info{background:#EEF3F8;border-left:5px solid #5B7A99}
.dg-oblig{font-size:14.5px!important;color:#4F5D6C}
.dg-sec{display:flex;flex-direction:column;gap:12px}
.dg-h3{margin:0;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#4F5D6C}
.dg-h3 small{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none}
.dg-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.dg-list.prio{padding:18px 20px;border-radius:16px;box-shadow:inset 0 0 0 1.5px #0A1A2F}
.dg-vg{display:flex;gap:12px;align-items:flex-start}
.dg-vq{margin:0;font-size:16px;line-height:1.45;font-weight:500}
.dg-vr{margin:6px 0 0;font-size:15px;line-height:1.5;color:#2B3A4B}
.dg-chip{flex:none;width:120px;box-sizing:border-box;text-align:center;font-size:12px;font-weight:700;line-height:1.25;padding:4px 8px;border-radius:6px;margin-top:2px}
.dg-chip.R{background:#FBE1DF;color:#8E1F1A}.dg-chip.E{background:#FCEFD2;color:#7A4B00}.dg-chip.P{background:#EAF0D9;color:#45560F}.dg-chip.M{background:#DDF7EC;color:#00593D}
.dg-chip.U{background:#fff;color:#2B3A4B;box-shadow:inset 0 0 0 1px #8A98A8;border-radius:6px}
.dg-bul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:16px}
.dg-dims{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px 28px}
.dg-dim{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:baseline;font-size:15px}
.dg-dim b{font:400 22px/1 Newsreader,Georgia,serif}
.dg-bar{grid-column:1/-1;height:8px;border-radius:999px;background:#E3E9EE;overflow:hidden}
.dg-bar i{display:block;height:100%;border-radius:999px;background:#0A1A2F}
.dg-det{border-top:1px solid #D5DCE4;border-bottom:1px solid #D5DCE4;padding:4px 0}
.dg-det summary{cursor:pointer;padding:14px 0;font-size:15px;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center}
.dg-det summary::-webkit-details-marker{display:none}
.dg-det summary::after{content:"+";font:400 24px/1 Newsreader,Georgia,serif}
.dg-det[open] summary::after{content:"–"}
.dg-det h4{margin:18px 0 10px;font-size:14px;font-weight:700}
.dg-det .dg-list{padding-bottom:16px}
.dg-det .dg-vq{font-weight:400;font-size:15px}
.dg-tags{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.dg-tags li{padding:7px 13px;border-radius:999px;box-shadow:inset 0 0 0 1px #C5D0DA;font-size:14px}
.dg-print-h{display:none}
/* sections statiques sous l'application */
.dg-below{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px 56px;padding-top:clamp(44px,5vw,72px)}
.dg-below h2{margin:0 0 14px;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(24px,2.4vw,32px);line-height:1.15;letter-spacing:-.012em}
.dg-below ol,.dg-below ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column}
.dg-below li{padding:13px 0;border-top:1px solid #D5DCE4;font-size:16px;display:flex;gap:14px}
.dg-below li span{flex:none;width:22px;font:400 18px/1.4 Newsreader,Georgia,serif;color:#007550}
.dg-below p{margin:0 0 12px;font-size:16px;line-height:1.55;color:#2B3A4B}
.dg-below a{text-decoration:underline;text-underline-offset:4px}
/* page d'accueil des diagnostics */
.dg-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dg-fchip{font:inherit;font-size:14px;font-weight:600;padding:9px 16px;min-height:44px;border-radius:999px;border:0;background:#EEF3F1;color:#0A1A2F;cursor:pointer}
.dg-fchip[aria-pressed=true]{background:#0A1A2F;color:#fff}
.dg-fchip:focus-visible,.dg-tile:focus-visible{outline:3px solid #0A1A2F;outline-offset:3px}
.dg-count{font-size:14px;color:#4F5D6C;margin-left:6px}
.dg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:18px}
.dg-tile{display:flex;flex-direction:column;gap:10px;box-sizing:border-box;padding:24px;min-height:250px;border-radius:20px;background:#fff;color:#0A1A2F;box-shadow:0 1px 2px rgba(10,26,47,.08),0 10px 28px rgba(10,26,47,.09);transition:transform .25s ease,box-shadow .25s ease}
.dg-tile[hidden]{display:none}
.dg-tile:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(10,26,47,.08),0 18px 40px rgba(10,26,47,.15)}
.dg-tile .f{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#007550}
.dg-tile .t{margin:0;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:27px;line-height:1.1;letter-spacing:-.012em}
.dg-tile .q{margin:0;font-family:Newsreader,Georgia,serif;font-style:italic;font-size:18.5px;line-height:1.25;color:#007550}
.dg-tile .d{margin:0;font-size:15px;line-height:1.5;color:#2B3A4B}
.dg-tile .m{margin-top:auto;padding-top:10px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase}
.dg-tile.big{background:#0A1A2F;color:#fff;min-height:290px;padding:clamp(24px,3vw,36px)}
.dg-tile.big .f,.dg-tile.big .q{color:#05F1A2}.dg-tile.big .d{color:#C9D3DD}.dg-tile.big .t{font-size:clamp(30px,3vw,40px)}
.dg-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px}
.dg-h2{margin:0;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3vw,42px);line-height:1.1;letter-spacing:-.018em}
.dg-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px 40px;margin:0;padding:0;list-style:none;counter-reset:s}
.dg-steps li{counter-increment:s;border-top:1px solid #0A1A2F;padding-top:14px;font-size:16px;line-height:1.5;color:#2B3A4B}
.dg-steps li::before{content:counter(s,decimal-leading-zero);display:block;font:400 22px/1 Newsreader,Georgia,serif;color:#007550;margin-bottom:8px}
.dg-steps b{display:block;color:#0A1A2F;font-size:17px;margin-bottom:2px}
/* bandeau d'appel placé sur les autres pages */
.dg-band{max-width:1344px;margin:0 auto;box-sizing:border-box;padding:clamp(56px,6vw,88px) clamp(20px,3.4vw,48px) 0}
.dg-band>div{background:#0A1A2F;color:#fff;border-radius:28px;padding:clamp(28px,4vw,56px);display:flex;flex-wrap:wrap;gap:24px 56px;align-items:center;justify-content:space-between}
.dg-band h2{margin:0;font-family:Newsreader,Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(28px,3.2vw,44px);line-height:1.08;letter-spacing:-.02em;max-width:720px;text-wrap:balance}
.dg-band h2 em{font-style:italic;color:#05F1A2}
.dg-band p{margin:12px 0 0;max-width:640px;font-size:17px;line-height:1.5;color:#C9D3DD}
.dg-band .e{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#05F1A2;margin-bottom:14px}
.ec-diag{display:inline-flex;align-items:center;gap:10px;min-height:48px;margin:8px 12px 28px 0;padding:8px 22px;border-radius:12px;font-size:13.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;background:#05F1A2;color:#0A1A2F;text-decoration:none}
/* v4.1 : priorités numérotées, sommaire des dimensions, aperçu du courriel, statut */
.dg-pills{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.dg-etq{font-size:14px;font-weight:600;color:#2B3A4B;padding:6px 12px;border-radius:999px;box-shadow:inset 0 0 0 1px #8A98A8}
.dg-n{flex:none;width:28px;height:28px;border-radius:50%;background:#0A1A2F;color:#fff;font:600 14px/28px Inter,system-ui,sans-serif;text-align:center}
.dg-list.prio{gap:18px}
.dg-list.prio li+li{border-top:1px solid #D5DCE4;padding-top:18px}
.dg-plan{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.dg-plan-b{display:grid;grid-template-columns:32px minmax(0,1fr) auto 18px;gap:12px;align-items:center;width:100%;box-sizing:border-box;text-align:left;font:inherit;color:inherit;background:#fff;border:1.5px solid #C5D0DA;border-radius:14px;padding:12px 16px;min-height:58px;cursor:pointer;-webkit-tap-highlight-color:transparent}
button.dg-plan-b:hover{border-color:#0A1A2F;background:#F4F8F6}
.dg-plan-b .n{width:30px;height:30px;border-radius:50%;background:#EEF3F1;font:600 14px/30px Inter,system-ui,sans-serif;text-align:center}
.dg-plan-b .t{font-size:16.5px;font-weight:600;line-height:1.3}
.dg-plan-b .s{font-size:13px;font-weight:600;color:#4F5D6C;white-space:nowrap}
.dg-plan-b.ok .n{background:#05F1A2}.dg-plan-b.ok .s{color:#00593D}
.dg-plan-b.na{cursor:default;border-style:dashed;color:#6B7785;grid-template-columns:32px minmax(0,1fr) auto}
.dg-mail{border-radius:16px;padding:18px 20px;background:#F3F7F5;display:flex;flex-direction:column;gap:12px}
.dg-mail[hidden]{display:none}
.dg-mail pre{margin:0;white-space:pre-wrap;word-break:break-word;font:13.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#0A1A2F;background:#fff;border-radius:10px;padding:14px;max-height:260px;overflow:auto}
.dg-dim.na span,.dg-dim.na b{color:#6B7785}
.dg-dim.na b{font:600 13px/1.4 Inter,system-ui,sans-serif}
.dg-meta li.st{background:#0A1A2F;color:#fff}
.dg-tile .st{margin:0;font-size:12.5px;line-height:1.4;color:#4F5D6C}
.dg-tile.big .st{color:#C9D3DD}
@media (max-width:560px){.dg-vg{flex-wrap:wrap;gap:8px 10px;align-items:center}.dg-vg>div{flex-basis:100%}.dg-plan-b{grid-template-columns:30px minmax(0,1fr) auto;padding:12px}.dg-plan-b .a{display:none}.dg-chip{width:auto;padding:4px 10px;margin-top:0}.dg-lead{font-size:16.5px}.dg-list.prio{padding:16px}}
@media print{
 header,footer,#menu,.dg-hero,.dg-below,.dg-actions,.dg-small,.dg-strip,.dg-nav,.dg-band,.dg-mail{display:none!important}
 .dg-wrap{padding:0}.dg-shell{background:none;padding:0;margin:0}.dg-card{padding:0;max-width:none;min-height:0}
 .dg-print-h{display:block;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#4F5D6C;border-bottom:1px solid #0A1A2F;padding-bottom:8px}
 .dg-box,.dg-list li,.dg-dim{break-inside:avoid}.dg-det summary::after{content:""}
 .dg-card.in>*{animation:none}
}
