/* ——— Variables & Reset ——— */
:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --text: #111111;
  --accent: #2563eb;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ——— Header ——— */
header {
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
  background: radial-gradient(circle at top, #e0edff 0, #f5f5f7 55%, #f5f5f7 100%);
}
header h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0 0 .5rem;
}
header p { margin: 0.25rem 0; color: var(--muted); }

.lang-switch {
  margin-top: .6rem;
  font-size: .95rem;
}
.lang-switch a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
.lang-switch a:hover { border-color: var(--text); }

/* ——— Layout ——— */
main {
  max-width: 1000px;
  padding: 0 1.5rem 3rem;
  margin: 0 auto;
}

article {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

h2, h3, h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0.4rem 0 0.6rem; }
ul { padding-left: 1.2rem; margin: 0.4rem 0 0.6rem; }
li { margin: 0.2rem 0; }

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

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

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
  font-size: 0.95rem;
}
.meta-card {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
}
.meta-card strong { display: block; margin-bottom: 0.35rem; }
.badge {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #e0edff;
  color: #1d4ed8;
  margin-right: 0.25rem;
  margin-top: 0.2rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.2rem 0;
}

.faq-item {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px dashed var(--border);
  background: #f9fafb;
}
.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.8rem;
  padding-left: 0;
  list-style: none;
}
.link-list li {
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.small { font-size: 0.85rem; color: var(--muted); }

/* ——— Footer ——— */
footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ——— About / Hero card (luxe/épuré) ——— */
.about-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin: 0 0 2.5rem;
}
.about-topbar {
  height: 4px;
  background: linear-gradient(90deg, #111111 0, #cfcfcf 50%, #ffffff 100%);
  opacity: .5;
}
.about-inner {
  padding: 2rem 1.5rem;
}
@media (min-width: 880px) {
  .about-inner { padding: 2.25rem 2rem; }
}
.kicker {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 120px 1fr 260px;
    gap: 1.5rem;
  }
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 25%, #f3f4f6 26% 60%, #e5e7eb 61% 100%);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-weight: 600;
  letter-spacing: .06em;
}
.avatar span { font-size: 1rem; color: #444; }

.about-content h1 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin: 0 0 .4rem;
  line-height: 1.25;
}
.lead {
  font-size: 1.02rem;
  color: #222;
  margin: .25rem 0 .75rem;
}
.about-content p { margin: .35rem 0 .55rem; }

.chips { margin-top: .6rem; }
.chip {
  display: inline-block;
  padding: .25rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .78rem;
  background: #f9fafb;
  margin: .2rem .3rem .2rem 0;
  white-space: nowrap;
}

.about-aside { margin-top: .75rem; }
@media (min-width: 720px) { .about-aside { margin-top: 0; } }

.callout {
  background: #f9fafb;
  border: 1px dashed var(--border);
  border-radius: .75rem;
  padding: 1rem 1.1rem;
}
.callout strong { display:block; margin-bottom:.15rem; }

.btn {
  display: inline-block;
  margin-top: .6rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid #111;
  color: #111;
  text-decoration: none;
  transition: transform .08s ease, background .2s ease, color .2s ease;
}
.btn:hover { background: #111; color: #fff; transform: translateY(-1px); }

.subtle {
  display:block;
  margin-top:.4rem;
  font-size:.85rem;
  color: var(--muted);
}
