/* ===================== */
/*    PAGE RAYONS        */
/*  version claire       */
/* ===================== */

main {
  background: #f5f0eb;
}

.rayons-section {
  background: #f5f0eb;
  padding: 5rem 2rem;
}

.rayons-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.rayons-label {
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #734A26;
  margin-bottom: 1.2rem;
}

.rayons-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 40px);     /* fluide desktop → mobile */
  font-weight: 400;
  color: #1e3d26;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.rayons-intro {
  color: #5a6e5d;
  line-height: 1.8;
  max-width: 660px;
  margin-bottom: 3.5rem;
  font-size: clamp(15px, 1.6vw, 18px);
}

/* Grille des rayons */
.rayons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(30, 61, 38, 0.15);
  border: 1px solid rgba(30, 61, 38, 0.15);
}

.rayon-card {
  background: #f5f0eb;
  padding: 2.5rem 2rem;
  transition: background 0.25s;
}

.rayon-card:hover {
  background: #ffffff;
}

.rayon-icone {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(30, 61, 38, 0.3);
  color: #1e3d26;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.rayon-icone svg {
  width: 28px;                /* icônes agrandies pour remplir le cercle 58px */
  height: 28px;
}

.rayon-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.8vw, 30px);     /* fluide, ne casse plus en tablette */
  font-weight: 400;
  color: #1e3d26;
  margin: 0 0 0.5rem;
}

.rayon-card p {
  font-size: 16px;            /* remonté : 0.88rem était trop petit face aux titres 30px */
  color: #5a6e5d;
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

.rayon-bientot {
  display: inline-block;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #734A26;
  border-bottom: 1px solid rgba(115, 74, 38, 0.4);
  padding-bottom: 2px;
}

/* ===================== */
/*      RESPONSIVE       */
/* ===================== */

@media (max-width: 900px) {
  .rayons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rayons-section {
    padding: 3rem 1.25rem;
  }

  .rayons-intro {
    margin-bottom: 2.5rem;
  }

  .rayons-grid {
    grid-template-columns: 1fr;
  }

  .rayon-card {
    padding: 1.8rem 1.4rem;
  }

  .rayon-icone {
    width: 50px;
    height: 50px;
    margin-bottom: 1.2rem;
  }
}