:root{--navy:#062238;--navy2:#0b3454;--gold:#c99a33;--text:#14253a;--muted:#5d6b7a;--bg:#f5f8fb;--card:#fff;--border:#dfe7ef;--max:1180px}
*{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--bg);line-height:1.65}
a{text-decoration:none;color:inherit}
a:hover{color:var(--gold)}
.header{background:linear-gradient(90deg,var(--navy),var(--navy2));color:#fff}
.header-inner{max-width:var(--max);margin:auto;padding:18px 24px;display:grid;grid-template-columns:320px 1fr auto;gap:30px;align-items:center}
.brand{display:flex;align-items:center;gap:14px;color:#fff}
.brand img{width:58px;height:auto}
.brand strong{display:block;font-size:1.25rem}
.brand span{display:block;opacity:.88}
.nav{display:flex;justify-content:center;gap:28px;flex-wrap:wrap}
.nav a{color:#fff;font-weight:800}
.btn{display:inline-block;background:var(--gold);color:#111;padding:14px 26px;border-radius:10px;font-weight:800}
.hero{background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff;padding:64px 24px 72px}
.hero-inner{max-width:var(--max);margin:auto}
.breadcrumb{margin-bottom:24px;color:#dbe8f4;font-weight:700}
.breadcrumb a{color:var(--gold)}
.hero h1{max-width:900px;margin:0 0 24px;color:#fff;font-size:clamp(2.4rem,5vw,4.7rem);line-height:1.08}
.hero p{max-width:900px;color:#eef6fb;font-size:1.18rem}
.main{max-width:var(--max);margin:auto;padding:42px 24px}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:42px;align-items:start}
.section-title{margin:28px 0 18px;padding-top:12px;border-top:3px solid var(--gold);color:var(--navy);font-size:1.55rem}
.section-title:first-child{margin-top:0}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:26px 30px;margin-bottom:18px;box-shadow:0 10px 28px rgba(6,34,56,.07)}
.card h2,.card h3{margin-top:0;color:var(--navy);line-height:1.25}
.sidebar{background:#edf4f8;border:1px solid var(--border);border-radius:18px;padding:26px;position:sticky;top:24px}
.sidebar h2,.sidebar h3{margin-top:0;color:var(--navy)}
.sidebar-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;box-shadow:0 10px 28px rgba(6,34,56,.06)}
.cta{background:linear-gradient(90deg,var(--navy),var(--navy2));color:#fff;border-radius:18px;padding:30px;margin-top:28px;display:flex;justify-content:space-between;gap:24px;align-items:center}
.cta h2,.cta p{color:#fff;margin-top:0}
.footer{background:var(--navy);color:#fff;margin-top:40px}
.footer-inner{max-width:var(--max);margin:auto;padding:34px 24px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.footer a{color:#fff}
.copyright{border-top:1px solid rgba(255,255,255,.18);text-align:center;padding:14px 24px;color:#dbe8f4}
@media(max-width:900px){.header-inner,.layout,.footer-inner{grid-template-columns:1fr}.nav{justify-content:flex-start}.sidebar{position:static}.cta{flex-direction:column;align-items:flex-start}}

/* Liens du bloc de droite */

.sidebar-nav a{
    display:block;
    color:#30455c;
    text-decoration:none;
    padding:6px 0;
    cursor:pointer;
    transition:
        color .2s ease,
        padding-left .2s ease;
}

.sidebar-nav a:hover{
    color:#0f3558;
    padding-left:8px;
}

.sidebar-nav a:focus{
    color:#0f3558;
    outline:none;
}

.sidebar-nav a:active{
    color:#c99a33;
}

/* Correction ciblée - liens bloc de droite */
.sidebar .sidebar-nav a{
  display:block !important;
  color:#30455c !important;
  text-decoration:none !important;
  padding:8px 0 8px 12px !important;
  border-left:3px solid transparent !important;
  cursor:pointer !important;
  transition:color .2s ease, padding-left .2s ease, border-left-color .2s ease !important;
}

.sidebar .sidebar-nav a:hover{
  color:#0f3558 !important;
  border-left-color:#c99a33 !important;
  padding-left:18px !important;
}

.sidebar .sidebar-nav a:active{
  color:#c99a33 !important;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.hero-actions .btn{
  width:auto;
  white-space:nowrap;
}

.hero-actions .btn-outline{
  background:transparent;
  border:2px solid #c99a33;
  color:#fff;
}

/* Bloc EEAT Premium MH Expertise */
.eeat-block{
  border-left:4px solid #d99b2b;
  background:#ffffff;
}

.eeat-block h2{
  margin-top:0;
}

.eeat-block h3{
  margin-top:24px;
}

.eeat-block ul{
  margin-top:14px;
}

/* Sidebar Premium MH Expertise v4.0 */
.sidebar-premium .sidebar-card{
  margin-bottom:22px;
}

.sidebar-premium h3{
  margin-top:0;
}

.sidebar-premium .sidebar-nav a{
  display:block;
  padding:8px 0 8px 12px;
  border-left:3px solid transparent;
  text-decoration:none;
}

.sidebar-premium .sidebar-nav a:hover{
  border-left-color:#d99b2b;
  padding-left:18px;
}

/* Uniformisation boutons hero */
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.hero-actions .btn{
  min-width:190px;
  text-align:center;
}

@media(max-width:700px){
  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
  }
}

/* MH composants visuels globaux */
.mh-note{
  border-left:6px solid #256894;
  border-radius:18px;
  padding:22px 24px;
  margin:30px 0;
}
.mh-note h3{margin-top:0}
.mh-blue{background:#eef6fb;border-color:#256894}
.mh-yellow{background:#fff7e6;border-color:#d99b2b}
.mh-red{background:#fff1f1;border-color:#b54747}
.mh-green{background:#edf8f1;border-color:#3f7f5f}

.table-guide{
  width:100%;
  border-collapse:collapse;
  margin:35px 0;
  background:#fff;
  border:2px solid #cfd8e3;
  font-size:16px;
}
.table-guide caption{
  caption-side:top;
  text-align:left;
  font-weight:700;
  color:#153d63;
  margin-bottom:12px;
}
.table-guide th,
.table-guide td{
  border:1px solid #9fb1c3;
  padding:14px;
  vertical-align:top;
  line-height:1.55;
}
.table-guide thead th{
  background:#153d63;
  color:#fff;
}
.table-guide tbody td:nth-child(1){
  background:#eef6fb;
  color:#153d63;
  font-weight:700;
}
.table-guide tbody td:nth-child(2){background:#fff7e6}
.table-guide tbody td:nth-child(3){background:#edf8f1}
.table-guide tbody td:nth-child(4){background:#fff1f1}

.cta{
  text-align:center;
}
.cta .hero-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px;
}

@media(max-width:760px){
  .table-guide{font-size:14px}
  .table-guide th,
  .table-guide td{padding:10px}
}

/* CTA uniforme MH Expertise - global */
.cta{
  background:linear-gradient(135deg,#08253b,#123f60) !important;
  color:#fff !important;
  border-radius:28px !important;
  padding:54px 42px !important;
  margin:60px auto 24px !important;
  text-align:center !important;
  display:block !important;
  max-width:1100px !important;
}

.cta h2{
  color:#fff !important;
  font-size:clamp(2rem,4vw,3rem) !important;
  line-height:1.18 !important;
  margin:0 auto 22px !important;
  max-width:900px !important;
  text-align:center !important;
}

.cta p{
  color:#fff !important;
  font-size:clamp(1.1rem,2vw,1.35rem) !important;
  line-height:1.7 !important;
  max-width:850px !important;
  margin:0 auto 30px !important;
  text-align:center !important;
}

.cta .hero-actions{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:16px !important;
  flex-wrap:wrap !important;
  margin-top:26px !important;
}

.cta .btn{
  min-width:260px !important;
  padding:17px 32px !important;
  border-radius:14px !important;
  font-weight:800 !important;
  text-align:center !important;
}

@media(max-width:760px){
  .cta{
    padding:38px 22px !important;
    border-radius:22px !important;
  }

  .cta .btn{
    width:100% !important;
    min-width:0 !important;
  }
}

/* Portail client flottant */
.client-floating{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  background:#153d63;
  color:#fff !important;
  padding:14px 22px;
  border-radius:50px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.client-floating:hover{
  background:#256894;
  transform:translateY(-2px);
}
@media(max-width:760px){
  .client-floating{
    right:14px;
    bottom:14px;
    padding:12px 18px;
    font-size:14px;
  }
}

/* Portail client - boutons avec icônes */
.portal-actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:30px;
}

.portal-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:260px;
  padding:18px 30px;
  border-radius:14px;
  font-weight:800;
  font-size:1.05rem;
  text-decoration:none;
  line-height:1.2;
}

.portal-btn svg{
  width:26px;
  height:26px;
  flex:0 0 auto;
}

.portal-btn-primary{
  background:#d99b2b;
  color:#111 !important;
  box-shadow:0 10px 24px rgba(217,155,43,.22);
}

.portal-btn-outline{
  background:#fff;
  color:#b98212 !important;
  border:2px solid #d99b2b;
}

.portal-btn:hover{
  transform:translateY(-2px);
}

.portal-note{
  display:flex;
  gap:24px;
  align-items:flex-start;
  background:#eef6fb;
  border-left:6px solid #256894;
  border-radius:18px;
  padding:28px 32px;
  margin:34px 0;
}

.portal-note-icon{
  width:62px;
  height:62px;
  min-width:62px;
  border-radius:50%;
  background:#153d63;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}

.portal-note-icon svg{
  width:34px;
  height:34px;
}

.portal-note h3{
  margin-top:0;
}

.sidebar-card .portal-btn{
  min-width:0;
  width:100%;
}

@media(max-width:760px){
  .portal-actions{
    flex-direction:column;
  }

  .portal-btn{
    width:100%;
    min-width:0;
  }

  .portal-note{
    flex-direction:column;
    padding:24px;
  }
}

/* Blog index avec recherche */
.blog-tools{
  background:#fff;
  border:1px solid #dbe5ef;
  border-radius:22px;
  padding:26px;
  margin:0 0 32px;
}

.blog-search{
  width:100%;
  padding:16px 18px;
  border:1px solid #cfd8e3;
  border-radius:14px;
  font-size:1rem;
  margin-bottom:18px;
}

.blog-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.blog-filter{
  border:1px solid #d99b2b;
  background:#fff;
  color:#153d63;
  padding:10px 16px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
}

.blog-filter.active,
.blog-filter:hover{
  background:#d99b2b;
  color:#111;
}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}

.blog-card{
  background:#fff;
  border:1px solid #dbe5ef;
  border-radius:22px;
  padding:24px;
  box-shadow:0 8px 22px rgba(8,37,59,.06);
}

.blog-card h2{
  font-size:1.25rem;
  line-height:1.3;
  margin-top:0;
}

.blog-card p{
  color:#425466;
}

.blog-tag{
  display:inline-block;
  background:#eef6fb;
  color:#153d63;
  font-weight:700;
  font-size:.85rem;
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:12px;
}

.blog-card a.btn{
  margin-top:12px;
}

