/* SOROGEC — fondations typographiques */
@font-face {
  font-family: 'SOROGEC Sans';
  src: url("manrope-sorogec-match.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-sans: 'SOROGEC Sans', sans-serif;
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;
  --text-eyebrow: clamp(1rem, 1.25vw, 1.15rem);
  --navy: #073f64;
  --navy-deep: #062f4c;
  --teal: #009a9d;
  --teal-dark: #007b80;
  --lime: #9dcb2d;
  --ink: #10232e;
  --muted: #596b74;
  --line: #d9e3e5;
  --mist: #f2f7f6;
  --mint: #e9f5f2;
  --white: #ffffff;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(7, 63, 100, .10);
  --focus: 0 0 0 4px rgba(0, 154, 157, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 9999;
  transform: translateY(-150%); background: var(--navy); color: white;
  padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { transform: none; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-compact { padding: 72px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--navy-deep); color: white; }
.eyebrow {
  margin: 0 0 16px; color: var(--teal-dark); font-size: var(--text-eyebrow); font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.section-dark .eyebrow { color: #73d4cf; }
.display {
  margin: 0; max-width: 860px; font-size: clamp(2.6rem, 6.2vw, 5.9rem);
  line-height: .98; letter-spacing: -.055em; font-weight: 700; text-wrap: balance;
}
h1 { margin: 0; font-size: clamp(2.8rem, 5.4vw, 5.4rem); font-weight: 700; line-height: 1.01; letter-spacing: -.05em; text-wrap: balance; }
h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0; }
.lead { max-width: 740px; margin-top: 24px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.55; }
.section-dark .lead { color: rgba(255,255,255,.78); }

.site-header {
  position: sticky; top: 0; z-index: 1000; height: 78px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(7,63,100,.08);
}
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 174px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-links a { font-size: .84rem; font-weight: 600; text-decoration: none; color: #29424e; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-links .nav-cta { color: white; }
.nav-links .btn { min-height: 42px; padding: 10px 15px; white-space: nowrap; }
.nav-links .btn-social { color: #0a66c2; }
.nav-toggle {
  display: none; min-width: 46px; min-height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--navy);
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s ease;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 21px; border: 1px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-dark); color: white; }
.btn-primary:hover { background: var(--navy); }
.btn-secondary { border-color: #b7c8cc; color: var(--navy); background: white; }
.btn-secondary:hover { border-color: var(--navy); }
.btn-social { border-color: #0a66c2; color: #0a66c2; background: white; }
.btn-social:hover { border-color: #084f96; color: #084f96; background: #f3f8fc; }
.btn-light { background: white; color: var(--navy); }
.btn-ghost-light { color: white; border-color: rgba(255,255,255,.36); }
.btn-ghost-light:hover { border-color: white; }
.text-link { color: var(--teal-dark); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero { overflow: hidden; padding: 66px 0 82px; background: linear-gradient(120deg, #fff 0 58%, #eef8f5 58% 100%); }
.hero-grid { min-height: 650px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 76px; }
.hero-copy { max-width: 760px; }
.hero-copy .lead { max-width: 650px; }
.hero-panel {
  position: relative; min-height: 520px; padding: 48px 44px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--navy-deep); color: white; border-radius: 2px 42px 2px 42px;
}
.hero-panel::before {
  content: ""; position: absolute; width: 430px; height: 430px; right: -190px; top: -165px;
  border: 80px solid var(--teal); border-radius: 50%; opacity: .22;
}
.hero-panel::after {
  content: ""; position: absolute; width: 360px; height: 92px; right: -82px; bottom: 58px;
  background: linear-gradient(90deg, var(--teal), var(--lime)); transform: rotate(-43deg); border-radius: 60px; opacity: .86;
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-kicker { max-width: 270px; color: #b9dedb; font-weight: 600; }
.hero-year { margin: 0; font-size: clamp(5rem, 10vw, 8.8rem); line-height: .86; letter-spacing: -.07em; font-weight: 700; }
.hero-panel p:last-child { max-width: 250px; color: rgba(255,255,255,.78); }
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trust-list { min-height: 102px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-item { padding: 18px 28px; text-align: center; font-weight: 700; color: var(--navy); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item span { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; font-weight: 400; }

.split-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; margin-bottom: 62px; }
.split-heading .lead { margin-top: 0; }
.needs { border-top: 1px solid var(--line); }
.need-row {
  display: grid; grid-template-columns: 90px 1fr 1.1fr 46px; gap: 30px; align-items: center;
  min-height: 132px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.need-row:hover h3, .need-row:hover .need-arrow { color: var(--teal-dark); }
.need-index { color: var(--teal-dark); font-size: .83rem; font-weight: 700; letter-spacing: .08em; }
.need-row p { color: var(--muted); }
.need-arrow { font-size: 1.7rem; transition: transform .18s ease; }
.need-row:hover .need-arrow { transform: translateX(5px); }

.audience-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.audience-list { display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.audience-list span { padding: 13px 18px; border: 1px solid #b9cecb; border-radius: 999px; background: white; color: var(--navy); font-weight: 600; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 62px; border-top: 1px solid rgba(255,255,255,.22); }
.process-step { position: relative; min-height: 260px; padding: 34px 28px 30px 0; }
.process-step + .process-step { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }
.process-number { display: block; margin-bottom: 68px; color: #73d4cf; font-size: 1rem; font-weight: 700; }
.process-step p { margin-top: 12px; color: rgba(255,255,255,.72); font-size: .95rem; }

.modern-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.modern-copy { padding: 54px; background: var(--mint); border-radius: var(--radius); }
.modern-copy .lead { font-size: 1.05rem; }
.tool-panel { padding: 54px; background: var(--navy); color: white; border-radius: var(--radius); }
.tool-name { font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.tool-panel p { max-width: 520px; margin-top: 24px; color: rgba(255,255,255,.75); }
.tool-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.tool-tags span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .85rem; }

.paie-banner { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.paie-copy { padding: 70px; background: white; }
.paie-copy h2 { margin-top: 8px; }
.paie-mark { min-height: 480px; padding: 54px; display: flex; flex-direction: column; justify-content: space-between; background: #0c615f; color: white; }
.paie-plus { font-size: clamp(4.5rem, 9vw, 8rem); line-height: .9; letter-spacing: -.08em; font-weight: 800; }
.paie-mark p { max-width: 360px; color: rgba(255,255,255,.75); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 54px; }
.office { min-height: 330px; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.office-city { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; line-height: 1; font-weight: 700; }
.office address { margin-top: 22px; color: var(--muted); font-style: normal; }
.office .text-link { margin-top: 28px; align-self: flex-start; }

.news-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.feed { display: grid; gap: 14px; }
.feed-card { padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; }
.feed-card:last-child { border-bottom: 1px solid var(--line); }
.feed-card time { color: var(--teal-dark); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.feed-card h3 { margin-top: 10px; }
.feed-card p { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.feed-status { color: var(--muted); }

.faq { max-width: 920px; margin-top: 46px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal-dark); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 760px; padding: 0 0 26px; color: var(--muted); }

.final-cta { padding: 100px 0; background: var(--navy-deep); color: white; }
.final-grid { display: grid; grid-template-columns: 1fr auto; gap: 46px; align-items: end; }
.final-grid h2 { max-width: 850px; }

.site-footer { padding: 58px 0 26px; background: #041f32; color: rgba(255,255,255,.76); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 60px; }
.footer-logo { width: 190px; filter: brightness(0) invert(1); opacity: .95; }
.footer-title { margin-bottom: 14px; color: white; font-weight: 700; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; }

.page-hero { padding: 90px 0 76px; background: var(--mint); }
.page-hero .lead { max-width: 800px; }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.content-grid aside { color: var(--teal-dark); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.prose { max-width: 760px; }
.prose h2 { margin: 0 0 26px; font-size: clamp(2rem,3vw,3rem); }
.prose h3 { margin: 38px 0 12px; }
.prose p + p { margin-top: 18px; }
.prose ul { padding-left: 20px; color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.contact-card { min-height: 190px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card p { margin-top: 14px; color: var(--muted); }
.legal { font-size: .95rem; }
.legal h2 { margin-top: 46px; font-size: 1.6rem; }
.legal p + p { margin-top: 12px; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; display: none; padding: 26px 24px 34px;
    flex-direction: column; align-items: stretch; gap: 4px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; display: flex; align-items: center; padding: 0 12px; }
  .nav-links .btn { justify-content: center; margin-top: 10px; }
}

@media (max-width: 980px) {
  .hero { background: white; }
  .hero-grid, .split-heading, .audience-layout, .modern-grid, .paie-banner, .news-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 50px; }
  .hero-panel { min-height: 440px; }
  .split-heading { gap: 24px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .process-step:nth-child(4) { border-top: 1px solid rgba(255,255,255,.22); }
  .offices { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 78px 0; }
  .section-compact { padding: 56px 0; }
  .brand img { width: 156px; }
  .site-header { height: 70px; }
  .nav-links { inset-block-start: 70px; }
  .hero { padding-top: 48px; }
  .hero-grid { gap: 38px; }
  .hero-panel { min-height: 380px; padding: 34px 28px; border-radius: 2px 28px 2px 28px; }
  .trust-list { grid-template-columns: 1fr; padding: 10px 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .need-row { grid-template-columns: 46px 1fr 30px; gap: 14px; min-height: 116px; }
  .need-row p { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: auto; padding: 26px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .process-step:first-child { border-top: 0; }
  .process-number { margin-bottom: 28px; }
  .modern-copy, .tool-panel, .paie-copy, .paie-mark { padding: 36px 28px; }
  .paie-mark { min-height: 360px; }
  .office { min-height: 280px; padding: 30px; }
  .final-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
