:root {
  --bg: #f4f8fd;
  --bg-deep: #e8f1fb;
  --ink: #0a1d3a;
  --ink-soft: #4a5b76;
  --blue: #1e6bf5;
  --blue-deep: #0a3fb8;
  --blue-light: #74b3ff;
  --blue-glow: #b8dcff;
  --cyan: #7fdcff;
  --white: #ffffff;
  --accent: #ff6b35;
  --line: rgba(10, 29, 58, 0.08);
  --shadow-soft: 0 20px 60px -20px rgba(30, 107, 245, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* BULLES DE FOND DISCRÈTES */
.bubbles-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.5;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255,255,255,0.9) 0%, 
    rgba(184, 220, 255, 0.6) 30%, 
    rgba(30, 107, 245, 0.3) 70%,
    rgba(30, 107, 245, 0.1) 100%);
  box-shadow: 
    inset -10px -10px 30px rgba(10, 63, 184, 0.15),
    inset 5px 5px 20px rgba(255, 255, 255, 0.6),
    0 8px 32px rgba(30, 107, 245, 0.15);
  animation: float-up linear infinite;
}

.bubble::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 70%);
  filter: blur(2px);
}

@keyframes float-up {
  0% { transform: translateY(110vh) translateX(0) scale(0.8); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(50vh) translateX(40px) scale(1); }
  90% { opacity: 1; }
  100% { transform: translateY(-20vh) translateX(-40px) scale(1.1); opacity: 0; }
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 248, 253, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  position: relative;
}

.logo-mark .b1 {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--blue-light) 40%, var(--blue) 100%);
  top: 0;
  left: 0;
  box-shadow: inset -3px -3px 8px rgba(10, 63, 184, 0.3);
}
.logo-mark .b2 {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cyan) 40%, var(--blue) 100%);
  bottom: 0;
  right: 0;
  box-shadow: inset -2px -2px 6px rgba(10, 63, 184, 0.3);
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px -15px rgba(30, 107, 245, 0.5);
}

/* CONTENU PAGE LÉGALE */
.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--blue); }

.legal-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.legal-wrap h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.legal-wrap h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue-deep);
}

.last-update {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-content {
  font-size: 16px;
  color: var(--ink-soft);
}

.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 20px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-content a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--blue-light);
}

.legal-content a:hover {
  border-bottom-color: var(--blue);
}

/* INFOS CARD */
.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 32px;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.info-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  padding: 60px 48px 40px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: white;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-content p {
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--blue); }

@media (max-width: 700px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .legal-wrap { padding: 120px 20px 60px; }
  .info-grid { grid-template-columns: 1fr; }
}
