@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Masquer les barres de défilement tout en gardant le swipe tactile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-btn {
  padding: 0.45rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background-color: #f1f5f9;
}

.nav-btn.active {
  background-color: #000091;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sub-tab-btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.825rem;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  color: #64748b;
  white-space: nowrap;
  transition: all 0.2s;
}

.sub-tab-btn:hover {
  color: #000091;
}

.sub-tab-btn.active {
  color: #000091;
  border-bottom-color: #000091;
}

/* Style des cartes d'options Gemini Notebook */
.gemini-option {
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.gemini-option:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

/* Rendu typographique fidèle au Livret Officiel */
.official-formatted-content {
  font-family: 'Lora', Georgia, serif;
}

.official-formatted-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #000091;
  font-size: 1.25rem;
  font-weight: 800;
  border-bottom: 2px solid #000091;
  padding-bottom: 0.35rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.official-formatted-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.official-formatted-content p {
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.official-formatted-content .callout-box {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: #92400e;
}