/* ════════ PAGES FONCTIONNALITÉ BIMREVO ════════ */
.fp-wrap { max-width: 1640px; margin: 0 auto; padding-inline: var(--pad-x, clamp(1.5rem, 5vw, 5rem)); }
.fp-crumb { padding-top: 22px; font-size: 13px; color: #04044A; opacity: .7; }
.fp-crumb a { color: inherit; text-decoration: none; }
.fp-crumb a:hover { color: #000675; opacity: 1; }

/* Hero */
.fp-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding-block: 44px 70px; }
.fp-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(0, 6, 117, .08); color: #000675; font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.fp-lead { margin-top: 16px; font-size: 18px; line-height: 1.65; color: #04044A; opacity: .8; max-width: 56ch; }
.fp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; }
.fp-btn--primary { background: #000675; color: #fff; }
.fp-btn--primary:hover { background: #00A4FF; color: #04044A; transform: translateY(-2px); }
.fp-btn--ghost { background: #fff; color: #04044A; border: 1px solid rgba(0, 6, 117, .2); }
.fp-btn--ghost:hover { border-color: #00A4FF; color: #000675; transform: translateY(-2px); }
.fp-note { margin-top: 18px; font-size: 13px; font-weight: 600; color: #04044A; opacity: .7; }

/* Capture dans un cadre de navigateur */
.fp-shot { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(0, 6, 117, .12); box-shadow: 0 30px 70px rgba(4, 4, 74, .16); }
.fp-shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f1f3f7; border-bottom: 1px solid rgba(0, 6, 117, .08); }
.fp-shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.fp-shot-bar i:nth-child(2) { background: #febc2e; }
.fp-shot-bar i:nth-child(3) { background: #28c840; }
.fp-shot-bar span { margin-left: 8px; padding: 3px 12px; border-radius: 6px; background: #fff; font-size: 11px; color: #04044A; opacity: .75; }
.fp-shot img { display: block; width: 100%; height: auto; }
.fp-shot--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.fp-shot--duo img + img { border-left: 1px solid rgba(0, 6, 117, .08); }

/* Sections */
.fp-section { padding-block: 60px; border-top: 1px solid rgba(0, 6, 117, .08); }
.fp-section > .fp-wrap > h2:not(#_) { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: 0; margin-bottom: 14px; }
@media (max-width: 640px) { .fp-section > .fp-wrap > h2:not(#_) { font-size: 20px; } }
.fp-sub { max-width: 62ch; font-size: 16px; line-height: 1.65; color: #04044A; opacity: .75; margin-bottom: 30px; }

.fp-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; }
.fp-benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: #f1f7ff; border: 1px solid rgba(0, 164, 255, .25); font-size: 15.5px; font-weight: 600; line-height: 1.5; color: #04044A; }
.fp-benefits li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #000675; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.fp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.fp-steps li { counter-increment: step; position: relative; padding: 24px 22px 22px; border-radius: 18px; border: 1px solid rgba(0, 6, 117, .12); background: #fff; font-size: 15.5px; line-height: 1.6; color: #04044A; }
.fp-steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: #000675; color: #00E7FF; font-weight: 800; font-size: 15px; }
.fp-steps b { display: block; font-size: 17px; margin-bottom: 4px; color: #000675; }

.fp-terms { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.fp-terms a { display: inline-block; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(0, 6, 117, .18); background: #fff; font-size: 14px; font-weight: 600; color: #000675; text-decoration: none; transition: all .2s; }
.fp-terms a:hover { background: #000675; color: #fff; }

.fp-faq { max-width: 860px; }
.fp-faq details { border: 1px solid rgba(0, 6, 117, .12); border-radius: 14px; background: #fff; padding: 0 20px; margin-bottom: 10px; }
.fp-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 16px; font-weight: 700; color: #04044A; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f1f7ff; color: #000675; display: flex; align-items: center; justify-content: center; font-weight: 800; transition: transform .2s; }
.fp-faq details[open] summary::after { transform: rotate(45deg); background: #000675; color: #fff; }
.fp-faq p { padding: 0 0 18px; font-size: 15.5px; line-height: 1.7; color: #04044A; opacity: .85; }

.fp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fp-related a { display: block; padding: 22px; border-radius: 18px; border: 1px solid rgba(0, 6, 117, .12); background: #fff; text-decoration: none; transition: all .2s; }
.fp-related a:hover { border-color: #00A4FF; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(4, 4, 74, .10); }
.fp-related b { display: block; font-size: 17px; color: #000675; margin-bottom: 6px; }
.fp-related span { font-size: 14.5px; line-height: 1.55; color: #04044A; opacity: .75; }

/* Bandeau d'appel à l'action (carte arrondie) */
.fp-cta { width: calc(100% - 2 * var(--pad-x, 5rem)); max-width: calc(var(--max, 1640px) - 2 * var(--pad-x, 5rem)); margin: 40px auto 70px; padding: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 56px); border-radius: 25px; background: linear-gradient(135deg, #000675 0%, #04044A 100%); border: 1px solid rgba(0, 164, 255, .35); text-align: center; color: #fff; }
.fp-cta h2:not(#_) { color: #fff; font-size: clamp(1.6rem, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.fp-cta p { margin: 14px auto 0; max-width: 56ch; opacity: .85; }
.fp-cta .fp-cta-row { justify-content: center; }
.fp-cta .fp-btn--primary { background: #00E7FF; color: #04044A; }
.fp-cta .fp-btn--primary:hover { background: #fff; color: #000675; }
.fp-cta .fp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.fp-cta .fp-btn--ghost:hover { border-color: #00E7FF; color: #00E7FF; }

@media (max-width: 1000px) {
  .fp-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 28px 50px; }
  .fp-steps { grid-template-columns: 1fr; }
  .fp-related { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fp-benefits { grid-template-columns: 1fr; }
  .fp-lead { font-size: 16px; }
  .fp-section { padding-block: 44px; }
  .fp-btn { width: 100%; }
  .fp-shot--duo { grid-template-columns: 1fr; }
  .fp-shot--duo img + img { border-left: 0; border-top: 1px solid rgba(0, 6, 117, .08); }
}
.fp-shot--narrow { max-width: 520px; margin-inline: auto; width: 100%; }

/* ── Pages de termes du glossaire : texte + fiche « L'essentiel » ── */
.fp-hero--text { grid-template-columns: 1.3fr 1fr; align-items: start; padding-block: 44px 56px; }
.fp-facts { padding: 26px 26px 22px; border-radius: 20px; background: linear-gradient(135deg, #000675 0%, #04044A 100%); color: #fff; border: 1px solid rgba(0, 164, 255, .35); }
.fp-facts b { display: block; font-size: 15px; letter-spacing: .5px; color: #00E7FF; margin-bottom: 14px; }
.fp-facts ul { list-style: none; }
.fp-facts li { position: relative; padding: 9px 0 9px 26px; font-size: 15px; line-height: 1.5; border-top: 1px solid rgba(255, 255, 255, .12); }
.fp-facts li:first-child { border-top: 0; }
.fp-facts li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: #00E7FF; font-weight: 800; }
.fp-prose { max-width: 860px; margin-left: 0; }
.fp-prose h2:not(#_) { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: 0; margin: 34px 0 10px; }
.fp-prose h2:not(#_):first-child { margin-top: 0; }
.fp-prose p { font-size: 17px; line-height: 1.75; color: #04044A; opacity: .88; }
.fp-prose p + p { margin-top: 12px; }
.fp-prose .fp-cta-row { margin-top: 22px; }
@media (max-width: 1000px) { .fp-hero--text { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 40px; } }
@media (max-width: 640px) { .fp-prose p { font-size: 16px; } .fp-prose h2:not(#_) { font-size: 20px; } }

/* ── Tarifs : guide « Quel plan choisir ? » ── */
.plan-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-guide-grid > div { padding: 22px; border-radius: 18px; border: 1px solid rgba(0, 6, 117, .12); background: #fff; }
.plan-guide-grid b { display: block; font-size: 19px; color: #000675; }
.plan-guide-grid i { display: block; font-style: normal; font-size: 13px; font-weight: 700; margin: 2px 0 10px; color: #04044A; opacity: .6; }
.plan-guide-grid span { font-size: 14.5px; line-height: 1.6; color: #04044A; opacity: .85; }
.plan-guide .plan-guide-h2:not(#_) { margin-top: 48px; }
.fp-sub a { color: #000675; font-weight: 700; text-decoration: none; }
.fp-sub a:hover { color: #00A4FF; }
@media (max-width: 1000px) { .plan-guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plan-guide-grid { grid-template-columns: 1fr; } }

/* ── Guides : 4 étapes, tableau, liste ── */
.fp-steps--4 { grid-template-columns: repeat(4, 1fr); }
.fp-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid rgba(0, 6, 117, .12); }
.fp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; background: #fff; }
.fp-table th { text-align: left; padding: 14px 18px; background: #000675; color: #fff; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.fp-table td { padding: 16px 18px; border-top: 1px solid rgba(0, 6, 117, .1); vertical-align: top; line-height: 1.6; color: #04044A; }
.fp-table tbody tr:nth-child(even) td { background: #f1f7ff; }
.fp-list { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.fp-list li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.6; color: #04044A; }
.fp-list li::before { content: "→"; position: absolute; left: 0; color: #000675; font-weight: 800; }
.fp-list a, .fp-prose a:not(.fp-btn), .fp-note a { color: #000675; font-weight: 700; text-decoration: none; }
.fp-list a:hover, .fp-prose a:not(.fp-btn):hover, .fp-note a:hover { color: #0069B4; }
@media (max-width: 1100px) { .fp-steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fp-steps--4 { grid-template-columns: 1fr; } }

/* ── Page Fonctionnalités : cartes de fonctions ── */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(0, 6, 117, .12); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hub-card b { font-size: 18px; color: #000675; line-height: 1.25; }
.hub-card span { font-size: 15px; line-height: 1.65; color: #04044A; opacity: .82; flex: 1; }
.hub-card em { font-style: normal; font-size: 14px; font-weight: 700; color: #000675; margin-top: 4px; }
a.hub-card:hover { transform: translateY(-4px); border-color: #00A4FF; box-shadow: 0 18px 44px rgba(4, 4, 74, .12); }
a.hub-card:hover em { color: #0069B4; }
.hub-card--static { background: #f6faff; border-style: dashed; }
.feat-hub-link { text-align: center; margin: -30px 0 40px; }
@media (max-width: 1000px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } .feat-hub-link { margin-top: -20px; } }

/* ── Page Pour qui : un bloc par profil ── */
.aud-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.aud-intro { font-size: 18px; line-height: 1.7; color: #04044A; opacity: .85; margin-bottom: 22px; max-width: 62ch; }
.aud-grid h3:not(#_) { font-size: 17px; font-weight: 700; color: #000675; margin-bottom: 4px; }
.aud-card { padding: 26px; border-radius: 22px; background: linear-gradient(135deg, #f9fcff 0%, #edf5ff 100%); border: 1px solid rgba(0, 105, 180, .14); display: flex; flex-direction: column; gap: 12px; }
.aud-card > b { font-size: 15px; color: #000675; }
.aud-card .aud-plan-h { margin-top: 6px; }
.aud-card p { font-size: 15px; line-height: 1.65; color: #04044A; opacity: .85; }
.aud-card .aud-alt { font-size: 14px; opacity: .7; }
.aud-card .fp-btn { align-self: flex-start; margin-top: 6px; }
.fp-facts li a { color: #fff; text-decoration: none; font-weight: 600; }
.fp-facts li a:hover { color: #00E7FF; }
@media (max-width: 1000px) { .aud-grid { grid-template-columns: 1fr; } }
.aud-grid h2:not(#_) { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: 0; margin-bottom: 10px; }
@media (max-width: 640px) { .aud-grid h2:not(#_) { font-size: 20px; } .aud-intro { font-size: 16px; } }

/* ── Page Pour qui : cartes de choix du profil ── */
.pq-pick { padding-top: 44px; }
.pq-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.pq-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 20px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(0, 6, 117, .12); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pq-card:hover { transform: translateY(-4px); border-color: #00A4FF; box-shadow: 0 18px 44px rgba(4, 4, 74, .12); }
.pq-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px; background: rgba(0, 6, 117, .08); color: #000675; }
.pq-card:nth-child(2n) .pq-icon { background: rgba(0, 105, 180, .10); color: #0069B4; }
.pq-icon svg { width: 30px; height: 30px; stroke-width: 1.8; }
.pq-card h3:not(#_) { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: 0; color: #04044A; }
.pq-role { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #000675; }
.pq-tag { margin-top: 8px; padding: 5px 12px; border-radius: 99px; background: #eef5ff; font-size: 11px; font-weight: 700; color: #04044A; }
.pq-more { margin-top: 12px; font-size: 13.5px; font-weight: 700; color: #000675; }
.pq-card:hover .pq-more { color: #0069B4; }
@media (max-width: 1000px) { .pq-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pq-cards { grid-template-columns: 1fr; } }
