/* ══ Accessibilité & animations — Agence Andaon ══ */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg          { animation: heroZoom 18s ease-in-out infinite alternate; }
  .hero-scroll-line { animation: pulse 2s ease-in-out infinite; }
}
.anim-pause :is(.hero-bg, .hero-scroll-line) { animation-play-state: paused; }

/* Bouton pause du héros */
.btn-anim {
  position: absolute; z-index: 5;
  inset-block-end: 20px; inset-inline-end: 20px;
  min-block-size: 32px; padding: 0.35em 0.9em;
  font: inherit; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; cursor: pointer;
}
.btn-anim:hover { background: var(--orange, #eb4a00); border-color: var(--orange, #eb4a00); }
.btn-anim:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Focus clavier visible sur les champs du formulaire */
.cf-group :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--orange, #eb4a00);
  outline-offset: 4px;
}
.cf-group :is(input, select, textarea)[aria-invalid="true"] { border-bottom-color: #ff8a80; }

/* Message d'erreur du formulaire */
.form-erreur {
  margin-block: 0 16px; padding: 12px 16px;
  font-size: 0.95rem; line-height: 1.6;
  color: #8a1c14; background: #fdecea;
  border-inline-start: 3px solid #b3261e;
}
.form-erreur[hidden] { display: none; }

/* Bloc « Andaon en bref » + FAQ (accueil) */
.enbref { padding-block: 72px; background: var(--light, #f4f2ee); }
.enbref-in { max-width: 860px; margin-inline: auto; padding-inline: 24px; font-family: var(--font); color: var(--black, #1a1a1a); line-height: 1.8; }
.enbref h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange, #eb4a00); margin: 0 0 18px; }
.enbref ul { margin: 0 0 44px; padding-inline-start: 1.2em; }
.enbref h3 { font-size: 1.05rem; font-weight: 700; margin: 20px 0 4px; }
.enbref p { margin: 0; }
.enbref a { color: var(--orange, #eb4a00); }

/* Le bouton « suivant » du carrousel des biens dépassait de la page */
#biens { overflow-x: clip; }

/* Photos de l’équipe : width/height ne servent qu’au ratio, la carte garde sa hauteur */
@media (min-width: 577px) { .equipe-img { height: auto; } }

/* Les attributs width/height des images ne servent qu’à réserver la place (ratio) :
   la hauteur réelle reste celle prévue par le CSS de la page (spécificité nulle). */
:where(img[width][height]) { height: auto; }
