/* AJP Travaux — feuille de style */
:root {
  --green-deep: #1e4620;
  --green-accent: #5a8f2a;
  --ink: #22301f;
  --muted: #55624f;
  --bg: #ffffff;
  --bg-alt: #f3f7ee;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 70, 32, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 3px solid var(--green-accent);
  box-shadow: 0 2px 10px rgba(30,70,32,0.08);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); }
.brand img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.brand-text { font-size: 1.45rem; letter-spacing: 0.5px; font-weight: 600; color: var(--green-accent); }
.brand-text strong { color: var(--green-deep); font-weight: 800; }
.main-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.main-nav a:hover { color: var(--green-accent); }
.header-phone {
  background: var(--green-deep); color: #fff; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; white-space: nowrap;
}
.header-phone:hover { background: var(--green-accent); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,48,21,0.82) 0%, rgba(20,48,21,0.55) 55%, rgba(20,48,21,0.25) 100%);
}
.hero-content { position: relative; padding: 110px 20px 120px; max-width: 1140px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.82rem; font-weight: 700;
  color: #bcd98e; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; font-weight: 800; margin-bottom: 20px; }
.hero-sub { max-width: 640px; font-size: 1.08rem; color: #eef4e4; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; font-size: 1rem; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #0b3d1e; }
.btn-whatsapp:hover { background: #3ce077; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--green-deep); color: #eaf2e2; }
.section-title { font-size: 2rem; color: var(--green-deep); font-weight: 800; margin-bottom: 10px; }
.section-title.light { color: #fff; }
.section-lead { color: var(--muted); max-width: 760px; margin-bottom: 40px; font-size: 1.05rem; }
.section-lead.light { color: #cfdfc0; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid #e2ebda; border-top: 5px solid var(--green-accent);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow);
}
.card-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-alt); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.15rem; color: var(--green-deep); margin-bottom: 8px; line-height: 1.35; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Zones ---------- */
.zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.zone-item {
  background: #fff; border-left: 5px solid var(--green-deep);
  border-radius: 10px; padding: 20px 22px; box-shadow: var(--shadow);
}
.zone-item h3 { color: var(--green-deep); font-size: 1.08rem; margin-bottom: 6px; }
.zone-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.gallery figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--green-deep); position: relative;
}
.gallery img { width: 100%; height: 260px; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px; color: #fff; font-size: 0.9rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(20,48,21,0.85));
}

/* ---------- Partenaires ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 36px; }
.partner-point {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius); padding: 24px 22px;
}
.partner-point h3 { color: #bcd98e; font-size: 1.08rem; margin-bottom: 8px; }
.partner-point p { color: #ddebd2; font-size: 0.96rem; }
.partner-cta { text-align: center; }

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; }
.contact-wrap .section-lead { margin-left: auto; margin-right: auto; }
.contact-card {
  max-width: 520px; margin: 0 auto; background: #fff;
  border: 1px solid #e2ebda; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px 30px;
}
.contact-card img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; margin: 0 auto 14px; }
.contact-name { font-size: 1.5rem; font-weight: 800; color: var(--green-deep); }
.contact-role { color: var(--muted); margin-bottom: 22px; }
.contact-list { list-style: none; text-align: center; margin-bottom: 26px; }
.contact-list li {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 2px; border-bottom: 1px dashed #d8e4cd;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list span { color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--green-deep); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--green-accent); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #cfdfc0; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; font-size: 0.92rem; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(11,61,30,0.35);
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover { background: #1eb856; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .brand { justify-content: center; }
  .main-nav { order: 2; width: 100%; gap: 10px 18px; margin-left: 0; justify-content: center; }
  .header-phone { order: 3; margin-left: 0; }
  .hero-content { padding: 64px 20px 72px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .section { padding: 54px 0; }
  .gallery img { height: 220px; }
  .footer-inner { flex-direction: column; }
}
