/* =========================================================
   Artweld — style.css
   Styles complémentaires à Tailwind CSS (via CDN).
   Esthétique "galerie d'art" épurée : typographie, placeholders
   images, bouton WhatsApp discret, micro-interactions. Le reste
   de la mise en page utilise les classes utilitaires Tailwind
   directement dans le HTML.
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "liga" 1;
}

/* ---------------------------------------------------------
   Placeholders images
   À REMPLACER : chaque bloc représente une photo à ajouter.
   Remplacez le <div class="placeholder-img"> par une balise
   <img src="img/votre-photo.webp" alt="..."> une fois vos
   vraies photos disponibles dans /img. L'étiquette discrète
   en haut à gauche rappelle quel fichier doit y prendre place.
   --------------------------------------------------------- */
.placeholder-img {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2efe8;
  border: 1px solid #dcd6c8;
  overflow: hidden;
  color: #b8b3a8;
}

.placeholder-img::before {
  content: "";
  width: 34px;
  height: 34px;
  background: #b8b3a8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='3' y='3' width='18' height='18' rx='1'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.4'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='3' y='3' width='18' height='18' rx='1'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.4'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.placeholder-img::after {
  content: attr(data-label);
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a766d;
  background: rgba(250, 248, 244, 0.85);
  padding: 3px 8px;
}

/* Bouton flottant WhatsApp — discret, monochrome */
.whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #161615;
  color: #faf8f4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(22, 22, 21, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(22, 22, 21, 0.25);
}

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

/* Focus visible cohérent au clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1.5px solid #161615;
  outline-offset: 2px;
}
