/* Quorum — site vitrine */
:root {
  --ink: #1E2A78;
  --ink-900: #141B52;
  --ink-700: #2B3990;
  --ink-100: #E4E7F6;
  --ink-50: #EEF0FA;
  --coral: #FF6B4A;
  --coral-700: #C8401F; /* texte coral sur fond clair (contraste AA) */
  --coral-100: #FFE6DF;
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --text: #141833;
  --muted: #4E5475;
  --line: #DADDEC;
  --ok: #138A5B;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 51, .06), 0 8px 24px rgba(20, 24, 51, .06);
  --shadow-lg: 0 24px 60px rgba(20, 27, 82, .18);
  --wrap: 1180px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--ink-700); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; color: var(--ink-900); }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 800; font-size: .95rem; line-height: 1.2;
  padding: .8em 1.25em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #1B0B05; box-shadow: 0 6px 18px rgba(255, 107, 74, .35); }
.btn-primary:hover { background: #FF5A35; color: #1B0B05; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-900); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { font-size: .85rem; padding: .6em 1em; }
.btn-lg { font-size: 1.02rem; padding: 1em 1.6em; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 251, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(218, 221, 236, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-light, .logo-light:hover { color: #fff; }
.logo-mark { flex: none; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav {
  position: absolute; left: 0; right: 0; top: 66px;
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px; display: none;
}
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 12px 4px; font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--ink-50); }
.nav li a[aria-current="page"] { color: var(--ink); box-shadow: inset 3px 0 0 var(--coral); padding-left: 12px; }
.nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: 28px; background: none; border: 0; box-shadow: none; padding: 0; }
  .nav ul { display: flex; gap: 4px; }
  .nav li a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
  .nav li a:hover { background: var(--ink-50); }
  .nav li a[aria-current="page"] { box-shadow: none; padding-left: 12px; background: var(--ink-50); }
  .nav-actions { flex-direction: row; margin: 0; }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs { padding-top: 18px; font-size: .88rem; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #9AA0BF; }
.crumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-white { background: var(--surface); }
.section-ink { background: var(--ink); color: #DCE0F7; }
.section-ink h2, .section-ink h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.section-ink .eyebrow { color: #FFB4A3; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.section-ink .lead { color: #C3C9EE; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,107,74,.16), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; left: -320px; bottom: -340px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30,42,120,.12), transparent 70%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.hero h1 .hl { color: var(--ink); background: linear-gradient(transparent 62%, var(--coral-100) 62%); padding: 0 .08em; }
.hero .lead { font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.hero-note li { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .ico { width: 18px; height: 18px; color: var(--ok); }
.hero-visual { position: relative; display: flex; justify-content: center; }
@media (min-width: 960px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
}
.page-hero { padding: 36px 0 48px; }
.page-hero .lead { font-size: 1.15rem; }
@media (min-width: 768px) { .page-hero { padding: 56px 0 72px; } }

/* Anneau « quorum » en arrière-plan de la maquette */
.ring { position: absolute; inset: 50% auto auto 50%; width: 440px; height: 440px; transform: translate(-50%, -50%); pointer-events: none; }
.ring circle { fill: none; }

/* ---------- Maquettes téléphone (HTML/CSS) ---------- */
.phone {
  position: relative; width: 250px; flex: none; aspect-ratio: 9 / 18.5;
  background: #0E1340; border-radius: 40px; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3270;
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 76px; height: 20px; background: #0E1340; border-radius: 12px; z-index: 2; }
.screen { position: relative; height: 100%; background: #F7F8FD; border-radius: 30px; overflow: hidden; padding: 44px 14px 14px; font-size: 12px; line-height: 1.35; color: var(--text); display: flex; flex-direction: column; gap: 9px; }
.s-top { display: flex; justify-content: space-between; align-items: baseline; }
.s-hello { font-weight: 800; font-size: 15px; color: var(--ink-900); }
.s-date { color: var(--muted); font-size: 11px; }
.s-geo { display: flex; align-items: center; gap: 6px; background: #E5F5EE; color: #0D6B46; font-weight: 600; font-size: 10.5px; padding: 6px 9px; border-radius: 999px; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(19,138,91,.2); flex: none; }
.s-clock { font-size: 38px; font-weight: 800; letter-spacing: -.04em; text-align: center; color: var(--ink-900); margin-top: 4px; }
.s-punch { margin: 2px auto 4px; width: 128px; height: 128px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8E73, var(--coral) 60%); display: grid; place-items: center; color: #1B0B05; font-weight: 800; font-size: 13px; text-align: center; padding: 18px; box-shadow: 0 0 0 10px rgba(255,107,74,.15), 0 0 0 20px rgba(255,107,74,.07); }
.s-card { background: #fff; border-radius: 14px; padding: 6px 10px; box-shadow: 0 1px 3px rgba(20,24,51,.08); margin-top: 6px; }
.s-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--ink-50); font-size: 11px; }
.s-row:last-child { border: 0; }
.s-row span { color: var(--muted); }
.t-coral { color: var(--coral-700); }
.s-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 9px 0 2px; border-top: 1px solid var(--ink-50); }
.s-tabs i { width: 18px; height: 18px; border-radius: 6px; background: var(--ink-100); }
.s-tabs i.on { background: var(--ink); }
.s-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s-counters div { background: #fff; border-radius: 12px; padding: 8px 4px; text-align: center; box-shadow: 0 1px 3px rgba(20,24,51,.08); }
.s-counters b { display: block; font-size: 17px; color: var(--ink); }
.s-counters span { font-size: 9.5px; color: var(--muted); }
.s-label { font-weight: 800; color: var(--ink-900); margin-top: 4px; }
.s-field { display: flex; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: 11px; }
.s-field span { color: var(--muted); }
.s-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 4px 0; }
.s-cal i { aspect-ratio: 1; border-radius: 6px; background: #fff; border: 1px solid var(--ink-50); }
.s-cal i.we { background: var(--ink-50); }
.s-cal i.sel { background: var(--ink); border-color: var(--ink); }
.s-cal i.half { background: linear-gradient(135deg, var(--ink) 50%, #fff 50%); border-color: var(--ink); }
.s-cal i.ferie { background: var(--coral-100); border-color: var(--coral); }
.s-btn { margin-top: auto; background: var(--ink); color: #fff; font-weight: 800; text-align: center; padding: 11px; border-radius: 12px; }
.s-doc { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; padding: 9px; box-shadow: 0 1px 3px rgba(20,24,51,.08); }
.s-doc div { flex: 1; display: flex; flex-direction: column; }
.s-doc small { color: var(--muted); font-size: 10px; }
.s-doc em { font-style: normal; font-size: 9.5px; font-weight: 800; background: var(--coral-100); color: var(--coral-700); padding: 3px 7px; border-radius: 999px; }
.s-doc.new { box-shadow: 0 0 0 2px var(--coral), 0 4px 10px rgba(255,107,74,.2); }
.s-pdf { flex: none; width: 30px; height: 36px; border-radius: 6px; background: var(--ink-50); color: var(--ink); font-size: 9px; font-weight: 800; display: grid; place-items: center; }

.phones { display: flex; gap: 22px; justify-content: flex-start; overflow-x: auto; padding: 24px var(--gutter) 40px; margin: 0 calc(-1 * var(--gutter)); scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.phones > figure { margin: 0; scroll-snap-align: center; flex: none; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phones figcaption { font-weight: 600; font-size: .95rem; color: var(--muted); text-align: center; max-width: 250px; }
.phones figcaption b { display: block; color: var(--ink-900); }
@media (min-width: 900px) { .phones { justify-content: center; overflow: visible; margin: 0; padding: 24px 0 0; } .phones > figure:nth-child(2) { transform: translateY(-28px); } }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 14px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .more { font-weight: 800; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card .more::after { content: "→"; transition: transform .15s; }
.card .more:hover::after { transform: translateX(3px); }
.card-link { position: relative; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--ink-100); }
.ico-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-50); color: var(--ink); }
.ico-badge.coral { background: var(--coral-100); color: var(--coral-700); }
.pillar-num { font-size: .8rem; font-weight: 800; color: var(--coral-700); letter-spacing: .08em; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2A78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section-ink .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF8E73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Étapes */
.steps { counter-reset: step; display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps li:last-child::before { background: var(--coral); color: #1B0B05; }

/* Split texte / visuel */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }

/* Feature bloc détaillé */
.feature { display: grid; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 300px 1fr; gap: 56px; } }
.feature-aside h2 { font-size: 1.6rem; }
.feature-aside .ico-badge { margin-bottom: 14px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--ink-50); color: var(--ink); }
.tag.pro { background: var(--coral-100); color: var(--coral-700); }

/* Panneau « intégration » */
.flow { display: grid; gap: 14px; align-items: center; }
.flow-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 20px; }
.flow-box h3 { font-size: 1.05rem; margin-bottom: 8px; }
.flow-box ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.flow-arrow { text-align: center; font-size: 1.6rem; color: var(--coral); line-height: 1; }
@media (min-width: 760px) { .flow { grid-template-columns: 1fr auto 1fr; } .flow-arrow { transform: none; } }
.flow-light .flow-box { background: var(--surface); border-color: var(--line); }
.flow-light .flow-box h3 { color: var(--ink-900); }

/* Encart Entretiens RH */
.sister { background: linear-gradient(135deg, #fff 0%, #FFF4F0 100%); border: 1px solid #FFD5C9; border-radius: 24px; padding: 32px 24px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .sister { grid-template-columns: 1.4fr 1fr; padding: 48px; } }
.sister-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; margin: 10px 0 14px; }
.wave i { flex: 1; background: var(--coral); border-radius: 2px; opacity: .85; }
.sister-card .line { height: 8px; border-radius: 4px; background: var(--ink-50); margin: 8px 0; }

/* ---------- Tarifs ---------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 26px; background: var(--coral); color: #1B0B05; font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin: 0 0 4px; }
.plan .plan-desc { color: var(--muted); min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 2px; }
.price b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink-900); line-height: 1; }
.price span { color: var(--muted); font-weight: 600; }
.price-sub { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.plan .ticks { flex: 1; }
.plan .btn { margin-top: 10px; }
.price-facts { display: grid; gap: 10px; max-width: 920px; margin: 28px auto 0; list-style: none; padding: 0; }
@media (min-width: 700px) { .price-facts { grid-template-columns: repeat(3, 1fr); } }
.price-facts li { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; color: var(--muted); }
.price-facts b { color: var(--text); }

/* Calculateur */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); max-width: 920px; margin: 0 auto; display: grid; gap: 26px; }
@media (min-width: 820px) { .calc { grid-template-columns: 1fr 1.2fr; padding: 36px; } }
.calc label { display: block; font-weight: 800; margin-bottom: 8px; color: var(--ink-900); }
.calc-count { display: flex; align-items: center; gap: 10px; }
.calc-count input[type=number] { width: 110px; font: inherit; font-size: 1.4rem; font-weight: 800; padding: 8px 12px; border: 2px solid var(--line); border-radius: 12px; color: var(--ink-900); }
.calc input[type=range] { width: 100%; margin: 16px 0 6px; accent-color: var(--coral); }
.seg { display: inline-flex; background: var(--ink-50); border-radius: 999px; padding: 4px; margin-top: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--muted); }
.seg input:checked + label { background: var(--surface); color: var(--ink-900); box-shadow: 0 1px 4px rgba(20,24,51,.12); }
.seg input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 2px; }
.seg small { color: var(--coral-700); font-weight: 800; }
.calc-results { display: grid; gap: 12px; }
.calc-res { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-res.pro { border-color: var(--ink); background: var(--ink-50); }
.calc-res h3 { margin: 0; font-size: 1.05rem; }
.calc-res .amount { font-size: 1.7rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; }
.calc-res .amount small { font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.calc-res p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); width: 100%; }
.calc-note { font-size: .85rem; color: var(--muted); margin: 0; }
.calc-alert { background: var(--coral-100); color: #7A2410; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .95rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--ink-50); text-align: left; }
.compare thead th { background: var(--ink-50); color: var(--ink-900); }
.compare td.c, .compare th.c { text-align: center; }
.compare .yes { color: var(--ok); font-weight: 800; }
.compare .no { color: #9AA0BF; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { margin: 0; font-size: 1.05rem; }
.faq-q button { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; font-weight: 800; color: var(--ink-900); line-height: 1.4; }
.faq-q button:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.faq-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-50); position: relative; transition: transform .2s, background .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq-q button[aria-expanded="true"] .faq-icon { background: var(--coral-100); }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 4px 20px; color: var(--muted); }
.faq-a p { margin: 0; max-width: 60em; }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); color: #DCE0F7; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255,107,74,.18); }
.cta-inner { position: relative; padding-top: 56px; padding-bottom: 56px; display: grid; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #C3C9EE; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.5fr auto; padding-top: 72px; padding-bottom: 72px; } }

/* ---------- Bandeau confiance ---------- */
.trust { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.trust .ico { flex: none; color: var(--ink); margin-top: 2px; }
.trust b { color: var(--text); display: block; }

/* ---------- Prose (pages légales, SEO) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin: .35em 0; }
.prose .placeholder { background: #FFF6D6; padding: 0 .3em; border-radius: 4px; }
.callout { background: var(--ink-50); border-left: 4px solid var(--ink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 1.5em 0; }
.callout.coral { background: #FFF4F0; border-color: var(--coral); }
.callout p:last-child { margin: 0; }
dl.legal { display: grid; gap: 4px 20px; }
dl.legal dt { font-weight: 800; color: var(--ink-900); margin-top: 10px; }
dl.legal dd { margin: 0; }
@media (min-width: 700px) { dl.legal { grid-template-columns: 240px 1fr; } dl.legal dt { margin-top: 0; } }

/* ---------- Formulaire ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
@media (min-width: 700px) { .form { padding: 36px; grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 6px; color: var(--ink-900); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(30,42,120,.12); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; }
.alert-err { background: #FDECEC; color: #8A1C1C; border: 1px solid #F5C2C2; }
.alert-ok { background: #E5F5EE; color: #0D5A3B; border: 1px solid #B9E4D1; }
.contact-side { display: grid; gap: 16px; align-content: start; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0 100px; }
.notfound .big { font-size: clamp(5rem, 20vw, 9rem); font-weight: 800; color: var(--ink); letter-spacing: -.06em; line-height: 1; margin: 0; }
.notfound .big span { color: var(--coral); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink-900); color: #B8BEE3; padding-top: 56px; font-size: .93rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin: 14px 0 18px; max-width: 30em; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0 0 22px; }
.footer-grid li { margin: 8px 0; }
.site-footer a { color: #DCE0F7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn-primary { color: #1B0B05; }
.site-footer .btn-primary:hover { text-decoration: none; color: #1B0B05; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 28px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Utilitaires */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Bandeau suite RH (Entretiens RH) */
.suite-rh { background: linear-gradient(135deg, #fff 0%, #FFF4F0 100%); border-top: 1px solid #FFD5C9; padding: 28px 0; }
.suite-rh-in { display: grid; gap: 16px; align-items: center; }
.suite-rh-ico { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid #FFD5C9; color: var(--coral, #FF6B4A); display: grid; place-items: center; }
.suite-rh-act { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 860px) { .suite-rh-in { grid-template-columns: auto 1fr auto; gap: 24px; } }

/* ---------- Menu « Ressources » (sous-menu) ---------- */
.nav.open { max-height: calc(100vh - 66px); overflow-y: auto; }
.nav-sub-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 4px; font: inherit; font-weight: 600; color: var(--text); background: none;
  border: 0; border-bottom: 1px solid var(--ink-50); cursor: pointer; text-align: left;
}
.nav-caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; flex: none; }
.nav-sub-toggle[aria-expanded="true"] .nav-caret { transform: translateY(2px) rotate(-135deg); }
.has-sub.is-active > .nav-sub-toggle { color: var(--ink); box-shadow: inset 3px 0 0 var(--coral); padding-left: 12px; }
.nav .nav-sub { display: none; padding: 4px 0 8px 12px; }
.nav .nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: block; }
.nav .nav-sub li a { padding: 10px 4px; }
.nav-sub a b { display: block; font-weight: 600; }
.nav-sub a small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); line-height: 1.35; margin-top: 2px; }
@media (min-width: 1100px) {
  .has-sub { position: relative; }
  .nav-sub-toggle { width: auto; border: 0; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
  .nav-sub-toggle:hover, .nav-sub-toggle[aria-expanded="true"] { background: var(--ink-50); }
  .has-sub.is-active > .nav-sub-toggle { box-shadow: none; padding-left: 12px; background: var(--ink-50); }
  .nav .nav-sub {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); z-index: 60;
    width: 360px; padding: 8px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
  }
  .nav .nav-sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .nav .nav-sub-toggle[aria-expanded="true"] + .nav-sub { display: grid; gap: 2px; }
  .nav .nav-sub li a { padding: 10px 12px; border-radius: 12px; }
  .nav .nav-sub li a:hover, .nav .nav-sub li a:focus-visible { background: var(--ink-50); }
  .nav .nav-sub li a[aria-current="page"] { background: var(--ink-50); box-shadow: inset 3px 0 0 var(--coral); }
}

/* ---------- Réponse courte / En bref (GEO) ---------- */
.en-bref, .reponse-courte {
  background: var(--ink-50); border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 0 0 1.5em; color: var(--text); max-width: 860px;
}
.en-bref > :last-child, .reponse-courte > :last-child { margin-bottom: 0; }
.en-bref-title { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-700); margin: 0 0 6px; }
.en-bref-wrap { margin-top: -12px; padding-bottom: 48px; }
@media (min-width: 768px) { .en-bref-wrap { margin-top: -28px; padding-bottom: 64px; } }

/* ---------- Bandeaux de liens (accueil) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-900); transition: border-color .15s, background .15s; }
.chips a:hover { border-color: var(--ink); background: var(--ink-50); }
.chips a.chip-more { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips a.chip-more:hover { background: var(--ink-900); color: #fff; }
.strip { display: grid; gap: 14px; }
@media (min-width: 900px) { .strip { grid-template-columns: 240px 1fr; align-items: center; gap: 28px; } }
.strip h2 { font-size: 1.35rem; margin: 0; }
.strip + .strip { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Liste de critères ---------- */
.criteria { counter-reset: crit; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.criteria > li { counter-increment: crit; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 70px; }
.criteria > li::before { content: counter(crit); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: .95rem; }
.criteria h3 { margin: 0 0 6px; font-size: 1.08rem; }
.criteria p { margin: 0; color: var(--muted); }
.criteria p + p { margin-top: 8px; }
.compare td.partial { color: var(--coral-700); font-weight: 600; }
.compare th[scope="row"] { font-weight: 700; color: var(--ink-900); }
.compare tr.hl-row td, .compare tr.hl-row th { background: #FFF7F4; }

/* ---------- Feuille de pointage imprimable ---------- */
.timesheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.timesheet-head { display: grid; gap: 10px 24px; margin-bottom: 16px; font-size: .95rem; }
@media (min-width: 700px) { .timesheet-head { grid-template-columns: repeat(3, 1fr); } }
.timesheet-head span { display: block; border-bottom: 1px solid #9AA0BF; min-height: 1.8em; }
.timesheet-head b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
table.ts { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.ts th, .ts td { border: 1px solid #B9BED6; padding: 10px 8px; text-align: center; }
.ts thead th { background: var(--ink-50); color: var(--ink-900); font-size: .8rem; }
.ts tbody th { text-align: left; font-weight: 700; color: var(--ink-900); white-space: nowrap; }
.ts tfoot th, .ts tfoot td { font-weight: 800; background: var(--ink-50); }
.timesheet-sign { display: grid; gap: 16px; margin-top: 18px; font-size: .9rem; }
@media (min-width: 700px) { .timesheet-sign { grid-template-columns: 1fr 1fr; } }
.timesheet-sign div { border: 1px dashed #9AA0BF; border-radius: 10px; padding: 10px 12px; min-height: 80px; }
.timesheet-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
@media print {
  body.print-timesheet > *:not(main), body.print-timesheet main > *:not(.ts-section), body.print-timesheet .no-print { display: none !important; }
  body.print-timesheet { background: #fff; }
  body.print-timesheet .ts-section { padding: 0 !important; background: #fff !important; }
  body.print-timesheet #feuille-imprimable { border: 0; box-shadow: none; padding: 0; }
  body.print-timesheet .table-wrap { overflow: visible; border: 0; }
  body.print-timesheet table.ts { min-width: 0; font-size: 10pt; }
  @page { size: A4 landscape; margin: 12mm; }
}
