body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f2f2f2;
}

h2 {
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
 background: linear-gradient(to bottom, rgba(17,17,17,1), rgba(103, 109, 109));

  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo img {
  height: 100px;
}

.top-nav {
  display: grid;
  grid-template-rows: repeat(3, 40px);  /* 3 lignes fixes */
  grid-auto-flow: column;
  gap: 0.5rem 1rem;
  max-width: 600px; /* ou plus, selon ce que tu veux visuellement */
  margin-left: 10px;
}

.top-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 45px;             /* hauteur fixe */
  min-width: 90px; 
  max-width: 150px;        /* largeur min */
  padding: 0 8px;
  font-weight: 500;
  line-height: 1.1; /* ou 1, selon le rendu souhaité */
  border-radius: 4px;
  color: black;
  background: linear-gradient(to bottom, #777, #ccc); /* dégradé gris */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);           /* volume / relief */
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  width: 100px;       /* largeur de chaque case */
  height: 35px;       /* hauteur de chaque case */
  font-size: clamp(0.7rem, 1.5vw, 1rem);
  word-wrap: break-word;      /* pas de retour à la ligne */
  overflow: hidden;
  text-overflow: ellipsis;  /* coupe avec "..." si trop long */
}
 .top-nav a.bleu {
  background: linear-gradient(to bottom, #007BFF, #339CFF); /* dégradé bleu */
  color: white;
}
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(0, 123, 255, 0.7); }
  50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(0, 123, 255, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(0, 123, 255, 0.7); }
}

.top-nav a.shop-anim {
  background: linear-gradient(to bottom, #FFA500, #FF7F50);
  color: white;
  animation: pulse 2s infinite;
  transition: transform 0.2s ease;
}


.top-nav a:hover {
  background-color: #222;          /* un peu plus clair au hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);     /* effet de levée */
}

.top-nav a:active {
  transform: translateY(0);        /* retour au clic */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}
.top-nav a.shop-anim:hover {
  background: linear-gradient(to bottom, #FF8C00, #FF6347); /* orange plus vif */
  box-shadow: 0 6px 15px rgba(255, 140, 0, 0.6);
  transform: translateY(-2px); /* effet de soulèvement */
}
.top-nav a.shop-anim:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(255, 140, 0, 0.4);
}
.hero {
  background-image: url("images/fond-atelier.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  color: white;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: auto;
  z-index: 1;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero a {
  color: #66ccff;
  text-decoration: underline;
}

.gallery {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  border-radius: 6px;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.apropos-gallery {
  text-align: center;
}

.apropos-gallery img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

footer {
  background: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.site-footer {
  background-color: #222;
  color: #fff;
  padding: 40px;
  text-align: center;
}

.site-footer .social-links a {
  color: #fff;
  margin: 0 20px;
  font-size: 56px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .social-links a:hover {
  color: #ff0050;
}

/* --- MENU BURGER --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  height: 24px;
  width: 30px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .top-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 1rem;
    background-color: #111;
  }

  .top-nav.show {
    display: flex;
  }

  .top-nav a {
    padding: 0.3rem 1rem;
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 1rem;
  }

}