/* ============================================================
   Services Financiers ILB — shared styles
   Palette sampled from logo (indigo #170A4E / royal blue #1841A3)
   ============================================================ */

:root {
  --navy: #170A4E;
  --navy-2: #241068;
  --blue: #1841A3;
  --blue-bright: #2E5BD0;
  --sky: #7DA0E8;
  --ink: #14142B;
  --muted: #5A6478;
  --bg: #FFFFFF;
  --surface: #F5F7FB;
  --surface-2: #EEF2FB;
  --border: #E6E9F2;
  --success: #1E9E6A;

  /* Friendly accent palette (used in small doses to add warmth & rhythm) */
  --c-blue: #2E5BD0;
  --c-green: #1E9E6A;
  --c-amber: #E0912F;
  --c-violet: #6C5CE0;
  --tint-blue: #EEF3FE;
  --tint-green: #E9F7F0;
  --tint-amber: #FCF3E7;
  --tint-violet: #F0EEFB;
  --tint-warm: #FCF8F2;

  --sidebar-w: 264px;
  --maxw: 1080px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20,20,43,.06), 0 1px 3px rgba(20,20,43,.05);
  --shadow-md: 0 6px 18px rgba(23,10,78,.08), 0 2px 6px rgba(23,10,78,.06);
  --shadow-lg: 0 18px 48px rgba(23,10,78,.14);
  --font: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-bright); }
img { max-width: 100%; display: block; }

/* ---------- Layout shell ---------- */
.layout { min-height: 100vh; }

.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

section { padding: clamp(48px, 7vw, 92px) 0; }
.section-surface { background: var(--surface); }

/* ---------- Brand logo (CSS-built, bilingual) ----------
   Matches the original wordmark: Arial-style grotesque, "ILB" heavy,
   tagline in the SAME navy as ILB, only the rule is lighter (blue). */
.brand-logo {
  display: inline-flex; flex-direction: column; gap: 3px; line-height: 1;
  font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
}
.brand-logo .mark {
  font-size: 2.05rem; font-weight: 700; letter-spacing: -.005em; color: var(--navy);
}
.brand-logo .rule { height: 2.5px; width: 100%; background: var(--blue); border-radius: 2px; }
.brand-logo .tag {
  font-size: .6rem; font-weight: 400; letter-spacing: .085em; color: var(--navy);
  text-transform: uppercase; white-space: nowrap;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w);
  background: var(--bg); border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 18px 16px; z-index: 40;
  overflow-y: auto; overscroll-behavior: contain;
}
.sidebar__brand { padding: 2px 8px 12px; }
.sidebar__nav { display: flex; flex-direction: column; gap: 1px; margin-top: 0; }
.sidebar__label {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); opacity: .8; padding: 10px 13px 4px;
}
.sidebar__nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 7.5px 13px; border-radius: 10px;
  color: var(--ink); font-weight: 600; font-size: .92rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.sidebar__nav a .ico { width: 18px; height: 18px; flex: none; color: var(--muted); transition: color .2s; }
.sidebar__nav a:hover { background: var(--surface); color: var(--navy); }
.sidebar__nav a:hover .ico { color: var(--blue); }
.sidebar__nav a.active { background: var(--surface-2); color: var(--blue); }
.sidebar__nav a.active .ico { color: var(--blue); }

.sidebar__spacer { flex: 1 1 auto; }

.lang-toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px; margin: 8px 6px 10px; align-self: flex-start;
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer; font-family: var(--font);
  font-weight: 700; font-size: .8rem; color: var(--muted);
  padding: 5px 13px; border-radius: 999px; transition: all .2s var(--ease);
}
.lang-toggle button.active { background: var(--navy); color: #fff; }

.sidebar__cta { margin: 0 6px 12px; display: flex; flex-direction: column; gap: 8px; }
.btn--portal { padding: 9px 14px; font-size: .87rem; gap: 7px; }
.btn--portal svg { flex: none; }
.btn--portal.is-current { border-color: var(--blue); color: var(--blue); background: var(--surface-2); }
.sidebar__contact { padding: 0 8px; font-size: .75rem; color: var(--muted); line-height: 1.5; }
.sidebar__contact a { color: var(--muted); font-weight: 600; overflow-wrap: anywhere; }
.sidebar__contact a:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .98rem; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff; box-shadow: 0 6px 18px rgba(46,91,208,.35);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(46,91,208,.45); }
.btn--block { width: 100%; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

/* ---------- Topbar (mobile only) ---------- */
.topbar {
  display: none; position: sticky; top: 0; z-index: 45;
  align-items: center; justify-content: space-between;
  padding: 12px 18px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.scrim {
  display: none; position: fixed; inset: 0; background: rgba(20,20,43,.45);
  z-index: 39; opacity: 0; transition: opacity .25s;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 104px); }
.hero__aurora {
  position: absolute; inset: -30% -10% auto -10%; height: 640px; z-index: 0;
  background:
    radial-gradient(42% 55% at 20% 30%, rgba(46,91,208,.30), transparent 70%),
    radial-gradient(38% 50% at 80% 20%, rgba(125,160,232,.30), transparent 70%),
    radial-gradient(34% 46% at 88% 72%, rgba(224,145,47,.20), transparent 70%),
    radial-gradient(30% 42% at 12% 82%, rgba(30,158,106,.16), transparent 70%),
    radial-gradient(45% 55% at 60% 75%, rgba(23,10,78,.16), transparent 70%);
  filter: blur(20px); animation: drift 16s ease-in-out infinite alternate; pointer-events: none;
  will-change: transform;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-3%, 3%, 0) scale(1.08); }
}
.hero .container { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.badge-soon {
  display: inline-flex; align-items: center; gap: 7px; vertical-align: middle;
  background: var(--tint-amber); color: #9A6612; border: 1px solid #F0D9B0;
  font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-left: 10px;
}
.badge-soon .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-amber); }
.btn.is-disabled { opacity: .55; pointer-events: none; cursor: default; box-shadow: none; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: .85rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* Hero visual (CSS financial "snapshot" card) */
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.snapshot {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.snapshot__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.snapshot__head .t { font-weight: 700; color: var(--navy); font-size: .95rem; }
.snapshot__head .pill { font-size: .72rem; font-weight: 700; color: var(--success); background: rgba(30,158,106,.12); padding: 4px 10px; border-radius: 999px; }
.snap-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.snap-stat { background: var(--surface); border-radius: 12px; padding: 13px 14px; }
.snap-stat .k { font-size: .72rem; color: var(--muted); font-weight: 600; }
.snap-stat .v { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; padding-top: 6px; }
.bars .bar { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--blue-bright), var(--blue)); opacity: .9; animation: grow 1s var(--ease) both; }
.bars .bar:nth-child(odd) { background: linear-gradient(180deg, var(--sky), var(--blue)); opacity: .55; }
@keyframes grow { from { transform: scaleY(.2); transform-origin: bottom; opacity: 0; } to { transform: scaleY(1); } }

/* ---------- Page hero with illustration ---------- */
.page-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.illus { width: 100%; }
.illus svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 40px rgba(23,10,78,.10)); }

/* ---------- Section headers ---------- */
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head .eyebrow {
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); display: block; margin-bottom: 10px;
}
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6ddf1; }

.card__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,91,208,.14), rgba(125,160,232,.18));
  color: var(--blue); margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Audience card (home) is a link */
a.card { color: inherit; display: block; }
a.card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: .92rem; margin-top: 10px; }
a.card:hover .more { gap: 10px; }
.card__emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 14px; }

/* ---------- Service blocks (detail pages) ---------- */
.service-block {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.service-block h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.service-block h3 .num {
  width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700;
}
.ticklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticklist li { position: relative; padding-left: 30px; color: var(--ink); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px;
  border-radius: 50%; background: rgba(30,158,106,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%231E9E6A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* "Pourquoi nous choisir" banner */
.why {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: var(--radius-lg); padding: 34px clamp(24px,4vw,44px);
}
.why h3 { color: #fff; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why li { position: relative; padding-left: 30px; color: rgba(255,255,255,.92); }
.why li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* Package cards */
.pkg { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; background: #fff; }
.pkg h4 { color: var(--blue); font-size: 1.05rem; margin-bottom: 6px; }
.pkg .price { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* Stat tiles / values */
.tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.tile { text-align: center; padding: 22px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tile .v { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-top: 8px; }
.tile .k { font-size: .86rem; color: var(--muted); }
.tile .ic { width: 40px; height: 40px; margin: 0 auto; border-radius: 11px; display:grid; place-items:center; background: rgba(46,91,208,.12); color: var(--blue); }

.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.value { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.value .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(46,91,208,.12); color: var(--blue); }
.value h4 { margin-bottom: 3px; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Founder / about */
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.founder__photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface-2), #fff); display: grid; place-items: center; text-align: center;
  color: var(--muted); box-shadow: var(--shadow-sm); overflow: hidden;
}
.founder__photo .ph { padding: 20px; font-size: .85rem; }
.founder__photo .initials { font-size: 3.4rem; font-weight: 800; color: var(--navy); opacity: .85; }

/* ---------- Bio (warm intro) + promises ---------- */
.bio { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.bio__text .kicker {
  color: var(--blue); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .8rem; display: block; margin-bottom: 10px;
}
.bio__text p { font-size: 1.12rem; color: var(--muted); }
.bio__sign { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.bio__sign .line { width: 28px; height: 2px; background: var(--blue); flex: none; }
.bio__sign .who { font-weight: 700; color: var(--navy); }
.bio__sign .role { color: var(--muted); font-size: .9rem; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise {
  text-align: center; padding: 32px 22px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.promise:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d6ddf1; }
.promise__ic {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 18px;
  display: grid; place-items: center; color: var(--blue);
  background: linear-gradient(135deg, rgba(46,91,208,.13), rgba(125,160,232,.22));
}
.promise__ic svg { width: 34px; height: 34px; }
.promise h3 { font-size: 1.08rem; margin-bottom: 6px; }
.promise p { color: var(--muted); font-size: .95rem; margin: 0; }

.pullquote {
  border-left: 3px solid var(--blue); padding-left: 18px; margin: 0 0 22px;
  font-size: 1.12rem; color: var(--navy); font-weight: 500; line-height: 1.6;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(34px,5vw,56px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 0 auto 24px; }

/* ---------- FAQ (native accordion, no JS) ---------- */
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #d6ddf1; box-shadow: var(--shadow-md); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); font-weight: 400; flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > p, .faq details > ul { margin: 14px 0 0; color: var(--muted); }
.faq details > ul { padding-left: 20px; }
.faq details > ul li { margin-bottom: 6px; }

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step .n {
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Key dates ---------- */
.dates { display: grid; gap: 10px; }
.date-row {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px;
}
.date-row .d {
  flex: none; min-width: 116px; font-weight: 800; color: var(--blue); font-size: .95rem;
}
.date-row .w { color: var(--ink); }

/* ---------- Legal pages (privacy policy, terms) ---------- */
.legal { max-width: 78ch; }
.legal-block { padding: 0 0 30px; }
.legal-block h2 {
  font-size: 1.22rem; display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.legal-block h2 .num {
  width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700;
}
.legal-block p { color: var(--muted); }
.legal-block + .legal-block { border-top: 1px solid var(--border); padding-top: 30px; }

.draft-banner {
  background: #FFF7E6; border: 1px dashed #E0A800; border-radius: var(--radius);
  padding: 18px 22px; color: #6B5200; display: grid; gap: 6px;
}
.draft-banner strong { color: #8A6A00; }

/* ---------- Disclaimer note ---------- */
.note-box {
  background: var(--surface); border: 1px dashed #cbd5ec; border-radius: 12px;
  padding: 16px 20px; color: var(--muted); font-size: .9rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; align-items: start; }
/* let grid items shrink below their min-content (long email addresses) */
.contact-grid > * { min-width: 0; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(46,91,208,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field legend { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.opt {
  display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
  cursor: pointer; font-size: .95rem; transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--sky); }
.opt input { width: auto; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.opt:has(input:checked) { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(46,91,208,.10); }
.field-hint { font-size: .82rem; color: var(--muted); margin: 2px 0 0; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 11px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: rgba(30,158,106,.12); color: var(--success); }
.form-status.err { display: block; background: rgba(208,46,46,.1); color: #C0392B; }

.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.info-row { display: flex; gap: 13px; margin-bottom: 18px; }
.info-row .ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--blue); border: 1px solid var(--border); }
.info-row .k { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.info-row .val { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.info-row a.val { color: var(--navy); }
.info-row a.val:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.footer { margin-top: auto; background: var(--navy); color: rgba(255,255,255,.72); padding: 52px 0 30px; }
.footer .brand-logo .mark { color: #fff; }
.footer .brand-logo .tag { color: #fff; }        /* same as mark, per brand */
.footer .brand-logo .rule { background: var(--sky); } /* only the line is lighter */
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.footer a { color: rgba(255,255,255,.72); display: block; padding: 4px 0; font-size: .94rem; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; }
.footer__bottom a { display: inline; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Color accents (warmth & rhythm) ---------- */
/* Home audience cards — one accent colour each */
#audiences .grid-3 > .card { position: relative; overflow: hidden; }
#audiences .grid-3 > .card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent);
}
#audiences .grid-3 > .card:nth-child(1) { --accent: var(--c-blue);   --tint: var(--tint-blue); }
#audiences .grid-3 > .card:nth-child(2) { --accent: var(--c-green);  --tint: var(--tint-green); }
#audiences .grid-3 > .card:nth-child(3) { --accent: var(--c-amber);  --tint: var(--tint-amber); }
#audiences .card__emoji {
  display: inline-grid; place-items: center; width: 58px; height: 58px;
  border-radius: 16px; background: var(--tint); margin-bottom: 16px;
}
#audiences .grid-3 > .card:hover { border-color: var(--accent); }
#audiences .card .more { color: var(--accent); }

/* Trust tiles — four accent colours */
.tiles .tile:nth-child(1) .ic { color: var(--c-blue);   background: var(--tint-blue); }
.tiles .tile:nth-child(2) .ic { color: var(--c-green);  background: var(--tint-green); }
.tiles .tile:nth-child(3) .ic { color: var(--c-amber);  background: var(--tint-amber); }
.tiles .tile:nth-child(4) .ic { color: var(--c-violet); background: var(--tint-violet); }

/* Home promises — coloured icon tiles */
.promise:nth-child(1) .promise__ic { color: var(--c-blue);  background: linear-gradient(135deg, var(--tint-blue), #fff); }
.promise:nth-child(2) .promise__ic { color: var(--c-amber); background: linear-gradient(135deg, var(--tint-amber), #fff); }
.promise:nth-child(3) .promise__ic { color: var(--c-green); background: linear-gradient(135deg, var(--tint-green), #fff); }

/* Values (À propos) — rotate accent colours */
.value:nth-child(1) .ic { color: var(--c-blue);   background: var(--tint-blue); }
.value:nth-child(2) .ic { color: var(--c-green);  background: var(--tint-green); }
.value:nth-child(3) .ic { color: var(--c-violet); background: var(--tint-violet); }
.value:nth-child(4) .ic { color: var(--c-amber);  background: var(--tint-amber); }

/* Numbered steps — rotate accent colours */
.step:nth-child(1) .n { background: var(--c-blue); }
.step:nth-child(2) .n { background: var(--c-amber); }
.step:nth-child(3) .n { background: var(--c-green); }

/* Warm tinted section + softer founder placeholder */
.section-warm { background: var(--tint-warm); }
.founder__photo { background: linear-gradient(150deg, var(--tint-blue), var(--tint-amber)); }

/* Coloured emoji chips in section eyebrows stay subtle; add life to plain chips */
.chip:nth-child(2) .dot { background: var(--c-green); }
.chip:nth-child(3) .dot { background: var(--c-amber); }
.chip:nth-child(4) .dot { background: var(--c-violet); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Language visibility (inline FR/EN spans) ---------- */
.t[data-lang] { display: none; }
html[lang="fr"] .t[data-lang="fr"] { display: inline; }
html[lang="en"] .t[data-lang="en"] { display: inline; }
/* block variant for whole paragraphs/blocks that swap wholesale */
.tb[data-lang] { display: none; }
html[lang="fr"] .tb[data-lang="fr"] { display: block; }
html[lang="en"] .tb[data-lang="en"] { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .illus { max-width: 420px; }
  .grid-3, .promises, .steps { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 230px 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 260px; }
  .tiles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --sidebar-w: 0px; }
  .main { margin-left: 0; }
  .topbar { display: flex; }
  .sidebar {
    left: -320px; width: 280px;
    transition: left .3s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .sidebar { left: 0; }
  body.nav-open .scrim { display: block; opacity: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .grid-3, .grid-2, .values, .why ul, .field.two,
  .promises, .bio, .steps, .opt-grid, .footer__grid { grid-template-columns: 1fr; }
  .date-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bio__photo { max-width: 240px; margin: 0 auto; }
  /* long FR button labels must wrap instead of being clipped */
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
