/* Réveil Client US: shared styles (landing, legal pages, client space). Same visual language as the French site. */
:root {
  --ink: #1d1d1f; --paper: #fff; --mist: #f5f5f7; --graphite: #6e6e73; --hairline: #d2d2d7;
  --blue: #0071e3; --blue-hover: #0077ed; --green: #1f9d55; --warn: #b4540a; --red: #c62828;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1040px; --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.5; letter-spacing: -0.015em; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 5vw, 48px); }
h3 { font-size: 21px; line-height: 1.25; }
.muted { color: var(--graphite); }
.center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 980px; padding: 12px 22px; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer; background: var(--blue); color: #fff; text-decoration: none !important; transition: background .2s, transform .2s; }
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: scale(.98); }
.btn.big { padding: 16px 30px; font-size: 19px; box-shadow: 0 10px 30px rgba(0,113,227,.28); }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn.ghost:hover { background: var(--mist); }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: default; }

/* Navigation */
/* Capsule arrondie qui flotte en haut de page (même esprit que la barre de Panerly). */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 16px 0; pointer-events: none; }
.nav .wrap { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; max-width: 1120px; padding: 0 9px 0 24px; border-radius: 999px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.7); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 12px 40px -12px rgba(6,30,110,.35), 0 0 0 1px rgba(10,60,180,.06); }
.nav .btn.small { padding: 11px 20px; }
@media (max-width: 760px) { .nav { padding: 10px 10px 0; } .nav .wrap { height: 56px; padding: 0 7px 0 16px; } }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none !important; }
.brand img { height: 28px; width: auto; }
.nav-links { position: relative; display: flex; align-items: center; gap: 2px; font-size: 15px; }
.nav-links a:not(.btn), .nav-links button.link { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; color: var(--ink); opacity: .82; font-weight: 500; text-decoration: none !important; transition: background .2s, color .2s, opacity .2s; }
.nav-links a:not(.btn):hover, .nav-links button.link:hover { opacity: 1; color: #0a5cff; background: rgba(10,92,255,.09); }
.nav-links .btn { margin-left: 8px; }
.nav-links a, .nav-links button { white-space: nowrap; }
@media (max-width: 760px) { .nav-links .hide-m { display: none; } .nav-links a:not(.btn) { padding: 8px 10px; font-size: 14px; } .nav-links .btn { margin-left: 2px; } .nav .btn.small { padding: 10px 15px; font-size: 14px; } .nav .brand img { height: 24px; } }

/* Footer */
footer { background: var(--mist); color: var(--graphite); font-size: 14px; padding: 36px 0 44px; margin-top: 0; }
footer .cols { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--graphite); }

/* Legal pages */
.legal { padding: 48px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 6vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #3a3a3c; font-size: 16px; }
.legal ul { padding-left: 22px; }
