/* M.H Conseils — shared stylesheet */

:root {
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-text-muted: #6b6b6b;
  --color-nav-bg: #111111;
  --color-nav-text: #cfcfcf;
  --color-nav-text-active: #b9a86b;
  --color-logo-bg: #2c4159;
  --color-logo-letter: #8a7a3a;
  --color-cta-bg: #1e3a5f;
  --color-cta-bg-hover: #264b78;
  --color-link: #1e3a5f;
  --color-border: #e4e4e4;
  --color-section-bg: #fafafa;
  --max-width: 980px;
  --font-sans: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  font-size: 15px;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Top nav */
.topnav {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
}
.topnav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.topnav a {
  color: var(--color-nav-text);
  text-decoration: none;
  font-weight: 600;
}
.topnav a:hover { color: #ffffff; text-decoration: none; }
.topnav a.active { color: var(--color-nav-text-active); }

.lang-toggle {
  margin-left: auto;
  display: flex;
  gap: 8px;
  font-size: 11px;
}
.lang-toggle a {
  color: var(--color-nav-text);
  opacity: 0.6;
}
.lang-toggle a.active { opacity: 1; color: #ffffff; }

/* Header (logo + contact CTA) */
.header {
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  width: 64px;
  height: auto;
  display: block;
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #2a2a2a;
  font-weight: 500;
}
.header-cta {
  text-align: right;
  font-size: 16px;
  line-height: 1.35;
}
.header-cta a {
  display: inline-block;
  background:  #010b2e;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease;
}
.header-cta a:hover {
  background: #a3934f;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 18px auto 0;
  padding: 0 20px;
}
.hero-image {
  width: 100%;
  height: 260px;
  background-image: url("banner_accueil.png");
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-title {
  max-width: var(--max-width);
  margin: 26px auto 18px;
  padding: 0 20px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #2a2a2a;
  font-weight: bold;
  line-height: 1.3;
}

/* CTA bar */
.cta-bar {
  max-width: var(--max-width);
  margin: 0 auto 36px;
  padding: 0 20px;
}
.cta-bar a {
  display: block;
  background: var(--color-cta-bg);
  color: #ffffff;
  text-align: center;
  padding: 14px 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 1px;
  transition: background 0.15s ease;
}
.cta-bar a:hover { background: var(--color-cta-bg-hover); text-decoration: none; }

/* Services columns */
.services {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.service h3 {
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: underline;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.3;
}
.service p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  color: #555;
  margin: 0 0 18px;
  line-height: 1.6;
  font-style: italic;
}
.service .more {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--color-link);
  text-transform: uppercase;
  font-weight: 600;
}

/* Generic content page */
.page {
  max-width: var(--max-width);
  margin: 40px auto 80px;
  padding: 0 20px;
}
.page h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 24px;
}
.page h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 32px 0 12px;
}
.page p, .page li {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.page ul { padding-left: 20px; }

/* Contact form */
.contact-form {
  max-width: 560px;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.contact-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  justify-self: start;
  background: var(--color-cta-bg);
  color: #fff;
  border: 0;
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.contact-form button:hover { background: var(--color-cta-bg-hover); }

/* Footer */
.footer {
  background: var(--color-nav-bg);
  color: var(--color-nav-text);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer a {
  color: var(--color-nav-text);
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover { color: #ffffff; }

/* Inner-page layout (Notre approche, Services, Contactez-nous) */
.page-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 18px;
}
.page-intro {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  color: #444;
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 820px;
}
.page-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  margin: 0 0 36px;
}
.page-image.approche { background-image: url("banner_notreapproche.png"); }
.page-image.services { background-image: url("banner_services.png"); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 28px;
  margin-top: 18px;
}
.two-col .item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: #1a1a1a;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8d8d8;
}
.two-col .item p,
.two-col .item li {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  margin: 0 0 10px;
}
.two-col .item ul { padding-left: 20px; margin: 4px 0 0; }
.two-col .item .programmes-label {
  font-weight: 600;
  font-style: italic;
  color: #333;
  margin-top: 10px;
  margin-bottom: 4px;
}

.industries-list {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 26px;
  padding-left: 24px;
}
.industries-list li::marker { color: #777; }

/* Contact page */
.contact-coords {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 30px;
}
.contact-coords h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #1a1a1a;
}
.contact-coords p {
  font-style: italic;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 6px;
  color: #444;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 8px;
}
.minimal-form {
  display: grid;
  gap: 18px;
}
.minimal-form input,
.minimal-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #888;
  padding: 8px 2px;
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 13px;
  color: #333;
  outline: none;
}
.minimal-form input:focus,
.minimal-form textarea:focus { border-bottom-color: #1a1a1a; }
.minimal-form textarea { min-height: 90px; resize: vertical; }
.minimal-form button {
  justify-self: end;
  background: #b9a86b;
  color: #ffffff;
  border: 0;
  padding: 8px 26px;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.minimal-form button:hover { background: #a3934f; }

.map-embed {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

@media (max-width: 760px) {
  .two-col,
  .contact-grid { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 760px) {
  .topnav-inner,
  .footer-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  .lang-toggle { margin-left: 0; }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .header-cta { text-align: left; }
  .services { grid-template-columns: 1fr; gap: 28px; }
  .hero-image { height: 200px; }
  .hero-title { font-size: 22px; }
}
