:root {
  --green: #2f8f3a;
  --green-dark: #155c2a;
  --green-light: #7fbd2f;
  --text: #1f2a24;
  --muted: #657168;
  --bg: #f4f8f2;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 7%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 18px rgba(0,0,0,0.08);
}
.brand {
  text-decoration: none;
  font-weight: 800;
  color: var(--green-light);
  font-size: 1.3rem;
}
.brand span { color: var(--green-dark); font-weight: 400; }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; font-weight: 700; color: var(--green-dark); }
nav a:hover { color: var(--green-light); }

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(15,78,31,.75), rgba(20,89,38,.35)), url('images/accueil-guerin.jpg');
  background-position: center;
  background-size: cover;
  color: white;
  padding: 80px 7%;
}
.hero-content { max-width: 850px; }
.tagline, .section-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 24px;
}
.intro { font-size: 1.2rem; max-width: 720px; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.primary { background: var(--green-light); color: white; }
.secondary { border: 2px solid white; color: white; }

.section { padding: 80px 7%; }
.alt { background: var(--bg); }
.container { max-width: 1180px; margin: auto; }
.two-columns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; color: var(--green-dark); margin: 0 0 20px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 32px; }
.card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
  border-top: 6px solid var(--green-light);
}
.card h3 { color: var(--green-dark); margin-top: 0; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 38px; position: relative; font-weight: 700; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: white;
  background: var(--green-light);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.pill-list span {
  background: white;
  border: 1px solid #dce8d9;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact a { color: var(--green-dark); font-weight: 800; text-decoration: none; }
.contact-form {
  background: var(--bg);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
}
label { display: block; font-weight: 800; margin-bottom: 14px; color: var(--green-dark); }
input, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  border: 1px solid #cbd8c7;
  border-radius: 12px;
  font: inherit;
}
button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  background: var(--green-dark);
  color: white;
  font-weight: 900;
  cursor: pointer;
  font-size: 1rem;
}
button:hover { background: var(--green); }
.small { font-size: .85rem; color: var(--muted); }

footer { text-align: center; padding: 28px 7%; background: var(--green-dark); color: white; }

@media (max-width: 900px) {
  .topbar { align-items: flex-start; gap: 10px; flex-direction: column; }
  nav { gap: 14px; flex-wrap: wrap; }
  .hero { min-height: 560px; }
  .two-columns, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cards { grid-template-columns: 1fr; }
  .section { padding: 55px 6%; }
  .hero { padding: 60px 6%; }
}

footer a { color: white; font-weight: 800; }
.legal-page { max-width: 980px; }
.legal-page h1 { color: var(--green-dark); font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.1; margin: 0 0 32px; }
.legal-page h2 { margin-top: 38px; font-size: 1.55rem; }
.legal-page h3 { color: var(--green-dark); margin-top: 24px; }
.legal-page a { color: var(--green-dark); font-weight: 800; }
