/* OBD AVOCATS — Raffinement du menu global (13/11/2026).
   Nav links match the "Nos expertises" toggle. Extra domains styled on every page. */

/* Exact same font treatment as the validated Nos expertises button */
@media (min-width:1051px) {
  body.obd-site .obd-header .obd-nav > a,
  body.obd-site .obd-header .obd-nav .obd-v11-drop-toggle {
    font-family:'DM Sans',sans-serif!important;
    font-size:13px!important;
    font-weight:600!important;
    line-height:1.5!important;
    letter-spacing:normal!important;
    text-transform:none!important;
    white-space:nowrap;
  }
  body.obd-site .obd-header .obd-nav > a {
    display:inline-flex;
    align-items:center;
    height:100%;
  }
}

/* Extra specialties as two clear, aligned navigation tiles */
body.obd-site .obd-v11-mega .obd-v11-more {
  display:block;
  margin:16px 0 0;
  padding:15px 0 1px;
  border-top:1px solid #d9d2c6;
  background:transparent;
  font-family:'DM Sans',sans-serif;
}
body.obd-site .obd-v11-more-heading {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 12px;
  color:#967752;
  font-size:10px;
  font-weight:800;
  line-height:1.5;
  letter-spacing:.15em;
}
body.obd-site .obd-v11-more-line {
  display:block;
  width:21px;
  height:1px;
  background:#b79971;
  flex:none;
}
body.obd-site .obd-v11-more-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
body.obd-site .obd-v11-mega .obd-v11-more-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  min-height:50px;
  padding:11px 13px 11px 15px;
  border:1px solid #d8d0c3;
  background:#f3eee6;
  color:#20343e!important;
  text-decoration:none!important;
  border-radius:2px;
  transition:background-color .2s,border-color .2s,transform .2s;
}
body.obd-site .obd-v11-mega .obd-v11-more-link:hover,
body.obd-site .obd-v11-mega .obd-v11-more-link:focus-visible {
  background:#e7dfd2;
  border-color:#b79a74;
  transform:translateY(-2px);
  outline-offset:2px;
}
body.obd-site .obd-v11-more-link-title {
  display:block;
  font-family:'DM Sans',sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.45;
}
body.obd-site .obd-v11-more-link-arrow {
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  flex:none;
  font-size:17px;
  font-weight:400;
  line-height:1;
  color:#a1845d;
  border:1px solid #d2c5b2;
  transition:background-color .2s,color .2s;
}
body.obd-site .obd-v11-more-link:hover .obd-v11-more-link-arrow {
  color:#f8f1e4;
  background:#243c47;
}

/* Mobile menu: separate and legible panel for the two non-priority services */
body.obd-site .obd-mobile-submenu .obd-mobile-extra-domains {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:9px;
  margin:14px 10px 2px 0;
  padding:19px 15px 16px;
  border-top:2px solid #c4a780;
  border-radius:2px;
  background:#f1ede5;
}
body.obd-site .obd-mobile-extra-domains .obd-mobile-extra-heading {
  padding:0 0 3px;
  font-family:'DM Sans',sans-serif;
  font-weight:800;
  font-size:10px;
  letter-spacing:.14em;
  color:#8d7050;
}
body.obd-site .obd-mobile-submenu .obd-mobile-extra-domains a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:49px;
  gap:12px;
  margin:0;
  padding:10px 12px;
  background:#fffdfa;
  border:1px solid #ddd4c6;
  border-radius:2px;
  font-family:'DM Sans',sans-serif;
  text-decoration:none;
  color:#20343e!important;
}
body.obd-site .obd-mobile-extra-domains a strong {
  font-size:13px;
  line-height:1.5;
  font-weight:700;
  color:#243a45;
}
body.obd-site .obd-mobile-extra-domains a .obd-mobile-extra-arrow {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:23px;
  height:23px;
  flex:none;
  font-size:16px!important;
  font-weight:400;
  color:#9b7c57!important;
}
body.obd-site .obd-mobile-extra-domains a:hover,
body.obd-site .obd-mobile-extra-domains a:focus-visible {
  border-color:#b79a74;
  background:#ebe4d8;
}
@media (max-width:1190px) and (min-width:1051px) {
  body.obd-site .obd-v11-more-grid{gap:7px}
  body.obd-site .obd-v11-mega .obd-v11-more-link{padding:9px;gap:6px}
  body.obd-site .obd-v11-more-link-title{font-size:11px}
  body.obd-site .obd-v11-more-link-arrow{width:23px;height:23px}
}
@media (prefers-reduced-motion:reduce) {
  body.obd-site .obd-v11-more-link,
  body.obd-site .obd-v11-more-link-arrow{transition:none!important;transform:none!important}
}

/* Les 9 expertises constituent désormais UNE seule grille.
   Trois colonnes sur grand écran, deux sur écrans intermédiaires. */
@media(min-width:1191px){
  body.obd-site .obd-v11-mega .obd-v11-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:14px;
    row-gap:0;
  }
  body.obd-site .obd-v11-mega .obd-v11-card{
    padding:17px 2px 16px;
    min-height:86px;
    gap:7px;
    align-items:center;
  }
  body.obd-site .obd-v11-mega .obd-v11-card:nth-last-child(-n+3){border-bottom:0}
  body.obd-site .obd-v11-mega .obd-v11-card-no{font-size:9px;margin-top:0}
  body.obd-site .obd-v11-mega .obd-v11-card-copy strong{font-size:12px;line-height:1.36}
  body.obd-site .obd-v11-mega .obd-v11-card-copy small{font-size:9px;line-height:1.35}
  body.obd-site .obd-v11-mega .obd-v11-card-arrow{
    width:22px;height:22px;min-width:22px;
  }
  body.obd-site .obd-v11-mega .obd-v11-main{padding:20px 17px 0 25px}
}
@media(min-width:1051px) and (max-width:1190px){
  body.obd-site .obd-v11-mega .obd-v11-cards{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px
  }
  body.obd-site .obd-v11-mega .obd-v11-card{
    min-height:76px;padding:12px 3px;align-items:center;
  }
  body.obd-site .obd-v11-mega .obd-v11-card:nth-last-child(-n+2){border-bottom:0}
  body.obd-site .obd-v11-mega .obd-v11-card-copy strong{font-size:11px;line-height:1.35}
  body.obd-site .obd-v11-mega .obd-v11-card-copy small{font-size:9px;line-height:1.35}
}
