/* ── En-tête ── */
#app-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
  /* zone sécurisée en haut (encoche) */
  padding-top: calc(1rem + env(safe-area-inset-top, 0px));
}

#header-title {
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.header-spacer { min-width: 2.5rem; }

/* ── Écrans ── */
.screen {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
.screen.active { display: block; }

/* ── Intro de section ── */
.screen-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.bismillah {
  font-family: var(--arabic);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  line-height: 1.8;
}
.screen-intro p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Responsive paysage ── */
@media (max-height: 500px) and (orientation: landscape) {
  .bismillah       { font-size: 1.4rem; }
  .screen-intro    { margin-bottom: 1rem; }
  .screen          { padding: 1rem; }
}
