:root {
  --hileo-ink: #0d1523;
  --hileo-ink-soft: #141d2e;
  --hileo-blue: #1a49e5;
  --hileo-blue-dark: #1338b4;
  --hileo-blue-light: #5c7bff;
  --hileo-paper: #f4f4f2;
  --hileo-white: #fbfbfa;
  --hileo-muted: #5a6474;
  --hileo-line: rgba(13, 21, 35, .12);
  --hileo-display: "Schibsted Grotesk", system-ui, sans-serif;
  --hileo-body: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body,
.page-shell { background: var(--hileo-paper) !important; color: var(--hileo-ink) !important; }
.page-shell { overflow-x: hidden !important; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a { transition: color .18s ease, background .18s ease, border-color .18s ease; }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 3px solid var(--hileo-blue-light); outline-offset: 4px; }

/* Identité et navigation */
.site-header {
  background: rgba(244, 244, 242, .97) !important;
  border-color: var(--hileo-line) !important;
  backdrop-filter: blur(14px) !important;
}
.nav-inner { max-width: 1320px !important; padding: 17px 40px !important; }
.site-logo,
.footer-logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--hileo-ink);
  text-decoration: none;
}
.site-logo::after { content: none !important; }
.brand-mark { display: block; width: 116px; height: auto; flex-shrink: 0; }
.footer-logo { color: #fff; }
.footer-logo:hover { color: #fff; }
.primary-nav a { transition: color .18s ease; }
.primary-nav a:hover { color: var(--hileo-blue) !important; }
.header-cta,
.hero-actions a,
.audit-choice-card a { border-radius: 5px !important; }
.site-primary-cta,
.hero-actions a:last-child,
.entry-path-card a,
.audit-choice-card a,
.skip-link,
.mobile-menu-toggle {
  font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
  font-weight: 600 !important;
}
/* Typographie commune aux trois CTA principaux. */
.site-primary-cta {
  font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
  font-weight: 600 !important;
}
.header-cta:hover,
.hero-actions a:first-child:hover { background: var(--hileo-blue-dark) !important; color: #fff !important; }
.hero-actions a:last-child:hover { background: rgba(13,21,35,.04) !important; border-color: var(--hileo-ink) !important; color: var(--hileo-ink) !important; }

/* Premier écran */
#haut {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hileo-paper) !important;
}
#haut::before,
#haut h1 span::after { content: none !important; }
.hero { max-width: 1320px; margin: 0 auto; padding: 66px 40px 72px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(390px, .72fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
}
.hero-copy-column { min-width: 0; }
.hero-eyebrow {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 12ch !important;
  margin: 29px 0 0 !important;
  font-size: clamp(52px, 6.25vw, 88px) !important;
  line-height: 1.01 !important;
  letter-spacing: -.062em !important;
  text-shadow: none !important;
}
.hero-intro {
  max-width: 42ch !important;
  margin: 27px 0 0 !important;
  color: var(--hileo-muted) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}
.hero-actions { margin-top: 28px; gap: 18px !important; }
.hero-actions a {
  min-height: 54px;
  padding: 14px 20px !important;
  font-size: 15px !important;
  transition: color .18s ease, background .18s ease, border-color .18s ease !important;
}
.hero-actions a:hover { transform: none !important; box-shadow: none !important; }

/* Carte du déroulé */
.report-card {
  min-width: 0;
  background: var(--hileo-white);
  border: 1px solid var(--hileo-line);
  padding: 28px;
  box-shadow: 12px 12px 0 #e7e6e2;
}
.report-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(13,21,35,.15);
  color: var(--hileo-ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.report-top span:last-child { color: var(--hileo-blue); font-size: 22px; line-height: .7; }
.report-card h2 {
  max-width: 13ch;
  margin: 25px 0 8px;
  font-family: var(--hileo-display);
  font-size: clamp(27px, 2.6vw, 36px) !important;
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.06;
}
.report-promise { margin: 0 0 18px; color: var(--hileo-muted); font-size: 13px !important; }
.report-steps { margin: 0; padding: 0; list-style: none; }
.report-steps li,
.report-bottom { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 15px; }
.report-steps li { padding: 13px 0; border-top: 1px solid rgba(13,21,35,.14); }
.report-steps li > span,
.report-bottom > span { color: var(--hileo-blue); font-size: 11px; font-weight: 600; padding-top: 3px; }
.report-steps strong,
.report-bottom strong { display: block; font-family: var(--hileo-display); font-size: 15px; font-weight: 600; line-height: 1.2; }
.report-steps p,
.report-bottom p { margin: 3px 0 0; color: var(--hileo-muted); font-size: 12.5px !important; line-height: 1.35; }
.report-bottom {
  margin: 0 -28px -28px;
  padding: 19px 28px 20px;
  background: var(--hileo-ink);
  color: #fff;
}
.report-bottom > span { color: var(--hileo-blue-light); }
.report-bottom p { color: #b8bfca; }

/* Deux parcours d’entrée */
.entry-paths { background: var(--hileo-paper); border-bottom: 1px solid var(--hileo-line); }
.entry-paths > div { padding-top: clamp(44px,5vw,68px); padding-bottom: clamp(44px,5vw,68px); }
.entry-paths-head {
  display: grid;
  grid-template-columns: minmax(180px,.55fr) minmax(0,1.45fr);
  gap: clamp(28px,5vw,72px);
  align-items: end;
  margin-bottom: 28px;
}
.entry-paths-head > p {
  margin: 0 0 5px;
  color: var(--hileo-blue);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.entry-paths-head h2 {
  max-width: 23ch;
  margin: 0;
  font-size: clamp(29px,3.5vw,46px) !important;
  letter-spacing: -.04em;
}
.entry-paths-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.entry-path-card {
  display: grid;
  min-height: 285px;
  grid-template-rows: auto auto 1fr auto;
  padding: 27px;
  border: 1px solid var(--hileo-line);
  background: var(--hileo-white);
}
.entry-path-card > span { color: var(--hileo-blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.entry-path-card h3 { max-width: 18ch; margin: 36px 0 10px; font-size: clamp(24px,2.4vw,31px); line-height: 1.05; }
.entry-path-card p { max-width: 50ch; margin: 0 0 28px; color: var(--hileo-muted); font-size: 15px !important; line-height: 1.5; }
.entry-path-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 13px 17px;
  border: 1px solid var(--hileo-ink);
  border-radius: 5px;
  color: var(--hileo-ink);
  font-family: var(--hileo-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.entry-path-card a:hover { background: var(--hileo-ink); color: #fff; }
.entry-path-primary { border-color: var(--hileo-blue); background: var(--hileo-blue); color: #fff; }
.entry-path-primary > span { color: rgba(255,255,255,.7); }
.entry-path-primary p { color: rgba(255,255,255,.78); }
.entry-path-primary a { border-color: #fff; background: #fff; color: var(--hileo-blue); }
.entry-path-primary a:hover { border-color: var(--hileo-ink); background: var(--hileo-ink); color: #fff; }

/* Système de sections */
section:not(.hero) > div { max-width: 1320px !important; padding-left: 40px !important; padding-right: 40px !important; }
section:not(.hero) h2 { font-size: clamp(30px, 4vw, 50px) !important; line-height: 1.08 !important; }
#audit-revele { background: var(--hileo-ink) !important; }
#audit-revele::after,
#cabinet::after { content: none !important; }
#audit-revele [style*="background:#141d2e"] {
  background: var(--hileo-ink-soft) !important;
  border-radius: 5px !important;
  transition: border-color .18s ease, background .18s ease;
}
#audit-revele [style*="background:#141d2e"]:hover {
  transform: none !important;
  background: #182235 !important;
  border-color: rgba(92,123,255,.7) !important;
}
#audit-revele [style*="background:#1a49e5"] {
  border-radius: 5px !important;
  background: var(--hileo-blue) !important;
  box-shadow: none !important;
}
#audit-revele a { border-radius: 5px !important; }

#situations,
#constats { background: var(--hileo-white) !important; }
#situations [style*="display:grid"] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
#situations a { margin: 0 !important; padding-inline: 4px !important; border-radius: 0 !important; }
#situations a:hover { padding-inline: 10px !important; background: rgba(26,73,229,.045) !important; color: var(--hileo-blue) !important; }
#situations a span:last-child { transition: transform .18s ease; }
#situations a:hover span:last-child { transform: translateX(3px); }

.cases-note { border-left-width: 1px; }
.case-row { padding: 28px 0; }
#constats article { margin-inline: 0 !important; padding-inline: 0 !important; border-radius: 0 !important; }
#constats article:hover { background: transparent !important; }
.case-label { border-radius: 3px; }
.case-detail summary span { border-radius: 2px; }

#couvertures [style*="display:grid"] { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
.coverage-positioning {
  max-width: 68ch;
  margin: -24px 0 clamp(28px,3.4vw,48px);
  color: var(--hileo-muted);
  font-size: 17px !important;
  line-height: 1.55;
}
#couvertures [style*="border-radius"] { border-radius: 5px !important; box-shadow: none !important; }
#couvertures [style*="background:#fbfbfa"] { background: var(--hileo-white) !important; }
#couvertures [style*="background:#fbfbfa"]:hover { transform: none !important; border-color: rgba(26,73,229,.45) !important; box-shadow: none !important; }
#couvertures [style*="background:rgba(26,73,229,.07)"] { background: rgba(26,73,229,.075) !important; }

#cabinet { background: var(--hileo-ink) !important; }
.founder-portrait { border-radius: 5px !important; box-shadow: 12px 12px 0 rgba(92,123,255,.12) !important; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; filter: saturate(.82) contrast(1.03); }
.founder-portrait:hover img { transform: none !important; }

#questions details { transition: background .18s ease; }
#questions details:hover,
#questions details[open] { background: rgba(26,73,229,.035); }
#questions summary { padding-inline: 12px !important; }
#questions details p { padding-left: 12px; }

#audit { background: var(--hileo-blue) !important; }
#audit::before { content: none !important; }
.audit-choice-grid {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1 1 520px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
}
.audit-choice-card {
  display: flex;
  min-height: 280px;
  padding: 25px;
  flex-direction: column;
  border: 1px solid rgba(13,21,35,.12);
  border-radius: 5px;
  background: var(--hileo-white);
  color: var(--hileo-ink);
  box-shadow: 10px 10px 0 rgba(13,21,35,.14);
}
.audit-choice-card > span {
  color: var(--hileo-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.audit-choice-card h3 {
  margin: 30px 0 9px;
  color: var(--hileo-ink);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.08;
}
.audit-choice-card p {
  margin: 0 0 24px;
  color: var(--hileo-muted);
  font-size: 14px;
  line-height: 1.45;
}
.audit-choice-card a {
  display: flex;
  min-height: 50px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border: 1px solid var(--hileo-blue);
  background: var(--hileo-blue);
  color: #fff;
  font-family: var(--hileo-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.audit-choice-card a:hover { transform: none !important; box-shadow: none !important; background: var(--hileo-blue-dark) !important; color: #fff !important; }
.audit-choice-card a[aria-disabled="true"] {
  border-color: rgba(26,73,229,.28);
  background: rgba(26,73,229,.08);
  color: var(--hileo-blue-dark);
  cursor: not-allowed;
}
.audit-choice-card a[aria-disabled="true"]:hover { background: rgba(26,73,229,.08) !important; color: var(--hileo-blue-dark) !important; }
.audit-choice-card small {
  display: block;
  margin-top: 9px;
  color: #727b89;
  font-size: 11px;
  line-height: 1.35;
}

footer { background: var(--hileo-ink) !important; }
footer > div { max-width: 1320px !important; padding-left: 40px !important; padding-right: 40px !important; }

@media (min-width: 761px) {
  .hero-copy-column > *,
  .report-card { animation: hileo-enter .65s both cubic-bezier(.2,.7,.2,1); }
  .hero-copy-column > *:nth-child(2) { animation-delay: .05s; }
  .hero-copy-column > *:nth-child(3) { animation-delay: .1s; }
  .hero-copy-column > *:nth-child(4) { animation-delay: .15s; }
  .report-card { animation-delay: .12s; }
}
@keyframes hileo-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(340px,.72fr); gap: 34px; }
  .hero h1 { font-size: clamp(52px, 6.7vw, 70px) !important; }
}
@media (max-width: 900px) {
  .nav-inner { padding: 13px 22px !important; }
  .hero { padding: 46px 24px 58px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { max-width: 14ch !important; font-size: clamp(50px, 9vw, 76px) !important; }
  .hero-intro { max-width: 55ch !important; }
  .report-card { width: min(100%, 620px); box-shadow: none; }
  section:not(.hero) > div { padding-left: 24px !important; padding-right: 24px !important; }
  #couvertures [style*="display:grid"] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  footer > div { padding-left: 24px !important; padding-right: 24px !important; }
  .entry-paths-head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .hero { padding: 38px 20px 48px; }
  .hero h1 { font-size: clamp(46px, 14vw, 58px) !important; }
  .hero-intro { font-size: 17px !important; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { width: 100%; }
  .report-card { padding: 23px; }
  .report-card h2 { font-size: 30px !important; }
  .report-bottom { margin: 0 -23px -23px; padding: 18px 23px; }
  #situations [style*="display:grid"],
  #couvertures [style*="display:grid"],
  #audit-revele [style*="display:grid"] { grid-template-columns: minmax(0,1fr) !important; }
  section:not(.hero) > div { padding-left: 20px !important; padding-right: 20px !important; }
  footer > div { padding-left: 20px !important; padding-right: 20px !important; }
  .audit-choice-grid { grid-template-columns: 1fr; }
  .audit-choice-card { min-height: 240px; box-shadow: 7px 7px 0 rgba(13,21,35,.14); }
  .entry-paths-grid { grid-template-columns: 1fr; }
  .entry-path-card { min-height: 265px; padding: 23px; }
  .entry-path-card a { width: 100%; }
  .case-detail summary { min-width: 44px; min-height: 44px; align-items: center; padding-block: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy-column > *,
  .report-card { animation: none !important; }
}
