/* The four static pages beside the app (contact, mentions légales,
   confidentialité, CGU) wear the gallery's robe — bernadetteclaudel.fr,
   whose subdomain this is — so a visitor moving between the two reads the
   same voice: formal, sans-serif, the site's colours. */
:root {
  --paper: #f7f3ec;
  --card: #fffdf8;
  --ink: #26221c;
  --soft: #6b6257;
  --pine: #22382c;
  --gold: #b3874a;
  --line: #e2d9cb;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  padding: 3rem 1.25rem 5rem;
}
main {
  max-width: 38rem;
  margin: 0 auto;
  font-size: clamp(0.82rem, 0.75rem + 0.2vw, 0.9rem);
}
.pagehead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem;
}
h1 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); font-weight: normal; color: var(--pine); }
.updated { color: var(--soft); font-size: 0.78rem; margin-bottom: 2.2rem; }
h2 {
  font-size: 0.92rem; font-weight: normal; color: var(--pine);
  margin: 2.4rem 0 0.7rem; border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}
p { margin: 0 0 0.9rem; }
ul { margin: 0 0 0.9rem 1.2rem; }
li { margin-bottom: 0.35rem; }
strong { color: var(--pine); font-weight: normal; border-bottom: 1px solid var(--gold); }
a { color: var(--pine); }
a:hover { color: var(--gold); }
.note {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.9rem 1.1rem; font-size: 0.88em; color: var(--soft);
}
.home { display: inline-block; margin-top: 2.6rem; font-size: 0.9rem; }
/* The details are written into the page only on a click: no robot clicks,
   so the address enters no index. */
.reveal {
  font: inherit; font-size: 0.88rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--pine);
  padding: 0.35rem 0.95rem; cursor: pointer;
}
.reveal:hover { border-color: var(--pine); }
/* The language switch: two letters, not a flag. */
.tongue { display: flex; gap: 0.3rem; }
.tongue .flag {
  font: inherit; font-size: 0.75rem; letter-spacing: 0.03em;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--soft);
  padding: 0.2rem 0.7rem; cursor: pointer;
}
.tongue .flag.here { color: var(--pine); border-color: var(--pine); }
@media (max-width: 30rem) {
  body { padding: 2.2rem 1rem 4rem; }
  .pagehead { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* The contact form. */
form { margin-top: 0.4rem; }
label { display: block; margin: 1rem 0 0.25rem; color: var(--soft); font-size: 0.85rem; }
input[type="text"], input[type="email"], textarea {
  font: inherit; width: 100%; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 0.5rem 0.7rem;
}
input:focus, textarea:focus { outline: 2px solid var(--pine); outline-offset: 1px; }
textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.send {
  font: inherit; margin-top: 1.2rem; padding: 0.45rem 1.5rem;
  border: none; border-radius: 6px; background: var(--pine); color: #f4efe6;
  cursor: pointer;
}
button.send:disabled { opacity: 0.5; cursor: default; }
.said { margin-top: 0.9rem; min-height: 1.4rem; font-size: 0.88rem; }
.said.bad { color: #8a3b2e; }
.said.good { color: var(--pine); }
/* The message went: that must be seen without being looked for. */
.said.done {
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--pine); border-radius: 8px;
  padding: 1rem 1.2rem; font-size: 0.95rem; line-height: 1.6;
  margin-top: 1.6rem;
}
.said.done::before { content: "✓ "; color: var(--pine); }
