/* ==========================================
   Variables & Reset
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vert:        #1E3A2F;
  --vert-clair:  #2D5E47;
  --vert-accent: #3D8B6A;
  --or:          #B8843A;
  --gris:        #64748B;
  --gris-moyen:  #94A3B8;
  --gris-clair:  #F8FAFC;
  --bordure:     #E2E8F0;
  --blanc:       #FFFFFF;
  --noir:        #0F1F1A;
  --texte:       #334155;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.07);
  --shadow:      0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  font-size: 1rem;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ==========================================
   Utilitaires
   ========================================== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  letter-spacing: .3px;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--vert-clair);
  color: var(--blanc);
  box-shadow: 0 2px 8px rgba(45,94,71,.3);
}
.btn-primary:hover {
  background: var(--vert);
  box-shadow: 0 4px 16px rgba(45,94,71,.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: var(--blanc);
  color: var(--vert);
  border-color: var(--blanc);
}

.section { padding: 80px 0; }
.section-titre {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.section-sous-titre {
  color: var(--gris);
  font-size: 1.05rem;
  margin-bottom: 52px;
}

/* ==========================================
   Navigation
   ========================================== */
nav {
  background: #4A8A6A;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 2px 12px rgba(0,0,0,.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  min-height: 110px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  color: var(--blanc);
  font-weight: 700;
  font-size: 1.68rem;
}
.nav-logo span { color: var(--or); }

.logo-img {
  height: 126px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-footer {
  height: 96px;
  margin-bottom: 14px;
}

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }

.nav-links a {
  color: rgba(255,255,255,.82);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  transition: background .18s, color .18s;
  letter-spacing: .2px;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.13);
  color: var(--blanc);
}

.nav-links .nav-cta a {
  background: var(--or);
  color: var(--blanc);
  font-weight: 600;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(184,132,58,.35);
}
.nav-links .nav-cta a:hover {
  background: #a5722e;
  box-shadow: 0 3px 12px rgba(184,132,58,.45);
}

/* Burger menu mobile */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blanc); border-radius: 2px; transition: all .3s; }

/* ==========================================
   Hero
   ========================================== */
.hero {
  background: linear-gradient(150deg, var(--vert) 0%, var(--vert-clair) 100%);
  color: var(--blanc);
  padding: 96px 28px 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 48px;
  background: var(--blanc);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content { position: relative; max-width: 700px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.9);
  padding: 5px 16px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 36px;
  letter-spacing: -.5px;
}

.hero h1 em { color: rgba(255,255,255,.75); font-style: normal; font-weight: 400; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================
   Section Intro (index)
   ========================================== */
.intro { background: var(--blanc); padding-top: 96px; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-texte h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 18px;
  letter-spacing: -.3px;
  line-height: 1.25;
}
.intro-texte p  { color: var(--gris); margin-bottom: 20px; line-height: 1.75; }

.stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--bordure);
}
.stat-chiffre {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--vert-clair);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .82rem; color: var(--gris-moyen); text-transform: uppercase; letter-spacing: .5px; }

.intro-image {
  border-radius: var(--radius-lg);
  height: 340px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================
   Cartes de services (aperçu index)
   ========================================== */
.services-apercu {
  background: var(--gris-clair);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-apercu::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 48px;
  background: var(--blanc);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.cartes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.carte {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--bordure);
  border-left: 3px solid var(--vert-accent);
  transition: transform .22s, box-shadow .22s;
  text-align: left;
}
.carte:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.carte-icone { font-size: 2rem; margin-bottom: 18px; }
.carte h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 10px;
  letter-spacing: -.1px;
}
.carte p { color: var(--gris); font-size: .92rem; line-height: 1.65; }

/* ==========================================
   Page Services — détaillée
   ========================================== */
.page-hero {
  background: linear-gradient(150deg, var(--vert) 0%, var(--vert-clair) 100%);
  color: var(--blanc);
  padding: 96px 28px 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 48px;
  background: var(--blanc);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.15rem; line-height: 1.7; }

.service-bloc { padding: 72px 0; }
.service-bloc:nth-child(even) { background: var(--gris-clair); }
.service-bloc + .service-bloc { border-top: 1px solid var(--bordure); }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-layout.inverse { direction: rtl; }
.service-layout.inverse > * { direction: ltr; }

.service-image {
  border-radius: var(--radius-lg);
  height: 400px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--vert) 0%, var(--vert-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-texte h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 14px;
  letter-spacing: -.3px;
}
.service-texte p { color: var(--gris); margin-bottom: 24px; line-height: 1.75; }

.service-liste { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.service-liste li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--texte);
  font-size: .94rem;
}
.service-liste li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vert-accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(61,139,106,.2);
}

/* ==========================================
   CTA Banner
   ========================================== */
.cta-banner {
  background: var(--vert);
  color: var(--blanc);
  text-align: center;
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.cta-banner h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.3px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
}
.cta-banner .btn-primary { position: relative; }

/* ==========================================
   Formulaire de soumission
   ========================================== */
.form-section { background: var(--gris-clair); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.form-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 14px;
  letter-spacing: -.3px;
}
.form-info p { color: var(--gris); margin-bottom: 36px; line-height: 1.75; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--texte);
}
.contact-icone {
  width: 40px; height: 40px;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  color: var(--vert-clair);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-item strong {
  display: block;
  font-size: .78rem;
  color: var(--gris-moyen);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.contact-item a { color: var(--texte); font-weight: 500; }
.contact-item a:hover { color: var(--vert-clair); }

.form-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--bordure);
}

.form-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bordure);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-groupe { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-groupe label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--texte);
  letter-spacing: .2px;
}

.form-groupe input,
.form-groupe select,
.form-groupe textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--bordure);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  width: 100%;
  background: var(--blanc);
  color: var(--texte);
}
.form-groupe input:focus,
.form-groupe select:focus,
.form-groupe textarea:focus {
  border-color: var(--vert-accent);
  box-shadow: 0 0 0 3px rgba(61,139,106,.1);
}
.form-groupe input::placeholder,
.form-groupe textarea::placeholder { color: var(--gris-moyen); }

.form-groupe textarea { resize: vertical; min-height: 110px; }
.form-groupe .requis { color: #E05252; margin-left: 2px; }

.form-submit { width: 100%; padding: 14px; font-size: 1rem; margin-top: 4px; }

.form-note {
  text-align: center;
  color: var(--gris-moyen);
  font-size: .82rem;
  margin-top: 12px;
}

.msg-succes {
  display: none;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  color: #065F46;
  font-weight: 600;
  font-size: .95rem;
  margin-top: 20px;
}

/* ==========================================
   Footer
   ========================================== */
footer {
  background: var(--noir);
  color: rgba(255,255,255,.6);
  padding: 56px 28px 28px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--or); }

.footer-col h4 {
  color: var(--blanc);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a,
.footer-col ul span {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color .18s;
}
.footer-col ul a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 110px;
    left: 0; right: 0;
    background: #4A8A6A;
    padding: 16px 28px 20px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }

  .intro-grid,
  .service-layout,
  .form-grid,
  .footer-inner { grid-template-columns: 1fr; }

  .service-layout.inverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }

  .intro-image { height: 220px; font-size: 4rem; }
  .service-image { height: 200px; font-size: 3.5rem; }
}
