/* HoldingExperte – Stylesheet */

@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #06335f;
  --navy-deep: #042544;
  --teal: #02aa9f;
  --teal-ink: #017a73;
  --teal-soft: #e3f5f3;
  --mist: #f1f5f8;
  --line: #d6e0e8;
  --text: #1b2b3b;
  --muted: #556779;
  --white: #fff;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
strong { font-weight: 650; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 1rem; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1; }
.brand-word b { font-weight: 700; color: var(--navy); }
.brand-word span { font-weight: 300; color: var(--teal); }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--navy); text-decoration: none; font-size: .98rem; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.nav a.btn { padding: .6rem 1.1rem; border: 0; color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: .55rem .8rem; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--teal-ink); color: #fff; transform: translateY(-1px); }
.btn.teal { background: var(--teal); color: var(--navy-deep); font-weight: 600; }
.btn.teal:hover { background: #fff; color: var(--navy); }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Hero */
.hero { background: var(--navy); color: #dbe7f1; padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -180px; bottom: -260px; width: 620px; height: 620px;
  border-radius: 50%; background: var(--teal); opacity: .14;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #5fd6cd; }
.hero .lead { font-size: 1.2rem; margin-top: 1.3rem; max-width: 34rem; }
.eyebrow {
  font-family: var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-ink); margin: 0 0 1rem;
}
.hero .eyebrow { color: #5fd6cd; }

.hero-sub { padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(2.6rem, 5vw, 4rem); }
.hero-sub .wrap { display: block; }
.hero-sub .lead { max-width: 44rem; }

.crumbs { font-size: .9rem; margin: 0 0 1.4rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; color: #9fb6ca; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .6; }
.crumbs a { color: #c9d9e7; }
.crumbs a:hover { color: #fff; }

/* Diagrams */
.diagram-card { background: #fff; border-radius: 20px; padding: 1.4rem; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: center; margin: 0; }
.ba figure { margin: 0; }
.ba figcaption {
  font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-align: center; margin-bottom: .4rem;
}
.ba .after figcaption { color: var(--teal-ink); }
.ba figure svg { display: block; width: 100%; height: auto; }
.ba-arrow { color: var(--teal); width: 34px; height: auto; flex: none; }
.ba-wide { background: var(--mist); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem 1.4rem; max-width: 760px; }
.dg-line { stroke: var(--navy); stroke-width: 2; fill: none; }
.dg-box { fill: #fff; stroke: var(--navy); stroke-width: 1.6; }
.dg-box.holding { fill: var(--navy); }
.dg-box.op { stroke: var(--teal); stroke-width: 2; }
.dg-box.asset { stroke-dasharray: 5 4; fill: var(--mist); }
.dg-person { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 2; }
.dg-t { font-family: var(--display); font-size: 13.5px; font-weight: 600; fill: var(--navy); text-anchor: middle; }
.dg-s { font-family: var(--body); font-size: 11px; fill: var(--muted); text-anchor: middle; }
.holding-t { fill: #fff; }
.holding-s { fill: #b9cee0; }

/* Sections */
section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
section.tint { background: var(--mist); }
.section-head { max-width: 44rem; margin-bottom: 2.4rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: .9rem 0 0; }

/* Situation cards */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.situations a {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem; text-decoration: none; color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.situations a:hover { border-color: var(--teal); box-shadow: 0 14px 30px -18px rgba(6, 51, 95, .45); transform: translateY(-2px); }
.situations q { quotes: "«" "»"; font-family: var(--display); font-size: 1.14rem; font-weight: 500; color: var(--navy); line-height: 1.35; display: block; }
.situations .to { margin-top: auto; padding-top: 1.2rem; font-weight: 600; color: var(--teal-ink); font-size: .96rem; }
.situations .to::after { content: " →"; }

/* Key figures */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.figures > div { padding: 1.8rem 1.6rem 0 0; }
.figures > div + div { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.figures dt { font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 600; color: var(--navy); line-height: 1; }
.figures dt small { font-size: .45em; font-weight: 500; color: var(--teal-ink); margin-left: .15em; }
.figures dd { margin: .8rem 0 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.2rem; padding: 0 0 1.8rem; position: relative; }
.steps li::before {
  content: counter(step); font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--navy);
  width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #fff; border: 2px solid var(--teal);
  display: grid; place-items: center; position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.7rem; top: 3.4rem; bottom: 0; width: 2px; background: var(--line); transform: translateX(-1px); }
.steps h3 { margin-top: .75rem; }
.steps p { margin: .35rem 0 0; color: var(--muted); }

/* Two column layout */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split > .section-head { margin-bottom: 0; position: sticky; top: 100px; }

/* Lists */
.checks, .warns, .plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.checks li, .warns li { display: grid; grid-template-columns: 1.9rem 1fr; gap: .9rem; }
.checks li::before, .warns li::before {
  content: ""; width: 1.9rem; height: 1.9rem; border-radius: 50%; margin-top: .1rem;
  background: var(--teal-soft) center / 56% no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23017a73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.warns li::before {
  background-color: #fdf1dc;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23915a00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v8M12 18.2v.1'/%3E%3C/svg%3E");
}
.checks h3, .warns h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.checks p, .warns p { margin: 0; color: var(--muted); }
.ref {
  display: inline-block; font-size: .78rem; font-weight: 600; color: var(--teal-ink);
  background: var(--teal-soft); border-radius: 6px; padding: .08rem .45rem; margin-left: .2rem; white-space: nowrap; vertical-align: 1px;
}

.prose h2 { margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* Table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .98rem; }
th, td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--display); font-weight: 600; color: var(--navy); background: var(--mist); font-size: .9rem; }
tbody tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }

/* Glossary */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.6rem; margin: 0; }
.glossary dt { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 1.1rem; }
.glossary dd { margin: .3rem 0 0; color: var(--muted); }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.person p { margin: .4rem 0 0; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--teal); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.4rem; position: relative;
  font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--teal-ink); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Related */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.related a { display: block; height: 100%; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; }
.related a:hover { border-color: var(--teal); }
.related b { font-family: var(--display); font-weight: 600; color: var(--navy); display: block; }
.related span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { background: var(--navy); color: #dbe7f1; }
.contact h2 { color: #fff; }
.contact .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact .lead { font-size: 1.15rem; margin-top: 1rem; max-width: 30rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-list li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.25rem; }
.contact-list a span { font-family: var(--body); font-size: .9rem; color: #9fb6ca; }
.contact-list a:hover { color: #5fd6cd; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.8rem; font-size: .98rem; }
.offices b { color: #fff; font-family: var(--display); font-weight: 600; display: block; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9fb6ca; padding: 2.6rem 0; font-size: .93rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #dbe7f1; text-decoration: none; }
.site-footer a:hover { color: #5fd6cd; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #5fd6cd; margin-bottom: .8rem; font-weight: 600; }
.site-footer .brand-word b { color: #fff; }
.site-footer .note { margin-top: 1rem; max-width: 26rem; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: space-between; }

/* Responsive */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.2rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 1rem; justify-content: center; }
}
@media (max-width: 860px) {
  .hero .wrap, .split, .contact .wrap { grid-template-columns: 1fr; }
  .split > .section-head { position: static; margin-bottom: 2rem; }
  .situations, .related { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
  .glossary { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .situations, .related, .people, .offices { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .figures > div, .figures > div + div { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .brand-word { font-size: 1.25rem; }
  .brand svg { width: 34px; height: 34px; }
  .contact-list a { flex-direction: column; gap: .1rem; font-size: 1.15rem; }
  .diagram-card { padding: 1rem .7rem; }
  .ba { gap: .2rem; }
  .ba-arrow { width: 22px; }
  .steps li { grid-template-columns: 2.8rem 1fr; gap: .9rem; }
  .steps li::before { width: 2.8rem; height: 2.8rem; }
  .steps li:not(:last-child)::after { left: 1.4rem; top: 2.8rem; }
  .steps h3 { margin-top: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .site-header, .contact, .site-footer, .btn-row { display: none; }
  .hero { background: none; color: #000; padding: 0 0 1rem; }
  .hero h1 { color: #000; }
}
