/* Repères & preuves vidéo — bandeau de preuves, carte des 14 modules, téléphone vidéo, onglets.
   Partagé par l'accueil, les pages fonctionnalités, les pages régionales et en/es/de/it.
   Dépend de app-ui.css (--accent, --accent-d, --text, --muted, --line) ; valeurs de repli en dur.
   Toute modification : monter le ?v= des pages qui le chargent (cache 24 h, PIEGES › Cache CSS). */

.rp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Bandeau de preuves (remplace « 14 · 1 · Vous · 0 % ») ───────── */
.rp-proofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.rp-proof {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 196px;
  padding: 24px 20px 20px; background: #fff; border: 1px solid var(--line, #d3e2e8); border-radius: 16px;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}
.rp-proof::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent, #11b5c7), #7ee8f7);
}
.rp-proof:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(10,142,157,.6); }
.rp-proof .rp-ico { width: 40px; height: 40px; border-radius: 12px; background: #0e1218; display: grid; place-items: center; }
.rp-proof .rp-ico svg { width: 22px; height: 22px; stroke: #7ee8f7; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rp-proof .rp-val { margin: 0; font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #0e1218; white-space: nowrap; }
.rp-proof .rp-val small { font-size: .42em; font-weight: 700; color: #07727e; margin-left: 6px; letter-spacing: 0; }
.rp-proof .rp-val--txt { font-size: 30px; padding: 6px 0; white-space: normal; letter-spacing: -.02em; }
.rp-proof .rp-lbl { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted, #52606d); }
.rp-proof .rp-lbl b { color: #0e1218; font-weight: 600; }
.rp-proof .rp-more { margin-top: auto; font-size: 14px; font-weight: 600; color: #07727e; text-decoration: none; }
.rp-proof .rp-more::after { content: " →"; }
.rp-proof .rp-more:hover, .rp-proof .rp-more:focus-visible { text-decoration: underline; }

/* ───────── Fonds sombres des blocs (même dégradé que le hero) ───────── */
.rp-dark {
  background: radial-gradient(120% 90% at 80% 0%, #0d3550 0%, #071e32 45%, #050f1a 100%);
  color: #fff;
}
.rp-dark .land-section-inner, .rp-dark .rp-inner { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.rp-dark .land-label, .rp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7ee8f7; }
.rp-dark h2 { color: #fff; }
.rp-dark h2 .ocean-word { color: var(--accent, #11b5c7); -webkit-text-fill-color: currentColor; background: none; }
.rp-dark .land-sub, .rp-dark .rp-lead { color: #b4c8d6; }
.rp-dark a:not(.btn) { color: #7ee8f7; }

/* ───────── Carte des 14 modules (HTML + liens, spokes en SVG décoratif) ───────── */
.rp-hubwrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; margin: 28px 0 40px; }
.rp-hub { position: relative; aspect-ratio: 700 / 560; }
.rp-hub > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rp-hub .rp-spoke { stroke: rgba(126,232,247,.24); stroke-width: 1.2; }
.rp-hub .rp-ring { fill: none; stroke: rgba(17,181,199,.5); stroke-width: 1.2; stroke-dasharray: 3 6; }
.rp-core {
  position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: #0b1c2b; border: 1px solid rgba(126,232,247,.5);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
}
.rp-core img { width: 34%; height: auto; }
.rp-core b { font-size: clamp(12px, 1.6vw, 17px); font-weight: 800; line-height: 1.1; color: #fff; }
.rp-core small { font-size: clamp(10px, 1.1vw, 13px); font-weight: 600; color: #7ee8f7; }
.rp-node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: #e8f1f7; text-decoration: none;
  background: #0f2638; border: 1px solid rgba(255,255,255,.22); border-radius: 99px;
  transition: background .2s, border-color .2s;
}
.rp-node i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.rp-node:hover, .rp-node:focus-visible { background: rgba(17,181,199,.28); border-color: #7ee8f7; color: #fff; }
.rp-node:focus-visible { outline: 3px solid #7ee8f7; outline-offset: 2px; }
.rp-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: #b4c8d6; }
.rp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; background: var(--c); }
.rp-side { display: grid; gap: 14px; }
.rp-side .rp-st { margin: 0; padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); border-radius: 16px; }
.rp-side .rp-st b { display: block; font-size: 32px; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; color: #fff; }
.rp-side .rp-st b span { color: #11b5c7; }
.rp-side .rp-st p { margin: 4px 0 0; font-size: 15px; color: #b4c8d6; }
@media (prefers-reduced-motion: no-preference) {
  .rp-ring { animation: rp-spin 70s linear infinite; transform-origin: 350px 280px; }
}
@keyframes rp-spin { to { transform: rotate(360deg); } }

/* ───────── Téléphone + vidéo ───────── */
.rp-phone { position: relative; width: 100%; max-width: 290px; margin: 0 auto; }
.rp-phone .rp-glow { position: absolute; inset: -30px; z-index: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(17,181,199,.32), transparent 70%); filter: blur(20px); pointer-events: none; }
.rp-body { position: relative; z-index: 1; padding: 10px; border-radius: 42px; background: linear-gradient(145deg, #2a3340, #0b0f14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1); }
.rp-screen { position: relative; overflow: hidden; border-radius: 33px; aspect-ratio: 540 / 1168; background: #eef1f6; }
.rp-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-pp {
  all: unset; box-sizing: border-box; position: absolute; z-index: 3; right: -8px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; background: #0e1218; border: 1px solid rgba(255,255,255,.3);
}
.rp-pp:hover { border-color: #7ee8f7; }
.rp-pp:focus-visible { outline: 3px solid #7ee8f7; outline-offset: 2px; }
.rp-pp svg { width: 16px; height: 16px; fill: #fff; }
.rp-pp .i-play { display: none; }
.rp-phone[data-state="paused"] .rp-pp .i-play { display: block; }
.rp-phone[data-state="paused"] .rp-pp .i-pause { display: none; }
.rp-cap { margin: 14px 0 0; text-align: center; font-size: 12px; line-height: 1.4; color: #8aa6b8; }
.rp-light .rp-cap { color: var(--muted, #52606d); }

/* ───────── Onglets vidéo ───────── */
.rp-mov { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; margin-top: 30px; }
.rp-tabs { display: grid; gap: 10px; }
.rp-tab {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px;
  padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s;
}
.rp-tab:hover { background: rgba(255,255,255,.09); }
.rp-tab:focus-visible { outline: 3px solid #7ee8f7; outline-offset: 2px; }
.rp-tab[aria-selected="true"] { background: rgba(17,181,199,.18); border-color: #11b5c7; }
.rp-tab .rp-n { grid-row: span 2; align-self: center; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: #11b5c7; }
.rp-tab .rp-t { font-weight: 700; font-size: 17px; color: #fff; }
.rp-tab .rp-d { font-size: 14px; line-height: 1.45; color: #b4c8d6; }
.rp-tab .rp-bar { display: none; grid-column: 1 / -1; height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.rp-tab[aria-selected="true"] .rp-bar { display: block; }
.rp-tab .rp-bar i { display: block; height: 100%; width: 0; background: #11b5c7; }
.rp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ───────── Hero : téléphone + pastilles ───────── */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-visual .rp-phone { max-width: 260px; }
.rp-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; max-width: 230px;
  background: #fff; color: #0e1218; border-radius: 14px; font-size: 13px; font-weight: 600; line-height: 1.3;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.6);
}
.rp-float i { width: 10px; height: 10px; border-radius: 50%; background: #1f8f5f; flex: none; }
.rp-float.rp-warn i { background: #c4880a; }
.rp-float small { display: block; font-weight: 500; font-size: 12px; color: #52606d; }
.rp-f1 { left: -4px; top: 92px; } .rp-f2 { right: -6px; top: 290px; } .rp-f3 { left: 8px; bottom: 76px; }
.hero-kicker { display: inline-block; margin: 0 0 18px; padding: 6px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: #a7f3d0; background: rgba(16,185,129,.18); border: 1px solid rgba(74,222,128,.3); border-radius: 99px; }
.hero-kicker:hover { border-color: #7ee8f7; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: #b8cdd6; }
.hero-trust li::before { content: "✓"; margin-right: 7px; font-weight: 700; color: #11b5c7; }

/* ───────── Pages fonctionnalités / régionales : section « En vidéo » ───────── */
.rp-vsec { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; max-width: 1080px; margin: 0 auto; }
.rp-vsec h2 { margin-top: 6px; }
.rp-vsec .rp-note { font-size: 14px; color: var(--muted, #52606d); }
.rp-vsec .rp-phone .rp-cap { color: var(--muted, #52606d); }
.rp-vsec .rp-phone .rp-glow { background: radial-gradient(60% 50% at 50% 40%, rgba(17,181,199,.22), transparent 70%); }

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .rp-proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-hubwrap, .rp-mov, .rp-vsec { grid-template-columns: 1fr; }
  .rp-mov .rp-phone, .rp-vsec .rp-phone { order: -1; max-width: 240px; }
  .hero-visual { min-height: 0; margin-top: 8px; }
  .hero-visual .rp-phone { max-width: 230px; }
}
/* Carte des modules sur petit écran : liste groupée, pas de rayons */
@media (max-width: 720px) {
  .rp-hub { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 4px; }
  .rp-hub > svg, .rp-hub .rp-ring { display: none; }
  .rp-core { position: static; transform: none; flex: 0 0 100%; width: auto; aspect-ratio: auto; flex-direction: row; gap: 10px; padding: 12px; border-radius: 16px; margin-bottom: 6px; }
  .rp-core img { width: 38px; }
  .rp-node { position: static; transform: none; }
  .rp-float { display: none; }
}
@media (max-width: 520px) {
  .rp-proofs { grid-template-columns: 1fr; }
  .rp-proof { min-height: 0; }
  .rp-dark .land-section-inner, .rp-dark .rp-inner { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-proof, .rp-tab, .rp-node { transition: none; }
  .rp-ring { animation: none; }
}

/* ───────── Accueil : panneau carte des modules, ancres, navigation ───────── */
.rp-panel { border-radius: 24px; padding: 40px 36px; margin: 28px 0 44px; }
.rp-panel .rp-h3 { margin: 8px 0 10px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: #fff; }
.rp-panel .rp-h3 span { color: #11b5c7; }
.rp-panel .rp-lead { margin: 0; max-width: 60ch; }
.rp-side .rp-st b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 700; letter-spacing: 0; color: #fff; }
.rp-side .rp-st { font-size: 15px; line-height: 1.45; color: #b4c8d6; }
.pillar-tile { scroll-margin-top: 96px; }
.m-nav-links a { white-space: nowrap; }
@media (max-width: 720px) { .rp-panel { padding: 28px 18px; border-radius: 18px; } }
.rp-f1 { left: -34px; top: 58px; } .rp-f3 { left: -18px; bottom: 96px; }

/* ───────── Vues ORDINATEUR (lot du 11/11) : portable, fenêtre, galerie d'écrans ─────────
   Règle : au-delà de 760 px, l'app se montre comme sur un ordinateur ; en dessous, comme sur un téléphone
   (les deux figures sont dans la page, une seule est affichée ; la vidéo cachée ne se charge pas). */
.rp-only-mob { display: none !important; }
@media (max-width: 760px) {
  .rp-only-desk { display: none !important; }
  .rp-only-mob { display: block !important; }
}
[data-rp-video][data-state="paused"] .rp-pp .i-play { display: block; }
[data-rp-video][data-state="paused"] .rp-pp .i-pause { display: none; }

/* Portable (hero) */
.rp-laptop { position: relative; width: 100%; max-width: 720px; margin: 0 auto; }
.rp-laptop .rp-glow, .rp-win .rp-glow { position: absolute; inset: -40px -30px; z-index: 0; background: radial-gradient(55% 50% at 50% 45%, rgba(17,181,199,.30), transparent 70%); filter: blur(24px); pointer-events: none; }
.rp-laptop .rp-body { padding: 2.4% 2.4% 3.2%; border-radius: 20px 20px 8px 8px; background: linear-gradient(160deg, #2c3643, #0b0f14 70%); }
.rp-laptop .rp-body::before { content: ""; position: absolute; left: 50%; top: 1%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3b4654; }
.rp-laptop .rp-screen, .rp-win .rp-screen { aspect-ratio: 16 / 10; border-radius: 6px; background: #eef1f6; }
.rp-laptop .rp-screen img, .rp-win .rp-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.rp-base { position: relative; z-index: 1; height: 16px; margin: 0 -6.5%; border-radius: 2px 2px 16px 16px / 2px 2px 12px 12px; background: linear-gradient(#d5dde4, #8d99a5); box-shadow: 0 30px 50px -22px rgba(0,0,0,.85); }
.rp-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; margin-left: -8%; border-radius: 0 0 8px 8px; background: #a9b4be; }
.rp-laptop .rp-pp { right: 4%; bottom: 7%; }

/* Fenêtre de navigateur (onglets, pages fonctionnalités, galerie) */
.rp-win { position: relative; width: 100%; margin: 0; }
.rp-win .rp-body { padding: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 34px 70px -34px rgba(4,16,28,.75), 0 0 0 1px rgba(14,18,24,.12); }
.rp-chrome { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; background: #e6ecf1; border-bottom: 1px solid #d3dce3; }
.rp-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #c3ccd5; }
.rp-chrome i:first-child { background: #f2877b; } .rp-chrome i:nth-child(2) { background: #f3c55c; } .rp-chrome i:nth-child(3) { background: #6fcf7f; }
.rp-win .rp-screen { border-radius: 0; }
.rp-win .rp-pp { right: 14px; bottom: 14px; }
.rp-win .rp-cap, .rp-laptop .rp-cap { margin-top: 16px; }
.rp-vsec .rp-win .rp-cap, .rp-gal .rp-cap { color: #46535e; }

/* Hero : le portable prend la place du téléphone au-delà de 760 px */
.hero-visual .rp-laptop { max-width: 700px; }
.hero-visual--desk .rp-f1 { left: -46px; top: 2%; } .hero-visual--desk .rp-f2 { right: -22px; top: 46%; } .hero-visual--desk .rp-f3 { left: -10px; bottom: 16%; }

/* « Le matin au centre » : onglets en ligne au-dessus d'une grande fenêtre */
.rp-mov--desk { display: block; }
.rp-mov--desk .rp-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-mov--desk .rp-tab { grid-template-columns: 34px 1fr; align-content: start; }
.rp-mov--desk .rp-tab .rp-n { grid-row: auto; align-self: start; font-size: 24px; }
.rp-mov--desk .rp-tab .rp-d { grid-column: 1 / -1; margin-top: 6px; }
.rp-mov--desk .rp-stage { max-width: 1000px; margin: 30px auto 0; }
.rp-mov--desk .rp-actions { justify-content: center; margin-top: 26px; }
@media (max-width: 960px) { .rp-mov--desk .rp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rp-mov--desk .rp-tabs { grid-template-columns: 1fr; } .rp-mov--desk .rp-stage { margin-top: 0; margin-bottom: 18px; order: -1; } .rp-mov--desk { display: flex; flex-direction: column; } }

/* Pages fonctionnalités : section vidéo empilée (texte, puis fenêtre pleine largeur) */
.rp-vsec--desk { display: block; }
.rp-vsec--desk > div:first-child { max-width: 760px; }
.rp-vsec--desk .rp-stage { margin-top: 26px; }
@media (max-width: 760px) { .rp-vsec--desk .rp-stage { max-width: 260px; margin: 22px auto 0; } }

/* Galerie d'écrans (onglets + fenêtre ; une figure par écran, les autres « hidden ») */
.rp-gal { margin: 8px 0 44px; }
.rp-gal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }
.rp-gal-head h3 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; color: #0e1218; }
.rp-gal-head p { margin: 4px 0 0; color: var(--muted, #52606d); font-size: 15px; }
.rp-gal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.rp-gal-tab {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600;
  color: #0e1218; background: #fff; border: 1px solid var(--line, #d3e2e8); transition: background .2s, border-color .2s, color .2s;
}
.rp-gal-tab:hover { border-color: var(--brand-teal-clair, #297782); }
.rp-gal-tab:focus-visible { outline: 3px solid var(--brand-teal-clair, #297782); outline-offset: 2px; }
.rp-gal-tab[aria-selected="true"] { background: #0e1218; border-color: #0e1218; color: #fff; }
.rp-gal [role="tabpanel"][hidden] { display: none; }
.rp-gal .rp-screen a { display: block; height: 100%; }
.rp-gal .rp-screen a:focus-visible { outline: 3px solid var(--brand-teal-clair, #297782); outline-offset: -3px; }
.rp-gal .rp-cap { text-align: left; font-size: 14px; }
.rp-gal .rp-cap b { color: #0e1218; font-weight: 600; }
.rp-gal .rp-cap a { color: #07727e; font-weight: 600; }
.rp-gal .rp-cap small { display: block; margin-top: 2px; font-size: 12px; color: #46535e; }
@media (max-width: 760px) {
  .rp-gal-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -4px; padding: 4px; scrollbar-width: thin; }
  .rp-gal-tab { flex: none; }
  .rp-chrome { height: 20px; gap: 5px; padding: 0 9px; } .rp-chrome i { width: 7px; height: 7px; }
}
@media (prefers-reduced-motion: reduce) { .rp-gal-tab { transition: none; } }
/* Hero d'une page fonctionnalité : la fenêtre remplace le téléphone au-delà de 760 px */
.rp-stage--hero { width: 100%; align-self: center; }
.rp-stage--hero .rp-win { max-width: 620px; margin: 0 auto; }
