.domain-rotator{
  width: 100%;
  background: #a47864;
  color: #fff!important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 5px;
  box-sizing: border-box;

  /* IMPORTANT : hauteur stable */
  min-height: 90px;
}

@media (max-width: 900px){
  .domain-rotator{ min-height: 70px; }
}

.domain-text{
  font-family: Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* MANQUANT : état visible */
.domain-text.is-visible{
  opacity: 1;
  transform: translateY(0);
}


    /* ========== MENU ========== */
    header{
      text-align: center;
      margin-top: 0;
    }

    .header-menu{
      background-color: blanchedalmond;
      text-align: center;
      padding: 10px 0;
    }

    .menu-container{
      display: none;             /* tous les menus cachés par défaut */
      justify-content: center;   /* pour que JS mette display:flex */
      flex-wrap: wrap;
      margin: 10px auto;
    }

    .menu{
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }

    .menu-item{ text-align: center; }

    .menu-link{
      text-decoration: none;
      color: brown;
      font-weight: bold;
      font-size: 2rem;            /* évite le “40rem” accidentel */
      line-height: 1.1;
      padding: 6px 12px;
      border-radius: 6px;
      background-color: blanchedalmond;
      transition: background 0.3s, color 0.3s;
      display: inline-block;
    }

    .menu-link:hover{
      color: black;
      background-color: rgba(255, 255, 255, 0.2);
    }

    /* ========== SELECT LANGUE ========== */
    .language-selector{
      display: flex;
      justify-content: center;
      margin: 18px auto 10px;
    }

    #langue-select{
      font-size: 28px;
      padding: 12px 60px 12px 20px;
      border-radius: 10px;
      background-color: #333;
      color: white;
      border: none;
      appearance: none;
      cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l7 10 7-10z' fill='%23fff'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 20px center;
      background-size: 14px;
    }

    #langue-select:focus{
      outline: none;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    }

    /* ========== IFRAME ========== */
    iframe#frameBas{
      display: block;
      width: 100%;
      height: 80vh;
      border: none;
    }

    /* ========== FOOTER ========== */
    footer{
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 10px 0;
      text-align: center;
      font-size: 30px;
      font-weight: bold;
      color: white;
      background: #a47864;
      padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }

    /* Images : évite d’écraser tout le site au cas où une image apparaît dans la page principale */
    img{
      max-width: 100%;
      height: auto;
    }

    /* RTL pour l’arabe (menu seulement) */
    #menu-ar{
      direction: rtl;
    }


.frameBas { 
      background-color:  #F0eee9
 }


