/* ============================================================
   JLE nettoyage — feuille de style maison
   Aucune dépendance : polices système, pas de framework.
   ============================================================ */

:root {
  --ink: #1e2b23;
  --ink-soft: #46544b;
  --muted: #75806f;
  --paper: #faf7f0;
  --paper-2: #f0ebe0;
  --line: #d8d1c0;
  --green: #26422f;
  --green-2: #31563a;
  --gold: #a17c00;
  --white: #ffffff;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Liseré doré en haut de page */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  z-index: 100;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .4px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}

.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-2); }

.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .2px;
}

.brand-name em { color: var(--green); font-style: italic; }

.main-nav { display: none; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }

.main-nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.main-nav a:hover { color: var(--green); border-bottom-color: var(--gold); }

.header-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-btn {
  display: flex;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn svg { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 24px 18px; }
.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

@media (min-width: 820px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero { position: relative; border-bottom: 1px solid var(--line); }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(30, 43, 35, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 24px 72px;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    padding: 88px 24px 96px;
  }
  .hero-inner { max-width: 1120px; margin: 0 auto; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.5px;
}
.hero-title em { font-style: italic; color: var(--green); }

.hero-text { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 54ch; }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}
@media (min-width: 560px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }

.hero-visual { display: none; position: relative; }
@media (min-width: 900px) { .hero-visual { display: block; } }

.frame-small {
  position: absolute;
  left: -28px;
  bottom: -34px;
  width: 44%;
  padding: 8px 8px 0;
  transform: rotate(-3deg);
  box-shadow: 0 16px 32px rgba(30, 43, 35, .18);
}
.frame-small img { width: 100%; height: 170px; object-fit: cover; }
.frame-small figcaption {
  justify-content: center;
  padding: 8px 2px 10px;
  font-size: 11px;
  letter-spacing: .3px;
}

.frame {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 12px 0;
}
.frame img { width: 100%; height: 460px; object-fit: cover; }

.frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 16px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .3px;
}
.frame figcaption strong { font-family: var(--serif); font-size: 15px; color: var(--ink); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }

.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.section-eyebrow::before,
.section-eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .6; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 14px;
}

.section-sub { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 34px 32px 38px;
  overflow: hidden;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.service:hover { background: var(--paper-2); border-color: var(--gold); transform: translateY(-3px); }

.service::after {
  content: attr(data-num);
  position: absolute;
  right: 18px;
  bottom: -18px;
  font-family: var(--serif);
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: rgba(30, 43, 35, .06);
  pointer-events: none;
  user-select: none;
}

.service-num { position: relative; font-family: var(--serif); font-size: 13px; color: var(--gold); letter-spacing: 2px; }

.service-title { position: relative; font-family: var(--serif); font-size: 23px; font-weight: 700; margin-top: 16px; }
.service-text { position: relative; margin-top: 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.65; max-width: 46ch; }

/* ---------- Engagement ---------- */

.engage-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 900px) { .engage-grid { grid-template-columns: 1.1fr .9fr; } }

.engage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.engage-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.engage-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}
.engage-title em { font-style: italic; color: var(--green); }

.engage-text { margin-top: 20px; font-size: 17px; color: var(--ink-soft); }
.engage-text strong { color: var(--ink); }

.checklist { margin-top: 30px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.checklist li strong { color: var(--ink); }

.checkmark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.engage-cta { margin-top: 34px; }

.engage-visual { position: relative; margin-top: 12px; }

.engage-photo { width: 100%; height: 300px; object-fit: cover; border: 1px solid var(--line); background: var(--paper-2); }

.engage-visual .stat-card {
  position: relative;
  margin-top: -40px;
  margin-left: auto;
  width: calc(100% - 24px);
  padding: 28px 26px;
  box-shadow: 0 12px 28px rgba(30, 43, 35, .12);
}

@media (min-width: 900px) {
  .engage-photo { height: 440px; }
  .engage-visual .stat-card {
    position: absolute;
    right: -20px;
    bottom: -34px;
    margin-top: 0;
    width: min(72%, 350px);
    padding: 34px 30px;
  }
}

.stat-card { background: var(--paper); border: 1px solid var(--line); padding: 40px 34px; }

.stat-top { display: flex; align-items: center; gap: 22px; }
.stat-num { font-family: var(--serif); font-size: 72px; font-weight: 700; line-height: 1; color: var(--green); }
.stat-label { font-size: 15px; color: var(--ink-soft); font-weight: 600; line-height: 1.4; }

.stat-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  gap: 14px;
}
.stat-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-soft); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.7fr 1fr; gap: 64px; } }

.form { background: var(--white); border: 1px solid var(--line); padding: 36px 32px; }

.form-row { display: grid; gap: 22px; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  border-radius: 0;
  outline: none;
  transition: border-color .15s;
}

.field input:focus, .field textarea:focus { border-bottom-color: var(--green); }
.field textarea { resize: vertical; min-height: 120px; }

.form .btn { width: 100%; }
@media (min-width: 620px) { .form .btn { width: auto; } }

.form-feedback { display: none; margin-top: 18px; padding: 12px 16px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.form-feedback.ok { display: block; color: var(--green); border-color: var(--green); background: #f0f5ec; }
.form-feedback.err { display: block; color: #9c3a2a; border-color: #d8a08f; background: #fbf0ed; }
.form-feedback a { text-decoration: underline; }

.contact-block { background: var(--white); border: 1px solid var(--line); }

.contact-card {
  max-width: 640px;
  margin: 8px auto 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  transition: background-color .18s, color .18s;
}
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-item:hover { background: var(--paper-2); }

.contact-item-num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
}

.contact-item-ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  transition: border-color .18s, color .18s;
}
.contact-item:hover .contact-item-ico { border-color: var(--gold); color: var(--gold); }
.contact-item-ico svg { width: 24px; height: 24px; }

.contact-item-txt { display: grid; gap: 2px; }
.contact-item-txt strong { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.contact-item-txt em { font-style: normal; font-size: 16px; font-weight: 600; color: var(--green); }

.contact-item-arrow {
  margin-left: auto;
  font-size: 22px;
  color: var(--green);
  transition: color .18s, transform .18s;
}
.contact-item:hover .contact-item-arrow { color: var(--gold); transform: translateX(5px); }

.contact-row { display: flex; align-items: flex-start; gap: 16px; padding: 22px 26px; }
.contact-row + .contact-row { border-top: 1px solid var(--line); }

.contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-value { font-size: 16px; }

.contact-note {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.contact-cta { width: 100%; margin-top: 22px; }

/* ---------- Zone d'intervention ---------- */

.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) { .zone-grid { grid-template-columns: repeat(3, 1fr); } }

.zone-card { background: var(--paper); padding: 36px 30px; text-align: center; transition: background-color .2s; }
.zone-card:hover { background: var(--paper-2); }

.zone-lead {
  grid-column: 1 / -1;
  background: var(--green);
  color: var(--paper);
  padding: 44px 30px;
}
.zone-lead:hover { background: var(--green-2); }
.zone-lead .zone-city { color: var(--paper); font-size: 28px; }
.zone-lead .zone-region { color: var(--gold); }
.zone-lead .zone-text { color: rgba(250, 247, 240, .85); max-width: 560px; margin-left: auto; margin-right: auto; }

.zone-city { font-family: var(--serif); font-size: 22px; font-weight: 700; }

.zone-region {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}

.zone-text { margin-top: 16px; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Bandeau signature ---------- */

.statement {
  background: var(--green);
  color: var(--paper);
  padding: 70px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.statement-inner { max-width: 760px; margin: 0 auto; text-align: center; }

.statement-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }
.statement-line { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); font-weight: 700; line-height: 1.2; margin-top: 18px; }
.statement-line em { font-style: italic; color: #d8d4c0; }
.statement-meta { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(250, 247, 240, .7); }

/* ---------- Avant / Après ---------- */

.real-slide {
  display: none;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.real-slide.active { display: grid; }

@media (min-width: 900px) {
  .real-slide { grid-template-columns: .85fr 1.15fr; gap: 56px; }
}

.real-step {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.real-title { font-family: var(--serif); font-size: 26px; font-weight: 700; margin-top: 12px; }
.real-text { margin-top: 12px; font-size: 16px; color: var(--ink-soft); }

.real-nav { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.real-arrows { display: flex; gap: 10px; }

.ba-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s, color .15s, background-color .15s;
}
.ba-btn:hover { border-color: var(--green); color: var(--green); }

.real-counter {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ba-slider { border: 1px solid var(--line); background: var(--paper-2); }

.ba-stage {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba-img { display: block; width: 100%; height: 300px; object-fit: cover; }
@media (min-width: 760px) { .ba-img { height: 440px; } }

.ba-img-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
  filter: grayscale(.9) brightness(.85) saturate(.7);
}

.ba-tag {
  position: absolute;
  top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--line);
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--paper);
  cursor: ew-resize;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(30, 43, 35, .18);
}
.ba-handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  line-height: 1;
  color: var(--green);
}

/* ---------- Mentions légales ---------- */

.legal { padding: 64px 0 80px; }

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
}
.legal-eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.legal-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin-top: 14px; }
.legal-updated { margin-top: 10px; font-size: 14px; color: var(--muted); }

.legal .container { max-width: 760px; }

.legal-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-block h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.legal-block p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
.legal-block p + p { margin-top: 12px; }
.legal-block strong { color: var(--ink); }

/* ---------- Apparition douce ---------- */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero-enter { animation: riseIn .7s ease-out both; }
.hero-enter.d1 { animation-delay: .1s; }
.hero-enter.d2 { animation-delay: .22s; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s ease-out, background-color .2s ease, border-color .2s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .services-grid .service:nth-child(2) { transition-delay: .06s; }
.js .services-grid .service:nth-child(3) { transition-delay: .12s; }
.js .services-grid .service:nth-child(4) { transition-delay: .18s; }
.js .zone-grid .zone-card:nth-child(2) { transition-delay: .06s; }
.js .zone-grid .zone-card:nth-child(3) { transition-delay: .12s; }

@media (prefers-reduced-motion: reduce) {
  .hero-enter { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--green); color: #cfd8c9; padding: 56px 0 30px; }

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { background: var(--paper); color: var(--green); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-name em { color: #d8d4c0; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; }
.footer-nav a { color: #c6d0c3; transition: color .15s; }
.footer-nav a:hover { color: #fff; }

.footer-bottom { margin-top: 28px; text-align: center; font-size: 14px; color: #9bab97; }
.footer-bottom a { color: #c6d0c3; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }