/*
 * R2H — Documentation de style
 * Fichier : assets/css/public-theme.css
 * Périmètre : Design applicatif unifié et palette bleu tableau de bord (#2b50c7 / #0a1430 / #eef2fd) sur les 30 pages publiques et d'authentification.
 * Cascade / précautions : Chargé après design-system.css et public.css sur les pages .r2h-public ; les adaptations mobiles dédiées sont dans mobile/css/mobile-public.css.
 * Référence : docs/REFERENCE_FICHIERS.md ; mobile/README.md
 * Signature du projet : @admin-zaloria
 */
/* ============================================================
   R2H — Charte applicative unifiée (Palette Bleu Dashboard)
   ============================================================ */

@font-face {
  font-family: "Inter Home";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

body.r2h-public {
  --font-main: "Inter Home", "Segoe UI", Arial, sans-serif;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --surface-3: #e3eaf8;
  --ink: #0f1d40;
  --text: #334366;
  --muted: #516182;
  --faint: #627396;
  --border: #dfe6f4;
  --border-2: #c9d5ee;
  --primary-50: #eef2fd;
  --primary-100: #dce5fb;
  --primary-200: #bdcdf8;
  --primary-300: #8eaaf3;
  --primary-500: #2b50c7;
  --primary-600: #2140a8;
  --primary-700: #19338c;
  --primary: #2b50c7;
  --secondary-50: #e6f7f6;
  --secondary-100: #c2eeec;
  --secondary-500: #2fa3a0;
  --secondary-600: #1b7270;
  --secondary: #1b7270;
  --header-h: 72px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(15, 29, 64, .05);
  --shadow-sm: 0 6px 18px rgba(15, 29, 64, .06), 0 1px 2px rgba(15, 29, 64, .04);
  --shadow-md: 0 14px 34px rgba(15, 29, 64, .09), 0 2px 6px rgba(15, 29, 64, .04);
  --shadow-lg: 0 24px 54px rgba(15, 29, 64, .14), 0 4px 12px rgba(15, 29, 64, .06);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
}

.r2h-public :is(h1,h2,h3,h4,.sec-title) {
  color: var(--ink);
  letter-spacing: -.025em;
}
.r2h-public :is(.cta-band,.cta-box,.section-blue,.section-dark,.support-card,.site-footer) :is(h1,h2,h3,h4,.sec-title) {
  color: #ffffff;
}
.r2h-public .cta-band p,
.r2h-public .cta-box p,
.r2h-public .support-card p {
  color: rgba(235, 241, 255, .90);
}
.r2h-public .public-skip-nav {
  height: 0;
  overflow: visible;
}
.r2h-public .public-skip {
  position: fixed;
  top: -90px;
  left: 20px;
  z-index: 500;
  padding: 11px 18px;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.r2h-public .public-skip:focus {
  top: 0;
  color: #ffffff;
}
.r2h-public .public-content:focus {
  outline: none;
}

.r2h-public .container {
  width: min(1240px, calc(100% - 64px));
  max-width: none;
  padding-inline: 0;
}

/* ---------- BARRE D'APPLICATION (EN-TÊTE UNIFIÉ) ---------- */
.r2h-public .site-header {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 29, 64, .04);
}
.r2h-public .site-header::before {
  content: "";
  display: block;
  height: 2.5px;
  background: linear-gradient(90deg, #19338c 0%, #2b50c7 45%, #4169e2 78%, #2fa3a0 100%);
}
.r2h-public .site-header.scrolled {
  background: rgba(255, 255, 255, .97);
  border-color: var(--border-2);
  box-shadow: 0 10px 28px rgba(15, 29, 64, .08);
}
.r2h-public .site-header > .container {
  height: 69px;
  gap: 18px;
}
.r2h-public .brand .brand-logo-img {
  height: 42px;
  width: auto;
}
.r2h-public .main-nav {
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: #f5f7fc;
  border: 1px solid #e4eaf6;
}
.r2h-public .main-nav > a,
.r2h-public .main-nav .nav-item > a,
.r2h-public .nav-item > .nav-top {
  color: #24355a;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 9px;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.r2h-public .main-nav > a:hover,
.r2h-public .main-nav .nav-item > a:hover,
.r2h-public .nav-item > .nav-top:hover {
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 29, 64, .06);
}
.r2h-public .main-nav a.on,
.r2h-public .nav-item.on > .nav-top {
  color: var(--primary);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(43, 80, 199, .10), inset 0 0 0 1px #d7e1fa;
}
.r2h-public .nav-drop {
  border-color: var(--border);
  border-radius: 16px;
  padding: 9px;
  box-shadow: 0 22px 48px rgba(15, 29, 64, .14), 0 2px 6px rgba(15, 29, 64, .05);
}
.r2h-public .nav-drop a {
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 550;
}
.r2h-public .nav-drop a .i {
  color: var(--primary);
}
.r2h-public .nav-drop a:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}
.r2h-public .header-cta {
  gap: 10px;
}
.r2h-public .header-cta .hdr-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f6f8fd;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.r2h-public .header-cta .hdr-lang:hover {
  border-color: var(--primary-200);
  background: var(--primary-50);
  color: var(--primary);
}
.r2h-public .header-cta .hdr-lang .i {
  width: 15px;
  height: 15px;
  color: var(--primary);
}
.r2h-public .header-cta .account-link {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 650;
  transition: background-color .18s ease, color .18s ease;
}
.r2h-public .header-cta .account-link:hover {
  color: var(--primary);
  background: var(--primary-50);
}
.r2h-public .site-header .header-cta a.provider-button {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #2b50c7;
  border-radius: 999px;
  background-color: #2b50c7;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(43, 80, 199, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.r2h-public .site-header .header-cta a.provider-button:hover {
  background-color: #2140a8;
  border-color: #2140a8;
  color: #ffffff;
  box-shadow: 0 9px 22px rgba(33, 64, 168, .28);
  transform: translateY(-1px);
}
.r2h-public .site-header .header-cta a.provider-button[data-cta-state="connected"] {
  box-shadow: 0 6px 18px rgba(43, 80, 199, .26), 0 0 0 2px #eef2fd;
}

/* ---------- BOUTONS APPLICATIFS ---------- */
.r2h-public .btn {
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: -.005em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.r2h-public .btn-primary {
  background-color: #2b50c7;
  border-color: #2b50c7;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(43, 80, 199, .20), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.r2h-public .btn-primary:hover {
  background-color: #2140a8;
  border-color: #2140a8;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(33, 64, 168, .26);
  transform: translateY(-1px);
}
.r2h-public .btn-teal {
  background: #1b7270;
  border-color: #1b7270;
  color: #ffffff;
}
.r2h-public .btn-teal:hover {
  background: #145958;
  border-color: #145958;
}
.r2h-public .btn-outline,
.r2h-public .btn-soft {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-xs);
}
.r2h-public .btn-outline:hover,
.r2h-public .btn-soft:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  border-color: var(--primary-200);
}
.r2h-public .btn-white {
  background: #ffffff;
  color: #19338c;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(10, 20, 48, .22);
}
.r2h-public .btn-white:hover {
  background: #f5f8ff;
  color: #132870;
}

/* ---------- EN-TÊTES D'ESPACES PUBLICS (STYLE WORKSPACE SAAS) ---------- */
.r2h-public:not(.home-page) .page-hero,
.r2h-public .abx-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 48px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(680px 320px at 88% 8%, rgba(65, 105, 226, .16), transparent 62%),
    radial-gradient(540px 280px at 8% 100%, rgba(47, 163, 160, .10), transparent 58%),
    linear-gradient(125deg, #e9effd 0%, #f1f5fe 54%, #f6f8fd 100%);
}
.r2h-public:not(.home-page) .page-hero::before,
.r2h-public .abx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(43, 80, 199, .10) 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(110deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 70%, transparent);
  -webkit-mask-image: linear-gradient(110deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .12) 70%, transparent);
}
.r2h-public .page-hero::after,
.r2h-public .abx-hero::after {
  content: none;
  display: none;
}
.r2h-public .page-hero .container,
.r2h-public .abx-hero .container {
  position: relative;
  z-index: 1;
}
.r2h-public .page-hero .public-hero-grid,
.r2h-public .abx-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .82fr);
  gap: 44px;
  align-items: center;
}
.r2h-public .public-hero-copy {
  min-width: 0;
}
.r2h-public .page-hero .eyebrow,
.r2h-public .page-hero .public-hero-eyebrow,
.r2h-public .abx-eyebrow,
.r2h-public .sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d5e0fa;
  box-shadow: 0 2px 6px rgba(43, 80, 199, .06);
  color: #2140a8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.r2h-public .sec-eyebrow {
  background: var(--primary-50);
  border-color: var(--primary-100);
  box-shadow: none;
}
.r2h-public .page-hero h1,
.r2h-public .abx-hero h1 {
  color: var(--ink);
  font-size: clamp(29px, 3vw, 41px);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.r2h-public .abx-hl {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--primary);
}
.r2h-public .page-hero .lede,
.r2h-public .abx-lede {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.68;
  max-width: 630px;
}
.r2h-public .ph-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.r2h-public .public-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 390px;
  height: 266px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(201, 213, 238, .85);
  box-shadow: 0 18px 40px rgba(15, 29, 64, .08), inset 0 1px 0 #ffffff;
  backdrop-filter: blur(8px);
}
.r2h-public .public-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(25, 51, 140, .12));
}
.r2h-public .public-hero-art.public-hero-person {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #e8effd 100%);
}
.r2h-public .public-hero-art.public-hero-person img {
  object-fit: cover;
  object-position: center 22%;
  filter: none;
}
.r2h-public .public-hero-art.public-hero-globe img {
  width: 248px;
  height: 248px;
}
.r2h-public .abx-stage {
  min-height: 0;
}

/* ---------- SECTIONS & CARTES MODULAIRES (STYLE COCKPIT) ---------- */
.r2h-public:not(.home-page) .section {
  padding: 64px 0;
}
.r2h-public:not(.home-page) .section-tight {
  padding: 44px 0;
}
.r2h-public .section-alt {
  background: #ffffff;
  border-block: 1px solid var(--border);
}
.r2h-public .sec-head {
  margin-bottom: 36px;
}
.r2h-public .sec-head h2 {
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.025em;
}
.r2h-public .sec-head p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.r2h-public .card,
.r2h-public .f-card,
.r2h-public .price-card,
.r2h-public .testi-card,
.r2h-public .step-card,
.r2h-public .faq-item,
.r2h-public .country-card,
.r2h-public .mod-card,
.r2h-public .role-card,
.r2h-public .help-card,
.r2h-public .an-card,
.r2h-public .abx-pillar,
.r2h-public .abx-value,
.r2h-public .abx-gov,
.r2h-public .abx-tl-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.r2h-public :is(.f-card,.country-card,.mod-card,.role-card,.help-card,.an-card,.abx-pillar,.abx-value):hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.r2h-public .f-ic,
.r2h-public .ic-box {
  border-radius: 13px;
  background: var(--primary-50);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary-100);
}
.r2h-public .badge-blue {
  background: var(--primary-50);
  color: var(--primary-600);
  border: 1px solid var(--primary-100);
}
.r2h-public .badge-teal {
  background: var(--secondary-50);
  color: var(--secondary-600);
  border: 1px solid var(--secondary-100);
}
.r2h-public .price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 44px rgba(43, 80, 199, .14);
}
.r2h-public .stats-band {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.r2h-public .stats-band::before {
  background: linear-gradient(90deg, #19338c, #2b50c7 52%, #2fa3a0);
}
.r2h-public .stat .v {
  color: var(--ink);
}

/* Bandes bleues et sombres alignées sur la sidebar / topbar sombre des dashboards */
.r2h-public .section-blue,
.r2h-public .cta-band,
.r2h-public .cta-box {
  background:
    radial-gradient(760px 380px at 92% -10%, rgba(65, 105, 226, .42), transparent 60%),
    radial-gradient(560px 320px at -8% 110%, rgba(47, 163, 160, .24), transparent 56%),
    linear-gradient(125deg, #0a1430 0%, #162e6e 52%, #2b50c7 100%);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(10, 20, 48, .22);
}
.r2h-public .section-blue {
  border-radius: 0;
}
.r2h-public .section-dark {
  background: linear-gradient(180deg, #0a1430 0%, #101f46 100%);
  color: #d6e0f5;
}
.r2h-public .section-dark .sec-head p {
  color: #b4c3e4;
}
.r2h-public .section-dark .sec-eyebrow {
  background: rgba(65, 105, 226, .20);
  border-color: rgba(142, 170, 243, .30);
  color: #a8c1ff;
}
.r2h-public .cta-final {
  padding-block: 36px 68px;
}

/* ---------- MODULES SPÉCIFIQUES : ANNUAIRE, PAYS, VÉRIFICATION, LÉGAL ---------- */
.r2h-public .dir-toolbar,
.r2h-public .form-card,
.r2h-public .verify-card,
.r2h-public .toolbar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.r2h-public .toolbar {
  padding: 18px;
}
.r2h-public .dir-item {
  border-color: var(--border);
  border-radius: 14px;
  background: #ffffff;
}
.r2h-public .dir-item.on {
  background: var(--primary-50);
  border-color: var(--primary-300);
  box-shadow: 0 4px 14px rgba(43, 80, 199, .10);
}
.r2h-public .world-map {
  margin: 10px 0 0;
}
.r2h-public .pays-head-sec {
  background:
    radial-gradient(640px 280px at 88% 10%, rgba(65, 105, 226, .14), transparent 60%),
    linear-gradient(120deg, #e9effd, #f4f6fb);
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border);
}
.r2h-public .pays-head {
  max-width: 880px;
}
.r2h-public .pays-head h1 {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
}
.r2h-public .pays-sub {
  max-width: 760px;
  color: var(--text);
  font-size: 14px;
}
.r2h-public .pays-world-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
}
.r2h-public .country-card {
  scroll-margin-top: 90px;
}
.r2h-public .country-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.r2h-public .legal {
  color: var(--text);
  line-height: 1.8;
  max-width: 1040px;
}
.r2h-public .legal h2 {
  margin-top: 36px;
  scroll-margin-top: 100px;
}
.r2h-public .legal-toc,
.r2h-public .cgu-doc,
.r2h-public .cgu-toc {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.r2h-public .cgu-layout {
  gap: 34px;
}
.r2h-public .an-article header {
  border-radius: 18px;
  background: linear-gradient(125deg, #eef2fd, #f6f8fd);
  border: 1px solid var(--border);
  padding: 26px;
  margin-bottom: 22px;
}
.r2h-public .an-article h1 {
  color: var(--ink);
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1.2;
}
.r2h-public .an-body {
  color: var(--text);
  line-height: 1.8;
}
.r2h-public .an-banner {
  border-radius: 16px;
}
.r2h-public .an-pull {
  color: var(--ink);
  background: var(--primary-50);
  border-color: var(--primary);
  border-radius: 0 14px 14px 0;
}
.r2h-public .public-role-intro {
  max-width: 720px;
  margin-inline: auto;
}
.r2h-public .public-role-intro h1 {
  color: var(--ink);
  font-weight: 800;
}
.r2h-public .public-error-panel {
  padding: 42px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.r2h-public .support-card {
  overflow: hidden;
  background: linear-gradient(135deg, #0a1430, #19338c 55%, #2b50c7);
}
.r2h-public .public-panel-title {
  font-size: var(--fs-md);
  line-height: 1.35;
  color: var(--ink);
}
.r2h-public .public-mission-title {
  font-size: 22px;
  margin-bottom: 12px;
}
.r2h-public .ps-num {
  color: var(--muted);
}
.r2h-public #modules-grid .mod-card .mod-ghost {
  color: var(--faint);
}
.r2h-public .fx-code {
  color: var(--text);
}
.r2h-public .avatar.av-5 {
  background: #2140a8;
}
.r2h-public .an-kicker-tag.an-b-teal {
  color: #1b7270;
}

/* ---------- AUTHENTIFICATION APPLICATIVE (PIXEL-PAR-PIXEL MAQUETTE) ---------- */
body.r2h-auth-app {
  background: #edf1f9;
  min-height: 100vh;
}
.r2h-public .auth-wrap {
  background: linear-gradient(125deg, #e8eefc, #f4f6fb);
}
.r2h-auth-app .ln-wrap {
  min-height: 100vh;
  max-width: 930px;
  margin-inline: auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 415px);
  justify-content: center;
  align-content: center;
  align-items: stretch;
  gap: 44px;
}

/* Panneau gauche (carte d'accueil marque R2H sur ordinateur > 900px) */
.r2h-auth-app .ln-left {
  position: relative;
  min-height: 690px;
  padding: 52px 34px 40px;
  border-radius: 34px;
  border: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background-color: #152b75;
  background-image:
    linear-gradient(155deg, rgba(16, 33, 96, .97) 0%, rgba(28, 58, 162, .95) 52%, rgba(43, 80, 199, .95) 100%),
    url("../images/login-bg.png");
  background-position: center, 62% center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 26px 56px rgba(15, 29, 64, .22);
}
.r2h-public .ln-left::after {
  content: none;
  display: none;
}
.r2h-auth-app .ln-geo-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.r2h-auth-app .ln-splash-center {
  position: relative;
  z-index: 2;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.r2h-auth-app .ln-splash-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.r2h-auth-app .ln-splash-emblem img {
  height: 78px;
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(6, 13, 40, .42));
}
.r2h-auth-app .ln-left h2.ln-splash-name {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.025em;
}
.r2h-auth-app .ln-left .ln-accent {
  color: #dbe6ff;
}
.r2h-auth-app .ln-splash-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}
.r2h-auth-app .ln-splash-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 286px;
  height: 52px;
  border-radius: 999px;
  background: #ffffff;
  color: #19338c;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(8, 16, 48, .28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.r2h-auth-app .ln-splash-cta:hover {
  color: #132870;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 16, 48, .34);
}
.r2h-auth-app .ln-splash-sub {
  color: rgba(255, 255, 255, .86);
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
}
.r2h-auth-app .ln-splash-sub:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Panneau droit (coquille applicative à bandeau bleu royal + feuille blanche arrondie) */
.r2h-auth-app .ln-right {
  padding: 0;
  background: transparent;
  min-width: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.r2h-auth-app .ln-app-shell {
  width: 100%;
  min-height: 690px;
  background: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 56px rgba(15, 29, 64, .14);
}
.r2h-auth-app .ln-hero-head {
  position: relative;
  height: 206px;
  flex: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px 26px;
  background-color: #162e7a;
  background-image: linear-gradient(145deg, #112466 0%, #2042ad 52%, #2b50c7 100%);
}
.r2h-auth-app .ln-hero-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.r2h-auth-app .ln-hero-logo img {
  height: 68px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(6, 13, 40, .38));
}
.r2h-auth-app .ln-back-home {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color .18s ease, transform .18s ease;
}
.r2h-auth-app .ln-back-home:hover {
  background: rgba(255, 255, 255, .26);
  color: #ffffff;
  transform: translateY(-1px);
}
.r2h-auth-app .ln-back-home .i {
  width: 16px;
  height: 16px;
}
.r2h-auth-app .ln-lang {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .15);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
  font-size: 11px;
  font-weight: 750;
}
.r2h-auth-app .ln-lang:hover {
  background: rgba(255, 255, 255, .26);
  border-color: rgba(255, 255, 255, .45);
  color: #ffffff;
}

/* Feuille blanche arrondie chevauchante */
.r2h-auth-app .ln-sheet {
  position: relative;
  z-index: 2;
  flex: 1;
  margin-top: -32px;
  background: #ffffff;
  border-radius: 32px 32px 0 0;
  padding: 28px 34px 26px;
  display: flex;
  flex-direction: column;
}
.r2h-auth-app .ln-card {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
}
.r2h-auth-app .ln-brand {
  display: none !important;
}
.r2h-auth-app .public-auth-title {
  margin: 0 0 22px;
  text-align: center;
  color: #19338c;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}
.r2h-auth-app .ln-wsub {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: -10px 0 18px;
}

/* Labels accessibles aux lecteurs d'écran tout en gardant des champs pilules épurés */
.r2h-auth-app .ln-sr-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  color: #0f1d40;
  background: #ffffff;
}

/* Champs pilules intégraux (border-radius: 999px) */
.r2h-auth-app .ln-field {
  position: relative;
  margin-bottom: 14px;
}
.r2h-auth-app .ln-input {
  height: 48px;
  padding: 0 6px 0 18px;
  gap: 10px;
  border: 1.5px solid #c5cfe2;
  border-radius: 999px;
  background: #ffffff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.r2h-auth-app .ln-input:focus-within {
  border-color: #2b50c7;
  box-shadow: 0 0 0 3px rgba(43, 80, 199, .12);
}
.r2h-auth-app .ln-ic {
  width: 22px;
  height: 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #516182;
}
.r2h-auth-app .ln-input:focus-within .ln-ic {
  color: #2b50c7;
}
.r2h-auth-app .ln-ic .i {
  width: 17px;
  height: 17px;
}
.r2h-auth-app .ln-input input,
.r2h-auth-app .ln-input select {
  padding: 0 10px 0 0;
  font-size: 13.5px;
  color: var(--ink);
}
.r2h-auth-app .ln-input input::placeholder {
  color: #6b7a99;
}
.r2h-auth-app .ln-eye {
  padding: 0 12px;
  color: #6b7a99;
}
.r2h-auth-app .ln-eye:hover {
  color: #19338c;
}
.r2h-auth-app .ln-field .error-msg {
  padding-left: 16px;
  font-size: 11.5px;
}

/* Sous-ligne centrée sous les champs pilules */
.r2h-auth-app .ln-subrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 2px 0 18px;
  font-size: 11.5px;
  color: #516182;
}
.r2h-auth-app .ln-remember {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #516182;
}
.r2h-auth-app .ln-remember input {
  width: 14px;
  height: 14px;
  accent-color: #2b50c7;
  margin: 0;
}
.r2h-auth-app .ln-subrow .ln-forgot {
  display: inline;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: #19338c;
}
.r2h-auth-app .ln-forgot-block {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 650;
  color: #19338c;
}

/* Bouton principal pilule à dégradé horizontal bleu royal */
.r2h-auth-app .ln-btn {
  height: 48px;
  border-radius: 999px;
  background-color: #2b50c7;
  background-image: linear-gradient(90deg, #355ee0 0%, #2648b8 52%, #172e82 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 10px 24px rgba(38, 72, 184, .28);
}
.r2h-auth-app .ln-btn:hover {
  background-color: #2140a8;
  background-image: linear-gradient(90deg, #2b50c7 0%, #1f3ea3 52%, #122469 100%);
  box-shadow: 0 13px 28px rgba(25, 51, 140, .34);
}

/* Séparateur fin « ou » + tuiles carrées brillantes (profils démo) */
.r2h-auth-app .ln-qa {
  max-width: none;
  width: 100%;
  margin-top: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
  text-align: center;
}
.r2h-auth-app .ln-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #516182;
  font-size: 12px;
  font-weight: 500;
}
.r2h-auth-app .ln-or::before,
.r2h-auth-app .ln-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d6e0f0;
}
.r2h-auth-app .ln-qa-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.r2h-auth-app .ln-qa-tile {
  position: relative;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #ffffff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.r2h-auth-app .ln-qa-tile:hover {
  transform: translateY(-2px) scale(1.04);
}
.r2h-auth-app .ln-qa-tile.is-coral {
  background: linear-gradient(135deg, #ff6352 0% 50%, #e02d1b 50.5% 100%);
  box-shadow: 0 6px 14px rgba(224, 45, 27, .26);
}
.r2h-auth-app .ln-qa-tile.is-amber {
  background: linear-gradient(135deg, #ffd038 0% 50%, #eea300 50.5% 100%);
  box-shadow: 0 6px 14px rgba(238, 163, 0, .28);
}
.r2h-auth-app .ln-qa-tile.is-blue {
  background: linear-gradient(135deg, #4d84ff 0% 50%, #2457d6 50.5% 100%);
  box-shadow: 0 6px 14px rgba(36, 87, 214, .28);
}
.r2h-auth-app .ln-qa-tile.is-teal {
  background: linear-gradient(135deg, #3ac7c2 0% 50%, #1b7270 50.5% 100%);
  box-shadow: 0 6px 14px rgba(27, 114, 112, .26);
}
.r2h-auth-app .ln-qa-tile.active {
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 10px 20px rgba(25, 51, 140, .30), inset 0 0 0 1.5px rgba(255, 255, 255, .65);
}
.r2h-auth-app .ln-qa-tile .ln-qa-ic {
  width: 100%;
  height: 100%;
  background: transparent;
  color: #ffffff;
  display: grid;
  place-items: center;
}
.r2h-auth-app .ln-qa-tile .ln-qa-ic .i {
  width: 19px;
  height: 19px;
}
.r2h-auth-app .ln-qa-tile .ln-qa-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  color: #0f1d40;
  background: #ffffff;
}
.r2h-auth-app .ln-qa-social {
  margin: 14px 0 4px;
  font-size: 12px;
  color: #516182;
}
.r2h-auth-app .ln-qa-social b {
  color: #0f1d40;
  font-weight: 750;
}
.r2h-auth-app .ln-qa-links {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #516182;
}
.r2h-auth-app .ln-qa-links a {
  color: #19338c;
  font-weight: 650;
}

.r2h-public .otp-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}
.r2h-public .otp-row input {
  min-width: 0;
  flex: 1 1 0;
  max-width: 42px;
  height: 50px;
  border: 1px solid var(--border-2);
  border-radius: 11px;
  background: #ffffff;
  color: var(--ink);
  font: 700 20px var(--font-main);
  text-align: center;
}
.r2h-public .ln-otp {
  gap: 8px;
}
.r2h-public .ln-otp input {
  min-width: 0;
  flex: 1 1 0;
  max-width: 42px;
}

/* ---------- PIED DE PAGE BLEU NUIT DASHBOARD (#0a1430) ---------- */
.r2h-public .site-footer {
  background: #0a1430;
  color: #cbd6ee;
  border-top: 1px solid #1b2c59;
  padding: 58px 0 28px;
}
.r2h-public .footer-grid {
  gap: 44px;
  padding-bottom: 36px;
}
.r2h-public .footer-brand img {
  height: 34px;
}
.r2h-public .footer-brand p {
  font-size: 12.5px;
  line-height: 1.68;
  color: #b8c6e6;
  max-width: 300px;
}
.r2h-public .footer-col :is(h2,h4) {
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.r2h-public .footer-col li {
  margin-bottom: 9px;
}
.r2h-public .footer-col a {
  color: #cbd6ee;
  font-size: 12.5px;
  transition: color .18s ease;
}
.r2h-public .footer-col a:hover {
  color: #ffffff;
}
.r2h-public .footer-social {
  gap: 9px;
  margin-top: 18px;
}
.r2h-public .footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(65, 105, 226, .16);
  border: 1px solid rgba(142, 170, 243, .22);
  color: #e4ecff;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.r2h-public .footer-social a:hover {
  background: #2b50c7;
  border-color: #5c82ef;
  color: #ffffff;
  transform: translateY(-2px);
}
.r2h-public .footer-social .i {
  width: 15px;
  height: 15px;
}
.r2h-public .footer-bottom {
  border-top-color: rgba(142, 170, 243, .16);
  padding-top: 20px;
  color: #aebee0;
  font-size: 12px;
}
.r2h-public .footer-bottom a {
  color: #dce6fc;
}
.r2h-public .footer-bottom a:hover {
  color: #ffffff;
}

/* ---------- ASSISTANT FLOTTANT ALIGNÉ PALETTE DASHBOARD ---------- */
.r2h-public #chat-fab {
  background: linear-gradient(135deg, #19338c, #2b50c7 62%, #4169e2);
  box-shadow: 0 12px 28px rgba(25, 51, 140, .34);
}
.r2h-public .chat-head {
  background: linear-gradient(135deg, #0a1430, #19338c 55%, #2b50c7);
}
.r2h-public .chat-chip {
  color: var(--primary-600);
}

/* ---------- GARDE-FOUS DE MISE EN PAGE & TABLETTES ---------- */
.r2h-public :is(.grid,.feature-row,.dir-layout,.directory,.faq-layout,.form-2col,.ent-kpis,.an-layout) > * {
  min-width: 0;
}
.r2h-public :is(.legal,.lg-sec,.ln-wsub,.consent-box,.ln-check) a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.r2h-public .ent-list .el-tx,
.r2h-public .country-card > div {
  min-width: 0;
}
.r2h-public :is(.an-article,.lg-sec,.legal,.rt-title,.el-tx,.device-row,.country-card) {
  overflow-wrap: break-word;
}
.r2h-public .contact-lines {
  display: grid;
  gap: 12px;
}
.r2h-public .empty-state p {
  overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
  .r2h-public .main-nav {
    background: transparent;
    border: 0;
    padding: 0;
  }
  .r2h-public .burger {
    position: relative;
    z-index: 220;
  }
  .r2h-public .main-nav.mobile-open {
    background: #ffffff;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 100dvh;
    padding: 84px 24px 30px;
  }
  .r2h-public .page-hero .public-hero-grid,
  .r2h-public .abx-hero .hero-grid {
    gap: 32px;
    grid-template-columns: minmax(0, 1.3fr) minmax(230px, .8fr);
  }
}
@media (max-width: 1080px) {
  .r2h-public .container {
    width: calc(100% - 56px);
  }
  .r2h-public .public-hero-art {
    max-width: 320px;
    height: 236px;
  }
  .r2h-public .public-hero-art.public-hero-globe img {
    width: 224px;
    height: 224px;
  }
  .r2h-public .ln-left {
    padding-inline: 32px;
  }
  .r2h-public .ln-left h2 {
    font-size: 32px;
  }
}
@media (max-width: 980px) {
  .r2h-public .support-card {
    position: relative;
    top: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .r2h-public *, .r2h-public *::before, .r2h-public *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
