/* ============================================================
   M.H Conseils — shared stylesheet (v2)
   ============================================================ */

:root {
  --navy-950: #0a1a2f;
  --navy-900: #0f2544;
  --navy-800: #163a67;
  --navy-700: #1e4d85;
  --gold-600: #b9922f;
  --gold-500: #c9a94f;
  --gold-100: #f6efdd;
  --gray-900: #1c232d;
  --gray-700: #45505c;
  --gray-500: #6b7683;
  --gray-200: #e6e9ed;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --max-width: 1140px;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 37, 68, 0.08);
  --shadow-md: 0 6px 24px rgba(15, 37, 68, 0.10);
  --shadow-lg: 0 16px 40px rgba(15, 37, 68, 0.16);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-800); text-decoration: none; }
a:hover { text-decoration: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--gold-600);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #a37f24; }
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; }
.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-small {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- Site header ---------- */
.site-header {
  background: var(--navy-950);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 42px;
  height: auto;
  display: block;
  border-radius: 4px;
}
.brand-name {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.main-nav a {
  color: #c7d2e0;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  border-bottom-color: var(--gold-500);
}
.lang-toggle {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.lang-toggle a {
  color: #8595aa;
  padding: 4px 6px;
}
.lang-toggle a.active { color: #ffffff; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(115deg, rgba(10,26,47,0.90) 0%, rgba(10,26,47,0.72) 45%, rgba(10,26,47,0.45) 100%), url("banner_accueil.png");
  background-size: cover;
  background-position: center;
}
.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px 24px;
  width: 100%;
}
.hero-eyebrow {
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 0 20px;
}
.hero-subtitle {
  font-size: 17px;
  color: #d7e0ec;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Hero (interior pages) ---------- */
.page-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(10,26,47,0.88) 0%, rgba(10,26,47,0.68) 100%);
}
.page-hero.approche { background-image: url("banner_notreapproche.png"); }
.page-hero.services { background-image: url("banner_services.png"); }
.page-hero.contact { background-image: url("banner.png"); }
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
  width: 100%;
}
.page-hero-eyebrow {
  color: var(--gold-500);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.page-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}
.page-hero-subtitle {
  font-size: 15.5px;
  color: #d7e0ec;
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Generic sections ---------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}
.section-tight { padding: 44px 24px; }
.section-head {
  max-width: 680px;
  margin: 0 0 40px;
}
.section-eyebrow {
  color: var(--gold-600);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy-950);
  margin: 0 0 12px;
}
.section-lead {
  font-size: 15.5px;
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0;
}
.section-alt { background: var(--gray-100); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy-950);
  margin: 0 0 10px;
  line-height: 1.35;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0 0 18px;
  flex-grow: 1;
}
.service-card .more {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.2px;
}
.service-card .more:hover { color: var(--gold-600); }

/* Programme pills */
.programmes-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray-500);
  margin: 4px 0 10px;
}
.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-list li {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--navy-900);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Stat / highlight band ---------- */
.stats-band {
  background: var(--navy-950);
  background-image: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 8px;
}
.stat-item .stat-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--gold-500);
}
.stat-item .stat-icon svg { width: 100%; height: 100%; }
.stat-item h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}
.stat-item p {
  font-size: 13px;
  color: #b7c3d4;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Approach cards ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.approach-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.approach-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-500);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 14px;
}
.approach-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-950);
  margin: 0 0 10px;
}
.approach-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.75;
  margin: 0 0 10px;
}
.approach-card p:last-child { margin-bottom: 0; }

/* ---------- Founder band ---------- */
.founder-band {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: flex-start;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
}
.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 800;
}
.founder-band h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-950);
  margin: 0 0 4px;
}
.founder-role {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
}
.founder-band p.founder-text {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0;
}

/* ---------- Industries list ---------- */
.industries-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.industries-badges li {
  background: var(--navy-950);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  background: var(--gold-600);
  background-image: linear-gradient(120deg, var(--gold-600) 0%, #a37f24 100%);
}
.cta-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}
.cta-band p {
  color: rgba(255,255,255,0.9);
  margin: 6px 0 0;
  font-size: 14.5px;
}

/* ---------- Contact page ---------- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-950);
  margin: 0 0 18px;
}
.contact-info-row {
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}
.contact-info-row .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-600);
  margin-top: 2px;
}
.contact-info-row a { color: var(--navy-900); font-weight: 600; }
.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
  border-radius: var(--radius);
  margin-top: 20px;
}

.form-grid {
  display: grid;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--gray-900);
  background: var(--gray-100);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--navy-700);
  background: #ffffff;
}
.field textarea { min-height: 120px; resize: vertical; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-error {
  background: #fdecea;
  color: #a33a2f;
  border: 1px solid #f3c7c1;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 4px;
}

/* ---------- Generic page content (thank-you pages) ---------- */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}
.page h1 {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-950);
  margin: 0 0 20px;
}
.page p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 12px;
}
.page a.back-link { font-weight: 700; color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #b7c3d4;
  margin-top: 0;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-name {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #9aa8bb;
  max-width: 320px;
  margin: 0;
}
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #b7c3d4; font-size: 13.5px; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
}
.footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 12.5px;
  color: #7c8ba0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .header-inner { justify-content: center; text-align: center; }
  .main-nav { justify-content: center; gap: 16px; }
  .header-actions { width: 100%; justify-content: center; }
  .hero-actions { justify-content: center; }
  .founder-band { grid-template-columns: 1fr; text-align: left; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
