/* RVL Solutions — feuille de style (aucune ressource externe) */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Inter-Bold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Inter-ExtraBold.woff") format("woff"); }

:root {
  --navy: #060d33;
  --navy-2: #0b1450;
  --ink: #0a1230;
  --muted: #4a5878;
  --line: #e4e8f4;
  --bg: #ffffff;
  --bg-soft: #f6f7fc;
  --violet: #541ee8;
  --blue: #0060f5;
  --cyan: #12a9ff;
  --grad: linear-gradient(120deg, #541ee8 0%, #0060f5 100%);
  --grad-dash: linear-gradient(90deg, #12a9ff 0%, #541ee8 100%);
  --radius: 20px;
  --shadow: 0 1px 2px rgba(6, 13, 51, .04), 0 12px 32px -12px rgba(6, 13, 51, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(6, 13, 51, .25); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--navy); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1; padding: 16px 24px; border-radius: 14px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn--sm { padding: 12px 18px; font-size: 15px; border-radius: 12px; }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 10px 24px -10px rgba(84, 30, 232, .65); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(84, 30, 232, .75); }
.btn--ghost { color: var(--navy); background: #fff; border-color: var(--line); }
.btn--ghost:hover { border-color: #c9d0e8; transform: translateY(-2px); }
.btn--light { color: var(--navy); background: #fff; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.btn--outline-light { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

/* ---------- Titres communs ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 30px; height: 7px; border-radius: 4px 2px 4px 2px; background: var(--grad-dash); transform: skewX(-24deg); }
h1 { font-size: clamp(2.4rem, 5.3vw, 4.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -.038em; color: var(--navy); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -.032em; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; color: var(--navy); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }

section { position: relative; }
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: 72px 0 104px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(84, 30, 232, .14), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -15%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(0, 96, 245, .12), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__text { display: grid; gap: 28px; justify-items: start; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__place { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; font-weight: 500; }
.hero__place .icon { color: var(--violet); }

.visual { position: relative; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1; display: grid; place-items: center; }
.visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: conic-gradient(from 210deg, rgba(84, 30, 232, .35), rgba(18, 169, 255, .3), rgba(84, 30, 232, .35)); filter: blur(46px); }
.visual__tile { position: relative; width: 58%; height: auto; filter: drop-shadow(0 28px 44px rgba(40, 20, 160, .38)); animation: bob 7s ease-in-out infinite; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 16px; font-size: 14px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.chip .icon { color: var(--violet); }
.chip--1 { top: 10%; left: -3%; animation-delay: -1.2s; }
.chip--2 { top: 42%; right: -6%; animation-delay: -3s; }
.chip--3 { bottom: 9%; left: 6%; animation-delay: -4.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; align-content: start; gap: 16px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: #cfd6ee; }
.card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 12px 22px -12px rgba(84, 30, 232, .8); }
.card__icon .icon { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.ticks { display: grid; gap: 10px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); line-height: 1.45; }
.ticks .icon { color: var(--blue); margin-top: 1px; width: 1.15em; height: 1.15em; }

/* ---------- Méthode ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; display: grid; align-content: start; gap: 12px; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--grad-dash); }
.step__num { font-size: 15px; font-weight: 800; letter-spacing: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Approche ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.point { display: grid; gap: 12px; align-content: start; }
.point::before { content: ""; width: 44px; height: 8px; border-radius: 4px 2px 4px 2px; background: var(--grad-dash); transform: skewX(-24deg); margin-bottom: 8px; }
.point p { color: var(--muted); }

/* ---------- Contact (bandeau sombre) ---------- */
.contact { background: var(--navy); color: #fff; overflow: hidden; }
.contact::before { content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(84, 30, 232, .55), transparent 70%); pointer-events: none; }
.contact::after { content: ""; position: absolute; bottom: -50%; left: -10%; width: 55%; height: 120%; background: radial-gradient(closest-side, rgba(0, 96, 245, .4), transparent 70%); pointer-events: none; }
.contact .container { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: start; }
.contact h2 { color: #fff; max-width: 18em; }
.nowrap { white-space: nowrap; }
.contact .eyebrow { color: #b9c4e6; }
.contact .lead { color: #c9d3f0; }
.mail { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(1.25rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; color: #fff; text-decoration: none; word-break: break-all; border-bottom: 2px solid rgba(255, 255, 255, .25); padding-bottom: 6px; transition: border-color .2s; }
.mail:hover { border-color: var(--cyan); }
.mail .icon { color: var(--cyan); width: 1.1em; height: 1.1em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact__place { display: inline-flex; align-items: center; gap: 10px; color: #b9c4e6; font-size: 15px; }
.copy-status { min-height: 1.4em; font-size: 14px; color: #8fe3b4; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: #b9c4e6; border-top: 1px solid rgba(255, 255, 255, .1); padding: 48px 0 40px; font-size: 15px; }
.footer .container { display: grid; gap: 32px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand img { height: 40px; width: auto; filter: drop-shadow(0 0 18px rgba(84, 30, 232, .45)); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer a { text-decoration: none; color: #d6ddf5; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: 14px; color: #93a0c8; }

/* ---------- Page légale ---------- */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 18px 0 12px; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal p, .legal li { color: #27325a; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--blue); text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: 210px 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 0; }
.facts dt, .facts dd { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { background: var(--bg-soft); font-weight: 700; color: var(--navy); font-size: 15px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 15px; }
.back .icon { transform: rotate(180deg); }
.back:hover { color: var(--blue); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .visual__tile, .chip { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Adaptatif ---------- */
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero { padding: 40px 0 80px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .visual { max-width: 340px; }
  .cards, .points { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .container { padding: 0 20px; }
  .header .container { height: 64px; }
  .brand img { height: 34px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .hero__actions .btn, .contact__actions .btn { width: 100%; }
  .chip--1 { left: 0; } .chip--2 { right: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-top: 1px solid var(--line); padding-bottom: 6px; }
  .facts dd { border-top: 0; padding-top: 4px; }
  .facts dt:first-of-type { border-top: 0; }
  .eyebrow { letter-spacing: .22em; font-size: 12px; }
}

.sr-copy { position: fixed; left: -9999px; top: 0; opacity: 0; }
