/* Sérénis : feuille de style unique. Charte : bleu nuit #13294B, vert #0F766E, accent #5EEAD4, fond #F4F6F9. */
:root {
  --navy: #13294B; --navy-deep: #0B1B33; --green: #0F766E; --green-dark: #0B5A54; --accent: #5EEAD4;
  --bg: #F4F6F9; --text: #334155; --muted: #5B6474; --line: #E2E8F0; --line-2: #EEF2F6; --soft-green: #E6F2F1;
  --danger: #B42318; --warn-bg: #FEF3C7; --warn-fg: #92400E;
  --radius: 18px; --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #FFFFFF; font-size: 16px; line-height: 1.55; overflow-x: hidden; }
body.page-signup, body.page-account, body.page-admin { background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.ic { flex: none; color: var(--green); }

/* ---------- mise en page */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-wide { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 860px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 36px; padding-bottom: 56px; }
.pb { padding-bottom: 72px; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.align-end { align-items: flex-end; }
.wrap-gap { flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row form { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-2-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.two-col { display: flex; flex-wrap: wrap; gap: 40px; }
.two-col > * { flex: 1 1 420px; min-width: 0; }

/* ---------- typographie */
.h1 { font-size: 46px; font-weight: 800; margin: 0 0 14px; }
.h1.smaller { font-size: 30px; }
.h2 { font-size: 38px; font-weight: 800; margin: 0 0 12px; }
.h2.smaller { font-size: 32px; }
.h2.on-dark { color: #fff; margin-bottom: 48px; }
.h-card { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.h-step { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0 0 8px; padding: 0; }
.h-sub { font-size: 17px; margin: 24px 0 12px; }
.section-lead { font-size: 18px; max-width: 720px; margin: 0 0 48px; }
.section-lead.tight { margin-bottom: 28px; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 19px; line-height: 1.6; max-width: 560px; margin: 0 0 32px; }
.lead-sm { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
.lead-center { font-size: 16px; line-height: 1.6; max-width: 540px; margin: 0 auto 20px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0 0 18px; }
.strong-link { font-weight: 700; color: var(--navy); text-decoration: none; }
.strong-link:hover { text-decoration: underline; }

/* ---------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn-sm { min-height: 42px; padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-xs { min-height: 32px; padding: 4px 10px; font-size: 13px; border-radius: 8px; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--navy-deep); }
.btn-accent:hover { background: #99F6E4; color: var(--navy-deep); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #912018; color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid #CBD5E1; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-green { background: #fff; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--soft-green); }
.btn-outline-dark { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid #CBD5E1; font-weight: 700; }
.linklike { background: none; border: 0; padding: 12px 14px; font: inherit; color: var(--text); cursor: pointer; text-align: left; width: 100%; border-radius: 10px; font-weight: 600; }
.linklike:hover { background: var(--bg); }

/* ---------- en-tête */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: .06em; }
.brand.on-dark { color: #fff; }
.brand.on-dark span { font-size: 18px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.main-nav a { color: var(--text); text-decoration: none; }
.main-nav a.active { color: var(--green); }
.main-nav a.btn { color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.header-note { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #475569; }
.header-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: 15px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green); }
.user-chip { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--soft-green); color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* ---------- accueil */
.hero { background: var(--bg); }
.hero-row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-text h1 { font-size: 54px; line-height: 1.08; font-weight: 800; margin: 0 0 22px; }
.hero-card-col { flex: 1 1 400px; min-width: 0; }
.reassure { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 14px; font-weight: 600; color: #475569; }
.reassure span { display: flex; align-items: center; gap: 8px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.soft { background: #fff; border: 0; border-radius: 14px; padding: 20px; }
.card.soft h3 { font-size: 16px; margin: 0 0 6px; }
.card.soft p { font-size: 14px; margin: 0; }
.card h3 { margin-top: 0; }
.pad-xl { padding: 40px; }
.hero-card { padding: 28px; border-radius: 20px; box-shadow: 0 20px 40px rgba(19, 41, 75, .08); }
.card-kicker { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 16px; }
.bubble { background: var(--bg); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; font-size: 15px; }
.bubble-reply { background: var(--soft-green); color: #134E4A; }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.service { padding: 26px 22px; border-radius: 16px; }
.service h3 { font-size: 19px; margin: 0 0 10px; }
.service p { font-size: 15px; margin: 0; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--soft-green); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.band-dark { background: var(--navy); color: #E2E8F0; }
.band-soft { background: var(--bg); }
.grid-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.grid-steps h3 { color: #fff; font-size: 20px; margin: 8px 0; }
.step-num { font-size: 44px; font-weight: 800; color: var(--accent); }
.grid-plans-simple { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.plan-simple { padding: 30px; position: relative; }
.plan-simple.featured { border: 2px solid var(--green); }
.plan-simple h3 { font-size: 22px; margin: 0 0 6px; }
.price-big { font-size: 40px; font-weight: 800; color: var(--navy); margin: 0; }
.price-big span { font-size: 16px; font-weight: 600; color: var(--muted); }
.ribbon { position: absolute; top: -14px; left: 26px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; }
.ribbon-center { left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--navy-deep); white-space: nowrap; top: -15px; }
.placeholder { border: 2px dashed #CBD5E1; border-radius: 16px; padding: 32px; text-align: center; color: var(--muted); font-weight: 600; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; font-size: 17px; color: var(--navy); cursor: pointer; }
.faq p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; }

/* ---------- tarifs */
.pricing-head { padding-top: 64px; padding-bottom: 8px; }
.period-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; }
.period-btn { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none; color: var(--text); }
.period-btn.on { background: var(--navy); color: #fff; }
.pbadge { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--soft-green); color: var(--green); }
.period-btn.on .pbadge { background: var(--accent); color: var(--navy-deep); }
body:has(.pricing-head) { background: var(--bg); }
.grid-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: stretch; margin-top: 12px; }
.plan-card { padding: 32px 28px; display: flex; flex-direction: column; position: relative; border-radius: 20px; }
.plan-card h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; }
.plan-tag { font-size: 15px; min-height: 46px; margin: 0 0 18px; }
.plan-old { font-size: 15px; color: var(--muted); margin: 0 0 4px; min-height: 23px; }
.save { color: var(--green); font-weight: 800; }
.plan-price { font-size: 48px; font-weight: 800; color: var(--navy); line-height: 1; margin: 0; }
.per { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan-billed { margin: 10px 0 24px; font-size: 14px; color: var(--muted); }
.plan-eng { margin: 14px 0 22px; font-size: 13px; color: var(--muted); text-align: center; }
.checklist { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; }
.plan-dark { background: var(--navy); color: #E2E8F0; border: 2px solid var(--green); box-shadow: 0 24px 48px rgba(19, 41, 75, .22); }
.plan-dark h2, .plan-dark .plan-price { color: #fff; }
.plan-dark .plan-old, .plan-dark .per, .plan-dark .plan-billed, .plan-dark .plan-eng { color: #CBD5E1; }
.plan-dark .save { color: var(--accent); }
.plan-dark .checklist { border-top-color: #2A436B; }
.plan-dark .ic { color: var(--accent); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 34px; font-size: 14px; font-weight: 600; color: #475569; }
.cmp-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); text-align: center; }
.cmp thead th { padding: 22px 16px; border-bottom: 2px solid var(--line); vertical-align: bottom; }
.cmp thead th.hl { background: var(--soft-green); border-radius: 12px 12px 0 0; }
.cmp .cmp-feat { text-align: left; font-size: 14px; color: var(--muted); width: 40%; }
.cmp tbody th[scope=row] { text-align: left; color: var(--navy); font-weight: 600; padding-left: 24px; }
.cmp tbody td:nth-child(3) { background: #F2F9F8; }
.cmp-plan { display: block; font-size: 18px; font-weight: 800; color: var(--navy); }
.cmp thead th.hl .cmp-plan { color: var(--green); }
.cmp-sub { font-size: 14px; color: var(--muted); font-weight: 400; }
.cmp-cell { display: inline-flex; justify-content: center; align-items: center; }
.cmp-txt { font-weight: 700; color: var(--navy); font-size: 14px; }
.cmp-section th { text-align: left !important; padding: 18px 24px 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: #F8FAFC; border-bottom: 1px solid var(--line); }
.cmp-cta td { border-bottom: 0; padding: 22px 12px; }
.cmp-cta td:nth-child(3) { background: transparent; }

/* ---------- formulaires */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--text); padding: 12px 14px; border: 1px solid #94A3B8; border-radius: 10px; background: #fff; width: 100%; min-height: 48px; }
.field textarea { resize: vertical; }
.field input[type=file] { padding: 10px; border-style: dashed; }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.err { font-weight: 600; font-size: 13px; color: var(--danger); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--green); }
.consents { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.choice-grid { display: grid; gap: 14px; margin-bottom: 8px; }
.choice-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.choice-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-box { display: block; min-height: 64px; padding: 16px 18px; border-radius: 14px; border: 2px solid #CBD5E1; background: #fff; font-size: 15px; }
.choice input:checked + .choice-box { border-color: var(--green); background: var(--soft-green); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice-title { display: block; font-size: 18px; font-weight: 800; color: var(--navy); }
.choice-sub { display: block; margin-top: 6px; }
.choice-badge { display: block; margin-top: 4px; font-size: 13px; color: var(--green); font-weight: 700; }
.recap { background: var(--bg); border-radius: 14px; padding: 20px 22px; margin: 0 0 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 24px; font-size: 15px; }
.recap dt { margin: 0; }
.recap dd { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 10px 16px; font-size: 15px; margin: 0 0 20px; }
.kv dt { margin: 0; }
.kv dd { margin: 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.info-box { background: var(--bg); border-radius: 14px; padding: 18px 20px; font-size: 15px; line-height: 1.6; margin: 20px 0 0; }

/* ---------- inscription */
.stepper { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stepper li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.stepper li.cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.stepper li.done { background: var(--soft-green); color: #134E4A; border-color: var(--soft-green); }
.stepper .dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; font-size: 13px; background: #F1F5F9; color: #475569; }
.stepper li.cur .dot { background: var(--accent); color: var(--navy-deep); }
.stepper li.done .dot { background: var(--green); color: #fff; }
.signup-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.signup-card { flex: 999 1 560px; min-width: 0; padding: 36px; border-radius: 20px; }
.signup-card .step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.js .signup-card .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
.order-aside { flex: 1 1 300px; min-width: 0; padding: 28px; border-radius: 20px; }
.order-aside .h-sub { margin-top: 0; }
.aside-plan { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.aside-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 14px 0; border-top: 1px solid var(--line); }
.aside-line strong { color: var(--navy); text-align: right; }

/* ---------- espace client */
.account-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; padding-top: 28px; padding-bottom: 56px; }
.side-nav { flex: 1 1 220px; max-width: 100%; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; }
.side-nav a { padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.side-nav a:hover { background: var(--bg); }
.side-nav a.on { background: var(--navy); color: #fff; }
.side-nav a.strong { color: var(--navy); font-weight: 800; text-decoration: underline; }
.side-nav form { margin: 0; }
.side-nav .sep { height: 1px; background: var(--line); margin: 8px 0; }
.account-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.grid-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.account-main .grid-counters { margin-bottom: 0; }
.counter { padding: 20px; border-radius: 16px; }
.counter-label { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.counter-val { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--navy); }
.counter-val span { font-size: 16px; font-weight: 600; color: var(--muted); }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar-fill { height: 8px; border-radius: 999px; background: var(--green); width: 0; }
.bar-fill.full { background: #B45309; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.badge-done { background: #DCFCE7; color: #166534; }
.badge-doing { background: var(--warn-bg); color: var(--warn-fg); }
.badge-wait { background: #E0E7FF; color: #3730A3; }
.badge-off { background: #F1F5F9; color: #475569; }
.doc-list { list-style: none; margin: 0 0 12px; padding: 0; }
.doc-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; flex-wrap: wrap; }
.doc-list a { font-weight: 700; font-size: 14px; }
.msg { border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; font-size: 15px; }
.msg p:last-child { margin-bottom: 0; }
.msg-customer { background: var(--bg); }
.msg-team { background: var(--soft-green); color: #134E4A; }
.msg-meta { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }

/* ---------- tableaux */
.table-scroll { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: 15px; }
.data th, .data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.data thead th { font-size: 13px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data tbody th { color: var(--navy); }
.requests-table { min-width: 620px; }
.wrap-text { max-width: 360px; overflow-wrap: anywhere; }
tr.prio td { background: #FFFBEB; }

/* ---------- messages */
.flash { border-radius: 14px; padding: 14px 18px; margin: 0 0 16px; font-size: 15px; }
.flash ul { margin: 8px 0 0; padding-left: 20px; }
.flash-info { background: var(--soft-green); color: #134E4A; }
.flash-error { background: #FEE4E2; color: #7A271A; }
.flash-warn { background: var(--warn-bg); color: var(--warn-fg); }
.form-msg { min-height: 20px; font-size: 14px; font-weight: 600; margin: 0; }

/* ---------- pages légales */
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }

/* ---------- pied de page */
.site-footer { background: var(--navy-deep); color: #CBD5E1; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; font-size: 14px; }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .06em; margin: 0 0 10px; }
.footer-title { font-weight: 700; color: #fff; margin: 0; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #CBD5E1; }
.footer-col a.footer-strong { color: #fff; font-weight: 700; }
.footer-legal { border-top: 1px solid #1E3355; padding-top: 18px; padding-bottom: 96px; font-size: 13px; color: #94A3B8; }

/* ---------- signalement de bug */
.bug-fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid #CBD5E1; background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(19, 41, 75, .15); }
.bug-fab:hover { border-color: var(--navy); }
.bug-dialog { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 60px rgba(11, 27, 51, .35); }
.bug-dialog::backdrop { background: rgba(11, 27, 51, .55); }
.bug-form { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.bug-form h2 { margin: 0; font-size: 22px; }
.bug-form p { margin: 0; }

/* ---------- back-office */
.admin-header { background: var(--navy); color: #fff; }
.admin-header .header-row { padding-top: 12px; padding-bottom: 12px; }
.admin-user { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.admin-user form { margin: 0; }
.linklike.on-dark { color: #CBD5E1; width: auto; padding: 6px 10px; }
.linklike.on-dark:hover { background: rgba(255, 255, 255, .1); }
.admin-tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 0; }
.admin-tabs a { color: #CBD5E1; text-decoration: none; padding: 10px 14px; border-radius: 10px 10px 0 0; font-weight: 700; font-size: 14px; white-space: nowrap; }
.admin-tabs a.on { background: var(--bg); color: var(--navy); }
.admin-main { padding-top: 24px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; }
.admin-login { max-width: 460px; margin: 40px auto; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filters .field { min-width: 180px; }
.inline-form { display: flex; gap: 6px; align-items: center; margin: 4px 0 0; }
.inline-form select { font: inherit; font-size: 13px; padding: 4px; border-radius: 6px; }
.mail { border-bottom: 1px solid var(--line-2); padding: 10px 0; }
.mail summary { cursor: pointer; }
.mail-body { white-space: pre-wrap; font-family: inherit; font-size: 14px; background: var(--bg); padding: 14px; border-radius: 10px; }

/* ---------- mobile */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-top: 1px solid var(--line); }
  .main-nav a.btn { margin-top: 10px; border-top: 0; }
  .no-js .main-nav { display: flex; }
}
@media (max-width: 640px) {
  .wrap, .wrap-wide { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .hero-row { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .hero-text h1 { font-size: 34px; }
  .h1 { font-size: 32px; }
  .h1.smaller { font-size: 26px; }
  .h2 { font-size: 28px; }
  .h2.smaller { font-size: 26px; }
  .lead { font-size: 17px; }
  .section-lead { font-size: 16px; margin-bottom: 28px; }
  .brand span { font-size: 18px; }
  .header-row { padding-top: 12px; padding-bottom: 12px; }
  .card, .signup-card, .pad-xl { padding: 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-plans, .grid-3, .grid-2-wide, .grid-plans-simple { grid-template-columns: minmax(0, 1fr); }
  .period-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .period-btn { justify-content: center; padding: 10px 8px; font-size: 14px; flex-wrap: wrap; gap: 4px; }
  .plan-price { font-size: 40px; }
  .recap, .kv { grid-template-columns: 1fr; gap: 2px; }
  .recap dd, .kv dd { margin-bottom: 10px; }
  .stepper li { padding: 6px 10px 6px 6px; font-size: 12px; }
  .stepper .dot { width: 22px; height: 22px; }
  .stepper li:not(.cur) { font-size: 0; gap: 0; padding: 6px; }
  .stepper li:not(.cur) .dot { font-size: 12px; }
  .form-nav .btn { flex: 1 1 auto; }
  .bug-fab span { display: none; }
  .bug-fab { padding: 10px 12px; }
  .header-tools { font-size: 14px; gap: 10px; }
  .header-phone { display: none; }
  .account-layout { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.section-lead.center, .h2.center + .section-lead { margin-left: auto; margin-right: auto; text-align: center; }
@media (max-width: 640px) { .account-main { order: 1; } .side-nav { order: 2; } }
.aside-line strong { white-space: nowrap; }

/* ---------- pied de page court (page Tarifs, comme la maquette) */
.footer-slim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
.footer-slim-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-slim a { color: #CBD5E1; }
.footer-slim a.footer-strong { color: #fff; font-weight: 700; }
body.page-tarifs { background: var(--bg); }

/* ---------- tarifs sur mobile (maquette « Mobile, tarifs ») */
.m-pricing, .m-cta { display: none; }
@media (max-width: 640px) {
  .page-tarifs .pricing-head, .page-tarifs #formules { display: none; }
  .m-pricing { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 8px; }
  .m-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; }
  .m-switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; font-size: 12px; font-weight: 700; }
  .m-sw { text-align: center; padding: 12px 0; border-radius: 9px; color: var(--text); text-decoration: none; }
  .m-sw.on { background: var(--navy); color: #fff; }
  .m-save { margin: -4px 0 0; font-size: 13px; font-weight: 700; color: var(--green); text-align: right; }
  .m-featured { display: block; background: var(--navy); color: #E2E8F0; border-radius: 18px; padding: 22px 20px; position: relative; text-decoration: none; margin-top: 6px; }
  .m-featured:hover { color: #E2E8F0; }
  .m-ribbon { position: absolute; top: -11px; left: 20px; background: var(--accent); color: var(--navy-deep); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em; }
  .m-row, .m-compact { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
  .m-name { display: block; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 4px; }
  .m-sub { display: block; font-size: 13px; }
  .m-price-col { text-align: right; flex: none; }
  .m-old { display: block; font-size: 13px; color: #CBD5E1; }
  .m-price { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; }
  .m-per { display: block; font-size: 12px; color: #CBD5E1; }
  .m-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #2A436B; font-size: 14px; }
  .m-billed { display: block; margin-top: 14px; font-size: 12px; color: #CBD5E1; }
  .m-compact { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--text); }
  .m-compact:hover { color: var(--text); border-color: var(--green); }
  .m-compact .m-name { font-size: 17px; color: var(--navy); margin-bottom: 2px; }
  .m-compact .m-price { font-size: 22px; color: var(--navy); }
  .m-compact .m-per { color: var(--muted); }
  .m-cmp-link { font-size: 14px; font-weight: 700; text-align: center; padding: 6px 0; }
  .m-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; box-shadow: 0 -8px 24px rgba(19, 41, 75, .08); background: #fff; border-top: 1px solid var(--line); padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .m-cta .btn { min-height: 52px; }
  .m-cta p { margin: 10px 0 0; font-size: 12px; text-align: center; color: var(--muted); }
  .page-tarifs .bug-fab { bottom: 128px; }
  .page-tarifs #comparatif { padding-top: 24px; }
  .page-tarifs .site-footer { padding-bottom: 120px; }
}

/* ---------- inscription : étape paiement (maquette) */
.choice-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }
.choice-center { text-align: center; display: flex; align-items: center; justify-content: center; }
.choice-title.small-title { font-size: 16px; }
.hosted-zone { border: 2px dashed #94A3B8; border-radius: 16px; padding: 24px; }
.hosted-label { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mandate { background: var(--bg); border-radius: 12px; padding: 16px 18px; font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) { .hosted-zone { padding: 16px; } }
.anchor { display: block; position: relative; top: -16px; }
.inline { display: inline; margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: 14px; color: var(--green); text-decoration: underline; cursor: pointer; }
.mt-24 { margin-top: 24px; }
body.page-signup .footer-slim > span:first-child { color: #94A3B8; }
.cmp-link { font-weight: 700; font-size: 16px; }
