/* Pictrd — page « bientôt disponible » de pictrd.com.
   Couleurs et proportions de l'accueil de l'app (maquette v2, artboard « Web 1920 – 6 ») :
   fond #1a1a1c, logo PICTRD centré, sous-titre en Light, pied avec filet et ©.
   Police : celle du système (SF Pro sur Mac) ; Montreux Classic demanderait une licence web. */

:root {
  --fond: #1a1a1c;
  --rang: #2e2e2e;
  --texte: #fff;
  --texte-doux: rgba(255, 255, 255, .63);
  --separateur: #434343;
  --accent: #00ebff;
  --marge: clamp(16px, 2.7vw, 52px);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--fond); }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Une seule langue affichée à la fois (voir le script de index.html) */
html[lang="en"] main [lang="fr"],
html[lang="fr"] main [lang="en"] { display: none; }

/* ---------- Annonce, au centre de la fenêtre ---------- */

.annonce {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 88px var(--marge) 64px;
}

.logo img {
  display: block;
  width: clamp(200px, 20vw, 340px);
  height: auto;
}

.accroche {
  margin-top: clamp(14px, 1.2vw, 22px);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 300;
  line-height: 1.3;
}

.bientot {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  margin-top: clamp(40px, 4.4vw, 76px);
  padding: 1em 1.85em 1em 1.55em;
  border-radius: 999px;
  background: var(--rang);
  font-size: clamp(13px, .78vw, 15px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Pastille cyan lumineuse, comme celle du bouton « Save project » de l'app */
.pastille {
  position: relative;
  flex: none;
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px 1px var(--accent), 0 0 16px 3px rgba(0, 235, 255, .4);
}

.pastille::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}

/* ---------- Pied : © et choix de la langue ---------- */

.pied {
  margin: 0 var(--marge);
  padding: 20px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--separateur);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--texte-doux);
}

.langues { display: none; gap: 4px; margin-right: -8px; }
.js .langues { display: flex; }

.langues button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  transition: color .2s ease;
}
.langues button:hover,
.langues button[aria-pressed="true"] { color: var(--texte); }
.langues button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Animations (aucune si le système demande de les réduire) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .logo, .accroche, .bientot { animation: apparition .9s cubic-bezier(.2, .7, .2, 1) both; }
  .accroche { animation-delay: .1s; }
  .bientot { animation-delay: .2s; }
  .pastille::after { animation: onde 2.4s cubic-bezier(.2, .6, .3, 1) 1s infinite; }
}

@keyframes apparition {
  from { opacity: 0; transform: translateY(10px); }
}

@keyframes onde {
  from { opacity: .7; transform: scale(1); }
  to { opacity: 0; transform: scale(3.5); }
}
