/* Site public de Makaza — mêmes couleurs et mêmes polices que l'application
   et les affiches (voir apps/mobile/src/constants/theme.ts). */
@font-face {
  font-family: 'Archivo';
  font-weight: 100 900; font-display: swap;
  src: url('/polices/Archivo.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('/polices/InstrumentSerif-400-italic.woff2') format('woff2');
}

:root {
  --navy: #0B1A2A;
  --navy2: #16283F;
  --orange: #E8871E;
  --amber: #F5A623;
  --cream: #FAF7F2;
  --ink: #0B1A2A;
  --muted: #5E6A79;
  --line: rgba(11, 26, 42, 0.12);
  --surface: #FFFFFF;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 Archivo, 'Avenir Next', system-ui, sans-serif;
}
a { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }

/* En-tête commun */
.entete {
  background: var(--navy);
  padding: 18px 20px;
}
.entete__in {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.marque {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 24px; letter-spacing: -0.02em;
}
.marque b { color: var(--orange); font-weight: 800; }
.marque svg { width: 34px; height: 30px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }

/* Corps des pages de texte */
.page {
  max-width: 760px; margin: 0 auto;
  padding: 48px 20px 72px;
}
.page h1 {
  font-size: clamp(32px, 6vw, 44px); line-height: 1.1;
  margin: 0 0 8px; letter-spacing: -0.02em; text-wrap: balance;
}
.page h1 em {
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400;
  color: var(--orange);
}
.page h2 { font-size: 20px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 28px; }
.chapeau { font-size: 19px; color: var(--muted); margin: 0 0 32px; }

/* Cartes de contact */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 12px; }
.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px;
}
.contact span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact strong { display: block; font-size: 20px; margin-top: 6px; word-break: break-word; }
.contact small { display: block; color: var(--muted); margin-top: 6px; font-size: 14px; }

.faq details {
  border-bottom: 1px solid var(--line); padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.encadre {
  background: #fff; border-left: 4px solid var(--orange);
  border-radius: 10px; padding: 16px 18px; margin: 20px 0;
}

/* Pied de page */
.pied {
  border-top: 1px solid var(--line);
  padding: 28px 20px 40px; color: var(--muted); font-size: 14px;
}
.pied__in { max-width: 980px; margin: 0 auto; display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: space-between; }
.pied a { color: var(--muted); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
