/* ═══════════════════════════════════════════════
   CMA Advisory — Feuille de style partagée
   Charte : Manrope · #1C1C1C · #8A6E4B · #F7F7F7
   ═══════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── BASE ─── */
body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: #1C1C1C;
  background-color: #F7F7F7;
  -webkit-font-smoothing: antialiased;
}

/* ─── TOKENS ─── */
:root {
  --graphite: #1C1C1C;
  --bronze:   #8A6E4B;
  --offwhite: #F7F7F7;
  --white:    #ffffff;
  --border:   #D8D5D0;
  --text-muted: #555;
  --max-w:    1100px;
  --side-pad: clamp(24px, 6vw, 80px);
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--graphite);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { color: #3a3a3a; }
a  { color: inherit; text-decoration: none; }

/* ─── SECTION LABEL ─── */
.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}

/* ─── BRONZE ACCENT LINE ─── */
.accent-line {
  width: 32px;
  height: 2px;
  background: var(--bronze);
  margin-bottom: 20px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--bronze);
  color: var(--bronze);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: 'Manrope', sans-serif;
}
.btn:hover { background: var(--bronze); color: #fff; }

.btn-dark {
  border-color: var(--graphite);
  color: var(--graphite);
}
.btn-dark:hover { background: var(--graphite); color: #fff; }

.btn-white {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ─── LAYOUT ─── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

.page-section {
  padding: 96px var(--side-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-section--white {
  padding: 96px var(--side-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ─── FULL-WIDTH BANDS ─── */
.band {
  padding: 96px var(--side-pad);
}
.band--white   { background: var(--white); border-bottom: 1px solid var(--border); }
.band--dark    { background: var(--graphite); }
.band--border  { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band__inner   { max-width: var(--max-w); margin: 0 auto; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(247, 247, 247, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.35s ease;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.35s ease;
}
.nav-logo img {
  width: 180px;
  height: auto;
  display: block;
  transition: width 0.35s ease;
}

/* ── Scrolled (compact) state ── */
#navbar.scrolled .nav-inner {
  padding: 10px var(--side-pad);
}
#navbar.scrolled .nav-logo img {
  width: 120px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--bronze); }

/* ── Dropdown ── */
.nav-links li {
  position: relative;
}
/* Invisible bridge: extends the li's hover zone over the gap */
.nav-links li::after {
  content: '';
  display: none;
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-links li:hover::after {
  display: block;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--bronze);
  min-width: 210px;
  padding: 4px 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-links li:hover .nav-dropdown {
  display: block;
}
.nav-dropdown li {
  position: static;
  list-style: none;
}
.nav-dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  border-bottom: 1px solid var(--border);
}
.nav-dropdown li:last-child a {
  border-bottom: none;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--bronze);
  background: var(--offwhite);
}

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--graphite);
}

/* ─── PAGE HERO (internal pages) ─── */
.page-hero {
  padding: 165px var(--side-pad) 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 {
  max-width: 700px;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ─── FOOTER ─── */
footer {
  background: #111;
  padding: 36px var(--side-pad);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px 40px;
}
.footer-inner p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
}
.footer-nav li {
  white-space: nowrap;
}
.footer-nav a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--bronze); }
.footer-logo img {
  width: 110px;
  height: auto;
  opacity: 0.75;
}
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-linkedin:hover { color: var(--bronze); }
.footer-linkedin svg { flex-shrink: 0; transition: opacity 0.2s; }

/* Leadership LinkedIn link */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid rgba(138,110,75,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.linkedin-link:hover { color: var(--graphite); border-color: var(--graphite); }
.linkedin-link svg { flex-shrink: 0; }

/* ─── CARD HOVER EFFECTS ─── */

/* Light-background cards */
.card,
.client-item,
.exp-block,
.about-block,
.when-to-contact-card,
.quick-link,
.credential {
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  cursor: default;
}
.card:hover,
.client-item:hover,
.exp-block:hover,
.when-to-contact-card:hover,
.quick-link:hover,
.credential:hover {
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

/* Dark-background cards */
.why-item,
.value-item,
.geo-item {
  transition: transform 0.22s ease, border-color 0.22s ease;
  cursor: default;
}
.why-item:hover,
.value-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
}
.geo-item:hover {
  transform: translateY(-3px);
  border-color: rgba(138,110,75,0.5);
}

/* === QUICK LINKS SECTION === */
.quick-links {
  padding: 80px var(--side-pad);
  background-color: var(--offwhite);
  border-top: 1px solid var(--border);
}
.quick-links-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}
.quick-link {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border);
}
.quick-link h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--graphite);
}
.quick-link p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}
.quick-link-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.quick-link-cta:hover { opacity: 0.7; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* === WHEN TO CONTACT SECTION === */
.when-to-contact {
  padding: 88px var(--side-pad);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.when-to-contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.when-to-contact h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  text-align: center;
  margin-bottom: 12px;
}
.section-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
}
.when-to-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  margin-bottom: 50px;
  border: 1px solid var(--border);
}
.when-to-contact-card {
  padding: 36px 32px;
  background: var(--offwhite);
  border-right: 1px solid var(--border);
}
.when-to-contact-card:last-child { border-right: none; }
.when-to-contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--graphite);
}
.when-to-contact-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.when-to-contact-cta {
  text-align: center;
}

/* === FAQ SECTION === */
.faq-section {
  padding: 60px var(--side-pad);
  max-width: 900px;
  margin: 0 auto;
}
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  padding: 28px 32px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: border-left-color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
  cursor: default;
}
.faq-item:last-child { border-bottom: none; }
.faq-item:hover {
  border-left-color: var(--bronze);
  background: #faf9f7;
  padding-left: 36px;
}
.faq-item h2 {
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-cta {
  text-align: center;
  padding: 80px var(--side-pad);
  background: var(--graphite);
}
.faq-cta h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: #fff;
  margin-bottom: 12px;
}
.faq-cta p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
}

/* === OPERATING PRINCIPLES PAGE === */
.op-section {
  padding: 60px var(--side-pad);
  max-width: 800px;
  margin: 0 auto;
}
.op-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--graphite);
}
.op-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.op-content > p:first-of-type {
  font-size: 1rem;
  color: var(--graphite);
  margin-bottom: 28px;
}
.op-download {
  margin-top: 50px;
  padding: 40px;
  background: var(--offwhite);
  border: 1px solid var(--border);
  text-align: center;
}
.op-download h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.op-download p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.op-cta {
  text-align: center;
  margin-top: 40px;
  padding-bottom: 60px;
}

/* === CAREER TIMELINE === */
.career-timeline {
  padding: 80px var(--side-pad);
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.career-timeline__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.career-timeline h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 48px;
}
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bronze);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
}
.timeline-year {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--graphite);
}
.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* === PROFESSIONAL DETAILS (CREDENTIALS) === */
.credentials-section {
  padding: 80px var(--side-pad);
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
}
.credentials-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.credentials-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 40px;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
}
.credential {
  padding: 32px 28px;
  background: var(--white);
  border-right: 1px solid var(--border);
}
.credential:last-child { border-right: none; }
.credential h3 {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.credential p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === PAGE CTA BAND === */
.page-cta {
  text-align: center;
  padding: 80px var(--side-pad);
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.page-cta h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 16px;
}
.page-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* === IMAGE BREAK BAND (shared) === */
.img-band {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.img-band--tall { height: 420px; }
.img-band__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) grayscale(25%);
}
.img-band__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  display: flex;
  align-items: center;
}
.img-band blockquote {
  max-width: 620px;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  letter-spacing: -0.01em;
}
.img-band blockquote::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--bronze);
  margin-bottom: 24px;
}

/* === SERVICE PAGE LAYOUT === */
.service-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px var(--side-pad) 80px;
}
.service-page-content h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--graphite);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.service-page-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.service-page-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 16px;
}
.service-page-content ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.service-page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--bronze);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 135px; left: 0;
    width: 100%;
    background: var(--offwhite);
    border-bottom: 1px solid var(--border);
    padding: 20px var(--side-pad) 28px;
    gap: 20px;
  }

  /* Footer mobile */
  footer { padding: 40px var(--side-pad) 32px; }
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-logo {
    order: 1;
    margin-bottom: 28px;
  }
  .footer-logo img { width: 90px; opacity: 0.8; }
  .footer-nav {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }
  .footer-nav a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
  }
  .footer-linkedin {
    order: 3;
    margin-bottom: 28px;
  }
  .footer-inner > p {
    order: 4;
    font-size: 0.68rem;
    white-space: normal;
    color: rgba(255,255,255,0.2);
  }
}
