/* contact */
:root {
  --navy:       #071320;
  --navy-mid:   #0e2d5e;
  --red:        #d62828;
  --bg:         #f7f9fc;
  --text:       #0f172a;
  --muted:      #475569;
  --card:       #ffffff;
  --line:       #e2e8f0;
  --font:       ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.nav a {
  color: rgba(255,255,255,.80);
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav a:hover  { background: rgba(255,255,255,.12); color: #fff; }
.nav a.active { background: var(--red); color: #fff; }
.nav a.nav-login {
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.25);
}
.nav a.nav-login:hover { background: rgba(255,255,255,.22); }

/* ── LAYOUT ── */
.wrap {
  max-width: 1100px;
  margin: 48px auto 24px;
  padding: 0 24px;
}

h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--navy);
}

.rule {
  height: 3px;
  width: 84px;
  background: var(--red);
  border-radius: 999px;
  margin: 10px 0 24px;
}

/* ── CONTENT GRID ── */
.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
@media (min-width: 780px) {
  .content { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}
.card p {
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 6px;
}

/* ── FORMULIER ── */
input, textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--navy-mid);
  background: #fff;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
button[type="submit"] {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  transition: background .15s;
}
button[type="submit"]:hover { background: var(--navy-mid); }

.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}
.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.disclaimer a { color: #2563eb; font-weight: 600; }
.disclaimer a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: #040c15;
  color: rgba(255,255,255,.55);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  margin-top: 64px;
}

/* ── SR-ONLY ── */
.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;
}

@media (max-width: 640px) {
  .wrap { margin-top: 32px; padding: 0 16px; }
  .card { padding: 20px; }
}
