/* Base */
* { box-sizing: border-box; }
:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #1f7a3a;
  --green-100: #e9f5e9;
  --orange-600: #ea580c;
  --slate-50: #f8fafc;
  --slate-200: #e2e8f0;
}
html, body { 
  margin: 0; 
  padding: 0; 
  font-family: system-ui, Arial, sans-serif; 
  color: #14312a; 
}
.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

/* Header */
.header { 
  background: #fff; 
  border-bottom: 1px solid var(--slate-200); 
}
.header__inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  height: 76px; 
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__logo {
  height: 60px;
  width: auto;
}
.brand__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-800);
}
.nav a { 
  margin-left: 18px; 
  text-decoration: none; 
  color: var(--green-800); 
  font-weight: 600; 
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.nav a:hover { 
  color: var(--orange-600);
  text-decoration: underline;
}
.nav a.active {
  color: var(--orange-600);
  text-decoration: underline;
}

/* Hero */
.hero { 
  background: linear-gradient(180deg, #dff5df 0%, #fefae0 100%); 
  padding: 80px 0; 
}
.hero h1 { 
  margin: 0; 
  font-size: clamp(28px, 4vw, 56px); 
  color: var(--green-900); 
}
.hero p { 
  max-width: 760px; 
  font-size: 18px; 
  color: #245b42; 
}
.cta-row { margin-top: 22px; }
.btn { 
  display: inline-block; 
  padding: 14px 22px; 
  border-radius: 16px; 
  text-decoration: none; 
  font-weight: 700; 
  transition: all 0.3s ease;
}
.btn--primary { 
  background: var(--orange-600); 
  color: #fff; 
}
.btn--primary:hover { 
  background: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* Sections */
.section { 
  padding: 64px 0; 
  background: #fff; 
}
.section--alt { 
  background: var(--slate-50); 
}
.section h2 { 
  margin: 0 0 28px; 
  font-size: 32px; 
  color: var(--green-900); 
}
.muted { 
  color: #4f6c5d; 
}

/* Grid cards */
.grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px; 
}
.card { 
  background: #fff; 
  border: 1px solid var(--slate-200); 
  border-radius: 16px; 
  padding: 20px; 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { 
  margin: 4px 0 8px; 
  color: var(--green-800); 
}
.card p { 
  margin: 0; 
  color: #334155; 
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Gallery */
.gallery { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 18px; 
}
.gallery img { 
  width: 100%; 
  height: 220px; 
  object-fit: cover; 
  border-radius: 14px; 
  border: 1px solid var(--slate-200); 
  background: var(--green-100); 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Contact */
.contact { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}
.contact li { 
  margin: 10px 0; 
}
.contact a { 
  color: var(--green-700); 
  text-decoration: none; 
  transition: color 0.3s ease;
}
.contact a:hover { 
  color: var(--orange-600);
  text-decoration: underline; 
}

/* Footer */
.footer { 
  background: var(--green-900); 
  color: #fff; 
  padding: 22px 0; 
  text-align: center; 
}

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .gallery { grid-template-columns: 1fr; }
  .nav { display:none; }
  .brand__name { display: none; }
}

/* Section Équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 28px;
  text-align: center;
}
.team-member {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
}
.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.team-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  border: 3px solid var(--slate-200);
  transition: transform 0.3s ease;
}
.team-member:hover .team-photo {
  transform: scale(1.05);
}
.team-member h3 {
  margin: 0;
  font-size: 20px;
  color: var(--green-800);
}
.team-member p {
  margin: 4px 0 0;
  color: #4f6c5d;
  font-size: 16px;
}
