/* Aquéo — Finitions de l’accueil 1.0.2
   Chargé uniquement sur l’accueil. Ne modifie ni les visuels ni les votes. */

/* Copyright Enfold : véritable limite haute, et non simplement height:auto.
   Les règles portent sur le socket réel et son conteneur intérieur. */
body.aqueo-finitions-home #socket {
  display: block !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  flex: 0 0 44px !important;
  flex-grow: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.aqueo-finitions-home #socket > .container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 14px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}
body.aqueo-finitions-home #socket .copyright {
  display: block !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}
/* Masquer uniquement l’espace d’un footer réellement vide. */
body.aqueo-finitions-home #footer.aqueo-empty-footer {
  display: none !important;
}
/* Éviter qu’un arrière-plan vert global prolonge visuellement le socket. */
html:has(body.aqueo-finitions-home),
body.aqueo-finitions-home,
body.aqueo-finitions-home #wrap_all {
  background-color: #fff;
}

/* Titre du sondage : vert exact du copyright, police et placement conservés. */
body#top.aqueo-finitions-home .aqueo-finition-heading,
body.aqueo-finitions-home .aqueo-finition-heading,
body.aqueo-finitions-home .aqueo-finition-heading * {
  color: #425719 !important;
  font-weight: 800 !important;
  font-size: 35px !important;
  line-height: 1.18 !important;
}
body.aqueo-finitions-home .aqueo-finition-heading {
  margin-bottom: 10px !important;
}
@media (max-width: 767px) {
  body#top.aqueo-finitions-home .aqueo-finition-heading,
  body.aqueo-finitions-home .aqueo-finition-heading,
  body.aqueo-finitions-home .aqueo-finition-heading * {
    font-size: 27px !important;
    line-height: 1.2 !important;
  }
}

/* Libellés typographiques sans fond, cadre ni déplacement des couvertures.
   Leur position est calculée à partir des images et actualisée au redimensionnement. */
body.aqueo-finitions-home > .aqueo-finition-choice-name {
  position: absolute;
  z-index: 3;
  display: block;
  color: #487326 !important;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  text-transform: none;
  pointer-events: none;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: translateX(-50%);
}

/* Les trois propositions restent reconnaissables comme des éléments actifs. */
body.aqueo-finitions-home .aqueo-finition-choice {
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .18s ease, box-shadow .18s ease;
}
body.aqueo-finitions-home .aqueo-finition-choice:hover,
body.aqueo-finitions-home a:hover > .aqueo-finition-choice,
body.aqueo-finitions-home button:hover > .aqueo-finition-choice,
body.aqueo-finitions-home a:focus-visible > .aqueo-finition-choice,
body.aqueo-finitions-home button:focus-visible > .aqueo-finition-choice {
  outline-color: #487326;
  box-shadow: 0 3px 12px rgba(34, 64, 31, .12);
}
@media (max-width: 767px) {
  body.aqueo-finitions-home #socket,
  body.aqueo-finitions-home #socket > .container {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
  }
  
  body.aqueo-finitions-home > .aqueo-finition-choice-name { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  body.aqueo-finitions-home .aqueo-finition-choice { transition: none; }
}
