/*
Theme Name: twentyseventeen-child
Template: twentyseventeen
*/
.articles-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-item {
  text-align: center;
  transition: transform 0.2s ease;
}

.article-item:hover {
  transform: translateY(-5px);
}

.article-item img {
  width: 100%;
  height: 200px;       /* hauteur fixe de la fenêtre */
  object-fit: cover;   /* recadre sans déformer */
  border-radius: 8px;
}

.article-item h2 {
  font-size: 1.1rem;
  margin-top: 12px;
  color: #333;
}

/* Animation respiration zen (icône) */
@keyframes respiration {
  0%   { transform: scale(1);   opacity: 0.9; }
  50%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1);   opacity: 0.9; }
}

/* Animation halo lumineux */
@keyframes halo {
  0%   { box-shadow: 0 0 8px rgba(0,123,255,0.4); }
  50%  { box-shadow: 0 0 22px rgba(0,123,255,0.9); }
  100% { box-shadow: 0 0 8px rgba(0,123,255,0.4); }
}

/* Bouton flottant Newsletter */
.bouton-newsletter {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #007BFF;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;

  animation: halo 4s ease-in-out infinite; /* halo respirant */
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover */
.bouton-newsletter:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Icône ✉️ avec respiration zen */
.bouton-newsletter i {
  margin-right: 8px;
  animation: respiration 4s ease-in-out infinite;
}

/* Mobile : bouton rond avec halo autour */
@media screen and (max-width: 600px) {
  .bouton-newsletter {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    font-size: 0; /* masque le texte */
    animation: halo 4s ease-in-out infinite; /* halo autour du rond */
  }

  .bouton-newsletter i {
    margin: 0;
    font-size: 24px;
  }
}


/* Bouton fixe Newsletter */
/*#newsletter-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1e88e5;
  color: #fff;
  padding: 14px 22px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 9999; // Toujours visible 
}*/
/*#newsletter-fixed:hover {
  background: #1565c0;
  transform: scale(1.05);
}*/

