:root {
  /* Brand, sampled from the PÙRBAC logo */
  --color-blue: #1D49A7;
  --color-blue-600: #173C8C;
  --color-blue-900: #0E2457;
  --color-green: #295C42;
  --color-green-soft: #DCEBE2;
  --color-ink: #0B0F14;

  --color-accent: #1D49A7;
  --color-accent-hover: #173C8C;
  --color-bg: #FFFFFF;
  --color-tint: #F3F6FB;
  --color-fg: #0B0F14;
  --color-muted-fg: #4B5563;
  --color-en: #5D6573;
  --color-en-dark: #A9B6D3;
  --color-border: #DDE3EE;
  --color-error: #B91C1C;

  --shadow-sm: 0 1px 2px rgba(14, 36, 87, .06), 0 10px 24px -14px rgba(14, 36, 87, .22);
  --shadow-lg: 0 2px 6px rgba(14, 36, 87, .06), 0 30px 60px -28px rgba(14, 36, 87, .4);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-section: clamp(64px, 9vw, 112px);
  --container: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 200ms;
  --z-nav: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  accent-color: var(--color-blue);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--color-green-soft); color: var(--color-ink); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--color-blue); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-green); outline-offset: 3px; border-radius: 6px; }

/* Bilingual pattern: French is primary, English sits right under it, lighter and italic. */
.en {
  display: block; margin-top: .3em;
  font-size: max(.82em, 13px); font-style: italic; font-weight: 400; letter-spacing: 0;
  color: var(--color-en);
}
h1 .en, h2 .en { font-size: max(.55em, 13px); font-weight: 500; line-height: 1.3; margin-top: .45em; }
h3 .en { font-size: .78em; font-weight: 500; }
.trust .en, .included .en, .choice .en, label .en, legend .en { display: inline; margin: 0 0 0 .35em; }
.included .en, .trust .en { display: block; margin: .1em 0 0; }
.section-dark .en { color: var(--color-en-dark); }

/* Buttons */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 8px 26px; border-radius: 999px; line-height: 1.25; text-align: center;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-sm { min-height: 44px; padding: 4px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--color-ink); color: #fff; }
.btn-primary:hover { background: #222a35; }
.btn-accent { background: var(--color-blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(29, 73, 167, .6); }
.btn-accent:hover { background: var(--color-accent-hover); }
.btn-en { font-size: .8em; font-weight: 500; font-style: italic; opacity: .8; }
.nav-en { display: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.logo img { height: 30px; width: auto; }
.logo-par { font-size: 13px; font-weight: 600; color: var(--color-green); white-space: nowrap; }
.nav-links { display: none; gap: 28px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; color: var(--color-muted-fg); }
.nav-links a:hover { color: var(--color-blue); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--color-border); border-radius: 999px; background: #fff; color: var(--color-ink); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; overflow: visible; }
.menu-line { transform-box: fill-box; transform-origin: center; transition: transform 260ms var(--ease); }
.menu-toggle[aria-expanded="true"] { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.menu-toggle[aria-expanded="true"] .menu-line-1 { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line-2 { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-lg);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 220ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 220ms var(--ease), transform 260ms var(--ease), visibility 0s; }
.mobile-menu-inner { display: grid; padding-top: 8px; padding-bottom: 20px; }
.mobile-menu-inner a:not(.btn) {
  display: block; padding: 14px 4px; font-size: 19px; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu-inner .btn { margin-top: 16px; }
.mobile-menu-inner .btn .en { color: rgba(255, 255, 255, .75); }

@media (max-width: 479px) {
  .logo img { height: 24px; }
  .logo-par { display: none; }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-menu { display: none; }
}

/* Shared section bits */
.section { padding: var(--space-section) 0; }
.section-tint { background: var(--color-tint); }
.section-dark { background: var(--color-blue-900); color: #fff; }
.section-title { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--color-muted-fg); font-size: 18px; max-width: 640px; margin-bottom: 40px; }
.section-cta { margin-top: 40px; text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-green); margin-bottom: 16px;
}
.eyebrow .en { display: block; margin-top: .35em; text-transform: none; letter-spacing: 0; font-size: 1em; }
.eyebrow-light { color: #9FD3B5; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--color-muted-fg); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0; background: linear-gradient(180deg, var(--color-tint), #fff); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero-inner > * { min-width: 0; }
.hero h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; max-width: 600px; }
.hero-ctas { margin-bottom: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.trust svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--color-green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; margin: 0 auto; width: 100%; max-width: 560px; }
.hero-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stat-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 12px 16px; max-width: 260px;
}
.stat-chip strong { font-size: 26px; font-weight: 800; color: var(--color-blue); line-height: 1; white-space: nowrap; }
.stat-chip span { font-size: 14px; font-weight: 700; line-height: 1.3; }
.stat-chip .en { display: block; margin: 2px 0 0; }
.hero-visual { padding-bottom: 28px; }
.stat-chip--a { bottom: 0; left: -16px; }
.stat-chip--b { bottom: 0; right: -16px; }
.stat-chip--b strong { color: var(--color-green); }
@media (max-width: 559px) {
  .hero-visual { padding-bottom: 0; }
  .stat-chip { position: static; max-width: none; margin-top: 10px; box-shadow: var(--shadow-sm); }
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
}

/* Trust strip */
.trust-strip { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: #fff; }
.trust-strip-inner { display: grid; grid-template-columns: 1fr; gap: 20px 16px; padding-top: 24px; padding-bottom: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item p { font-weight: 700; font-size: 15px; line-height: 1.3; }
.trust-item .en { margin-top: 2px; }
.trust-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--color-tint); color: var(--color-blue); }
.trust-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 560px) { .trust-strip-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .trust-strip-inner { grid-template-columns: repeat(4, 1fr); } }

/* About */
.bilingual-block .fr-text { font-size: 19px; line-height: 1.7; }
.bilingual-block .en { font-size: 17px; line-height: 1.7; margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--color-border); }

/* Cards */
.cards { display: grid; gap: 20px; }
.card, .sector {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3, .sector h3 { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.sector h3 { font-size: 18px; margin-bottom: 8px; }
.sector p { color: var(--color-muted-fg); font-size: 15px; }
.card-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 14px; background: var(--color-green-soft); color: var(--color-green);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.included li { position: relative; padding-left: 22px; font-weight: 600; font-size: 15px; }
.included li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--color-blue);
}
@media (min-width: 720px) {
  .cards-sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-sectors { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1120px) {
  .cards-sectors { grid-template-columns: repeat(4, 1fr); }
}
.card, .sector { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card:hover, .sector:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #C9D4EA; }
.sector-cta {
  display: flex; flex-direction: column; justify-content: center; text-decoration: none;
  background: var(--color-blue); border-color: var(--color-blue); color: #fff;
}
.sector-cta p, .sector-cta .en { color: #DCE6FA; }
.sector-cta:hover { background: var(--color-blue-600); border-color: var(--color-blue-600); }
.sector-cta-link { margin-top: 16px; font-weight: 800; }
.sector-cta-link span { white-space: nowrap; }

/* Environment */
.env-inner { display: grid; gap: 40px; align-items: start; }
.env-copy p { color: #E3E9F6; font-size: 18px; max-width: 560px; }
.env-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.env-steps li {
  counter-increment: step; position: relative; padding: 22px 22px 22px 76px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-md);
}
.env-steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--color-green); color: #fff; font-weight: 800;
}
.env-steps strong { font-size: 18px; }
.env-steps > li > .en { display: inline; margin-left: .4em; }
.env-steps p { margin-top: 6px; color: #E3E9F6; }
@media (min-width: 900px) { .env-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* How it works */
.process { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: none; }
.process-step { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 28px; }
.process-num { display: block; font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--color-blue); margin-bottom: 14px; }
.process-step h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.process-step p { color: var(--color-muted-fg); font-size: 15px; }
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process-step:not(:last-child)::after {
    content: ""; position: absolute; top: 38px; right: -21px; width: 22px; height: 2px; background: var(--color-border);
  }
}

/* Final CTA */
.cta-band { background: linear-gradient(135deg, var(--color-blue-900), var(--color-blue)); color: #fff; padding: clamp(56px, 8vw, 88px) 0; }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta-band .section-title { margin-bottom: 12px; }
.cta-band p { color: #DCE6FA; font-size: 18px; max-width: 620px; }
.cta-band .en { color: var(--color-en-dark); }
.btn-light { background: #fff; color: var(--color-blue-900); justify-self: start; }
.btn-light:hover { background: var(--color-green-soft); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 48px; } }

/* Quote page */
.quote-inner { display: grid; gap: 40px; align-items: start; }
.quote-inner > * { min-width: 0; }
.quote-intro h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 18px; }
.quote-intro .lead { margin-bottom: 28px; }
.trust-stack { grid-template-columns: 1fr !important; }
.trust-stack a { color: var(--color-blue); }
.quote-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(20px, 4vw, 36px);
}
.quote-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.optional { font-weight: 500; color: var(--color-en); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 16px; color: var(--color-fg);
  background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease);
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.choice-row:has([aria-invalid="true"]) .choice { border-color: var(--color-error); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-blue); box-shadow: 0 0 0 3px rgba(29, 73, 167, .15); }
.choice-row { display: grid; gap: 8px; margin-top: 4px; }
@media (min-width: 560px) { .choice-row { grid-template-columns: repeat(3, 1fr); } }
.choice {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
}
.field .choice input { width: 20px; height: 20px; min-height: 0; flex: none; padding: 0; margin: 0; box-shadow: none; }
.choice:has(input:checked) { border-color: var(--color-blue); background: var(--color-tint); }
.choice .en { display: block; margin: 0; font-size: 13px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--color-muted-fg); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.consent .en { display: block; margin: 4px 0 0; }
.consent a { color: var(--color-blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  padding: 12px 14px; border-radius: var(--radius-sm);
  background: #FEF2F2; color: var(--color-error); font-weight: 600; font-size: 14px;
}
.form-success { text-align: center; padding: 24px 8px; }
.form-success:focus { outline: none; }
.form-success h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.form-success p { color: var(--color-muted-fg); margin-bottom: 28px; }
.success-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%; background: var(--color-green-soft); color: var(--color-green);
}
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) { .quote-inner { grid-template-columns: .85fr 1.15fr; gap: 56px; } .quote-intro { position: sticky; top: 110px; } }

/* Privacy */
.prose h1 { font-size: clamp(32px, 5vw, 46px); font-weight: 800; margin-bottom: 32px; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 36px 0 10px; }
.prose p { font-size: 17px; }
.prose a { color: var(--color-blue); }

/* Footer */
.footer { background: var(--color-ink); color: #D5DAE3; padding: 56px 0 40px; font-size: 15px; }
.footer-inner { display: grid; gap: 32px; }
.footer a { color: #fff; }
.footer .en { color: #8D96A6; font-size: .9em; }
.footer-logo { height: 28px; width: auto; margin-bottom: 14px; }
.footer-corp { font-weight: 800; color: #fff; letter-spacing: .04em; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8D96A6; margin-bottom: 10px; }
.footer-label .en { display: inline; margin-left: .4em; font-size: 1em; text-transform: none; letter-spacing: 0; }
.footer p + p { margin-top: 8px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }

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