
/* Dalilna V9.6.2 - accueil finalise et notifications */
.home-reply-notice{background:linear-gradient(135deg,#137844,#0e6338);color:#fff}
.home-reply-inner{min-height:78px;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:14px;padding-top:12px;padding-bottom:12px}
.home-reply-inner p{margin:4px 0 0;color:#e4f8eb}
.home-reply-icon,.space-reply-icon{width:42px;height:42px;border-radius:15px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:1.3rem}
.home-reply-inner>button{border:0;background:transparent;color:#fff;font-size:1.8rem;cursor:pointer}
.nav-notif-badge,.dock-notif-badge{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#d90024;color:#fff;font-size:.68rem;font-weight:900;line-height:1}
.space-nav-link{display:inline-flex!important;align-items:center;gap:6px}
.dock-menu-button{position:relative}.dock-notif-badge{position:absolute;right:12px;top:4px}
.hm1-hero-final{padding-bottom:54px}
.hm1-copy h1{max-width:760px}
.hm1-lead{font-size:1.2rem!important;color:#303947!important}
.hm-primary-actions{margin-top:22px}
.hm-trust-final span{display:inline-flex;align-items:center;gap:7px}
.hm-trust-final i{width:20px;height:20px;border-radius:50%;background:#e9fff1;color:#177d47;display:grid;place-items:center;font-style:normal;font-size:.74rem}
.hm-response-only{left:-12px;bottom:8%}
.recent-exposure{background:#fff8df;border-top:1px solid #f2dfa2;border-bottom:1px solid #f2dfa2}
.recent-exposure-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding-top:18px;padding-bottom:18px}
.recent-exposure-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f2b900;color:#382e00;font-weight:1000;font-size:1.3rem}
.recent-exposure p{margin:4px 0 0;color:#675f42}
.recent-exposure-actions{display:flex;gap:9px;flex-wrap:wrap}
.hm-needs-final{padding-top:68px}
.hm-needs-final .hm-need-grid a>span{font-size:.78rem;font-weight:1000;color:#d90024;background:#fff0f3;border:1px solid #f0d4da;border-radius:999px;width:max-content;padding:6px 9px}
.hm-map-shell-final{grid-template-columns:.9fr 1.1fr}
.home-region-select{display:grid;gap:7px;font-weight:900;margin:22px 0 8px;max-width:390px}
.home-region-select select{min-height:50px;border:1px solid #dbcdd1;border-radius:14px;background:#fff;padding:0 14px;font:inherit;color:#202733}
.hm-map-card-compact .tunisia-governorates-map{height:455px}
.home-map-toggle{display:none;border:1px solid #e4d4d8;cursor:pointer}
.home-map-error{background:#fff5db;border:1px solid #efd58c;border-radius:13px;padding:11px 13px;color:#63562e}
.hm-publications-dynamic{align-items:stretch}
.hm-pub-card-final{padding:0;overflow:hidden;display:grid;grid-template-rows:260px 1fr}
.hm-pub-cover{position:relative;display:grid;place-items:center;background:linear-gradient(145deg,#f7f9fc,#fff1f4);overflow:hidden}
.hm-pub-cover img{width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .2s ease}
.hm-pub-cover:hover img{transform:scale(1.025)}
.cover-fallback-text{display:none;padding:28px;text-align:center;color:#d90024;font-weight:1000}
.hm-pub-cover.cover-fallback .cover-fallback-text{display:block}
.hm-pub-content{display:flex;flex-direction:column;padding:20px}
.hm-pub-content h3{margin:14px 0 8px}
.hm-pub-content p{margin-bottom:12px}
.hm-pub-content small{color:#7b8491;margin-top:auto}
.hm-pub-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.hm-pub-actions a{color:#d90024;font-weight:900;text-decoration:none}
.home-loading,.home-publication-error{grid-column:1/-1;min-height:170px;border:1px dashed #ddcbd0;border-radius:20px;display:flex;align-items:center;justify-content:center;gap:10px;color:#677181;padding:24px;text-align:center}
.home-publication-error{flex-direction:column}
.orientation-final-cta{background:linear-gradient(135deg,#f7f9fc,#fff2f5)}
.orientation-final-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.orientation-final-inner h2{font-size:clamp(2rem,4vw,3.6rem);margin:10px 0;letter-spacing:-.05em}
.orientation-final-inner p{max-width:760px;color:#667284;line-height:1.7}
.hm-dalilou-open{cursor:pointer}
.hm-map-illustration{width:100%;height:170px;object-fit:cover;object-position:center;border-radius:18px;margin-bottom:14px;border:1px solid #f3dfe4}
.hm-visual-stories{background:#fff9fb}
.hm-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hm-story-card{background:#fff;border:1px solid #f0dce1;border-radius:24px;overflow:hidden;box-shadow:0 14px 34px rgba(30,36,48,.07);display:flex;flex-direction:column}
.hm-story-card>img{width:100%;height:230px;object-fit:cover;object-position:center}
.hm-story-card>div{padding:20px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.hm-story-card span{color:#d90024;font-size:.75rem;font-weight:1000;letter-spacing:.05em;text-transform:uppercase}
.hm-story-card h3{font-size:1.25rem;margin:9px 0 7px;color:#1e2430}.hm-story-card p{color:#667284;line-height:1.6;margin:0}
.hm-story-card button,.footer-dalilou-link{border:0;background:transparent;color:#d90024;padding:0;font-weight:900;text-align:left;margin-top:15px;cursor:pointer}
.site-footer .footer-dalilou-link{color:#c6ced9;display:block;margin:7px 0}
.space-reply-notice{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#eefcf3;border:1px solid #bfe7ce;border-radius:18px;padding:14px;margin-bottom:15px}
.space-reply-notice p{margin:4px 0 0;color:#4c6957}
.space-reply-icon{background:#d8f5e3}
@media(max-width:980px){
  .recent-exposure-inner,.orientation-final-inner{display:grid}
  .home-reply-inner{grid-template-columns:auto 1fr auto}
  .home-reply-inner .hm-btn{grid-column:2}
  .home-reply-inner>button{grid-column:3;grid-row:1}
  .hm-story-grid{grid-template-columns:1fr 1fr}.hm-story-dalilou{grid-column:1/-1}.hm-story-dalilou{display:grid;grid-template-columns:1fr 1fr}.hm-story-dalilou>img{height:100%}
}
@media(max-width:720px){
  .hm1-hero-final{padding-top:34px}
  .hm1-copy h1{font-size:clamp(2.25rem,11vw,3.05rem)}
  .hm1-visual-final{margin-top:14px}
  .hm-response-only{position:static;margin-top:10px}
  .recent-exposure-inner{grid-template-columns:auto 1fr}
  .recent-exposure-actions{grid-column:1/-1}
  .recent-exposure-actions .hm-btn{width:100%}
  .home-map-toggle{display:inline-flex}
  .hm-map-card-compact{display:none}
  .hm-map-card-compact.mobile-open{display:block}
  .hm-map-shell-final{display:grid;grid-template-columns:1fr}
  .hm-publications-dynamic{grid-template-columns:1fr}
  .hm-pub-card-final{grid-template-columns:120px 1fr;grid-template-rows:auto;min-height:230px}
  .hm-pub-cover{min-height:230px}
  .hm-pub-content{padding:16px}
  .home-reply-inner{grid-template-columns:auto 1fr}
  .home-reply-inner .hm-btn{grid-column:1/-1;width:100%}
  .home-reply-inner>button{position:absolute;right:12px}
  .space-reply-notice{grid-template-columns:auto 1fr}
  .space-reply-notice .btn-small{grid-column:1/-1;width:100%}
  .hm-story-grid{grid-template-columns:1fr}.hm-story-dalilou{grid-column:auto;display:flex}.hm-story-card>img{height:210px}
}
@media(max-width:390px){
  .hm1-copy h1{font-size:2.15rem}
  .hm-need-grid{grid-template-columns:1fr}
  .hm-pub-card-final{grid-template-columns:1fr;grid-template-rows:220px auto}
  .hm-pub-cover{min-height:220px}
}


/* V9.6.3 — correction impérative des éléments cachés */
[hidden]{
  display:none !important;
}
.home-reply-notice[hidden],
.space-reply-notice[hidden],
.geo-map-fallback[hidden],
#homeMapCard[hidden]{
  display:none !important;
}
