/* Vitrine imagaya.ch — charte « Perle & lumière » (maquette Codex vitrine.html, 09.10.2026). Polices système, aucune
   ressource externe. Fond : WebP local sous une couleur de repli ; verre lisible (blanc 88 %) ; sans flou ni image en
   transparence réduite et à l'impression. */
:root {
  --perle: #f5f5f7;
  --graphite: #24262b;
  --gris: #535963;
  --bleu: #0665d6;
  --bleu-lien: #075bbb;
  --lavande-fond: #e9edff;
  --lavande-texte: #464364;
  --filet: #d1d7df;
  --focus: #0665d6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--graphite);
  font: 17px/1.65 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: url('/assets/fond-perle-1600.webp') center / cover no-repeat fixed, var(--perle);
  min-height: 100vh;
}
@media (max-width: 700px) {
  body { background: url('/assets/fond-perle-960.webp') center top / cover no-repeat, var(--perle); font-size: 16px; }
}
img { max-width: 100%; height: auto; }
a { color: var(--bleu-lien); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.evitement { position: absolute; left: 12px; top: -60px; background: var(--graphite); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 10; }
.evitement:focus { top: 12px; }

.entete, main, .pied { max-width: 1160px; margin: 0 auto; padding: 24px; }
.entete { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.marque { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; }
.marque img { width: 180px; }
.entete nav { display: flex; gap: 0 20px; flex-wrap: wrap; padding: 0 18px; border-radius: 18px; }
.entete nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--graphite); font-weight: 600; text-decoration: none; }
.entete nav a:hover { color: var(--bleu-lien); }

.verre {
  background: rgb(255 255 255 / 0.88);
  border: 1px solid #fff;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 30px;
  box-shadow: inset 0 1px #fff, 0 18px 60px rgb(38 61 105 / 0.08);
}
section { scroll-margin-top: 24px; margin-bottom: 48px; }
.heros { padding: 72px 52px; }
.carte { padding: 28px; }
.surtitre { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gris); margin: 0 0 8px; }
h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.04; letter-spacing: -0.055em; max-width: 850px; margin: 24px 0; }
h2 { font-size: 34px; line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 12px; }
h3 { line-height: 1.3; margin: 8px 0; }
p { max-width: 740px; color: var(--gris); }
.etiquette { display: inline-block; border-radius: 20px; background: var(--lavande-fond); color: var(--lavande-texte); padding: 4px 12px; font-size: 14px; margin: 0; }
.actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 22px; background: #fff; border: 1px solid #d9dfe8; border-radius: 16px;
  color: var(--graphite); font-weight: 600; text-decoration: none;
  box-shadow: inset 0 1px #fff, 0 4px 12px rgb(36 38 43 / 0.07);
}
.bouton:hover { text-decoration: none; border-color: var(--bleu); }
.principal { background: linear-gradient(#1170e0, var(--bleu)); color: #fff; border-color: #0967d8; }
.principal:hover { background: var(--bleu); color: #fff; }
.note { font-size: 14px; }
.adresse { font-weight: 600; color: var(--graphite); user-select: all; -webkit-user-select: all; }

.grille { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.numero { color: var(--bleu-lien); font-size: 30px; }
.partage { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.parents { background: var(--graphite); color: #fff; padding: 36px; border-radius: 28px; }
.parents p { color: #dce1e8; }
.parents .surtitre { color: #ccd6e7; }
.parents a:not(.bouton) { color: #b9d9ff; }
.parents .bouton { margin: 8px 0; }

details { padding: 16px 0; border-bottom: 1px solid var(--filet); }
summary { cursor: pointer; font-weight: 600; min-height: 32px; }
address { font-style: normal; color: var(--gris); margin-bottom: 16px; }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; margin: 0 0 16px; }
.contacts dt { font-size: 13px; color: var(--gris); }
.contacts dd { margin: 0; overflow-wrap: anywhere; }
.contacts a { display: inline-flex; min-height: 32px; align-items: center; }
.texte-long h2 { font-size: 22px; margin-top: 28px; }
.pied { font-size: 14px; color: var(--gris); }
/* Le fond Perle porte des rubans bleus : aucun texte n'y est posé à nu (mesuré : jusqu'à 1:1 sur un ruban). */
.piedVerre { padding: 14px 22px; border-radius: 20px; }
.intro { margin-bottom: 4px; }
main:focus { outline: none; }
.pied p { margin: 4px 0; color: var(--gris); }
.pied a { display: inline-flex; min-height: 32px; align-items: center; }

@media (max-width: 700px) {
  .entete, main, .pied { padding: 16px; }
  .marque img { width: 128px; }
  .entete nav { gap: 0 16px; font-size: 15px; }
  .heros { padding: 32px 22px; }
  .carte { padding: 22px; }
  .grille, .partage { grid-template-columns: 1fr; }
  .actions .bouton, #contact .bouton { width: 100%; text-align: center; }
  h2 { font-size: 28px; }
  .parents { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-transparency: reduce), print {
  body { background: var(--perle); }
  .verre { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
