
.reveal .slides > section:not(:first-of-type) {
  background: #ffffff;
  color: #333;
}

/* Titres bien espacés et harmonisés */
.reveal .slides > section:not(:first-of-type) h1,
.reveal .slides > section:not(:first-of-type) h2,
.reveal .slides > section:not(:first-of-type) h3 {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 500;
  margin-bottom: 20px;
  color: #33474b;
}


/* Tentative d'auto-ajustement de la taille de texte dans les slides trop longues */
.reveal .slides > section.auto-shrink * {
  font-size: calc(1em - 0.2vw);
}

.reveal .slides > section.auto-shrink {
  max-height: 100vh;
  overflow-y: auto;
}


/* Paragraphes avec lisibilité augmentée */
.reveal .slides > section:not(:first-of-type) p {
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 1em;
}

/* Listes élégantes */
.reveal .slides > section:not(:first-of-type) ul,
.reveal .slides > section:not(:first-of-type) ol {
  padding-left: 1.2em;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Encadré pour les blocs de code ou citations */
.reveal .slides > section:not(:first-of-type) blockquote,
.reveal .slides > section:not(:first-of-type) pre {
  background: #f8f8f8;
  border-left: 4px solid #EB811B;
  padding: 10px 15px;
  margin: 20px 0;
  font-size: 0.8em;
  color: #555;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Tableaux simples et sobres */
.reveal .slides > section:not(:first-of-type) table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.85em;
  margin: 20px 0;
}

.reveal .slides > section:not(:first-of-type) th,
.reveal .slides > section:not(:first-of-type) td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

/* Images avec ombre légère */
.reveal .slides > section:not(:first-of-type) img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

    
.scroll-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 70vh;
  font-size: 0.75em;
}

.scroll-table-wrapper table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
}


/* Image de fond */
.reveal .slides > section:first-of-type {
  background-image: url('img/Visuel_1.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
}

/* Titre principal — même style que sous-titre mais un peu plus grand */
.title-box {
  background: rgba(0, 0, 0, 0.4); /* même fond que le sous-titre */
  padding: 20px;
  border-radius: 8px;
  font-size: 1.8em;                /* plus grand que le sous-titre */
  font-weight: bold;
  text-align: center;
  line-height: 1.2;              /* espace entre les lignes du titre */
  max-width: 90%;                /* évite que ça s'étale trop */
  margin: 0 auto 20px auto;      /* centré horizontalement + marge basse */
  color: white;                  /* garantit la lisibilité */
}

/* Sous-titre */
.subtitle-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 8px;
  font-size: 1.0em;
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}

/* Auteurs bien visibles et centrés */
.authors {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 8px;

  font-size: 0.9em;
  text-align: center;
  margin-bottom: 80px; /* Augmenté pour laisser de la place aux logos */
}

/* Slide avec position: relative pour contenir les éléments absolus */
.reveal .slide:first-of-type {
  position: relative;
}

/* Petit bloc informatif sous les auteurs */
.event-info {
  font-size: 0.85em;
  text-align: center;
  color: white;
  margin-bottom: 20px;
  font-style: italic;
  z-index: 1;
}

/* Logos en bas à droite (absolus) */
.reveal .slides > section:first-of-type .logos {
  position: absolute;
  bottom: 20px;
  right: 30px;
  display: flex;
  gap: 20px;
  z-index: 2;
}

/* Logos sans effet visuel superflu */
.reveal .slides > section:first-of-type .logos img {
  height: 60px;
  max-width: 150px;
  object-fit: contain;
  background: none;
  filter: none;
  box-shadow: none;
}

.scroll-table-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 60vh;         /* Limite la hauteur pour éviter que ça déborde */
  max-width: 100%;
  font-size: 0.7em;         /* Taille de police réduite, mais lisible */
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  background: #fafafa;
}

/* Style général pour les tableaux */
.reveal table {
  table-layout: fixed;      /* Colonne de largeur uniforme */
  width: 100%;
  font-size: inherit;       /* Hérite de .scroll-table-wrapper */
}

/* Ajustement des cellules pour éviter débordement */
.reveal table td,
.reveal table th {
  word-wrap: break-word;
  max-width: 150px;
  padding: 6px 8px;
}


.highlight-title {
  color: #2A6DB0; /* Bleu soutenu, élégant et lisible */
}

/* Slide compressée — texte plus petit pour éviter le scroll */
.reveal .slides section.compressed {
  font-size: 0.75em;
  line-height: 1.3;
}

.section-transition {
  text-align: center;
  padding: 6rem 2rem;
}

.section-transition h2 {
  font-size: 4rem;
  color: #2A6DB0;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-transition h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-color: #2A6DB0;
  margin-top: 0.8rem;
  border-radius: 2px;
}

.section-transition h3 {
  font-size: 2.2rem;
  color: #444;
  font-weight: 300;
  font-style: italic;
  margin-top: 1rem;
}




