/* ink-deer — Feuille de style principale
   Archétype : SPLIT-SCREEN MODERN
   Mise en page : Flexbox uniquement */

:root {
  --vert-profond: #244c3a;
  --vert: #2f6b4f;
  --feuille: #7ea942;
  --feuille-clair: #a7c957;
  --sombre: #16231d;
  --gris: #5b6b63;
  --sable: #e9e4d6;
  --ivoire: #f5f8f2;
  --blanc: #ffffff;
  --ombre: 0 18px 50px rgba(22, 35, 29, 0.14);
  --ombre-douce: 0 8px 24px rgba(22, 35, 29, 0.08);
  --rayon: 18px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--sombre);
  background: var(--ivoire);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { color: var(--gris); font-size: 1.05rem; }

a { color: var(--vert); text-decoration: none; }

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

.enveloppe {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Bandeau de divulgation publicitaire ---------- */
.bandeau-pub {
  background: var(--sombre);
  color: var(--sable);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
}

/* ---------- En-tête / navigation ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 35, 29, 0.08);
}

.barre-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vert-profond);
}

.logo svg { width: 30px; height: 30px; }

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.menu a {
  display: inline-block;
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--sombre);
  font-size: 0.96rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.menu a:hover,
.menu a.actif {
  background: var(--vert);
  color: var(--blanc);
}

.btn-menu {
  display: none;
  background: none;
  border: 1px solid var(--vert);
  color: var(--vert);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primaire {
  background: var(--vert);
  color: var(--blanc);
  box-shadow: 0 10px 24px rgba(47, 107, 79, 0.3);
}

.btn-primaire:hover {
  background: var(--vert-profond);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(47, 107, 79, 0.36);
}

.btn-contour {
  background: transparent;
  color: var(--vert-profond);
  border: 1.5px solid var(--vert);
}

.btn-contour:hover {
  background: var(--vert);
  color: var(--blanc);
  transform: translateY(-3px);
}

.lien-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--vert);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), gap var(--transition);
}

.lien-inline:hover {
  border-color: var(--feuille);
  gap: 11px;
}

/* ---------- Split-screen ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: 82vh;
}

.split > .moitie {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px);
}

.split.inverse {
  flex-direction: row-reverse;
}

.moitie-visuel {
  background-color: var(--vert-profond);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.moitie-visuel img {
  width: 100%;
  height: 100%;
  min-height: 340px;
}

.etiquette {
  display: inline-block;
  align-self: flex-start;
  background: rgba(126, 169, 66, 0.16);
  color: var(--vert);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.moitie h1, .moitie h2 { margin-bottom: 18px; }
.moitie p { margin-bottom: 18px; max-width: 46ch; }

.groupe-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

/* ---------- Sections génériques ---------- */
.section {
  padding: clamp(60px, 8vw, 110px) 0;
}

.section-sombre {
  background: var(--sombre);
  color: var(--ivoire);
}
.section-sombre p { color: rgba(245, 248, 242, 0.75); }
.section-sombre h2 { color: var(--blanc); }

.section-vert {
  background: linear-gradient(160deg, var(--vert-profond), var(--vert));
  color: var(--ivoire);
}
.section-vert h2, .section-vert h3 { color: var(--blanc); }
.section-vert p { color: rgba(245, 248, 242, 0.82); }

.section-sable { background: var(--sable); }

.titre-section {
  max-width: 620px;
  margin-bottom: 48px;
}
.titre-section.centre {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Chiffres clés ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.stat {
  flex: 1 1 180px;
  padding: 28px;
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat .nombre {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--feuille-clair);
}
.stat .label { font-size: 0.95rem; color: rgba(245, 248, 242, 0.8); }

/* ---------- Cartes de valeurs ---------- */
.rangee {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.carte {
  flex: 1 1 280px;
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 34px;
  box-shadow: var(--ombre-douce);
  border: 1px solid rgba(22, 35, 29, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.carte:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre);
}
.carte .icone {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(126, 169, 66, 0.16);
  margin-bottom: 20px;
}
.carte .icone svg { width: 28px; height: 28px; stroke: var(--vert); }
.carte h3 { margin-bottom: 10px; color: var(--vert-profond); }

/* ---------- Grille d'images asymétrique ---------- */
.mosaique {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.mosaique .cadre {
  background-color: var(--sable);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
}
.mosaique .grand { flex: 2 1 420px; }
.mosaique .petit { flex: 1 1 220px; }
.mosaique img { width: 100%; height: 100%; min-height: 220px; }

/* ---------- Services / tarifs ---------- */
.grille-services {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.service {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  border: 1px solid rgba(22, 35, 29, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre);
}
.service .visuel {
  background-color: var(--vert-profond);
  height: 190px;
}
.service .visuel img { width: 100%; height: 100%; }
.service .corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}
.service h3 { color: var(--vert-profond); margin-bottom: 10px; }
.service .prix {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--vert);
  margin: 16px 0 6px;
}
.service .prix small { font-size: 0.85rem; color: var(--gris); font-weight: 400; }
.service ul { list-style: none; margin: 14px 0 22px; }
.service ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--gris);
  font-size: 0.96rem;
}
.service ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--feuille);
  font-weight: 700;
}
.service .corps .btn { margin-top: auto; }

/* ---------- Formulaire ---------- */
.bloc-formulaire {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
  background: var(--blanc);
}
.formulaire-aside {
  flex: 1 1 360px;
  background: linear-gradient(170deg, var(--vert-profond), var(--sombre));
  color: var(--ivoire);
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.formulaire-aside h2 { color: var(--blanc); margin-bottom: 16px; }
.formulaire-aside p { color: rgba(245, 248, 242, 0.8); }
.formulaire-aside ul { list-style: none; margin-top: 24px; }
.formulaire-aside li {
  padding-left: 28px; position: relative; margin-bottom: 14px;
  color: rgba(245, 248, 242, 0.9);
}
.formulaire-aside li::before {
  content: "→"; position: absolute; left: 0; color: var(--feuille-clair);
}
form {
  flex: 1 1 420px;
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ label { font-size: 0.9rem; font-weight: 600; color: var(--sombre); }
.champ input,
.champ select,
.champ textarea {
  padding: 13px 15px;
  border: 1.5px solid rgba(22, 35, 29, 0.14);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--ivoire);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--feuille);
  box-shadow: 0 0 0 4px rgba(126, 169, 66, 0.16);
}
.champ textarea { resize: vertical; min-height: 110px; }
.message-erreur {
  font-size: 0.82rem;
  color: #b23a3a;
  display: none;
}
.champ.invalide .message-erreur { display: block; }
.champ.invalide input,
.champ.invalide select { border-color: #b23a3a; }
.note-form { font-size: 0.8rem; color: var(--gris); }

/* ---------- Témoignages ---------- */
.temoignages {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.temoignage {
  flex: 1 1 300px;
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 32px;
  box-shadow: var(--ombre-douce);
  border-left: 4px solid var(--feuille);
}
.temoignage p { font-style: italic; color: var(--sombre); margin-bottom: 18px; }
.temoignage .auteur { display: flex; align-items: center; gap: 12px; }
.temoignage .pastille {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vert); color: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: Georgia, serif;
}
.temoignage .meta strong { display: block; color: var(--sombre); }
.temoignage .meta span { font-size: 0.85rem; color: var(--gris); }

/* ---------- Étapes ---------- */
.etapes { display: flex; flex-wrap: wrap; gap: 24px; }
.etape {
  flex: 1 1 220px;
  padding: 28px;
  border-radius: var(--rayon);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.etape .num {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: var(--feuille-clair);
  font-weight: 700;
}
.etape h3 { color: var(--blanc); margin: 10px 0; font-size: 1.2rem; }

/* ---------- Bande CTA ---------- */
.bande-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(130deg, var(--feuille), var(--vert));
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  color: var(--blanc);
}
.bande-cta h2 { color: var(--blanc); max-width: 20ch; }
.bande-cta p { color: rgba(255,255,255,0.9); }
.bande-cta .btn-primaire { background: var(--blanc); color: var(--vert-profond); }
.bande-cta .btn-primaire:hover { background: var(--sombre); color: var(--blanc); }

/* ---------- Contenu légal / article ---------- */
.contenu-legal { max-width: 820px; margin: 0 auto; }
.contenu-legal h1 { margin-bottom: 10px; }
.contenu-legal .maj { color: var(--gris); font-size: 0.9rem; margin-bottom: 36px; }
.contenu-legal h2 { font-size: 1.5rem; margin: 36px 0 12px; color: var(--vert-profond); }
.contenu-legal p, .contenu-legal li { margin-bottom: 12px; }
.contenu-legal ul { padding-left: 22px; color: var(--gris); }

/* ---------- Encadré info contact ---------- */
.cartes-contact { display: flex; flex-wrap: wrap; gap: 24px; }
.carte-contact {
  flex: 1 1 260px;
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 30px;
  box-shadow: var(--ombre-douce);
}
.carte-contact h3 { color: var(--vert-profond); margin-bottom: 10px; font-size: 1.2rem; }
.carte-contact .donnee { color: var(--sombre); font-weight: 500; }
.non-clic { color: var(--sombre); font-weight: 600; }

.disclaimer {
  background: var(--sable);
  border-radius: var(--rayon);
  padding: 26px 30px;
  font-size: 0.92rem;
  color: var(--gris);
  border-left: 4px solid var(--feuille);
}
.disclaimer strong { color: var(--sombre); }

/* ---------- Pied de page ---------- */
.pied {
  background: var(--sombre);
  color: rgba(245, 248, 242, 0.72);
  padding: 70px 0 30px;
}
.pied-haut {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 44px;
}
.pied-col { flex: 1 1 200px; }
.pied-col.marque { flex: 1.6 1 280px; }
.pied .logo { color: var(--ivoire); margin-bottom: 14px; }
.pied h4 { color: var(--blanc); margin-bottom: 16px; font-family: inherit; font-size: 1rem; letter-spacing: 0.04em; }
.pied ul { list-style: none; }
.pied ul li { margin-bottom: 9px; }
.pied a { color: rgba(245, 248, 242, 0.72); transition: color var(--transition); }
.pied a:hover { color: var(--feuille-clair); }
.pied-bas {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- Bannière cookies ---------- */
.banniere-cookies {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--blanc);
  border: 1px solid rgba(22, 35, 29, 0.1);
  box-shadow: var(--ombre);
  border-radius: var(--rayon);
  padding: 22px 26px;
}
.banniere-cookies.visible { display: flex; }
.banniere-cookies p { font-size: 0.92rem; margin: 0; flex: 1 1 320px; }
.banniere-cookies .actions { display: flex; gap: 12px; }
.banniere-cookies .btn { padding: 11px 20px; font-size: 0.92rem; }

/* ---------- CTA flottant ---------- */
.cta-flottant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  box-shadow: 0 14px 30px rgba(47, 107, 79, 0.4);
}

/* ---------- Bloc merci ---------- */
.bloc-merci {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.bloc-merci .coche {
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(126,169,66,0.16);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.bloc-merci .coche svg { width: 46px; height: 46px; stroke: var(--vert); }
.bloc-merci h1 { margin-bottom: 16px; }
.bloc-merci p { max-width: 54ch; margin-bottom: 10px; }
.rappel-service {
  margin: 18px 0 28px;
  padding: 14px 24px;
  background: var(--sable);
  border-radius: 40px;
  font-weight: 600;
  color: var(--vert-profond);
}

/* ---------- Utilitaires ---------- */
.mt-s { margin-top: 16px; }
.mt-14 { margin-top: 14px; }
.center { text-align: center; }
.max-narrow { max-width: 680px; margin: 0 auto; }
.sans-haut { padding-top: 0; }
.lead { font-size: 1.2rem; }
.petit-note { font-size: 0.85rem; margin-top: 8px; }
.groupe-cta.centre { justify-content: center; margin-top: 24px; }
.etiquette-clair { background: rgba(255, 255, 255, 0.14); color: #fff; }
.mosaique.pleine { padding: 0; height: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .btn-menu { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--ivoire);
    padding: 16px 28px 24px;
    border-bottom: 1px solid rgba(22,35,29,0.08);
  }
  .menu.ouvert { display: flex; }
  .menu a { padding: 12px 14px; }
  .split { min-height: auto; }
  .split > .moitie { flex: 1 1 100%; }
  .moitie-visuel { min-height: 320px; }
}
