@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

/* ===== Variables ===== */
:root {
  --vert: #008000;        
  --vert-fonce: #0b5a2b;
  --vert-pale: #eef5ef;
  --bordeaux: maroon;      
  --encre: #1d2a22;
  --discret: #5a675f;
  --filet: #d6e0d8;
  --sans: 'Public Sans', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
  --default-color: var(--encre);
  --heading-color: var(--vert-fonce);
  --accent-color: var(--bordeaux);
  --contrast-color: #fff;
  --surface-color: #fff;
  --background-color: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Base ===== */
body {
  font-family: var(--serif);
  color: var(--encre);
  margin: 10px;
  padding: 2px;
  background-position: center;
  border: solid 2px green;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--vert-fonce); }
a:hover { color: var(--bordeaux); }
:focus-visible { outline: 3px solid #e0a800; outline-offset: 2px; }

/* ===== Header ===== */
header {
  background-color: green;
  color: white;
  padding: 2px;
  margin: 1px;
  height: 100px;
  font-family: Arial, sans-serif;
}
#Titre_principal { display: inline-block; text-align: center; }
header h1 {
  text-align: center;
  padding: 0px;
  color: white;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}
#Logo1 { width: 150px; height: 100px; margin-bottom: 5px; padding: 5px; }
@media (max-width: 1032px) {
  .Titre_principal h1 { font-size: 15px; text-align: left; margin-bottom: 50px; padding: 0px; white-space: nowrap; }
}

/* ===== Navigation ===== */
nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px;
  list-style: none; margin: 0; padding: 8px;
  background-color: maroon;
  border: solid 2px white;
}
nav ul li { display: block; margin: 0; }
nav ul li a {
  display: block; padding: 8px 14px; border-radius: 4px;
  color: white; text-decoration: none;
  font: 600 16px/1.2 var(--sans);
  border-bottom: 3px solid transparent;
}
nav ul li a:hover { background: rgba(255,255,255,.14); color: #fff; }
nav ul li a[aria-current="page"] { border-bottom-color: #f2c94c; background: rgba(0,0,0,.18); }

/* ===== Mise en page ===== */
body > section, body > div { max-width: 1120px; margin-left: auto; margin-right: auto; }
body > section:has(> nav) { max-width: none; margin-bottom: 0; }
section { margin-bottom: 20px; }
main { padding: 20px; }

/* ===== Titres ===== */
h2, body h2 {
  font: 700 clamp(1.7rem, 3vw, 2.2rem)/1.2 var(--sans);
  text-align: center; color: var(--bordeaux);
  margin: 40px 0 32px;
}
h2::after {
  content: ""; display: block; width: 64px; height: 4px;
  background: var(--vert); margin: 14px auto 0; border-radius: 2px;
}
h3, body h3 {
  font: 700 1.45rem/1.3 var(--sans);
  color: var(--vert-fonce); text-align: left;
  margin: 36px 24px 14px;
}
h4 { font: 600 1.15rem/1.4 var(--sans); color: var(--vert-fonce); margin: 26px 24px 10px; text-align: left; }

/* ===== Texte ===== */
p { font-size: 20px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; margin: 0 24px 18px; max-width: 78ch; }
ul, ol { font-size: 18px; margin-left: 24px; margin-right: 24px; }
li { font-size: 20px; margin-bottom: 6px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.section-title p { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== À propos ===== */
#apropos { padding: 0 16px; }
#apropos h3, #apropos h4 { margin-left: 24px; margin-right: 24px; }
#apropos p, #mission ul, #objectifs ul { margin-left: 24px; margin-right: 24px; }
#mission ul, #objectifs ul { padding-left: 24px; max-width: 78ch; }
.infras { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 24px 24px; }
.infras h4, .infras p { flex: 0 0 100%; margin-left: 0; margin-right: 0; }
.infras img {
  flex: 1 1 260px; min-width: 15; max-width: calc(50% - 7px);
  height: 260px; object-fit: cover; margin: 0;
  border-radius: 6px; border: 1px solid var(--filet);
}

/* ===== Recherche ===== */
#Recherche { padding: 0 16px; }
#Recherche p, #Recherche h3, #Recherche h4 { margin-left: 24px; margin-right: 24px; }
#Recherche li { margin-left: 0; margin-right: 0; line-height: 1.65; font-size: 20px; text-align: justify; }
#Recherche ul { padding-left: 24px; max-width: 78ch; }
#groupes img {
  display: inline-block; vertical-align: top;
  width: calc(50% - 30px); height: 260px; object-fit: cover;
  margin: 8px 0 18px 24px; border-radius: 6px; border: 1px solid var(--filet);
}
@media (max-width: 700px) { #groupes img { width: calc(100% - 48px); } }

/* ===== Personnel ===== */
#container_equipe {
  position: relative; background: #fff; border-radius: 10px;
  padding: 8px 12px 24px; box-shadow: 0 1px 8px rgba(0,0,0,.08); overflow: hidden;
}
.member { text-align: center; }
#container_equipe img {
  display: block; width: 220px; height: 220px; object-fit: cover;
  border-radius: 8px; margin: 24px auto 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
#img-Prof-SF { margin-left: 0; }

#container_equipe #img-Ac {
  object-fit: contain; object-position: center;
  background: #f4f4f4;
}
.member-info h4, #container_equipe h4 { text-align: center; color: var(--bordeaux); margin: 4px 0; }
.member-info span, #container_equipe span {
  display: block; text-align: center; margin: 0 0 12px;
  font: 400 16px/1.4 var(--sans); color: var(--discret);
}
#Prof_SF h4, #Prof_SF span, #coord_sapad { margin-left: 0; margin-right: 0; }
.membres h4 { margin: 24px 24px 12px; }
.membres ul, #equipe ul { columns: 2 340px; column-gap: 40px; padding-left: 24px; list-style: disc; }
#equipe ul li, #m_assoc ul li { margin: 0 0 8px; line-height: 1.5; break-inside: avoid; font-size: 17px; text-align: justify; }
#m_assoc ul { columns: 1; }
#mtb_1 h3, #membres_sapad h3 {
  background: var(--vert-pale); border: 0; border-left: 6px solid var(--vert);
  padding: 14px 18px; margin: 36px 0 8px; border-radius: 4px; text-align: left;
}
#membres_sapad { margin-top: 20px; }

/* ===== Formations ===== */
#docteurs_formes ol { columns: 2 280px; column-gap: 40px; margin: 12px 24px 24px; padding-left: 40px; line-height: 1.6; }
#docteurs_formes h3, #these_en_cours h3 { color: var(--vert-fonce); }
#these_en_cours h4 { text-align: center; text-decoration: none; color: var(--encre); font-size: 1.1rem; margin: 6px 0 14px; }

/* ===== Tableaux (formations, projets) ===== */
.table-wrap { overflow-x: auto; margin: 16px 12px 32px; border: 1px solid var(--filet); border-radius: 8px; }
table { border-collapse: collapse; width: 100%; margin: 0; font-family: var(--sans); }
table th, table td {
  border: 0; border-bottom: 1px solid var(--filet);
  font: 400 15px/1.5 var(--sans); padding: 12px 14px; text-align: left; vertical-align: top;
}
table th {
  background: var(--vert-fonce); color: #fff; font-weight: 600;
  white-space: nowrap; position: sticky; top: 0;
}
table tbody tr:nth-child(even) { background: #f6faf6; }
table tbody tr:hover { background: var(--vert-pale); }
table td:first-child { text-align: center; width: 3em; }
table td:nth-child(2) { min-width: 160px; }

/* ===== Publications ===== */
#publications { padding: 0 16px; }
#publications p { font-size: 18px; margin: 0 0 8px; max-width: 80ch; }
.annees {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin: 0 24px 28px; font-family: var(--sans);
}
.annees a {
  padding: 4px 11px; border: 1px solid var(--filet); border-radius: 999px;
  font-size: 14px; text-decoration: none; color: var(--vert-fonce); background: #fff;
}
.annees a:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.divider {
  display: flex; align-items: center; gap: 16px;
  font: 700 2rem/1 var(--sans); color: var(--bordeaux); margin: 48px 0 20px;
}
.divider::before { content: none; }
.divider::after { content: ""; flex: 1; height: 2px; padding: 0; margin: 0; background: var(--filet); }
#publications > div:not(.divider) { margin-bottom: 18px; padding-bottom: 14px; }
.sous-titre {
  font: 600 15px/1 var(--sans); color: var(--vert-fonce);
  background: var(--vert-pale); border: 1px solid var(--filet); border-radius: 4px;
  padding: 7px 12px; margin: 4px 0 8px; cursor: pointer; text-decoration: none;
}
.sous-titre::before { content: "+ "; }
.sous-titre[aria-expanded="true"]::before { content: "− "; }
.sous-titre:hover { background: var(--vert-fonce); color: #fff; }
.resume {
  display: none; font-size: 18px; line-height: 1.6; text-align: justify; hyphens: auto;
  margin: 4px 0 12px; padding: 16px 20px; max-width: 80ch;
  border-left: 4px solid var(--vert); background: #fafcfa;
}

/* ===== Coopération ===== */

.coop {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin: 0 24px 24px;
  align-items: stretch;
}
.coop > p { grid-column: 1 / -1; max-width: none; margin: 0 0 6px; text-align: center; }
.coop img {
  display: block; width: 100%; height: 130px; margin: 0; padding: 14px 18px;
  object-fit: contain; object-position: center;
  background: #fff; border: 1px solid var(--filet); border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.coop img:hover { box-shadow: 0 6px 16px rgba(0,0,0,.14); transform: translateY(-2px); }
@media (max-width: 576px) {
  .coop { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 8px 20px; }
  .coop img { height: 100px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .coop img { transition: none; } .coop img:hover { transform: none; } }


/* ===== Accueil ===== */
.carousel { border-radius: 8px; overflow: hidden; margin-top: 20px; }
.carousel-item img { height: 420px; object-fit: cover; width: 100%; max-height: none; }
.carousel-caption { background: linear-gradient(transparent, rgba(0,0,0,.35)); }
@media (max-width: 700px) { .carousel-item img { height: 220px; } }
#recent-posts article, .recent-posts article {
  background: var(--surface-color); border: 1px solid var(--filet);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  padding: 0 24px 24px; height: 100%; border-radius: 8px; overflow: hidden;
}
/* Photos des actualités */
.recent-posts .post-img { height: auto; margin: 0 -24px 16px; overflow: hidden; background: #f3f3ef; display: flex; justify-content: center; align-items: center; }
.recent-posts .post-img img { width: auto; max-width: 100%; height: auto; max-height: 380px; object-fit: contain; image-rendering: auto; }
.recent-posts .post-category { font: 600 14px var(--sans); color: var(--bordeaux); margin: 0 0 8px; }
.recent-posts .title { font: 700 1.1rem/1.35 var(--sans); margin: 0 0 16px; }
.recent-posts .title::after { content: none; }
.recent-posts .title a { color: var(--vert-fonce); text-decoration: none; }
.recent-posts .title a:hover { color: var(--bordeaux); }
.recent-posts .post-author-img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; margin-right: 14px; }
.recent-posts .post-meta p { margin: 0; font: 400 14px/1.5 var(--sans); }
.recent-posts .post-author { font-weight: 600; color: var(--encre); }
.recent-posts .post-date { color: var(--discret); }
.recent-posts .btn { margin-top: 8px; background: var(--vert-fonce); border-color: var(--vert-fonce); font: 600 14px var(--sans); }
.recent-posts .btn:hover { background: var(--bordeaux); border-color: var(--bordeaux); }

/* Actualités : soutenances de thèses */
.recent-posts .post-initials {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--vert-fonce); color: #fff; font: 500 16px var(--sans);
  letter-spacing: .5px; width: 50px; height: 50px; border-radius: 50%; margin-right: 14px;
}
.recent-posts .these-detail { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--filet); }
.recent-posts .these-detail p, .recent-posts .these-detail li { font: 400 15px/1.5 var(--sans); margin: 0 0 6px; max-width: none; text-align: left; }
.recent-posts .these-detail ul { margin: 0 0 8px; padding-left: 20px; }

/* ===== Contact ===== */
#contact .section-title p { text-align: center; }
#contact .info-item { background: var(--vert-pale); padding: 20px 24px; border-radius: 8px; margin-bottom: 16px; }
#contact .info-item i { font-size: 32px; line-height: 1; color: var(--bordeaux); }
#contact .info-item h3, #contact .info-item h4 { font: 700 1.1rem var(--sans); margin: 10px 0 6px; color: var(--vert-fonce); }
#contact .info-item p { margin: 0 0 6px; font-size: 17px; }
#contact .php-email-form { background: var(--vert-pale); padding: 28px; border-radius: 8px; height: 100%; }
#contact .php-email-form input[type=text],
#contact .php-email-form input[type=email],
#contact .php-email-form textarea {
  width: 100%; font: 400 17px var(--sans); padding: 12px 14px; margin: 0;
  border: 1px solid var(--filet); border-radius: 4px; background: #fff; color: var(--encre);
}
#contact .php-email-form input:focus, #contact .php-email-form textarea:focus { border-color: var(--vert); outline: 0; box-shadow: 0 0 0 3px rgba(0,128,0,.2); }
#contact .php-email-form button[type=submit] {
  background: var(--bordeaux); color: #fff; border: 0; padding: 12px 28px;
  font: 600 16px var(--sans); border-radius: 4px; cursor: pointer;
}
#contact .php-email-form button[type=submit]:hover { background: #5c0000; }
.loading, .error-message, .sent-message { display: none; }
.container.section-title { text-align: center; }

/* ===== Pied de page ===== */
footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 32px;
  background-color: #02682a; color: white; padding: 28px 32px;
  margin-top: 40px; font-family: var(--sans); font-size: 20px;
}
#navigation, #connexion, #adresse { display: block; margin: 0; text-align: left; width: auto; }
#navigation { display: flex; flex-wrap: nowrap; gap: 0 40px; flex: 1 1 280px; }
#navigation ul + ul { margin-top: 38px; }
#connexion { flex: 0 1 200px; }
#adresse { flex: 1 1 240px; }
footer ul { list-style: none; margin: 0; padding: 0; width: auto; text-align: left; font-size: 20px; }
footer li { margin: 0 0 6px; font-size: 18px; }
footer a, #navigation a, #connexion a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; color: #fff; }
footer span, #navigation span, #connexion span, #adresse span {
  display: block; font: 700 17px var(--sans); color: #f2c94c; margin-bottom: 10px; text-align: left;
  line-height: 28px;
}
#adresse span{text-align: center;}

#adresse p { font-size: 18px; margin: 0; line-height: 1.55; }
#Connexion { flex: 1 1 100%; display: flex; align-items: center; gap: 12px; }
#Connexion h1 { font: 700 17px var(--sans); color: #f7ca46; margin: 0 8px 0 0; }
#Connexion img { width: 30px; height: 30px; object-fit: contain; }
footer > p { flex: 1 1 100%; margin: 0; max-width: none; font-size: 14px; opacity: .85; }

/* ===== Mobile ===== */
@media (max-width: 700px) {
  p, ul, ol, h3, h4 { margin-left: 12px; margin-right: 12px; }
  p { font-size: 17px; }
  .infras img { max-width: 100%; }
  nav ul li a { padding: 8px 10px; font-size: 15px; }
  footer { padding: 22px 16px; }
}

/* ===== Justification du texte ===== */

header, header *, nav li, nav li a { text-align: inherit; hyphens: none; }
footer p, footer li, #adresse p { text-align: left; hyphens: none; }
.recent-posts .post-meta p, .recent-posts .post-category, #contact .info-item p { text-align: left; }
.section-title p { text-align: center; }
.carousel-caption p, .carousel-caption h5 { text-align: center; hyphens: none; }
table td, table th { text-align: left; hyphens: none; }
table td:first-child { text-align: center; }

/* ===== Justification des colonnes de tableaux ===== */

#projets table td:nth-child(2),
#projets table td:nth-child(4),

#these_en_cours table td:nth-child(5) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#projets table td:nth-child(2) { min-width: 240px; }
#projets table td:nth-child(4) { min-width: 300px; }
#these_en_cours table td:nth-child(5) { min-width: 260px; }

/* ===== Ajustement des photos Bc.png et As.png ===== */

#container_equipe img[src$="Bc.png"],
#container_equipe img[src$="As.png"] {
  object-fit: contain;
  object-position: center;
  background: var(--vert-pale);
}

/* ===================================================================== */
/* ===== Centrage du texte : À propos, Recherche, Publications ========= */
/* ===================================================================== */
#apropos h3, #apropos h4, #apropos p, #apropos li,
#Recherche h3, #Recherche h4, #Recherche p, #Recherche li,
#publications p, #publications .resume {
  text-align: justify;
  hyphens: manual; -webkit-hyphens: manual;
}
#apropos h3, #apropos h4, #Recherche h3, #Recherche h4{text-align: center;}

#apropos p, #Recherche p { margin-left: auto; margin-right: auto; padding: 0 24px; text-align: justify;}
#publications p { margin: 0 auto 8px; overflow-wrap: break-word; }

#apropos ul, #Recherche ul {
  margin-left: auto; margin-right: auto; padding: 0 24px;
  list-style-position: inside; text-align: center; max-width: 78ch;
}

/* ===== Rapports d'activités===== */
#publications .rapports {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; border-bottom: none;
}
#publications .rapports a {
  display: inline-block; padding: 10px 22px; min-width: 260px;
  font: 600 16px/1.2 var(--sans); color: var(--vert-fonce); text-decoration: none;
  background: var(--vert-pale); border: 1px solid var(--filet); border-radius: 6px;
  transition: var(--background-color) .2s, color .2s;
}
#publications .rapports a:hover,
#publications .rapports a:focus-visible { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }

#publications > div:not(.divider) { text-align: center; }
#publications .resume { margin: 4px auto 12px; overflow-wrap: break-word; }
#publications .divider { justify-content: center; }
#publications .divider::before { content: ""; flex: 1; height: 2px; background: var(--filet); }

/* ===================================================================== */
/* ===== Responsive : tablettes (≤ 992px) ============================== */
/* ===================================================================== */
@media (max-width: 992px) {
  .carousel-item img, #carouselExampleIndicators img { height: 340px; }
  .carousel .carousel-caption { top: 30px; bottom: 30px; }
  .carousel .carousel-caption h5 { font-size: 44px; margin-bottom: 24px; }
  .carousel .carousel-caption p { font-size: 22px; margin-bottom: 24px; }
  footer { padding: 24px; }
}

/* ===================================================================== */
/* ===== Responsive : mobiles et petites tablettes (≤ 768px) =========== */
/* ===================================================================== */
@media (max-width: 768px) {
  body { margin: 6px; }

  /* En-tête : logo + titre côte à côte, le titre peut passer à la ligne */
  header { height: auto; padding: 8px; }
  header .Titre_principal h1 {
    display: flex; align-items: center; gap: 12px;
    margin: 0; padding: 0; font-size: 16px; line-height: 1.3;
    text-align: left; white-space: normal;
  }
  #Logo1 { width: 90px; height: 60px; flex: 0 0 auto; margin: 0; padding: 2px; }

  /* Navigation */
  nav ul { padding: 6px; gap: 4px; }
  nav ul li a { padding: 10px 10px; font-size: 14px; }

  /* Titres */
  h2, body h2 { font-size: 1.55rem; margin: 28px 0 22px; }
  h2::after { margin-top: 10px; }
  h3, body h3 { font-size: 1.25rem; margin: 26px 12px 10px; }
  h4 { font-size: 1.08rem; margin: 20px 12px 8px; }

  /* Texte */
  p { font-size: 16px; margin: 0 12px 16px; max-width: none; }
  ul, ol { font-size: 16px; margin-left: 12px; margin-right: 12px; }
  #apropos, #Recherche, #publications { padding: 0 4px; }
  #apropos p, #Recherche p, #apropos ul, #Recherche ul { padding: 0 8px; max-width: none; }
  #apropos h3, #apropos h4, #Recherche h3, #Recherche h4 { margin-left: 8px; margin-right: 8px; }
  #Recherche li { font-size: 16px; }
  #publications p { font-size: 16px; }

  /* À propos / Recherche */
  .infras { margin: 0 8px 20px; }
  .infras img { flex: 1 1 100%; max-width: 100%; height: 200px; }
  #groupes img { width: calc(100% - 24px); height: 200px; margin: 6px 12px 14px; }

  /* Personnel */
  #container_equipe { padding: 4px 4px 16px; }
  #container_equipe img { width: 180px; height: 180px; margin: 16px auto 10px; }
  .membres h4 { margin: 18px 12px 8px; }
  .membres ul, #equipe ul { columns: 1; padding-left: 28px; }
  #equipe ul li, #m_assoc ul li { font-size: 16px; }
  #mtb_1 h3, #membres_sapad h3 { padding: 10px 12px; font-size: 1.1rem; margin: 24px 0 6px; }

  /* Tableaux (Projets, Formations) */
  .table-wrap { margin: 12px 0 24px; -webkit-overflow-scrolling: touch; }
  table th, table td { font-size: 14px; padding: 9px 10px; }
  #docteurs_formes ol { columns: 1; margin: 8px 12px 20px; padding-left: 32px; }

  /* Publications */
  .annees { margin: 0 8px 20px; gap: 5px; }
  .annees a { font-size: 13px; padding: 5px 10px; }
  .divider { font-size: 1.5rem; margin: 34px 0 16px; gap: 10px; }
  .sous-titre { min-height: 40px; padding: 10px 14px; }
  .resume { font-size: 15.5px; padding: 12px 14px; }

  /* Coopération */
  #carouselExampleIndicators img { height: 220px; }
  #partenaires ul { margin: 10px 12px 20px; padding: 6px 14px 6px 34px; font-size: 16px; max-width: none; }

  /* Accueil */
  .carousel-item img { height: 240px; }
  .recent-posts .post-img { height: 180px; }

  /* Contact */
  #contact .php-email-form { padding: 16px; }
  #contact .info-item { padding: 14px 16px; }
  #contact .info-item p { font-size: 16px; overflow-wrap: anywhere; }

  /* Pied de page : colonnes empilées */
  footer { flex-direction: column; flex-wrap: nowrap; gap: 22px; padding: 22px 16px; margin-top: 28px; }
  #navigation, #connexion, #adresse { flex: 0 0 auto; width: 100%; }
  #navigation { gap: 0 32px; }
  footer li { margin-bottom: 8px; }
}

/* ===================================================================== */
/* ===== Responsive : petits mobiles (≤ 576px) ========================= */
/* ===================================================================== */
@media (max-width: 576px) {
  body { margin: 4px; }
  header .Titre_principal h1 { font-size: 14px; gap: 8px; }
  #Logo1 { width: 72px; height: 48px; }
  nav ul li a { font-size: 13px; padding: 10px 8px; }
  h2, body h2 { font-size: 1.4rem; }
  .carousel-item img, #carouselExampleIndicators img { height: 190px; }
  .recent-posts .post-img { height: 160px; }
  #container_equipe img { width: 160px; height: 160px; }
  .divider { font-size: 1.35rem; }
  #equipe ul li, #m_assoc ul li, #partenaires ul, #docteurs_formes ol li { text-align: left; hyphens: auto; }
}
