:root {
  --bg: #070a0f;
  --bg-soft: #0b1017;
  --bg-card: #0f1520;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf3;
  --text-muted: #9aa5b1;
  --accent: #5ce1e6;
  --accent-strong: #2bccd4;
  --accent-soft: rgba(92, 225, 230, 0.1);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(7, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 1.25rem;
  color: #fff;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.15rem;
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.15s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--accent);
  color: #042124;
}

.site-main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.hero {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) 0 4rem;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(92, 225, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 230, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(92, 225, 230, 0.25);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 62ch;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #042124;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.manifesto,
.values,
.contact {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.manifesto h2,
.values h2,
.contact h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.manifesto p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 68ch;
}

.values h2 {
  margin-bottom: 1.75rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: 0.2s ease;
}

.card:hover {
  border-color: rgba(92, 225, 230, 0.4);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact {
  text-align: center;
  padding-bottom: 5rem;
}

.contact h2 {
  margin-bottom: 0.75rem;
}

.contact p {
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 180px;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: 0.2s ease;
}

.contact-item:hover {
  border-color: rgba(92, 225, 230, 0.4);
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-soft);
}

.footer-note {
  margin-top: 0.25rem;
  opacity: 0.7;
}

.footer-nav {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-sep {
  opacity: 0.4;
}

/* ===== Pages légales ===== */

.legal {
  padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 780px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.4rem;
}

.legal .legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.25rem;
}

.legal h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  margin: 2rem 0 0.6rem;
}

.legal h3 {
  font-size: 1.02rem;
  margin: 1.25rem 0 0.4rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  line-height: 1.7;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal li {
  margin: 0.35rem 0;
}

.legal a {
  color: var(--accent);
  word-break: break-word;
}

.legal .legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.legal .legal-note {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.9rem 1.25rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }
}
