/* === Style principal Thesauros Temporis === */

/* --- Structure generale --- */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #2c2c2c;
  color: #e0e0e0;
  line-height: 1.6;
}

/* --- Bannieres --- */
.banner-top img,
.banner-footer img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-top {
  margin-bottom: 0;
}

.banner-footer {
  margin-top: 40px;
}

/* --- Header global --- */
.header {
  background-color: #2c2c2c;
  color: #fff;
  padding: 10px 0;
  border-bottom: 2px solid #444;
}

/* --- Contenu du header : logo + titre + langues --- */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Logo --- */
.logo {
  height: 70px;
  width: auto;
}

/* --- Titre principal --- */
.site-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
}

/* --- Boutons langues --- */
.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch .lang {
  background-color: #555;
  border: none;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.lang-switch .lang:hover {
  background-color: #777;
}

/* --- Bloc central --- */
main {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

/* --- Titres --- */
h1 {
  color: #d4af37;
  text-align: center;
}

h2 {
  color: #d4af37;
  margin-top: 40px;
}

/* --- Conteneur video responsive --- */
.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#video-title {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #d4af37;
}

/* --- Boutons generaux --- */
.btn {
  display: inline-block;
  background-color: #d4af37;
  color: #000;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #e5c158;
}

/* --- Footer --- */
.footer {
  background-color: #2c2c2c;
  text-align: center;
  padding: 20px 0;
  color: #ccc;
  border-top: 2px solid #444;
}

.footer-buttons {
  margin-bottom: 10px;
}

.footer .btn {
  margin: 5px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .site-title {
    margin: 10px 0;
  }
  main {
    padding: 20px;
  }
}