.ps-devis-confiance {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.ps-devis-garantie {
  grid-column: 2;
  display: block;
  width: 100%;
  height: auto;
}
.bs .ps-devis-reperes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin: 12px 0 0;
  padding: 0;
  color: #4b3c34;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}
.ps-devis-reperes li { display: flex; align-items: baseline; gap: 4px; }
.ps-devis-reperes li span { color: #526a45; }
.ps-google-devis {
  display: grid;
  align-content: center;
  gap: 1px;
  min-height: 43px;
  padding: 5px 7px;
  border: 1px solid #e5ba9e;
  border-radius: 8px;
  background: #fff1e7;
  color: #713819;
  font-size: 12px;
  line-height: 1.15;
}
.ps-google-ligne {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 5px;
}
.ps-google-nombre { white-space: nowrap; }
.ps-google-devis strong { color: #201e1c; }
.ps-google-etoiles {
  --ps-google-or: #ac4f20;
  --ps-google-vide: #dabca9;
  display: inline-block;
  background: linear-gradient(90deg, var(--ps-google-or) var(--ps-google-remplissage,100%), var(--ps-google-vide) 0);
  background-clip: text;
  color: transparent;
  font-size: 12px;
  letter-spacing: .03em;
  line-height: 1.2;
  white-space: nowrap;
}
.ps-google-g { display: block; flex: none; object-fit: contain; }
.ps-google-devis .ps-google-g { width: 14px; height: 14px; }
.ps-google-devis small { color: #63564b; font-size: 10px; line-height: 1.25; }

.ps-google-action:focus-visible, .ps-google-dialogue button:focus-visible { outline: 2px solid #9a471c; outline-offset: 3px; }
.ps-google-dialogue {
  width: min(520px, calc(100% - 32px));
  max-height: 80dvh;
  padding: 24px;
  border: 1px solid #e6dbd0;
  border-radius: 14px;
  background: #fffaf2;
  color: #201e1c;
}
.ps-google-dialogue::backdrop { background: #17202388; }
.ps-google-dialogue form { float: right; }
.ps-google-dialogue button { min-width: 36px; min-height: 36px; border: 1px solid #dec9b6; border-radius: 7px; background: white; cursor: pointer; }
.ps-google-dialogue h2 { margin: 0 0 .35em; }
.ps-google-dialogue ul { margin: 16px 0 0; padding: 0; list-style: none; }
.ps-google-dialogue li { padding: 12px 0; border-top: 1px solid #e6dbd0; }
.ps-google-dialogue li p { margin-top: 4px; }
.ps-google-devis[hidden], .ps-google-flottant[hidden], .ps-google-flottant [hidden] { display: none; }

/* Pastille Google flottante : design de ps-elagage.fr (23/11/2026) — G, étoiles au-dessus de « 5,0 · 77 avis », puce bleue « Exemple » */
.ps-google-flottant {
  position: fixed;
  inset-inline-start: max(16px, env(safe-area-inset-left));
  inset-block-end: calc(18px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid #dadce0;
  border-top: 2px solid #4285f4;
  border-radius: 5px;
  background: #fff;
  color: #202124;
  box-shadow: 0 6px 22px #1b140b38;
  font-size: 12.2px;
  line-height: 1.15;
}
.ps-google-flottant .ps-google-g { width: 27px; height: 27px; flex: none; }
.ps-google-texte { display: grid; justify-items: start; gap: 3px; }
.ps-google-flottant .ps-google-etoiles { --ps-google-or: #a76600; --ps-google-vide: #e1cfae; font-size: 14.7px; letter-spacing: .07em; line-height: 1; }
.ps-google-ligne-note { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; font-size: 12.2px; }
.ps-google-ligne-note strong { font-weight: 800; color: #202124; }
.ps-google-flottant .ps-google-action, .ps-google-flottant .ps-google-compteur {
  padding: 0;
  border: 0;
  background: transparent;
  color: #202124;
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}
.ps-google-flottant .ps-google-compteur { cursor: default; }
.ps-google-flottant .ps-google-action::before, .ps-google-flottant .ps-google-compteur::before { content: "· "; }
.ps-google-flottant .ps-google-action:hover { text-decoration: underline; text-underline-offset: 3px; }
.ps-google-flottant > small {
  padding: 2px 5px;
  border-radius: 3px;
  background: #e8f0fe;
  color: #174ea6;
  font-size: 10.4px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 760px) {
  /* Mobile : même pastille sur une seule ligne, fine (G, étoiles, 5,0 · 77 avis, Exemple), au lieu d'un carré */
  .ps-google-flottant {
    inset-inline-start: max(9px, env(safe-area-inset-left));
    inset-block-end: calc(66px + env(safe-area-inset-bottom));
    flex-wrap: nowrap;
    gap: 5px;
    max-width: calc(100vw - 18px);
    padding: 4px 11px 4px 8px;
    border-top: 1px solid #dadce0;
    border-radius: 999px;
    box-shadow: 0 3px 12px #1b140b2b;
  }
  .ps-google-flottant .ps-google-g { width: 16px; height: 16px; }
  .ps-google-texte { display: flex; align-items: center; gap: 5px; }
  .ps-google-flottant .ps-google-etoiles { font-size: 11px; letter-spacing: 0; }
  .ps-google-ligne-note, .ps-google-flottant .ps-google-action, .ps-google-flottant .ps-google-compteur { font-size: 12px; }
  .ps-google-flottant > small { font-size: 9.5px; padding: 1px 4px; }
}

@media (max-width: 899px) {
  .bs .ps-devis-reperes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 5px;
    font-size: 11.5px;
  }
  .ps-devis-reperes li { justify-content: center; text-align: center; line-height: 1.3; }
  .ps-google-devis { padding-inline: 5px; font-size: 11px; }
  .ps-google-ligne { column-gap: 3px; }
  .ps-google-devis .ps-google-etoiles { font-size: 10px; letter-spacing: 0; }
  .ps-google-devis .ps-google-g { width: 12px; height: 12px; }
}
}

/* Section « Avis clients » : même cartouche que le formulaire et la pastille flottante (avis_google.section) */
.bs-avis-note.ps-google-section { align-items: center; gap: 14px; }
.ps-google-section .ps-google-etoiles { font-size: 30px; letter-spacing: .06em; line-height: 1; }
.ps-google-section-texte { display: grid; gap: 2px; min-width: 0; }
.ps-google-section .ps-google-ligne { gap: 4px 8px; color: var(--encre, #201e1c); font-size: 16.5px; }
.bs-avis-note.ps-google-section strong { display: inline; font-size: 24px; line-height: 1.1; color: var(--encre, #201e1c); }
.ps-google-section .ps-google-g { width: 22px; height: 22px; }
.ps-google-section small { color: var(--doux, #6b655c); font-size: 12.5px; }
@media (max-width: 520px) {
  .bs-avis-note.ps-google-section { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ps-google-section .ps-google-etoiles { font-size: 26px; }
  .ps-google-section .ps-google-ligne { flex-wrap: nowrap; font-size: 15px; }
  .bs-avis-note.ps-google-section strong { font-size: 21px; }
}

/* Garantie décennale non cochée sur la fiche : pas de logo, le cartouche Google prend toute la largeur */
.ps-devis-confiance.ps-sans-garantie { grid-template-columns: minmax(0, 1fr); }
