/* OBD AVOCATS — 30/10/2026. Retours visuels : hero expertise dans le viewport
   desktop et cartouche Google plus discret, sans masquer la note ni le nombre d'avis.
   Ce fichier est chargé après obd-expertise-v17 et obd-google-proof. */

/* Cartouche de réassurance : variante HERO uniquement. Le bloc des témoignages
   conserve ses proportions pour une lecture confortable. */
body.obd-site .obd-hero-content>.obd-google-proof-wrap {
  max-width:490px!important;
  margin-top:20px!important;
}
body.obd-site .obd-google-proof-wrap .obd-google-proof--hero {
  min-height:91px!important;
  gap:11px!important;
  padding:12px 15px!important;
  box-shadow:0 7px 20px rgba(5,14,20,.12)!important;
}
body.obd-site .obd-google-proof--hero .obd-google-proof-logo {
  flex:0 0 43px;
  gap:4px;
  padding-right:9px;
}
body.obd-site .obd-google-proof--hero .obd-google-proof-logo svg {width:28px;height:28px;}
body.obd-site .obd-google-proof--hero .obd-google-proof-info {gap:2px;}
body.obd-site .obd-google-proof--hero .obd-google-proof-overline {font-size:9px;letter-spacing:.09em;}
body.obd-site .obd-google-proof--hero .obd-google-proof-stars {height:20px;margin:0;}
body.obd-site .obd-google-proof--hero .obd-google-proof-stars svg {width:106px;height:21px;}
body.obd-site .obd-google-proof--hero .obd-google-proof-metrics>strong {font-size:28px;}
body.obd-site .obd-google-proof--hero .obd-google-proof-metrics>strong>span {font-size:14px;}
body.obd-site .obd-google-proof--hero .obd-google-proof-metrics>span {font-size:11px;}
body.obd-site .obd-google-proof--hero .obd-google-proof-action {font-size:10px;gap:6px;padding-left:10px;}
body.obd-site .obd-google-proof-wrap--hero .obd-google-proof-date {font-size:9px;margin-top:5px;}

/* Expertise desktop : le header occupe déjà ~135 px. Condenser les vides plutôt
   que réduire brutalement la taille des contenus ou masquer le CTA. */
@media(min-width:1001px) {
  body.obd-site .obdx-hero.obdx-v17-hero {
    min-height:min(670px, calc(100svh - 135px))!important;
    height:auto!important;
  }
  body.obd-site .obdx-v17-hero>.obd-wrap {
    padding:18px 0 18px!important;
  }
  body.obd-site .obdx-v17-topline {
    margin-top:19px!important;
    padding-bottom:11px!important;
  }
  body.obd-site .obdx-v17-grid {
    grid-template-columns:minmax(0,1.10fr) minmax(0,.78fr)!important;
    gap:clamp(36px,5vw,92px)!important;
    padding:20px 0 20px!important;
    align-items:center;
  }
  body.obd-site .obdx-v17-editorial h1 {
    font-size:clamp(46px,4.05vw,58px)!important;
    line-height:1.065!important;
  }
  body.obd-site .obdx-v17-rule {margin:22px 0 18px!important;}
  body.obd-site .obdx-v17-thesis {
    font-size:clamp(28px,2.65vw,37px)!important;
    line-height:1.18!important;
  }
  body.obd-site .obdx-v17-content {padding:4px 0 4px 23px!important;}
  body.obd-site .obdx-v17-content .obd-kicker {margin-bottom:12px!important;}
  body.obd-site .obdx-v17-content p {
    font-size:13px!important;
    line-height:1.60!important;
    margin-bottom:9px!important;
  }
  body.obd-site .obdx-v17-content .obd-actions {
    margin-top:15px!important;
    gap:10px 16px!important;
  }
  body.obd-site .obdx-v17-content .obd-btn {
    min-height:46px!important;
    padding:12px 16px!important;
  }
  body.obd-site .obdx-v17-content .obd-google-proof-wrap {margin-top:14px!important;}
  body.obd-site .obdx-v17-foot {padding-top:11px!important;}
}
@media(min-width:1001px) and (max-height:820px) {
  body.obd-site .obdx-v17-hero>.obd-wrap {padding:14px 0!important;}
  body.obd-site .obdx-v17-topline {margin-top:13px!important;}
  body.obd-site .obdx-v17-grid {padding:15px 0!important;}
  body.obd-site .obdx-v17-editorial h1 {font-size:clamp(44px,3.85vw,54px)!important;}
  body.obd-site .obdx-v17-thesis {font-size:clamp(27px,2.45vw,35px)!important;}
  body.obd-site .obdx-v17-content .obd-actions {margin-top:10px!important;}
  body.obd-site .obdx-v17-content .obd-google-proof-wrap {margin-top:10px!important;}
}

/* Tablette : éviter un débordement dû aux deux colonnes. */
@media(min-width:761px) and (max-width:1000px) {
  body.obd-site .obdx-v17-topline{margin-top:26px!important;}
  body.obd-site .obdx-v17-grid{padding:26px 0 30px!important;gap:24px!important;}
  body.obd-site .obdx-v17-thesis{font-size:clamp(26px,3vw,34px)!important;}
  body.obd-site .obdx-v17-content p{line-height:1.65!important;}
  body.obd-site .obdx-v17-content .obd-actions{margin-top:17px!important;}
}
@media(max-width:760px) {
  /* Conserver la lisibilité et l'empilement naturel sur téléphone. */
  body.obd-site .obd-hero-content>.obd-google-proof-wrap {max-width:100%!important;}
  body.obd-site .obd-google-proof-wrap .obd-google-proof--hero {
    min-height:94px!important;
    padding:11px 10px!important;
    gap:8px!important;
  }
  body.obd-site .obd-google-proof--hero .obd-google-proof-logo {flex-basis:37px;padding-right:7px;}
  body.obd-site .obd-google-proof--hero .obd-google-proof-logo svg {width:27px;height:27px;}
  body.obd-site .obd-google-proof--hero .obd-google-proof-metrics>strong {font-size:27px;}
  body.obd-site .obd-google-proof--hero .obd-google-proof-action {padding-left:7px;}
  body.obd-site .obdx-v17-content .obd-google-proof-wrap {margin-top:17px!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.obd-site .obd-google-proof--hero {transition:none!important;}
}

/* Home : H1 géographique distinct du slogan institutionnel. */
body.obd-site .obd-main .obd-hero-content>h1#obd-h1 {
  margin-bottom:8px;
}
body.obd-site .obd-main .obd-hero-tagline {
  margin:0 0 23px;
  max-width:640px;
  color:#ddcaad;
  font:italic 400 clamp(40px,4.5vw,65px)/1.10 'Instrument Serif',Georgia,serif;
  letter-spacing:-.018em;
}
@media(max-width:760px){
  body.obd-site .obd-main .obd-hero-content>h1#obd-h1 {margin-bottom:12px;}
  body.obd-site .obd-main .obd-hero-tagline {
    font-size:clamp(35px,9.5vw,50px);
    line-height:1.10;
    margin-bottom:20px;
  }
}
