/* KIM ENTREPRISES · site vitrine */
:root {
  --vert-nuit: #133a22;
  --vert: #1f5c34;
  --vert-vif: #2f8243;
  --feuille: #98cf59;
  --feuille-pale: #eaf5dc;
  --cacao: #7a4a2a;
  --sable: #f6f2e9;
  --sable-fonce: #ebe4d4;
  --encre: #17221b;
  --gris: #5d6660;
  --ligne: #dcd6c8;
  --blanc: #fff;
  --rayon: 14px;
  --ombre: 0 18px 40px -22px rgba(19, 58, 34, .45);
  --titre: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --texte: "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--texte); color: var(--encre); background: var(--blanc); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--vert-vif); }
h1, h2, h3, h4 { font-family: var(--titre); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--vert-nuit); }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.conteneur { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sur-titre { font-family: var(--titre); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--vert-vif); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem; }
.sur-titre::before { content: ""; width: 26px; height: 3px; background: var(--feuille); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--gris); max-width: 62ch; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sable { background: var(--sable); }
.section-nuit { background: var(--vert-nuit); color: #dfe9e1; }
.section-nuit h2, .section-nuit h3 { color: #fff; }
.entete-section { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.entete-section .lead { margin: 0; }

/* Boutons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.45em; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; font-family: var(--texte); }
.btn:hover { transform: translateY(-1px); }
.btn-primaire { background: var(--feuille); color: var(--vert-nuit); }
.btn-primaire:hover { background: #a9da70; }
.btn-vert { background: var(--vert); color: #fff; }
.btn-vert:hover { background: var(--vert-vif); }
.btn-contour { border-color: currentColor; color: var(--vert); background: transparent; }
.btn-clair { border-color: rgba(255,255,255,.5); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Bandeau supérieur */
.bandeau { background: var(--vert-nuit); color: #c9d8cd; font-size: .84rem; }
.bandeau .conteneur { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.bandeau a { color: #fff; text-decoration: none; }
.bandeau span + span { margin-left: 18px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #ece8de; }
.nav .conteneur { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vert-nuit); }
.logo img { width: 54px; height: 54px; }
.logo strong { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; display: block; line-height: 1.1; }
.logo small { color: var(--gris); font-size: .74rem; letter-spacing: .04em; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .55em .85em; border-radius: 8px; text-decoration: none; color: var(--encre); font-weight: 500; font-size: .95rem; }
.menu a:hover, .menu a.actif { color: var(--vert-vif); background: var(--feuille-pale); }
.menu .btn { margin-left: 8px; padding: .7em 1.2em; }
.menu .lien-espace { color: var(--gris); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--vert-nuit); margin: 5px 0; transition: .2s; }

/* Héros */
.heros { position: relative; color: #fff; background: var(--vert-nuit); overflow: hidden; }
.heros::before { content: ""; position: absolute; inset: 0; background: url('/images/magasin.jpg') center/cover; opacity: .38; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19,58,34,.97) 25%, rgba(19,58,34,.55) 70%, rgba(19,58,34,.2)); }
.heros .conteneur { position: relative; z-index: 2; padding: clamp(80px, 12vw, 150px) 0 clamp(70px, 10vw, 120px); }
.heros h1 { color: #fff; max-width: 15ch; }
.heros h1 em { font-style: normal; color: var(--feuille); }
.heros .lead { color: #d3e1d6; font-size: 1.2rem; }
.heros .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.heros .sur-titre { color: var(--feuille); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 46px; }
.badge-conf { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 10px 16px 10px 10px; font-size: .86rem; line-height: 1.3; }
.badge-conf img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.badge-conf strong { display: block; color: #fff; font-size: .92rem; }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ligne); border-radius: var(--rayon); overflow: hidden; margin-top: -54px; position: relative; z-index: 5; box-shadow: var(--ombre); }
.chiffre { background: #fff; padding: 28px 26px; }
.chiffre b { font-family: var(--titre); font-size: 2.4rem; font-weight: 800; color: var(--vert); display: block; line-height: 1; margin-bottom: 8px; }
.chiffre span { color: var(--gris); font-size: .92rem; }

/* Cartes services */
.grille-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.carte-service { background: #fff; border-radius: var(--rayon); overflow: hidden; text-decoration: none; color: inherit; border: 1px solid #ece8de; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.carte-service:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-service figure { margin: 0; aspect-ratio: 16/10; overflow: hidden; background: var(--sable-fonce); }
.carte-service img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.carte-service:hover img { transform: scale(1.04); }
.carte-service div { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.carte-service p { color: var(--gris); font-size: .95rem; flex: 1; }
.carte-service .plus { font-weight: 600; color: var(--vert-vif); font-size: .92rem; }

/* Bloc deux colonnes */
.duo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.duo-photo { position: relative; }
.duo-photo img { border-radius: var(--rayon); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.duo-photo .encart { position: absolute; right: -18px; bottom: -22px; background: var(--feuille); color: var(--vert-nuit); padding: 20px 24px; border-radius: 12px; max-width: 250px; font-weight: 600; box-shadow: var(--ombre); }
.duo-photo .encart b { font-family: var(--titre); font-size: 2rem; display: block; line-height: 1; }
.liste-coches { list-style: none; padding: 0; margin: 20px 0 28px; }
.liste-coches li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--feuille-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232f8243' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.atout { border-top: 2px solid rgba(152,207,89,.45); padding-top: 22px; }
.atout .num { font-family: var(--titre); color: var(--feuille); font-weight: 800; font-size: .9rem; letter-spacing: .1em; }
.atout p { color: #b9cbbd; font-size: .95rem; margin: 0; }

/* Protocole */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; }
.etape { background: #fff; border-radius: 12px; padding: 22px; border: 1px solid #ece8de; position: relative; }
.etape::before { counter-increment: etape; content: counter(etape, decimal-leading-zero); font-family: var(--titre); font-weight: 800; color: var(--feuille); font-size: 1.6rem; display: block; margin-bottom: 8px; }
.etape h4 { font-size: 1.02rem; margin-bottom: 6px; }
.etape p { color: var(--gris); font-size: .9rem; margin: 0; }

/* Références */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos div { background: #fff; border: 1px solid #ece8de; border-radius: 12px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 18px; }
.logos img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.logos div:hover img { filter: none; opacity: 1; }

/* Conformité */
.conformite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.carte-conf { background: #fff; border-radius: var(--rayon); padding: 26px; border: 1px solid #ece8de; }
.carte-conf img { height: 62px; width: auto; margin-bottom: 16px; }
.carte-conf .ref { font-size: .88rem; color: var(--gris); }
.carte-conf .val { display: inline-block; margin-top: 10px; background: var(--feuille-pale); color: var(--vert); font-weight: 600; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.tableau { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--rayon); overflow: hidden; font-size: .95rem; }
.tableau th, .tableau td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eee8dc; }
.tableau th { background: var(--vert-nuit); color: #fff; font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }

/* Appel à l'action */
.cta { background: linear-gradient(120deg, var(--vert) 0%, var(--vert-nuit) 100%); border-radius: 22px; padding: clamp(36px, 6vw, 64px); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(152,207,89,.14); right: -120px; top: -150px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #cfe0d3; margin: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Pages intérieures */
.entete-page { background: var(--vert-nuit); color: #d3e1d6; padding: 70px 0 64px; position: relative; overflow: hidden; }
.entete-page::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(152,207,89,.1); right: -140px; top: -200px; }
.entete-page h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.entete-page .lead { color: #c3d4c7; }
.fil { font-size: .85rem; margin-bottom: 18px; color: #9fb8a5; }
.fil a { color: var(--feuille); text-decoration: none; }

.chronologie { border-left: 2px solid var(--feuille); padding-left: 28px; margin: 0; list-style: none; }
.chronologie li { position: relative; margin-bottom: 26px; }
.chronologie li::before { content: ""; position: absolute; left: -36px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--vert-vif); }
.chronologie b { font-family: var(--titre); color: var(--vert); display: block; }

.equipe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.membre { background: #fff; border-radius: var(--rayon); padding: 24px; border: 1px solid #ece8de; }
.membre h3 { margin-bottom: 4px; font-size: 1.1rem; }
.membre .fonction { color: var(--vert-vif); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.membre p { color: var(--gris); font-size: .9rem; margin: 0; }

.cartes-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.carte-mv { padding: 30px; border-radius: var(--rayon); background: var(--feuille-pale); }
.carte-mv:last-child { background: var(--sable); }

/* Formulaire */
.formulaire { background: #fff; border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--ombre); border: 1px solid #ece8de; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.plein { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .9rem; }
.champ input, .champ select, .champ textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--ligne); border-radius: 10px; background: #fcfbf8; transition: border .15s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--vert-vif); background: #fff; box-shadow: 0 0 0 3px rgba(47,130,67,.12); }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces label { font-weight: 500; }
.puces input { position: absolute; opacity: 0; pointer-events: none; }
.puces span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ligne); border-radius: 999px; cursor: pointer; font-size: .9rem; background: #fcfbf8; }
.puces input:checked + span { background: var(--vert); color: #fff; border-color: var(--vert); }
.puces input:focus-visible + span { outline: 2px solid var(--vert-vif); outline-offset: 2px; }
.erreur { color: #b3261e; font-size: .85rem; }
.alerte-ok { background: var(--feuille-pale); border: 1px solid var(--feuille); color: var(--vert-nuit); padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; }
.cache { position: absolute; left: -9999px; }

.coord { display: grid; gap: 18px; }
.carte-coord { background: var(--sable); padding: 24px; border-radius: var(--rayon); }
.carte-coord h3 { font-size: 1.05rem; }
.carte-coord p { margin: 0 0 6px; font-size: .95rem; color: #3d4740; }
.carte-coord a { font-weight: 600; text-decoration: none; }

/* Pied de page */
.pied { background: #0d2918; color: #a9bdae; padding: 70px 0 28px; font-size: .92rem; }
.pied .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.pied h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 8px; }
.pied a { color: #d7e4da; text-decoration: none; }
.pied a:hover { color: var(--feuille); }
.pied .logo-pied { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pied .logo-pied img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 2px; }
.pied .logo-pied strong { color: #fff; font-family: var(--titre); font-size: 1.1rem; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7f978a; }
.reseaux { display: flex; gap: 10px; margin-top: 18px; }
.reseaux a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.reseaux svg { width: 18px; height: 18px; fill: #fff; }

.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.whatsapp svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1180px) { .menu a { padding: .5em .6em; font-size: .9rem; } .menu .lien-espace { display: none; } }
@media (max-width: 1020px) {
  .grille-services, .atouts, .conformite, .equipe { grid-template-columns: 1fr 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .pied .colonnes { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 24px; border-bottom: 1px solid #ece8de; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); display: none; }
  .menu.ouvert { display: flex; }
  .menu a { padding: .8em; }
  .menu .btn { margin: 8px 0 0; justify-content: center; }
  .duo, .cta, .cartes-mv { grid-template-columns: 1fr; }
  .duo-photo .encart { right: 12px; }
  .bandeau .adresse { display: none; }
}
@media (max-width: 600px) {
  .grille-services, .atouts, .conformite, .equipe, .etapes, .champs, .pied .colonnes { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr 1fr; }
  .chiffre b { font-size: 1.9rem; }
  .chiffre { padding: 20px; }
  .tableau { font-size: .85rem; }
  .tableau th, .tableau td { padding: 10px; }
  .bandeau span + span { margin-left: 0; }
  .bandeau .conteneur { justify-content: center; }
}
