body {
      font-family: sans-serif;
      background: #f9f9f9;
      margin: 0;
      padding: 40px;
    }

    hr {
      border: none;
      border-top: 1px dashed lightgrey;
      margin-bottom: 30px;
    }

    .container {
      max-width: 1200px;
      margin: auto;
    }

    .main {
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .date-section {
      margin: auto;
      margin-bottom: 30px;
      width: 100%;
    }

    h1 {
      text-align: center;
      color: #00c0f0;
    }

    p {
      text-align: left;
    }

    a {
      text-decoration: none;
      color: #00c0f0;
      text-align: left;
    }

    .thermo-row {
      display: flex;
      gap: 5%;
      overflow-x: auto;
      padding-bottom: 10px;
      justify-content: center;
    }

    .thermo-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 140px;
      width: 50%;
      position: relative;
      padding: 10px;
    }

    .vertical-label {
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      position: absolute;
      right: 40px;
      top: 0%;
      font-weight: bold;
      color: #333;
    }

    .block-text {
      height: 200px;
      text-align: center;
      vertical-align: middle;
    }

    .prison-image {
      width: 120px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
      border: 2px solid #ccc;
      margin-bottom: 10px;
    }

    .thermo-body {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .bar-wrapper {
      position: relative;
      width: 30px;
      height: 200px;
      border-radius: 15px;
      overflow-x: visible;
      overflow-y: visible;
      border: 3px solid #2a2a2a;
      border-bottom: none;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      z-index: 2;
    }

    /* ── États thermomètre ── */
    .rouge {
      background: linear-gradient(to top,
        #b20000 10%,
        #dc4742 60%,
        #fff 80%);
    }

    .orangesanguine {
      background: linear-gradient(to top,
        #f28c28 30%,
        #dc4742 60%,
        #fff 80%);
    }

    .orange {
      background: linear-gradient(to top,
        #f28c28 30%,
        #fff 50%);
    }

    .vertorange {
      background: linear-gradient(to top,
        #73c66b 10%,
        #f28c28 30%,
        #fff 50%);
    }

    .vert {
      background: linear-gradient(to top,
        #73c66b 10%,
        #fff 20%);
    }

    .bulb {
      width: 50px;
      height: 50px;
      background-color: #00c0f0;
      border: 3px solid #2a2a2a;
      border-radius: 50%;
      margin-top: -8px;
      z-index: 1;
    }

    .b_rouge  { background-color: #b20000; }
    .b_orange { background-color: #f28c28; }
    .b_vert   { background-color: #73c66b; }

    .graduations {
      position: absolute;
      left: -3px;
      top: 15px;
      width: 12px;
      height: 70%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 5px 0;
    }

    .tick {
      height: 1px;
      background: #2a2a2a;
      width: 12px;
    }

    .date-box {
      margin-top: 12px;
      background: #00c0f0;
      padding: 6px 12px;
      border-radius: 10px;
      font-weight: bold;
      color: white;
    }

    .arrow {
      width: 0;
      height: 0;
      border-left: 15px solid transparent;
      border-right: 15px solid transparent;
      border-top: 20px solid #00c0f0;
      margin-top: 5px;
    }

    .result-box {
        margin-top: 8px;
        padding: 10px 20px;
        min-width: 120px;
        width: 90%;
        background: white;
        text-align: left;
    }

    .result-box strong {
      display: block;
      margin-bottom: 20px;
    }

    /* ── Sections colorées dans result-box ── */
    .section {
      margin-bottom: 12px;
      padding: 5px 0;
    }

    .sectionpositive { border-left: 4px solid #73c66b; }
    .sectionwarning  { border-left: 4px solid #f28c28; }
    .sectionnegative { border-left: 4px solid #ff0000; }

    .section ul{
      padding-right: 10px;
      margin: 2px 0;
    }

    .section li {
      margin-bottom: 8px;
      list-style: circle;
    }

    .positive { color: #73c66b; font-weight: bold; }
    .warning  { color: #f28c28; font-weight: bold; }
    .negative { color: #ff0000; font-weight: bold; }

    /* ── DESCRIPTION ── */
    .baro-description {
      padding: 14px 18px;
      margin-bottom: 24px;
      font-size: 16px;
      line-height: 1.7;
      color: #374151;
    }

    /* ── RESPONSIVE MOBILE ── */
    @media (max-width: 600px) {
      body { padding: 20px; }

      .thermo-row { gap: 0; }

      .thermo-container {
        width: 50%;
        min-width: 0;
        padding: 6px;
      }

      /* Masquer date-box / flèche / remarques dans la colonne thermo */
      .thermo-container .date-box,
      .thermo-container .arrow,
      .thermo-container .result-box {
        display: none;
      }

      /* Bloc remarques empilées sous les thermomètres */
      .remarks-row {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
        margin-top: 16px;
        width: 100%;
      }

      .remark-card {
        background: white;
        padding: 14px 16px;
        border-top: 3px solid #00c0f0;
      }

      .remark-card .remark-prison {
        font-weight: bold;
        font-size: 15px;
        margin-bottom: 4px;
        color: #333;
      }

      .remark-card .remark-date {
        display: inline-block;
        margin-bottom: 12px;
        background: #00c0f0;
        padding: 3px 10px;
        border-radius: 10px;
        font-weight: bold;
        font-size: 12px;
        color: white;
      }

      .remark-card .remark-label {
        font-weight: bold;
        margin-bottom: 10px;
        display: block;
      }
    }

    /* Masqué par défaut sur desktop */
    .remarks-row { display: none; }

    /* ── SLIDER ── */
    .slide {
      display: none;
      animation: fadeIn .3s ease;
      width: 100%;
    }

    .slide.active { display: block; }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateX(16px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    .nav-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin-bottom: 6px;
      width: 100%;
    }

    .nav-btn {
      background: #00c0f0;
      border: none;
      color: white;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s, transform .1s;
      flex-shrink: 0;
    }

    .nav-btn:hover  { background: #009ec8; }
    .nav-btn:active { transform: scale(.92); }
    .nav-btn:disabled { background: #ccc; cursor: default; }

    .nav-label {
      font-size: 20px;
      font-weight: bold;
      min-width: 180px;
      text-align: center;
    }

    .nav-counter {
      font-size: 13px;
      color: #aaa;
      text-align: center;
      margin-bottom: 20px;
    }