/* ============================================
   NEXUM — Conseil & Médiation
   Feuille de style commune
   Charte : navy #1B3A6B / or #B8963E / ivoire #F8F5EE
   Titres Georgia, corps Arial
   ============================================ */

:root {
  --navy: #1B3A6B;
  --navy-deep: #152E54;
  --gold: #B8963E;
  --gold-soft: #C9A95A;
  --ivory: #F8F5EE;
  --white: #FFFFFF;
  --ink: #2C2C2C;
  --grey: #6B6B6B;
  --grey-light: #9AA3B0;
  --line: #E4E0D6;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

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

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { padding: 76px 0; }
section.tight { padding: 52px 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
}
.brand {
  font-family: Georgia, serif; font-weight: 700; font-size: 22px;
  color: var(--navy); letter-spacing: 1px; white-space: nowrap;
  display: flex; align-items: center; gap: 11px;
}
.brand .logo-mark { width: 26px; height: auto; flex-shrink: 0; }
.brand .brand-text-wrap { font-family: Georgia, serif; font-weight: 700; font-size: 21px; color: var(--navy); }
.brand .brand-text-wrap span { color: var(--gold); font-weight: 400; font-style: italic; font-size: 13px; letter-spacing: 0.5px; }

/* Logo dans le hero */
.hero-logo { width: 64px; height: auto; margin-bottom: 26px; }
.hero-logo .bal { stroke: var(--gold-soft); }
.hero-logo .col { fill: var(--gold); }
.nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: 14.5px; color: var(--ink); letter-spacing: 0.3px;
  padding: 6px 0; position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--gold);
}
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 9px 18px !important; border-radius: 2px; font-size: 14px;
}
.nav-cta:hover { background: var(--navy-deep); color: var(--white) !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 26px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 104px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 320px;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(184,150,62,0.07) 38px, rgba(184,150,62,0.07) 39px);
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow {
  font-family: Arial, sans-serif; text-transform: uppercase; letter-spacing: 3px;
  font-size: 12.5px; color: var(--gold-soft); margin-bottom: 22px;
}
.hero h1 { color: var(--white); font-size: 46px; max-width: 760px; margin-bottom: 22px; }
.hero .lead { font-size: 20px; color: #DCE3EE; max-width: 620px; line-height: 1.6; }
.hero .gold-line { width: 64px; height: 3px; background: var(--gold); margin: 0 0 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-family: Arial, sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 2px; letter-spacing: 0.4px;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-soft); color: var(--navy); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.hero-cta { margin-top: 38px; }

/* ---------- Eyebrow / section titles ---------- */
.eyebrow-dark {
  font-family: Arial, sans-serif; text-transform: uppercase; letter-spacing: 3px;
  font-size: 12.5px; color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title { font-size: 32px; margin-bottom: 20px; max-width: 720px; }
.section-lead { font-size: 18px; color: var(--grey); max-width: 680px; margin-bottom: 8px; }

/* ---------- Approach / prose ---------- */
.prose p { margin-bottom: 18px; max-width: 720px; }
.prose p:last-child { margin-bottom: 0; }
.prose .first-letter { }

/* ---------- Pillars (cards) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.pillar {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 32px 26px; transition: box-shadow 0.25s, transform 0.25s;
}
.pillar:hover { box-shadow: 0 14px 40px rgba(27,58,107,0.10); transform: translateY(-3px); }
.pillar h3 { font-size: 20px; margin-bottom: 12px; }
.pillar p { font-size: 15.5px; color: var(--grey); margin-bottom: 18px; }
.pillar a { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.pillar a::after { content: " \2192"; color: var(--gold); }

/* ---------- Alt section (ivory) ---------- */
.alt { background: var(--ivory); }
.alt-navy { background: var(--navy); color: var(--white); }
.alt-navy .section-title, .alt-navy h2, .alt-navy h3 { color: var(--white); }
.alt-navy .section-lead { color: #DCE3EE; }
.alt-navy .eyebrow-dark { color: var(--gold-soft); }

/* ---------- Territory strip ---------- */
.territory { text-align: left; }
.territory .places {
  font-family: Georgia, serif; font-size: 24px; color: var(--navy);
  margin-top: 10px; line-height: 1.8;
}
.alt-navy .territory .places { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: var(--grey); margin: 0; }

/* ---------- Inner page header ---------- */
.page-head { background: var(--navy); color: var(--white); padding: 72px 0 60px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 260px;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(184,150,62,0.07) 38px, rgba(184,150,62,0.07) 39px);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head .gold-line { width: 56px; height: 3px; background: var(--gold); margin-bottom: 24px; }
.page-head h1 { color: var(--white); font-size: 40px; margin-bottom: 16px; }
.page-head .lead { font-size: 19px; color: #DCE3EE; max-width: 640px; }

/* ---------- Content blocks ---------- */
.block { margin-bottom: 44px; }
.block:last-child { margin-bottom: 0; }
.block h2 { font-size: 26px; margin-bottom: 16px; }
.block h3 { font-size: 19px; margin-bottom: 10px; margin-top: 8px; }
.block p { margin-bottom: 16px; max-width: 740px; color: var(--ink); }
.block p:last-child { margin-bottom: 0; }

/* ---------- Format / sub-cards ---------- */
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 12px; }
.format {
  background: var(--ivory); border-left: 3px solid var(--gold); padding: 22px 24px;
}
.format h3 { margin-top: 0; font-size: 18px; }
.format p { font-size: 15.5px; color: var(--grey); margin: 0; }

/* list of fields */
.fields { display: grid; gap: 18px; margin-top: 14px; }
.field-item { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; }
.field-item strong { color: var(--navy); font-family: Georgia, serif; font-size: 17.5px; display: block; margin-bottom: 4px; }
.field-item span { color: var(--grey); font-size: 15.5px; }

/* ---------- Callout box ---------- */
.callout {
  background: var(--ivory); border: 1px solid var(--line); border-left: 4px solid var(--navy);
  padding: 26px 28px; margin-top: 28px;
}
.callout h3 { color: var(--navy); margin-top: 0; font-size: 18px; margin-bottom: 10px; }
.callout p { font-size: 15.5px; color: var(--grey); margin-bottom: 0; }

/* ---------- Experience tag ---------- */
.exp-tag {
  background: var(--navy); color: var(--white); padding: 26px 28px; margin-top: 28px;
}
.exp-tag h3 { color: var(--white); margin-top: 0; font-size: 18px; margin-bottom: 10px; }
.exp-tag p { color: #DCE3EE; font-size: 15.5px; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-family: Arial, sans-serif; font-size: 15px; color: var(--ink); background: var(--white);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--grey-light); margin-top: 14px; line-height: 1.5; }
.coords { background: var(--ivory); padding: 32px 30px; border-top: 3px solid var(--gold); }
.coords h3 { font-size: 19px; margin-bottom: 18px; }
.coords .row { margin-bottom: 16px; }
.coords .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); display: block; margin-bottom: 2px; }
.coords .v { font-size: 16px; color: var(--ink); }
.coords .sig { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.coords .sig .name { font-family: Georgia, serif; font-size: 17px; color: var(--navy); font-weight: 700; }
.coords .sig .role { font-size: 14px; color: var(--grey); font-style: italic; }

/* ---------- Publications (coming soon) ---------- */
.coming { text-align: center; padding: 30px 0 10px; }
.coming .badge {
  display: inline-block; background: var(--ivory); color: var(--gold); border: 1px solid var(--gold);
  padding: 6px 16px; border-radius: 20px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 26px;
}
.coming p { max-width: 560px; margin: 0 auto 16px; color: var(--grey); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 19px; margin-top: 30px; margin-bottom: 8px; color: var(--navy); }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 15.5px; color: var(--ink); margin-bottom: 6px; max-width: 760px; }
.legal .muted { color: var(--grey); font-size: 14.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #C2CCDB; padding: 54px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer .brand-f { font-family: Georgia, serif; font-size: 21px; color: var(--white); letter-spacing: 1px; margin-bottom: 12px; }
.site-footer .brand-f span { color: var(--gold-soft); font-style: italic; font-weight: 400; font-size: 14px; display: block; margin-top: 2px; letter-spacing: 0.5px; }
.site-footer p { font-size: 14.5px; line-height: 1.7; color: #AAB6C8; }
.site-footer h4 { color: var(--white); font-family: Arial, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul li a { color: #AAB6C8; font-size: 14.5px; }
.site-footer ul li a:hover { color: var(--gold-soft); }
.site-footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px;
  font-size: 13px; color: #8895A8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 18px 28px; gap: 16px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .pillars { grid-template-columns: 1fr; }
  .formats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 18px; }
  .page-head h1 { font-size: 30px; }
  .section-title { font-size: 26px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .hero { padding: 70px 0 60px; }
  .hero h1 { font-size: 29px; }
}
