/* Réservation en ligne. Palette ROSE FRAMBOISE PROFOND, distincte des autres
   outils FastSolve (violet x4, bleu, vert, orange brûlé). Choisie pour le
   secteur illustré (salon de coiffure) sans tomber dans le rose bonbon :
   accent désaturé, assez sombre pour rester lisible sur fond clair. */

:root {
  --papier: #fdf5f8;
  --papier-carte: #ffffff;
  --papier-creux: #f7e7ee;
  --encre: #241820;
  --encre-douce: #6b5560;
  --encre-tenue: #9c8590;
  --accent: #be185d;
  --accent-clair: #fbe0ec;
  --accent-sombre: #8f1046;
  --trait: #ecd9e2;
  --succes: #1d6b3f;
  --succes-fond: #e3f2e8;
  --alerte: #9f1239;
  --alerte-fond: #fbe4ea;
  --ombre: 0 1px 2px rgba(36, 24, 32, 0.05), 0 8px 24px rgba(36, 24, 32, 0.08);
  --rayon: 12px;
  --police: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --police-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

h1 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--encre-douce);
  margin: 0 0 1rem;
  font-weight: 600;
}

.sr-seulement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Bannière de démonstration -------------------------------------------- */

.banniere-demo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  background: var(--accent-sombre);
  color: #fdeef4;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.pastille {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
  white-space: nowrap;
}

.lien-discret--clair {
  color: #fdeef4;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: auto;
}

/* --- Entête ----------------------------------------------------------------- */

.entete {
  background: var(--papier-carte);
  border-bottom: 1px solid var(--trait);
  position: sticky;
  top: 0;
  z-index: 10;
}

.entete__interieur {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.marque {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--encre);
  line-height: 1.15;
}

.marque__nom {
  font-weight: 650;
  letter-spacing: -0.01em;
}

.marque__signature {
  font-size: 0.72rem;
  color: var(--encre-tenue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-right: auto;
}

.lien-nav {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--encre-douce);
  font-size: 0.9rem;
  white-space: nowrap;
}

.lien-nav:hover {
  background: var(--papier-creux);
  color: var(--encre);
}

.lien-nav--actif {
  background: var(--accent-clair);
  color: var(--accent-sombre);
  font-weight: 600;
}

.lien-nav--discret {
  color: var(--encre-tenue);
  font-size: 0.85rem;
}

/* --- Structure --------------------------------------------------------------- */

.contenu {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.corps--centre .contenu {
  max-width: 420px;
  padding-top: 4rem;
}

.sous-titre {
  color: var(--encre-douce);
  margin: 0.35rem 0 1.5rem;
  font-size: 0.92rem;
}

.pied {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  color: var(--encre-tenue);
  font-size: 0.8rem;
  display: flex;
  gap: 0.5rem;
}

/* --- Cartes -------------------------------------------------------------------- */

.carte {
  background: var(--papier-carte);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.4rem;
  box-shadow: var(--ombre);
  margin-bottom: 1.25rem;
}

.carte--connexion {
  padding: 2rem;
}

/* --- Formulaires ----------------------------------------------------------------- */

.champ {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
  flex: 1 1 150px;
  min-width: 0;
}

.champ--court {
  flex: 0 0 130px;
}

.champ--large {
  flex: 2 1 220px;
}

.champ__intitule,
.champ__etiquette {
  font-size: 0.82rem;
  color: var(--encre-douce);
  font-weight: 550;
}

.champ__aide {
  font-size: 0.78rem;
  color: var(--encre-tenue);
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: var(--papier-carte);
  border: 1px solid var(--trait);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  width: 100%;
  min-width: 0;
}

.champ__saisie {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--trait);
  border-radius: 8px;
  background: var(--papier-carte);
  color: var(--encre);
  font: inherit;
}

.champ__saisie--mince {
  padding: 0.35rem 0.5rem;
  font-size: 0.86rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

legend {
  font-size: 0.82rem;
  color: var(--encre-douce);
  font-weight: 550;
  padding: 0;
  margin-bottom: 0.3rem;
}

.formulaire {
  display: flex;
  flex-direction: column;
}

.formulaire-ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.formulaire-ligne .bouton {
  flex: 0 0 auto;
}

.formulaire-suppression {
  margin-top: 2rem;
}

.aide {
  font-size: 0.85rem;
  color: var(--encre-tenue);
  margin: 0 0 0.9rem;
}

/* --- Boutons --------------------------------------------------------------------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.bouton--principal {
  background: var(--accent);
  color: #ffffff;
}

.bouton--principal:hover {
  background: var(--accent-sombre);
}

.bouton--grand {
  padding: 0.75rem 1.5rem;
  font-size: 1.02rem;
}

.bouton--discret {
  background: var(--papier-carte);
  border-color: var(--trait);
  color: var(--encre);
}

.bouton--discret:hover {
  border-color: var(--accent);
  color: var(--accent-sombre);
}

.bouton--danger {
  background: transparent;
  color: var(--alerte);
  border-color: transparent;
  padding-left: 0;
}

.bouton--danger:hover {
  text-decoration: underline;
}

.bouton--compact {
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
}

.barre-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.barre-actions--fin {
  justify-content: flex-end;
}

/* --- Tableaux ---------------------------------------------------------------------- */

.tableau-defilant {
  overflow-x: auto;
  border: 1px solid var(--trait);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.tableau {
  width: 100%;
  border-collapse: collapse;
  background: var(--papier-carte);
}

.tableau thead th {
  text-align: left;
  padding: 0.65rem 0.9rem;
  background: var(--papier-creux);
  border-bottom: 1px solid var(--trait);
  white-space: nowrap;
}

.tableau td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--trait);
  vertical-align: middle;
}

.tableau tbody tr:last-child td {
  border-bottom: none;
}

.tableau tbody tr:hover {
  background: var(--papier-creux);
}

.tableau__actions {
  width: 1%;
  white-space: nowrap;
}

/* --- Étiquettes de statut ------------------------------------------------------------ */

.etiquette {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--papier-creux);
  color: var(--encre-douce);
  white-space: nowrap;
}

.etiquette--ok {
  background: var(--succes-fond);
  color: var(--succes);
}

.etiquette--eteint {
  background: var(--papier-creux);
  color: var(--encre-tenue);
}

/* --- Alertes et vides ------------------------------------------------------------------ */

.alerte {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.alerte--succes {
  background: var(--succes-fond);
  color: var(--succes);
}

.alerte--erreur {
  background: var(--alerte-fond);
  color: var(--alerte);
}

.vide {
  background: var(--papier-carte);
  border: 1px dashed var(--trait);
  border-radius: var(--rayon);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--encre-douce);
}

.vide--discret {
  padding: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--encre-tenue);
}

.discret {
  color: var(--encre-tenue);
  font-size: 0.9rem;
}

.lien-discret {
  color: var(--encre-tenue);
  font-size: 0.9rem;
  text-decoration: none;
}

.lien-discret:hover {
  color: var(--encre);
}

/* --- Blocs de contenu --------------------------------------------------------------------- */

.bloc {
  background: var(--papier-carte);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 1.25rem 1.35rem 1.4rem;
  margin-bottom: 1.5rem;
}

.bloc > h2 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--encre);
  font-weight: 650;
  margin-bottom: 0.9rem;
}

/* --- Installation de l'application ----------------------------------------------------- */

.lien-nav--installer {
  border: 1px solid var(--accent);
  background: var(--accent-clair);
  color: var(--accent-sombre);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  width: auto;
}

.lien-nav--installer:hover { background: var(--accent); color: #ffffff; }
.lien-nav--installer[disabled] { opacity: 0.6; cursor: default; }

.aide-installation {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem 1rem;
  color: var(--encre-douce);
  font-size: 0.88rem;
}

.aide-installation summary { cursor: pointer; color: var(--accent-sombre); font-weight: 550; }
.aide-installation ul { margin: 0.6rem 0 0; padding-left: 1.1rem; line-height: 1.6; }
.aide-installation li { margin-bottom: 0.35rem; }
.aide-installation[hidden] { display: none; }

.banniere-installation {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.25rem;
  background: var(--accent-clair);
  border-bottom: 1px solid var(--trait);
}

.banniere-installation__texte {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-right: auto;
  min-width: 240px;
}

.banniere-installation__texte strong { color: var(--accent-sombre); }
.banniere-installation__texte span { color: var(--encre-douce); font-size: 0.88rem; }

.banniere-installation__plus-tard {
  background: none;
  border: 0;
  color: var(--encre-douce);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  width: auto;
}

.note-installation {
  margin: 0.6rem 0 0;
  padding: 0.6rem 0.8rem;
  background: var(--papier-creux);
  border-radius: 8px;
  color: var(--encre-douce);
  font-size: 0.86rem;
  line-height: 1.5;
}

.formulaire.carte--connexion,
.corps--centre .carte--connexion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
  margin: 8vh auto 0;
  padding: 26px;
}

.version { color: var(--encre-tenue); font-size: .78rem; font-variant-numeric: tabular-nums; }

/* =========================================================================
   Tableau de bord
   ========================================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.stat {
  background: var(--papier-carte);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat__valeur {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-sombre);
}

.stat__libelle {
  font-size: 0.8rem;
  color: var(--encre-douce);
}

.colonnes-tableau-bord {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.rdv-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rdv-ligne {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--trait);
  border-radius: 9px;
  background: var(--papier);
}

.rdv-ligne__heure {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--accent-sombre);
}

.rdv-ligne__corps {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rdv-ligne__prix {
  flex: 0 0 auto;
  font-size: 0.85rem;
  color: var(--encre-douce);
}

.equipe-jour {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.equipe-jour__ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
}

.notification-rappel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lien-public {
  background: var(--papier-creux);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  overflow-x: auto;
}

.lien-public code {
  font-family: var(--police-mono);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* =========================================================================
   Calendrier
   ========================================================================= */

.calendrier-barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.calendrier-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calendrier-vues {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calendrier-date {
  min-width: 12rem;
  text-align: center;
}

.details-actions summary {
  list-style: none;
  cursor: pointer;
}

.details-actions summary::-webkit-details-marker {
  display: none;
}

.details-actions__corps {
  position: relative;
  z-index: 5;
  margin-top: 0.5rem;
  padding: 0.9rem;
  border: 1px solid var(--trait);
  border-radius: 9px;
  background: var(--papier);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 20rem;
}

.blocages {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.blocage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px dashed var(--trait);
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--encre-douce);
}

.semaine-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.75rem;
}

.jour-carte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.1rem 0.6rem;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: var(--papier-carte);
  text-decoration: none;
  color: var(--encre);
  box-shadow: var(--ombre);
}

.jour-carte:hover {
  border-color: var(--accent);
}

.jour-carte--aujourdhui {
  border-color: var(--accent);
  background: var(--accent-clair);
}

.jour-carte__nom {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--encre-tenue);
}

.jour-carte__numero {
  font-size: 1.4rem;
  font-weight: 700;
}

.jour-carte__compteur {
  font-size: 0.8rem;
  color: var(--accent-sombre);
  font-weight: 600;
}

/* --- Équipe : liste de fiches ------------------------------------------------------------ */

.membres {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.membre {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--trait);
  border-radius: 9px;
  background: var(--papier-carte);
}

.membre__nom {
  font-weight: 600;
  font-size: 0.92rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.membre__role {
  flex: 0 0 auto;
  font-size: 0.82rem;
  color: var(--encre-douce);
}

/* --- Cases à cocher (prestations réalisées, coiffeurs) --------------------------------- */

.cases-coiffeurs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.case-coiffeur {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.case-coiffeur input {
  width: auto;
}

.ligne-rappel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--trait);
  margin-bottom: 0.5rem;
}

.ligne-rappel__heures {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--encre-douce);
}

.ligne-rappel__heures .champ__saisie {
  width: 5rem;
}

/* --- Grilles d'horaires (employé, salon) ------------------------------------------------ */

.horaires-grille {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.horaire-jour {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--trait);
}

.horaire-jour .case-coiffeur {
  width: 7rem;
  flex: 0 0 auto;
}

.horaire-jour input[type="time"] {
  width: 7.5rem;
  flex: 0 0 auto;
}

/* --- Pauses, absences, fermetures : listes courtes -------------------------------------- */

.pauses {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pause {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--trait);
  border-radius: 8px;
  font-size: 0.86rem;
}

.pause form {
  margin: 0;
}

/* --- Messages (boîte d'envoi) ----------------------------------------------------------- */

.messages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.message-envoye {
  border: 1px solid var(--trait);
  border-radius: 9px;
  background: var(--papier-carte);
  padding: 0.75rem 0.9rem;
}

.message-envoye__entete {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.4rem;
}

.message-envoye summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

.message-envoye__corps {
  white-space: pre-wrap;
  font-family: var(--police);
  font-size: 0.88rem;
  color: var(--encre-douce);
  margin: 0.6rem 0 0;
  padding: 0.6rem 0.75rem;
  background: var(--papier);
  border-radius: 8px;
}

/* =========================================================================
   Réservation publique : la mise en page est volontairement autonome, sans
   la navigation ni la session de l'espace salon (le client n'a ni compte ni
   mot de passe).
   ========================================================================= */

.corps--public {
  background: var(--papier);
}

.contenu--public {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.pied--public {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  color: var(--encre-tenue);
  font-size: 0.8rem;
  text-align: center;
}

.salon-entete {
  margin-bottom: 1.75rem;
}

.salon-infos {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--encre-douce);
  font-size: 0.92rem;
}

.horaires-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.horaires-liste li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--trait);
  font-size: 0.9rem;
}

.horaires-liste li:last-child {
  border-bottom: none;
}

.categorie-titre {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-sombre);
  margin: 1.1rem 0 0.6rem;
  font-weight: 650;
}

.categorie-titre:first-child {
  margin-top: 0;
}

.prestations-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prestation-carte {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.1rem;
  border-bottom: 1px solid var(--trait);
}

.prestation-carte:last-child {
  border-bottom: none;
}

.prestation-carte__nom {
  font-weight: 600;
}

.prestation-carte__details {
  font-size: 0.85rem;
  color: var(--encre-douce);
  white-space: nowrap;
}

.fil-ariane {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--encre-tenue);
  margin-bottom: 1rem;
}

.fil-ariane__lien {
  color: var(--encre-douce);
  text-decoration: none;
}

.fil-ariane__lien:hover {
  color: var(--accent-sombre);
}

.fil-ariane__actuel {
  color: var(--accent-sombre);
  font-weight: 600;
}

.fil-ariane__separateur {
  opacity: 0.6;
}

.choix-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.choix-grille--dates,
.choix-grille--creneaux {
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
}

.choix-carte {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: var(--papier-carte);
  text-decoration: none;
  color: var(--encre);
  box-shadow: var(--ombre);
  transition: border-color 0.12s ease, transform 0.12s ease;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.choix-carte:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.choix-carte__titre {
  font-weight: 650;
}

.choix-carte__details {
  font-size: 0.82rem;
  color: var(--encre-douce);
}

.choix-carte--date,
.choix-carte--creneau {
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-variant-numeric: tabular-nums;
  width: 100%;
}

.recap,
.recap-rdv {
  background: var(--accent-clair);
  border-radius: var(--rayon);
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
}

.recap-rdv {
  background: var(--papier-carte);
  border: 1px solid var(--trait);
  box-shadow: var(--ombre);
}

.recap-rdv__prestation {
  font-size: 1.1rem;
  font-weight: 650;
  margin-top: 0;
}

.case-invisible {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Petits écrans ----------------------------------------------------------- */

@media (max-width: 720px) {
  .entete__interieur {
    gap: 0.75rem;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .barre-filtres {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .barre-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .barre-actions .bouton {
    width: 100%;
  }

  /* La liste devient des cartes empilées : le nombre de colonnes varie d'un
     tableau à l'autre, donc pas de grille fixe possible. Chaque cellule porte
     déjà son nom de colonne dans data-etiquette (posé par la vue). */
  .tableau-defilant {
    overflow-x: visible;
    border: none;
  }

  .tableau thead {
    display: none;
  }

  .tableau,
  .tableau tbody,
  .tableau tr,
  .tableau td {
    display: block;
    width: 100%;
  }

  .tableau tr {
    border: 1px solid var(--trait);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.6rem;
    background: var(--papier-carte);
  }

  .tableau tr:last-child {
    margin-bottom: 0;
  }

  .tableau td {
    padding: 0.3rem 0;
  }

  .tableau td[data-etiquette]::before {
    content: attr(data-etiquette);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--encre-tenue);
    margin-bottom: 0.15rem;
  }

  .tableau__actions {
    width: auto !important;
  }

  .calendrier-barre {
    flex-direction: column;
    align-items: stretch;
  }

  .calendrier-nav {
    justify-content: space-between;
  }
}

.barre-filtres {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem;
}

.barre-filtres input[type="text"] {
  flex: 1;
  min-width: 10rem;
}

@media print {
  .banniere-demo,
  .entete,
  .pied,
  .barre-filtres,
  .banniere-installation,
  .aide-installation {
    display: none !important;
  }

  body {
    background: #ffffff;
  }
}
