/* styles globaux */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f9fc;
  display: flex;
  flex-direction: column;
}
/* Container global qui prend toute la hauteur */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  width: 100%;
  background: linear-gradient(135deg, #007bff, #0057d9);
  color: #ffffff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}
/* Menu de navigation amélioré */
nav {
  margin-top: 15px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 15px;
  backdrop-filter: blur(5px);
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 6px;
  display: block;
}
nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
nav ul li a:hover::after {
  transform: scaleX(1);
}
/* Section principale qui occupe l'espace restant */
.content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Mode intégré : on limite la largeur */
.content.embed {
  max-width: 800px;
  margin: 5px auto;
}
.description {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin: 20px 0;
}
.iframe-container {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.05);
}
.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.section {
  background: #ffffff;
  padding: 25px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
footer {
  text-align: center;
  padding: 15px;
  background: #fff;
  color: #aaa;
  font-size: 14px;
}
/* Ajustements pour les petits écrans */
@media (max-width: 768px) {
  header h1 {
    font-size: 20px;
  }
  .description {
    font-size: 16px;
  }
} 