#sujet-html,
#sujet-html * {
  box-sizing: border-box;
}

#sujet-html {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  color: #111;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.42;
  text-align: left;
  container-type: inline-size;
  container-name: bac-document;
}

#sujet-html .sujet-bac-pages {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

#sujet-html .sujet-bac-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 21px 15px 15px;
  border: 0;
  border-bottom: 1px solid #d2d2d2;
  background: #fff;
  font-size: 16px;
  line-height: 1.42;
}

#sujet-html .sujet-bac-page:last-child {
  border-bottom: 0;
}

#sujet-html .sujet-bac-page p {
  margin: 0 0 9px;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-page h3 {
  margin: 0;
  padding: 0;
  color: inherit;
  background: none;
  font-family: inherit;
  font-size: 1em;
  font-style: normal;
  font-weight: 700;
  line-height: inherit;
  text-align: left;
}

#sujet-html .sujet-bac-page strong { font-weight: 700; }
#sujet-html .sujet-bac-page em { font-style: italic; }
#sujet-html .sujet-bac-exercice { min-width: 0; }

#sujet-html .sujet-bac-titre-exercice {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 13px;
  font-weight: 700;
}

#sujet-html .sujet-bac-titre-exercice strong { white-space: nowrap; }
#sujet-html .sujet-bac-hypotheses { margin: 2px 0 16px; padding-left: 23px; list-style: none; }
#sujet-html .sujet-bac-hypotheses > li { position: relative; margin: 5px 0; padding-left: 11px; }
#sujet-html .sujet-bac-hypotheses > li::before { content: '-'; position: absolute; left: -12px; }
#sujet-html .sujet-bac-hypotheses ul { margin: 5px 0 0; padding-left: 22px; list-style-type: disc; }
#sujet-html .sujet-bac-hypotheses ul li { margin: 6px 0; padding-left: 2px; }

#sujet-html .sujet-bac-questions {
  margin: 19px 0 0;
  padding: 0 0 0 32px;
  list-style: decimal;
}

#sujet-html .sujet-bac-questions > li {
  margin: 0 0 13px;
  padding: 0 0 0 3px;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

#sujet-html .sujet-bac-questions > li::marker { font-weight: 700; }
#sujet-html .sujet-bac-sous-questions {
  margin: 9px 0 0;
  padding-left: 24px;
  list-style: lower-alpha;
}
#sujet-html .sujet-bac-sous-questions > li { margin: 6px 0; padding-left: 0; }
#sujet-html .sujet-bac-sous-questions > li::marker { font-weight: 700; }

#sujet-html .sujet-bac-formule {
  max-width: 100%;
  min-width: 0;
  margin: 6px 0 9px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  text-align: center;
  background:
    linear-gradient(to right, #fff 35%, transparent) left center / 22px 100% no-repeat local,
    linear-gradient(to left, #fff 35%, transparent) right center / 22px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, #0002, transparent) left center / 11px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, #0002, transparent) right center / 11px 100% no-repeat scroll;
}
#sujet-html .sujet-bac-formule math[display="block"] {
  width: max-content;
  min-width: 100%;
  font-size: 1em;
  margin: 0 auto;
}
#sujet-html .sujet-bac-page math { font-family: math; }
#sujet-html .sujet-bac-page math[display="block"] mtd { math-style: normal; }

#sujet-html .sujet-bac-arbre {
  width: min(58%, 245px);
  margin: 11px 0 9px 13%;
}
#sujet-html .sujet-bac-image-bouton {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  line-height: normal;
  text-align: left;
  cursor: zoom-in;
  font-family: inherit;
  font-size: inherit;
}
#sujet-html .sujet-bac-image-bouton img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

#sujet-html .sujet-bac-code {
  display: table;
  max-width: 100%;
  margin: 20px auto 15px;
  padding: 5px 8px;
  border: 1px solid #555;
  background: #fff;
  color: #111;
  font-size: 0.92em;
  line-height: 1.15;
  white-space: pre;
  overflow-x: auto;
}
#sujet-html .sujet-bac-code code,
#sujet-html .sujet-bac-page code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.96em;
}

#sujet-html .sujet-bac-affirmations > li { margin-bottom: 29px; }
#sujet-html .sujet-bac-affirmations > li p { margin-top: 12px; }
#sujet-html .sujet-bac-affirmations .sujet-bac-formule { margin: 1px 0 7px; }
#sujet-html .sujet-bac-geo-questions > li { margin-bottom: 14px; }
#sujet-html .sujet-bac-geo-questions .sujet-bac-sous-questions { margin-top: 0; }
#sujet-html .sujet-bac-transition { margin-top: 29px; margin-bottom: 24px; }

#sujet-html .sujet-bac-questions-ex4 { margin-top: 0; }
#sujet-html .sujet-bac-questions-ex4 > li { margin-bottom: 23px; }
#sujet-html .sujet-bac-questions-ex4 .sujet-bac-sous-questions { margin-top: 14px; }
#sujet-html .sujet-bac-questions-ex4 .sujet-bac-sous-questions > li { margin-bottom: 8px; }
#sujet-html .sujet-bac-questions-ex4 .sujet-bac-formule { margin: 3px 0 6px; }

#sujet-html .sujet-bac-tableau-variations {
  width: min(100%, 390px);
  margin: 23px auto 25px;
  min-width: 0;
  overflow-x: auto;
}
#sujet-html .sujet-bac-tableau-variations table {
  width: 100%;
  margin: 0;
  border: 1px solid #333;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  color: #111;
  font: inherit;
  text-align: center;
}
#sujet-html .sujet-bac-tableau-variations th,
#sujet-html .sujet-bac-tableau-variations td {
  padding: 2px 5px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
  vertical-align: middle;
  font: inherit;
}
#sujet-html .sujet-bac-tableau-variations th {
  width: 22%;
  border-right: 1px solid #333;
  font-style: italic;
  font-weight: 400;
}
#sujet-html .sujet-bac-tableau-variations tr:first-child { border-bottom: 1px solid #333; }
#sujet-html .sujet-bac-tableau-variations tr:nth-child(2) { height: 79px; }
#sujet-html .sujet-bac-variation-grille {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr 1.3fr 1fr;
  align-items: center;
  justify-items: center;
  min-width: 0;
}
#sujet-html .sujet-bac-variation-courbe { height: 74px; align-items: start; }
#sujet-html .sujet-bac-variation-bas { align-self: end; }
#sujet-html .sujet-bac-variation-fleche {
  align-self: center;
  width: 100%;
}
#sujet-html .sujet-bac-variation-fleche svg {
  display: block;
  width: 100%;
  height: 42px;
  overflow: visible;
}
#sujet-html .sujet-bac-variation-fleche path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sujet-html .sujet-bac-pied-de-page {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 54%;
  max-width: 100%;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82em;
  line-height: 1.2;
  text-align: left;
}

#sujet-html .sujet-bac-garde { text-align: center; }
#sujet-html .sujet-bac-garde p { text-align: center; hyphens: none; }
#sujet-html .sujet-bac-garde p.sujet-bac-cover-etat { font-size: 1.56em; }
#sujet-html .sujet-bac-garde p.sujet-bac-cover-epreuve { font-size: 0.96em; }
#sujet-html .sujet-bac-garde p.sujet-bac-cover-session,
#sujet-html .sujet-bac-garde p.sujet-bac-cover-matiere,
#sujet-html .sujet-bac-garde p.sujet-bac-cover-jour { font-size: 1.58em; }
#sujet-html .sujet-bac-cover-epreuve-details { font-size: 1.26em; font-weight: 700; }
#sujet-html .sujet-bac-cover-calculatrice { font-style: italic; }
#sujet-html .sujet-bac-cover-consignes,
#sujet-html .sujet-bac-cover-instructions { font-size: 0.98em; }
#sujet-html .sujet-bac-couverture-superieur { margin-bottom: 45px; }
#sujet-html .sujet-bac-cover-identite { margin-bottom: 37px; }
#sujet-html .sujet-bac-cover-identite p { margin-bottom: 35px; }
#sujet-html .sujet-bac-cover-epreuve-details { margin-bottom: 38px; }
#sujet-html .sujet-bac-cover-epreuve-details p { margin-bottom: 23px; }
#sujet-html .sujet-bac-cover-calculatrice { margin-bottom: 36px; }
#sujet-html .sujet-bac-cover-calculatrice p { margin-bottom: 12px; }
#sujet-html .sujet-bac-cover-instructions { margin-bottom: 31px; }
#sujet-html .sujet-bac-cover-instructions p { margin-bottom: 11px; }
#sujet-html .sujet-bac-cover-consignes p { margin-bottom: 18px; }
#sujet-html .sujet-bac-garde .sujet-bac-pied-de-page { text-align: left; }
#sujet-html .sujet-bac-coupure-desktop { display: none; }

#sujet-html .sujet-bac-popover:not(:popover-open) { display: none; }
#sujet-html .sujet-bac-popover:popover-open {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #121212;
  color: #f7f7f7;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}
#sujet-html .sujet-bac-popover::backdrop { background: #090909ed; }
#sujet-html .sujet-bac-zoom-barre {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 57px;
  padding: 10px 18px;
  border-bottom: 1px solid #444;
  background: #202020;
}
#sujet-html .sujet-bac-zoom-barre button {
  flex: none;
  padding: 7px 15px;
  border: 1px solid #bbb;
  border-radius: 5px;
  background: #333;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
#sujet-html .sujet-bac-zoom-contenu {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding: 25px 15px;
  overflow: auto;
}
#sujet-html .sujet-bac-zoom-contenu img {
  display: block;
  flex: none;
  width: min(85vw, 245px);
  max-width: none;
  height: auto;
  background: #fff;
}
#sujet-html .sujet-bac-zoom-indication {
  flex: none;
  margin: 0;
  padding: 10px 12px 13px;
  background: #202020;
  color: #ccc;
  font-size: 12px;
  text-align: center;
}

@container bac-document (min-width: 718px) {
  #sujet-html .sujet-bac-pages {
    gap: 18px;
    padding: 18px;
    background: #eeeeee;
  }
  #sujet-html .sujet-bac-page {
    width: 100%;
    aspect-ratio: 595.32 / 841.92;
    padding: 6% 6% 4.1%;
    border: 0;
    font-size: 15.2px;
    line-height: 1.3;
  }
  #sujet-html .sujet-bac-questions { margin-top: 20px; }
  #sujet-html .sujet-bac-questions > li { margin-bottom: 12px; }
  #sujet-html .sujet-bac-hypotheses { margin-bottom: 17px; }
  #sujet-html .sujet-bac-page-suite .sujet-bac-questions { margin-top: 0; }
  #sujet-html .sujet-bac-arbre { width: 34%; margin-left: 14%; }
  #sujet-html .sujet-bac-image-bouton { pointer-events: none; cursor: default; }
  #sujet-html .sujet-bac-pied-de-page { padding-top: 10px; }
  #sujet-html .sujet-bac-coupure-desktop { display: inline; }
  #sujet-html .sujet-bac-couverture-superieur { margin-bottom: 10cqw; }
  #sujet-html .sujet-bac-garde p.sujet-bac-cover-epreuve { margin-top: 4.5cqw; }
  #sujet-html .sujet-bac-cover-identite { margin-bottom: 8cqw; }
  #sujet-html .sujet-bac-cover-identite p.sujet-bac-cover-session { margin-bottom: 7cqw; }
  #sujet-html .sujet-bac-cover-identite p.sujet-bac-cover-matiere { margin-bottom: 3.2cqw; }
  #sujet-html .sujet-bac-cover-identite p.sujet-bac-cover-jour { margin-bottom: 0; }
  #sujet-html .sujet-bac-cover-epreuve-details { margin-bottom: 8cqw; }
  #sujet-html .sujet-bac-cover-epreuve-details p { margin-bottom: 2.6cqw; }
  #sujet-html .sujet-bac-cover-calculatrice { margin-bottom: 5cqw; }
  #sujet-html .sujet-bac-cover-instructions { margin-bottom: 4cqw; }
  #sujet-html .sujet-bac-cover-consignes p { margin-bottom: 1.8cqw; }
  #sujet-html .sujet-bac-affirmations > li { margin-bottom: 34px; }
  #sujet-html .sujet-bac-questions-ex4 > li { margin-bottom: 24px; }
}

@container bac-document (min-width: 800px) {
  #sujet-html .sujet-bac-cover-calculatrice { margin-bottom: 9cqw; }
  #sujet-html .sujet-bac-page:nth-child(2) .sujet-bac-hypotheses { margin-bottom: 4cqw; }
  #sujet-html .sujet-bac-page:nth-child(2) .sujet-bac-questions { margin-top: 6.5cqw; }
  #sujet-html .sujet-bac-page:nth-child(2) .sujet-bac-questions > li { margin-bottom: 3cqw; }
  #sujet-html .sujet-bac-page:nth-child(2) .sujet-bac-arbre { margin-top: 2.4cqw; margin-bottom: 2.4cqw; }
}