body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;       /* centre verticalement */
    justify-content: center;   /* centre horizontalement */
    text-align: center;
    font-family: "Courier Std", "Courier New", Courier, monospace;
    background: #ffffff;
    color: #000000;
  }
  
  h1 {
    font-size: 1.4rem;
    font-weight: normal;
    margin: 0 0 1rem;
  }
  
  .portfolio {
    margin: 0 0 0.5rem;
    letter-spacing: 0.2em;
  }
  
  .langues {
    margin-bottom: 3rem;
  }
  
  a {
    color: inherit;
    text-decoration: none;
    padding: 0 0.2em;
    transition: background 0.2s;
  }
  
  /* effet surligneur au survol */
  a:hover {
    background: rgb(255,183,197);
  }
  
  .contact p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
  }

  .liste {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
  }
  
  .liste li {
    display: grid;
    grid-template-columns: 1.2rem 1fr 4rem; /* point | titre | date */
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px solid #000;
  }
  
  /* le point */
  .liste li::before {
    content: "•";
  }
  
  /* la date */
  .liste span {
    font-size: 0.9rem;
    text-align: right; /* mets "left" pour l'aligner à gauche de sa colonne */
  }
  .page-ecrits main.lecture {
    max-width: 60rem;
  }
  
  .lecture iframe {
    width: 100%;
    height: 80vh;
    border: 1px solid #000;
  }
  
  .telecharger {
    margin-top: 1.5rem;
    font-size: 0.9rem;
  }

  .gauche main {
    margin: 0;               /* colle le bloc à gauche au lieu de le centrer */
  }
  
  .fichier-txt {
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
    white-space: pre-wrap;
    border: 1px solid #000;
    padding: 1.2rem;
    margin: 2rem 0 0;
    width: 100%;
    max-width: 30rem;        /* largeur du cadre */
    height: 60vh;            /* hauteur du cadre */
    overflow-y: auto;
    text-align: justify;
    hyphens: none;
  }

  