/* Ma palette */
:root {
  --marine: #1F2F4A;
  --bleu-titres: #125CAB;
  --bleu-logo: #6183B2;
  --bleu-vif: #429FE3;
  --gris-ardoise: #54637A;
}

body {
  margin: 0;
  background-color: #F3F6FB;
  color: var(--marine);
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.6;
}

/* Bandeau du haut */
.bandeau {
  background-color: #ffffff;
  border-bottom: 2px solid var(--bleu-logo);
  padding: 16px 24px;
}

.bandeau img {
  height: 52px;
  display: block;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0;
}

.etudes {
  color: var(--bleu-titres);
  font-weight: 600;
  margin: 0 0 16px 0;
}

.presentation {
  margin: 0 0 8px 0;
}

/* Sur un grand écran, la présentation tient sur une seule ligne */
@media (min-width: 820px) {
  .presentation {
    white-space: nowrap;
  }
}

.construction {
  color: var(--gris-ardoise);
  font-size: 0.9rem;
  margin: 0;
}

/* Titre de section */
h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bleu-logo);
  border-bottom: 1px solid var(--bleu-logo);
  padding-bottom: 6px;
  margin: 56px 0 20px 0;
}

/* Projet : une carte avec un en-tête foncé */
.projet {
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(31, 47, 74, 0.10);
}

.projet-entete {
  background-color: var(--marine);
  color: #ffffff;
  padding: 8px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.projet h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.projet .note {
  font-size: 0.85rem;
  margin: 0;
}

.projet-contenu {
  padding: 20px 24px 24px;
}

.projet .intro {
  margin: 0 0 12px 0;
}

/* "En savoir plus" qui déplie les détails */
.en-savoir-plus {
  margin-bottom: 20px;
}

.en-savoir-plus summary {
  cursor: pointer;
  list-style: none;
  color: var(--bleu-titres);
  font-weight: 600;
  font-size: 0.95rem;
}

.en-savoir-plus summary::-webkit-details-marker {
  display: none;
}

.en-savoir-plus summary::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
}

.en-savoir-plus[open] summary::after {
  transform: rotate(180deg);
}

.en-savoir-plus .technos {
  color: var(--gris-ardoise);
  font-size: 0.9rem;
  margin: 12px 0;
}

.en-savoir-plus ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.95rem;
}

.en-savoir-plus li {
  margin-bottom: 8px;
}

/* Bouton vers le projet */
.voir-projet {
  display: inline-block;
  background-color: var(--bleu-titres);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
}

.voir-projet:hover {
  background-color: var(--marine);
}
