/* Oxiia — styles communs. Polices Inter (licence SIL OFL), hébergées sur le site : aucun appel à Google. */
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-600.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F4F5F1; color: #14181F; }
a { color: #1A56B8; }
a:hover { color: #14181F; }
header a, footer a { color: inherit; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #1A56B8; outline-offset: 2px; border-radius: 4px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }

/* Champ piège anti-robots : invisible pour les visiteurs */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.statut { margin: 0; font-size: 15px; font-weight: 500; min-height: 1px; }
.statut.erreur { color: #B42318; }
.statut.ok { color: #0E6B3B; }
.champ-erreur { border-color: #B42318 !important; box-shadow: 0 0 0 1px #B42318; }

/* Compteurs de téléchargements / utilisateurs (section Téléchargements) */
.compteurs { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: #1A56B8; }

/* Galerie des pages de présentation */
.capture { margin: 0; }
.capture a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid #DCDFD6; background: #F4F5F1;
  box-shadow: 0 18px 36px -24px rgba(20, 24, 31, 0.45); transition: transform .2s ease; }
.capture a:hover { transform: translateY(-2px); }
.capture img { display: block; width: 100%; height: auto; }
.capture figcaption { margin-top: 10px; font-size: 15px; font-weight: 500; color: #3C4350; }
@media (prefers-reduced-motion: reduce) { .capture a { transition: none; } }

/* Bouton flottant « Remonter en haut » */
.bouton-haut {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: #14181F; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -6px rgba(20, 24, 31, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}
.bouton-haut.visible { opacity: 1; visibility: visible; transform: none; }
.bouton-haut:hover { background: #1A56B8; }
@media (max-width: 600px) { .bouton-haut { right: 16px; bottom: 16px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton-haut { transition: none; }
}
