/* ===========================================================
   LES LUNDIS — Jacques-Henri Michaud, consultant senior
   Transformation digitale & IA
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Couleurs */
  --ink: #10192B;
  --ink-soft: #2B3648;
  --paper: #FFFFFF;
  --paper-soft: #F4F4F1;
  --line: #E3E3DD;
  --muted: #5B6472;
  --yellow: #EBD200;
  --yellow-deep: #C9B400;

  /* Typo */
  --font-head: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Espacements (base 8px) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;

  /* Rayons */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--sp-2) 0;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 var(--sp-2) 0; }

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.muted { color: var(--muted); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

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

section { padding: var(--sp-6) 0; }
section.tight { padding: var(--sp-5) 0; }

/* Focus visible pour l'accessibilite */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 2px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ink-soft); }

.btn--accent {
  background: var(--yellow);
  color: var(--ink);
}
.btn--accent:hover { background: var(--yellow-deep); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand img { height: 42px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: var(--sp-1) 0;
  position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  padding: var(--sp-7) 0 var(--sp-6);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-6);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.eyebrow .dot-grid { flex-shrink: 0; }

.hero__actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}

.hero__portrait {
  position: relative;
  justify-self: center;
}
.hero__portrait img {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--paper-soft);
}
.hero__portrait .dot-grid {
  position: absolute;
  bottom: 6%;
  right: -6%;
}

/* ---------- Dot grid motif (identite Les Lundis) ---------- */
.dot-grid { display: inline-grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.dot-grid span { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.dot-grid span.is-hollow { background: transparent; border: 1.5px solid var(--yellow); }
.dot-grid--lg span { width: 11px; height: 11px; }

/* ---------- Stat strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
}
.stat__value {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}
.stat__label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Expertise / bio section ---------- */
.expertise__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}

.check-list {
  list-style: none;
  margin: var(--sp-3) 0 0 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--yellow-deep);
}

/* ---------- Bande "parcours" (chiffres concrets) ---------- */
.track-record {
  background: var(--paper-soft);
}
.track-record__head {
  max-width: 56ch;
  margin-bottom: var(--sp-4);
}
.track-record__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.track-record__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
}
.track-record__value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
}
.track-record__label { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---------- Verbatims ---------- */
.verbatims__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.verbatim-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}
.verbatim-card__mark {
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--yellow-deep);
  margin-bottom: var(--sp-1);
}
.verbatim-card p { color: var(--ink-soft); margin-bottom: var(--sp-2); }
.verbatim-card__role { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* ---------- Profil DISC ---------- */
.disc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  margin-top: var(--sp-3);
  background: var(--paper-soft);
}
.disc-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-2);
  flex-wrap: wrap;
}
.disc-card__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 12px;
  border-radius: 999px;
}
.disc-card__bars { display: grid; gap: 6px; }
.disc-row { display: grid; grid-template-columns: 16px 1fr 28px; align-items: center; gap: 10px; }
.disc-row__label { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--ink-soft); }
.disc-row__track { background: var(--line); border-radius: 4px; height: 10px; overflow: hidden; }
.disc-row__fill { display: block; height: 100%; border-radius: 4px; }
.disc-row__val { font-size: 0.82rem; color: var(--muted); text-align: right; }

/* ---------- Zone d'intervention ---------- */
.zone-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.zone-card__tier {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: var(--sp-2);
}
.zone-card__places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-2);
  list-style: none;
  padding: 0;
}
.zone-card__places li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Blog ---------- */
.blog-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.blog-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover { border-color: var(--ink); box-shadow: 0 6px 24px rgba(16, 25, 43, 0.08); }
.blog-card__date { font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.blog-card h3 { margin-bottom: 8px; }
.blog-card p { color: var(--muted); margin-bottom: 0; }

.article__meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: var(--sp-3);
}
.article-body p { margin-bottom: var(--sp-2); }
.article-body h2 { margin-top: var(--sp-5); }
.article-body ul { padding-left: 1.2em; margin-bottom: var(--sp-3); }
.article-body li { margin-bottom: 8px; }
.article-cta {
  margin-top: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  background: var(--paper-soft);
}

/* ---------- Cards de prestations ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  border-color: var(--ink);
  box-shadow: 0 6px 24px rgba(16, 25, 43, 0.08);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--ink); }
.service-card h3 { margin-bottom: var(--sp-1); }
.service-card p { color: var(--muted); margin-bottom: var(--sp-2); flex-grow: 1; }
.service-card__link { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card__link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: var(--paper); }
.cta-band p { color: rgba(255,255,255,0.72); }

/* ---------- Timeline (parcours) ---------- */
.timeline {
  border-left: 2px solid var(--line);
  margin-left: 6px;
  padding-left: var(--sp-4);
  display: grid;
  gap: var(--sp-5);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--sp-4) - 6px);
  top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line);
}
.timeline__period { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.timeline__role { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.timeline__org { color: var(--ink-soft); font-weight: 500; margin-bottom: var(--sp-1); }

/* ---------- Prestation detail ---------- */
.detail-hero {
  padding: var(--sp-6) 0 var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.detail-hero__icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3);
}
.detail-hero__icon svg { width: 32px; height: 32px; color: var(--ink); }

.proof-box {
  background: var(--paper-soft);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-4);
}
.proof-box p:last-child { margin-bottom: 0; }
.proof-box .muted { font-size: 0.88rem; }

.insight-box {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-4) 0;
}
.insight-box h3 { margin-bottom: 8px; font-size: 1.05rem; }
.insight-box p { margin-bottom: 0; color: var(--ink-soft); }

.other-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.other-services a {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-2);
  font-size: 0.9rem;
  font-weight: 500;
}
.other-services a:hover { border-color: var(--ink); }

/* ---------- Carte coordonnees (a cote du formulaire) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: var(--sp-5);
  align-items: start;
}
.contact-info-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-top: var(--sp-6);
}
.contact-info-card h3 { margin-bottom: var(--sp-3); }
.contact-info-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.contact-info-card__row + .contact-info-card__row { border-top: 1px solid var(--line); }
.contact-info-card__row svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--ink); }
.contact-info-card__row a, .contact-info-card__row span.value { font-weight: 600; font-size: 0.95rem; }

.contact-map {
  margin-top: var(--sp-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map iframe { display: block; width: 100%; height: 190px; border: 0; }
.contact-map__link {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  border-top: 1px solid var(--line);
}

.calendly-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-top: var(--sp-4);
}
.calendly-card h3, .calendly-card p { color: var(--paper); }
.calendly-card p { color: rgba(255,255,255,0.72); margin-bottom: var(--sp-3); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { margin-top: var(--sp-3); }
}

/* ---------- Formulaire de contact ---------- */
.contact-form {
  max-width: 520px;
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}
.contact-form[hidden] { display: none; }
.contact-form__hp { position: absolute; left: -9999px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.contact-form .btn { margin-top: var(--sp-1); justify-self: start; }
.cf-turnstile { margin-top: 4px; }

.form-banner {
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-3);
  font-size: 0.92rem;
}
.form-banner--success { background: #EAF7EF; color: #1E6B3C; border: 1px solid #BFE6CC; }
.form-banner--error { background: #FBEAEA; color: #A32626; border: 1px solid #F1C6C6; }

/* ---------- Contact (cartes, conservees pour compat) ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.contact-card svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ink); }
.contact-card__label { font-size: 0.85rem; color: var(--muted); }
.contact-card__value { font-weight: 600; }
.contact-list { display: grid; gap: var(--sp-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-5) 0 var(--sp-4);
}
.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-bottom: var(--sp-4);
}
.site-footer__brand img { height: 28px; margin-bottom: var(--sp-2); }
.site-footer__cols {
  display: flex;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.site-footer__col h4 { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: var(--sp-2); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__col a { font-size: 0.92rem; color: var(--ink-soft); }
.site-footer__col a:hover { color: var(--ink); }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-3);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.site-footer__bottom a { text-decoration: underline; color: var(--muted); }
.site-footer__bottom a:hover { color: var(--ink); }

/* ---------- Page mentions legales ---------- */
.legal-block { margin-bottom: var(--sp-4); }
.legal-block h2 { font-size: 1.1rem; }
.legal-block p, .legal-block li { color: var(--ink-soft); }

/* ---------- Pages bassins/villes ---------- */
.ville-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--sp-3);
}
.ville-meta span {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.ville-source { font-size: 0.8rem; color: var(--muted); margin-top: var(--sp-2); }
.villes-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.villes-list-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.92rem;
  font-weight: 500;
}
.villes-list-grid a:hover { border-color: var(--ink); }
@media (max-width: 700px) {
  .villes-list-grid { grid-template-columns: 1fr; }
}

/* ---------- Renvoi confrere hors zone ---------- */
.referral-box {
  border-top: 1px dashed var(--line);
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
}
.referral-box p { color: var(--muted); font-size: 0.92rem; max-width: 60ch; }
.referral-box a { text-decoration: underline; color: var(--ink-soft); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__grid, .expertise__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; margin-bottom: var(--sp-3); }
  .hero__portrait img { width: 200px; }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .track-record__grid { grid-template-columns: repeat(2, 1fr); }
  .verbatims__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .other-services { grid-template-columns: 1fr; }

  .nav__panel { display: none; }
  .nav-toggle { display: inline-flex; }

  body.nav-open .nav__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-3);
    box-shadow: 0 12px 24px rgba(16, 25, 43, 0.08);
  }
  body.nav-open .nav__panel .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
  body.nav-open .nav__panel .btn--primary {
    justify-content: center;
  }

  .cta-band { flex-direction: column; align-items: flex-start; }
  .site-footer__top { flex-direction: column; }
}

@media (max-width: 600px) {
  .stats__row { grid-template-columns: 1fr 1fr; }
  section { padding: var(--sp-5) 0; }
}
