/* En-tête commun du portail (includes/entete-portail.php) et pied de page complet
   (includes/footer.php). La barre de compte, fixée en haut à droite, garde sa place :
   sur les écrans étroits l'en-tête passe dessous. */
.entete-portail {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px 0;
  /* Laisse la place de la barre de compte, à droite */
  padding-right: 520px;
}

.entete-marque {
  font-family: var(--font-display, 'Sora', sans-serif);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--texte, #e7eaee);
  text-decoration: none;
  white-space: nowrap;
}

.entete-liens {
  display: flex;
  gap: 4px 16px;
  flex-wrap: wrap;
}

.entete-liens a {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texte-doux, #98a1ad);
  text-decoration: none;
  padding: 8px 0;
}

.entete-liens a:hover,
.entete-liens a[aria-current="page"] {
  color: var(--texte, #e7eaee);
}

@media (max-width: 1180px) {
  .entete-portail {
    padding: 62px 16px 0;
  }
  /* L'en-tête dégage déjà la barre de compte : la page n'a plus à le faire */
  .entete-portail ~ #app,
  .entete-portail ~ .container {
    padding-top: 8px;
  }
}

@media (max-width: 560px) {
  .entete-portail {
    gap: 4px 14px;
  }
  .entete-liens {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .entete-liens a {
    white-space: nowrap;
  }
}

/* Pied de page complet */
.pied-colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 18px;
  text-align: left;
}

.pied-colonnes h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--texte-doux, #98a1ad);
  margin-bottom: 6px;
}

.pied-colonnes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pied-colonnes a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.88rem;
}
