/* Shared style of the association's pages (home in three languages, mentions légales).
   The privacy policy pages under /privacy/ keep their own inline style. */

:root {
  --bg: #faf7f2;
  --card: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --line: #e7e1d8;
  --accent: #c83e3a;
  --gold: #e0a92e;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* Top bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 750; letter-spacing: .02em;
}
.brand img { width: 40px; height: 40px; }
.lang { display: flex; gap: 4px; font-size: 14px; font-weight: 650; }
.lang a {
  color: var(--muted); text-decoration: none;
  padding: 4px 9px; border-radius: 999px;
}
.lang a:hover { color: var(--text); background: var(--line); }
.lang a[aria-current="page"] { color: #fff; background: var(--accent); }

/* Hero */
.hero { text-align: center; padding: 28px 0 40px; }
.hero img { width: 160px; height: 160px; }
.eyebrow {
  margin: 18px 0 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent);
}
h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; text-wrap: balance; }
.lead { font-size: 19px; color: var(--muted); margin: 0 auto; max-width: 560px; text-wrap: balance; }

/* Sections */
section { padding: 30px 0; border-top: 1px solid var(--line); }
h2 { font-size: 23px; line-height: 1.3; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-size: 17px; margin: 0 0 4px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

.cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
}
.cards li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px;
}
.cards p { margin: 0; color: var(--muted); font-size: 16px; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 16px;
}

.features { padding-left: 20px; margin: 0 0 16px; }
.features li { margin-bottom: 8px; }

.note {
  background: #fff6e3; border: 1px solid #f1deb0; border-radius: 12px;
  padding: 12px 16px; font-size: 16px;
}

.contact { list-style: none; padding: 0; margin: 0; }
.contact li { margin-bottom: 6px; }
.contact span { display: inline-block; min-width: 92px; color: var(--muted); }

/* Footer with the legal identity */
/* Same width as the sections' rules: the content box of .wrap, without its side padding. */
footer.wrap {
  width: calc(100% - 44px); max-width: 716px;
  margin: 20px auto 0; padding: 26px 0 40px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
footer p { margin: 0 0 8px; }
footer .legal-name { color: var(--text); font-weight: 650; }

/* Mentions légales */
.doc h1 { font-size: clamp(26px, 4.5vw, 32px); margin-top: 18px; }
.doc section { padding: 20px 0; }
.doc h2 { font-size: 19px; }
.doc address { font-style: normal; }
