/* circé — page d'attente
   Police : Century Gothic (version installée sur l'ordinateur du visiteur,
   sinon fichiers fournis avec le site), puis TeX Gyre Adventor en secours. */

@font-face {
  font-family: "Century Gothic";
  src: local("Century Gothic"), local("CenturyGothic"),
       url("fonts/CenturyGothic.woff2") format("woff2"),
       url("fonts/CenturyGothic.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adventor";
  src: url("fonts/adventor-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --muted: #555;
  --accent: #a84b28; /* terracotta du casque */
  --font: "Century Gothic", "CenturyGothic", "Adventor", "Questrial", "Avenir Next", Avenir, Futura, "Trebuchet MS", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Mise en page : illustration à gauche, informations à droite ---------- */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1rem, 3vh, 2.5rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.visual { margin: 0; justify-self: center; }

.visual img {
  display: block;
  height: min(88vh, 920px);
  height: min(88dvh, 920px);
  width: auto;
  max-width: 100%;
  object-fit: contain; /* l'image n'est jamais tronquée */
}

.brand h1 { margin: 0; line-height: 0; }
.brand h1 img { display: block; width: clamp(230px, 28vw, 340px); height: auto; }

.lead {
  margin: clamp(1.25rem, 3vh, 2rem) 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

.status {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.status::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.08em;
}

.cols {
  margin-top: clamp(1.5rem, 4.5vh, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
}

.cols h2 {
  margin: 0 0 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.team, .contact { margin: 0; padding: 0; list-style: none; font-style: normal; }
.team li + li { margin-top: 0.8rem; }

.name { display: block; line-height: 1.3; }
.role { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
.contact .label { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
.contact p { margin: 0; }
.contact p + p { margin-top: 0.8rem; }

.foot {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  padding-top: 0.9rem;
  border-top: 1px solid #d6d6d6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.foot p { margin: 0; }

/* ---------- Tablette et mobile : tout passe en une colonne ---------- */

@media (max-width: 860px) {
  .page {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .visual img { height: min(52vh, 440px); height: min(52dvh, 440px); }
  .brand h1 img { width: clamp(220px, 62vw, 320px); }
}

@media (max-width: 560px) {
  .cols { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---------- Mentions légales ---------- */

.legal { max-width: 44rem; margin: 0 auto; padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem; }
.legal .back img { display: block; width: 150px; height: auto; }
.legal h1 { margin: 2.5rem 0 0.5rem; font-size: 1.75rem; font-weight: 400; line-height: 1.2; }
.legal h2 {
  margin: 2rem 0 0.6rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal p { margin: 0 0 0.6rem; }
.legal .todo { background: #f6e3da; padding: 0 0.25em; border-radius: 2px; }
.legal .back-link { margin-top: 2.5rem; font-size: 0.9375rem; }
