/* ===================== */
/*    PAGE PROJET        */
/*  version élégante     */
/* ===================== */

main {
  background: #f5f0eb;
}

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

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

.projet-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem;
  align-items: center;
}

/* Visuel gauche : photo */
.projet-visuel {
  border-radius: 4px;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(160deg, #1e3d26, #2d5c38); /* fond de secours */
  display: flex;
  align-items: center;
  justify-content: center;
}

.projet-visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.projet-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 1.5rem;
}

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

/* Liste des valeurs */
.valeurs {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  border-top: 1px solid rgba(30, 61, 38, 0.12);
  padding-top: 2rem;
}

.valeur {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.valeur-icone {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(30, 61, 38, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.valeur-texte h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e3d26;
  margin: 0 0 0.3rem;
  letter-spacing: 0.02em;
}

.valeur-texte p {
  font-size: 0.9rem;
  color: #5a6e5d;
  line-height: 1.7;
  margin: 0;
}

/* Bouton téléphone */
.projet-cta {
  margin-top: 2.5rem;
}

.projet-cta .btn-tel {
  display: inline-block;
  background: transparent;
  color: #1e3d26;
  padding: 0.85rem 2.2rem;
  border: 1px solid #1e3d26;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.projet-cta .btn-tel:hover {
  background: #1e3d26;
  color: #ffffff;
}

/* Bandeau logo / image centré */
.projet-bandeau {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  overflow: hidden;
}

.projet-bandeau img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* Tablette : la grille se resserre avant de casser */
@media (max-width: 900px) {
  .projet-grid {
    gap: 2.5rem;
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (max-width: 768px) {
  .projet-section {
    padding: 3rem 1.25rem 1rem;
  }

  .projet-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .projet-visuel {
    aspect-ratio: 3/2;
    max-width: 480px;          /* la photo ne devient pas géante en mobile */
    margin: 0 auto;
    width: 100%;
  }

  .valeurs {
    gap: 1.4rem;
  }

  .projet-cta .btn-tel {
    display: block;            /* bouton pleine largeur, facile au doigt */
    text-align: center;
    padding: 1rem;
  }

  .projet-bandeau {
    padding: 0 1.25rem 2rem;
  }
}