@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
  font-family: "PT Sans", serif;
  text-align: center;
  margin: 0;
  padding: 10px;
  background: #ffffff;
  color: #000000;
}
header {
  display: block;
}
header img {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: auto;
  margin-bottom: 0px;
}
h1 {
  font-family: "PT Sans", serif;
  font-size: 28px;
  font-weight: 400;
  color: #75a8da;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 102, 0.2));
  transition: transform 0.2s ease-out;
  margin-top: -48px;
  margin-bottom: 10px;
}
h2 {
  font-family: "PT Sans", serif;
  font-size: 23px;
  font-weight: 400;
  color: #888888;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 102, 0.2));
  transition: transform 0.2s ease-out;
}
p {
  font-size: 19px;
  background: rgba(255, 255, 255, 1);
  padding: 15px;
  border-radius: 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
  max-width: 600px;
  text-align: left;
}
@media (max-width: 768px) {
  p {
    font-size: 23px;
  }
}
a {
  font-size: 13px;
  color: #75a8da;
  line-height: 19px;
  text-decoration: none;
}
@media (max-width: 768px) {
  a {
    font-size: 15px;
    line-height: 23px;
  }
}
a:hover {
  text-decoration: underline;
}
a:visited {
  font-size: 12px;
  color: #75a8da;
}
@media (max-width: 768px) {
  a:visited {
    font-size: 14px;
  }
}
.search-box {
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: auto
}
.search-box input[type="text"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  min-width: 0;
  border: 1px solid #ccc;
  border-radius: 0px;
}
.search-box button {
  padding: 10px 15px;
  font-size: 16px;
  background: #888888;
  color: white;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 768px) { /* S'applique aux écrans de largeur inférieure à 768px (tablettes et smartphones) */
  .search-box input[type="text"] {
    padding: 15px; /* Augmente la hauteur */
    font-size: 18px; /* Texte plus grand */
    border-radius: 0px; /* Coins légèrement plus arrondis */
  }
  .search-box button {
    padding: 15px 20px; /* Plus de hauteur et largeur */
    font-size: 18px;
    border-radius: 0px;
  }
}
.ai-response {
  text-align: left;
}
/* Gestion de l'affichage RTL */
html[lang="ar"] .search-box {
  flex-direction: row-reverse !important;
  direction: rtl;
}
html[lang="ar"] .search-box input[type="text"] {
  text-align: right; /* Alignement du texte à droite */
  border-radius: 0 0px 0px 0; /* Arrondi à droite */
}
html[lang="ar"] .search-box button {
  border-radius: 0px 0 0 0px; /* Arrondi à gauche */
}
html[lang="ar"] p {
  text-align: right;
  direction: rtl;
}
html[lang="he"] .search-box {
  flex-direction: row-reverse !important;
  direction: rtl;
}
html[lang="he"] .search-box input[type="text"] {
  text-align: right; /* Alignement du texte à droite */
  border-radius: 0 0px 0px 0; /* Arrondi à droite */
}
html[lang="he"] .search-box button {
  border-radius: 0px 0 0 0px; /* Arrondi à gauche */
}
html[lang="he"] p {
  text-align: right;
  direction: rtl;
}
button:hover {
  background: #75a8da;
}
section {
  display: block;
}
nav {
  border-radius: 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  font-size: 13px;
  background: rgba(255, 255, 255, 1);
  padding: 10px;
  margin-top: 50px;
  margin-bottom: 30px;
}
@media (max-width: 768px) { /* S'applique aux écrans de largeur inférieure à 768px (tablettes et smartphones) */
  nav {
    font-size: 15px;
  }
}
footer {
  display: block;
}
footer .copyright {
  margin-top: 20px;
  font-size: 11px;
}
footer .flag img {
  width: 22px;
  height: auto;
  vertical-align: top;
  margin-top: 5px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 102, 0.4));
  transition: transform 0.2s ease-out;
}
@media (max-width: 768px) {
  footer .flag img {
    width: 32px;
    height: auto;
    margin-top: 8px;
  }
}
footer .flag img:hover {
  transform: scale(1.1);
}
footer .flag a {
  margin-left: 5px;
  font-size: 9px;
}
footer .flag a:hover {
  text-decoration: none;
}
footer .flag a.active img {
    padding-bottom:2px;border-bottom:1px solid #fff; /* Trait sous le drapeau actif */
}
.legals p{display:block;margin-left:auto;margin-right:auto;}