@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #071816;
  --bg-elevated: #0c2320;
  --card: #102924;
  --text: #ecfdf9;
  --muted: #8fbdb4;
  --accent: #0f766e;
  --accent-bright: #14b8a6;
  --lime: #b8e04a;
  /* Couleurs charte logo / wordmark app (widgets/racketpad_wordmark.dart, mode sombre) */
  --brand-lime: #a4de02;
  --line: rgba(20, 184, 166, 0.18);
  --max: 1080px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(15, 118, 110, 0.25), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(184, 224, 74, 0.06), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding-block: 0 2rem;
}

.home-hero {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 41, 36, 0.95), rgba(10, 31, 28, 0.98));
  border: 1px solid rgba(20, 184, 166, 0.22);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.home-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.home-hero h1 span {
  color: var(--brand-lime);
}

.home-hero p.lead {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
}

.pill-accent {
  border-color: rgba(164, 222, 2, 0.45);
  color: #d4f07a;
  background: rgba(15, 118, 110, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.35);
  border: none;
}

.btn-primary:hover {
  opacity: 0.95;
  text-decoration: none;
}

.btn-primary svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 0;
}

.section.legal-intro {
  padding-bottom: 0;
  padding-top: 1rem;
}

.legal-intro {
  padding-bottom: 0;
}

.legal-intro h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.legal-body {
  max-width: 800px;
  color: var(--muted);
}

.legal-body h2 {
  color: var(--text);
  font-size: 1.15rem;
  margin-top: 1.75rem;
}

.legal-body h2:first-of-type {
  margin-top: 0.5rem;
}

.legal-body h3 {
  color: var(--text);
  font-size: 1rem;
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
}

.legal-body p {
  margin: 0 0 1rem;
}

.legal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-body li {
  margin: 0.35rem 0;
}

.legal-body .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.legal-body strong {
  color: var(--text);
}

.legal-back {
  margin-top: 2rem;
  margin-bottom: 0;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 22, 26, 0.94);
  border-bottom: 1px solid rgba(20, 184, 166, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav .logo-img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.site-nav .logo-wordmark {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.site-nav .logo-racket {
  color: var(--text);
}

.site-nav .logo-pad {
  color: var(--brand-lime);
}

.site-nav .logo:hover {
  text-decoration: none;
  opacity: 0.95;
}

.site-nav .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav .nav-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.site-nav .nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.site-nav .nav-cta {
  background: rgba(15, 118, 110, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.35);
  color: var(--text);
}

.site-footer-merge {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2rem;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.site-footer-merge a {
  color: var(--muted);
  margin-left: 8px;
  text-decoration: none;
}

.site-footer-merge a:hover {
  color: var(--text);
}
