
/* Définition des variables de couleur pour la cohérence */
:root {
  --primary-color: #003366; /* Bleu marine pour les titres/boutons (inspiré du logo) */
  --secondary-color: #33aaff; /* Bleu clair pour les accents si besoin */
  --text-color: #333;
  --light-bg: #f4f7fa; /* Fond légèrement gris/bleuté comme l'exemple */
  --white: #ffffff;
}

/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  min-height: 100vh;
  
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  line-height: 1.6;
  color: var(--text-color);
  background: url("Images/Fond.png") no-repeat center center fixed;
  background-size: cover; /* Remplit l’écran sans déformation */
  min-height: 100vh;
}

/* --- En-tête (Header) --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-text {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
}

.user-menu {
  display: flex;
  align-items: center;
}

.icon-link, .menu-toggle {
  font-size: 1.5em;
  margin-left: 20px;
  color: var(--primary-color);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* --- Contenu Principal --- */
.content-container {
  padding: 40px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Intro et Bilans (Flex pour côte à côte) */
.intro-assessments {
  display: flex;
  gap: 50px;
  align-items: flex-start; /* Aligner les blocs en haut */
  padding-bottom: 40px;
}

.text-content {
  flex: 1;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Léger arrondi */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Titres */
.main-title {
  font-size: 3em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.subtitle {
  font-size: 1.8em;
  font-weight: 400;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.section-heading {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Liste des Bilans */
.assessment-list {
  list-style: none; /* Supprime les puces par défaut */
  padding-left: 0;
  font-size: 1.1em;
}

.assessment-list li {
  margin-bottom: 10px;
}

.reeducation-note {
  font-style: italic;
  margin-top: 15px;
  font-size: 1em;
}

/* Bouton Doctolib */
.btn-doctolib {
  display: inline-block;
  background-color: #00b8c6; /* Couleur typique de Doctolib */
  color: var(--white);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.btn-doctolib:hover {
  background-color: #0099a3;
}

/* --- Sélecteur de Langue (Drapeaux) --- */
.language-selector {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.lang-flag {
  font-size: 1.5em; /* Taille du drapeau */
  text-decoration: none;
  border-radius: 50%; /* Pour l'effet rond */
  overflow: hidden;
  display: block;
  box-shadow: 0 0 0 2px transparent; /* Bordure transparente pour l'état normal */
  transition: box-shadow 0.2s ease;
}

.lang-flag.active {
  box-shadow: 0 0 0 2px var(--primary-color); /* Bordure colorée pour la langue active */
}

/* --- Informations Pratiques (Grid) --- */
.separator {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 40px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-block {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-block h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
}

.map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.map-link:hover {
  text-decoration: underline;
}

.chatbot-note {
  margin-top: 40px;
  padding: 15px;
  background: #e6f7ff;
  border-left: 5px solid var(--secondary-color);
  border-radius: 0 8px 8px 0;
  color: var(--primary-color);
}


/* --- Responsive (pour les téléphones) --- */
@media (max-width: 768px) {
  .intro-assessments {
    flex-direction: column; /* Empiler les éléments sur mobile */
  }

  .image-container {
    order: -1; /* Placer l'image en haut de la section sur mobile */
    margin-bottom: 30px;
  }

  .main-title {
    font-size: 2.5em;
  }

  .subtitle {
    font-size: 1.5em;
  }
   
  .content-container {
    padding: 20px 4%;
  }
}
