/* ==========================================================================
   Friedland Gestion — feuille de style
   ========================================================================== */

:root {
  --navy: #00305b;
  --navy-deep: #030861;
  --blue: #116dff;
  --gold: #b0a986;
  --gold-light: #d9d3bd;
  --ink: rgba(0, 0, 0, 0.82);
  --ink-muted: rgba(0, 0, 0, 0.6);
  --gray: #5f6360;
  --paper: #ffffff;
  --paper-tint: #f7f8fa;
  --line: #e2e6ea;
  --red: #df3131;

  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
h5,
h6 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 1.1em;
}

ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---------------------------------- Header ---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.logo:hover,
.logo:focus-visible {
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.logo-word {
  font-family: var(--font-serif);
  line-height: 1.1;
}

.logo-word strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--navy);
}

.logo-word span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Nav ---------------------------------------------------------------- */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--navy);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > .container,
.main-nav {
  position: relative;
}

.main-nav .nav-list {
  display: flex;
}

.main-nav a {
  color: var(--navy);
  text-decoration: none;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.nav-item > .nav-top-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > a:focus-visible,
.nav-item.is-open > .nav-top-link {
  color: var(--blue);
  text-decoration: none;
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  border-radius: 4px;
  padding: 10px 18px !important;
}

.nav-cta:hover {
  background: var(--blue);
}

.dropdown {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: 0 12px 24px rgba(0, 48, 91, 0.14);
  display: none;
}

.nav-item:hover > .dropdown,
.nav-item.is-open > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--ink);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  white-space: normal;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--paper-tint);
  color: var(--blue);
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  color: var(--blue);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 40px;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-item > a,
  .nav-item > .nav-top-link {
    padding: 16px 4px;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    display: none;
    padding: 0 0 8px 12px;
  }

  .nav-item.is-open > .dropdown {
    display: block;
  }

  .nav-cta {
    margin: 16px 4px;
    text-align: center;
  }
}

/* ---------------------------------- Hero ---------------------------- */

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 56px 0 44px;
}

.page-hero .eyebrow {
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.3em;
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  font-size: 1.05rem;
}

.rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 18px 0 0;
}

.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------------------------------- Sections -------------------------- */

.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-tint {
  background: var(--paper-tint);
}

.section-title {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}

.lede-lg {
  font-size: 1.1rem;
  color: var(--ink);
  max-width: 74ch;
}

/* ---------------------------------- Cards ----------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 28px;
  border-radius: 4px;
}

.card h3 {
  margin-bottom: 0.4em;
}

.card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(176, 169, 134, 0.22);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.card .meta {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 1em;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------------------------------- Fact table ------------------------ */

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: 0.94rem;
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.fact-table th {
  width: 42%;
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
}

.fact-table tr:nth-child(odd) {
  background: var(--paper-tint);
}

.fund-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-bottom: 24px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.fund-meta strong {
  color: var(--navy);
}

.callout {
  border-left: 3px solid var(--gold);
  background: var(--paper-tint);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0 0 1.4em;
}

.callout-risk {
  border-left-color: var(--red);
}

.callout h5 {
  text-transform: none;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: normal;
  color: inherit;
  margin: 0 0 0.7em;
}

.callout h5:last-child {
  margin-bottom: 0;
}

/* ---------------------------------- Team ------------------------------ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.team-card h4 {
  margin-bottom: 0.2em;
}

.team-card .role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7em;
  display: block;
}

.team-card .bio-emphasis {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--navy);
}

.team-group + .team-group {
  margin-top: 48px;
}

/* ---------------------------------- Press ------------------------------ */

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.press-item {
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  padding: 20px 24px;
  border-radius: 4px;
}

.press-item h2 {
  font-size: 1.15rem;
  margin-bottom: 0.3em;
}

.press-item a {
  color: var(--navy);
}

.press-item a:hover {
  color: var(--blue);
}

/* ---------------------------------- Contact ---------------------------- */

.contact-block dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 1.1em;
}

.contact-block dd {
  margin: 2px 0 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
}

/* ---------------------------------- Buttons ----------------------------- */

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.btn:hover,
.btn:focus-visible {
  background: var(--blue);
  text-decoration: none;
}

/* ---------------------------------- Footer ------------------------------ */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid h5 {
  color: var(--gold-light);
  margin-bottom: 1em;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand .logo-word strong,
.footer-brand .logo-word span {
  color: #fff;
}

.footer-brand .logo-word span {
  color: var(--gold-light);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------- Utility ------------------------------ */

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