h1 {
  font-size: var(--fs-5);
}

h2 {
  font-size: var(--fs-2);
}

h3 {
  font-size: var(--fs-3);
}

h4 {
  font-size: var(--fs-1);
}

p {
  font-size: var(--fs-0);
}

sup {
  vertical-align: top;
}

sub {
  line-height: 0;
}

@media screen and (width < 400px), (height < 500px) {
  h2 {
    font-size: var(--fs-1);
  }
  h3 {
    font-size: var(--fs-0);
  }
  h4 {
    font-size: var(--fs--0);
  }
  p {
    font-size: var(--fs--1);
  }
}
:root {
  --mainfont: Arial, sans-serif;
  --fs--2: clamp(0.6944rem, 0.6599rem + 0.1536vw, 0.8442rem);
  --fs--1: clamp(0.8333rem, 0.766rem + 0.2994vw, 1.1253rem);
  --fs-0: clamp(1rem, 0.8846rem + 0.5128vw, 1.5rem);
  --fs-1: clamp(1.2rem, 1.0155rem + 0.82vw, 1.9995rem);
  --fs-2: clamp(1.44rem, 1.1572rem + 1.2568vw, 2.6653rem);
  --fs-3: clamp(1.728rem, 1.3069rem + 1.8717vw, 3.5529rem);
  --fs-4: clamp(2.0736rem, 1.4592rem + 2.7307vw, 4.736rem);
  --fs-5: clamp(2.4883rem, 1.6057rem + 3.9228vw, 6.3131rem);
  --pdc-pink: oklch(0.54 0.19 345);
  --bg-clr-clair: oklch(0.94 0.01 248);
  --bg-clr-fonce: oklch(0.35 0.01 248);
  --bg-clr-tres-fonce: oklch(0.26 0.01 248);
  --gap-xs: max(8px, 1vmin);
  --gap-s: max(16px, 2vmin);
  --gap-m: max(32px, 5vmin);
  --gap-l: max(50px, 10vmin);
}
@media screen and (height < 450px), (width < 350px) {
  :root {
    --gap-s: max(8px, 1vmin);
    --gap-m: max(8px, 1vmin);
  }
}

@property --mission-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@view-transition {
  navigation: auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img, svg {
  max-width: 100%;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  color: light-dark(var(--bg-clr-tres-fonce), white);
  border: none;
  cursor: pointer;
}

a {
  text-decoration: underline;
  color: light-dark(var(--bg-clr-tres-fonce), white);
}

.pink {
  color: var(--pdc-pink);
}

body {
  background-color: light-dark(var(--bg-clr-clair), var(--bg-clr-tres-fonce));
  color: light-dark(var(--bg-clr-tres-fonce), white);
  font-family: var(--mainfont);
}

main {
  width: 100dvw;
  height: 100dvh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

section, header, footer {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  width: 100%;
  height: 100%;
}

section, footer {
  padding-top: clamp(40px, 10dvh, 60px);
}

.container {
  height: 100%;
  width: min(100%, 1200px);
  padding: var(--gap-m);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--gap-s);
  overflow: hidden;
}

.section_title {
  padding: var(--gap-s);
  text-align: center;
}

.row {
  background-color: light-dark(white, var(--bg-clr-fonce));
  padding: var(--gap-m);
}

nav {
  background-color: inherit;
  height: clamp(40px, 10dvh, 60px);
  width: 100%;
  scrollbar-gutter: stable;
  position: fixed;
  padding: var(--gap-s) var(--gap-m);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}
nav h2 {
  font-size: var(--fs-1);
}

nav h2 {
  padding-left: var(--gap-s);
}

nav:before {
  content: "";
  height: clamp(40px, 10dvh, 60px);
  width: 4px;
  background: var(--pdc-pink);
  position: absolute;
  top: 0;
  left: calc(var(--gap-m) - 2px);
}

nav:after {
  content: "";
  height: 4px;
  width: calc(30px + 5dvw);
  background: var(--pdc-pink);
  position: absolute;
  bottom: -2px;
  right: 0;
}

#main_nav {
  top: -10dvh;
}

#nav-btn-open, #burger-menu {
  height: 100%;
}

#nav-btn-open svg {
  height: 100%;
}

#burger-menu {
  display: flex;
  gap: var(--gap-s);
}

.burger-item {
  height: max(24px, 100%);
}

.burger-item > svg {
  height: 100%;
}

.nav_pic {
  fill: light-dark(var(--bg-clr-tres-fonce), white);
}

#home-pic, #hello-pic {
  fill: none;
  stroke: light-dark(var(--bg-clr-tres-fonce), white);
}

#nav-btn-open:focus .nav_pic, .burger-item:focus .nav_pic {
  fill: var(--pdc-pink);
}
#nav-btn-open:focus #hello-pic, #nav-btn-open:focus #home-pic, .burger-item:focus #hello-pic, .burger-item:focus #home-pic {
  stroke: var(--pdc-pink);
}

#nav-btn-open,
#nav-btn-close,
.burger-legende {
  display: none;
}

#nav-btn-open, .burger-item {
  position: relative;
}

.tooltip {
  position: absolute;
  background-color: white;
  border: 1px solid black;
  padding: 0.5vmin;
  border-radius: 10%;
  display: none;
  bottom: -200%;
  right: 0;
  color: black;
  font-size: var(--fs--2);
  z-index: 101;
}

@media screen and (width < 600px) {
  #nav-btn-open, #nav-btn-close, .burger-legende {
    display: flex;
  }
  #burger-menu {
    position: absolute;
    top: 0;
    right: calc(-100dvw - var(--gap-m));
    width: 100dvw;
    margin: 0;
    height: 100dvh;
    background-color: inherit;
    transition: right 0.5s ease-in;
    flex-direction: column;
    justify-content: center;
    z-index: 101;
  }
  #burger-menu a {
    text-decoration: none;
  }
  #burger-menu.nav-show {
    right: 0;
  }
  .burger-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--gap-s);
    overflow: hidden;
    padding: var(--gap-s) 0;
    font-weight: bold;
    border-bottom: 1px solid light-dark(white, var(--pdc-pink));
  }
  .burger-item svg {
    height: 2.5em;
  }
}
@media screen and (width < 600px) and (height < 600px) {
  .burger-item {
    flex-direction: row;
  }
}
#navBis a {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

#navBis p {
  align-self: center;
  text-align: end;
  padding-right: var(--gap-xs);
}

#navBis svg {
  fill: light-dark(black, white);
  height: max(24px, 100%);
}

@media screen and (hover: hover) {
  #nav-btn-open:hover .nav_pic, .burger-item:hover .nav_pic {
    fill: oklch(from var(--pdc-pink) 90% c h);
  }
  #nav-btn-open:hover #hello-pic, #nav-btn-open:hover #home-pic, .burger-item:hover #hello-pic, .burger-item:hover #home-pic {
    stroke: oklch(from var(--pdc-pink) 90% c h);
  }
  #nav-btn-open:hover .tooltip, .burger-item:hover .tooltip {
    display: inline-block;
  }
  #navBis a:hover {
    color: var(--pdc-pink);
  }
  #navBis a:hover svg {
    stroke: var(--pdc-pink);
    scale: 1.1;
  }
  #mot1:hover, #mot2:hover, #mot3:hover {
    color: var(--pdc-pink);
    font-style: italic;
  }
  #moreInfo:hover svg {
    fill: oklch(from var(--pdc-pink) 90% c h);
    scale: 1.1;
  }
  .btnB:hover {
    background-color: light-dark(oklch(from white 95% c h), oklch(from var(--bg-clr-fonce) 50% c h));
  }
  .btnB:hover .moreInfoB {
    stroke: oklch(from var(--pdc-pink) 90% c h);
  }
  .prod_fleche:hover {
    stroke: oklch(from var(--pdc-pink) 90% c h);
    scale: 0.9;
  }
  .prod-link:hover {
    background-color: oklch(from var(--pdc-pink) 90% c h);
    scale: 0.9;
  }
  .contact_hello:hover .contact_hello_pic {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23B53389"><path d="M22.769,9.343l-1.769-1.694V3c0-1.654-1.346-3-3-3H6c-1.654,0-3,1.346-3,3V7.651l-1.766,1.691C.451,10.093,.001,11.146,.001,12.231v11.769H24V12.231c0-1.086-.448-2.139-1.231-2.889ZM6,2h12c.552,0,1,.449,1,1V12.242l-4.879,4.879c-1.133,1.133-3.109,1.133-4.243,0l-4.878-4.879V3c0-.551,.449-1,1-1ZM22,22H2V12.231c.001-.051,.004-.102,.008-.153l6.456,6.457c.945,.944,2.2,1.464,3.536,1.464s2.591-.52,3.535-1.464l6.458-6.459c.004,.051,.007,.103,.007,.154v9.769Zm-5-15H7v-2h10v2Zm-2,4H7v-2H15v2Z"/></svg>');
  }
  .blog:has(a:hover) #substack {
    fill: var(--pdc-pink);
  }
  .social_picto a:hover svg {
    fill: oklch(from var(--pdc-pink) 90% c h);
    scale: 0.9;
  }
  .tl_year:hover:not(.date_active) {
    font-weight: bold;
    color: oklch(from var(--pdc-pink) 90% c h);
  }
  .tl_moreInfo:hover {
    fill: oklch(from var(--pdc-pink) 90% c h);
  }
  .pptBtn:hover {
    background-color: oklch(from var(--pdc-pink) 90% c h);
  }
  .switch:hover .checkmark, .switch:hover input:checked ~ .checkmark {
    background-color: oklch(from var(--pdc-pink) 90% c h);
  }
  .mixRadio:not(:has(input:checked)):hover {
    background-color: oklch(from var(--pdc-pink) 90% c h);
    scale: 0.8;
  }
  .btn_palette:hover {
    opacity: 0.5;
    scale: 0.9;
  }
  .transport_btn[aria-expanded=false]:hover {
    opacity: 0.5;
  }
  .transport_btn[aria-expanded=false]:hover svg {
    scale: 0.9;
  }
  #tu_moreInfo:hover {
    opacity: 0.75;
  }
  #tu_moreInfo:hover svg {
    fill: oklch(from var(--pdc-pink) 90% c h);
    scale: 0.9;
  }
  #coutSwitch:hover:after {
    opacity: 0.5;
  }
  .scenArc:hover {
    opacity: 0.5;
  }
}
/* The typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
/* The typewriter cursor effect */
@keyframes blinking {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--pdc-pink);
  }
}
@keyframes animShadow {
  0% {
    --mission-angle: 0deg;
    opacity: 0;
  }
  50% {
    --mission-angle: 180deg;
    opacity: 1;
  }
  to {
    --mission-angle: 360deg;
    opacity: 0;
  }
}
@keyframes plugin {
  from {
    transform: translate(0%, 0%);
  }
  to {
    transform: translate(var(--moveX), var(--moveY));
  }
}
@keyframes orbit {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}
@keyframes orbitBlip {
  0% {
    border: 0;
    border-top: 1px solid white;
  }
  35% {
    border: 0;
    border-right: 1px solid white;
  }
  70% {
    border: 0;
    border-bottom: 1px solid white;
  }
  100% {
    border: 0;
    border-left: 1px solid white;
  }
}
@keyframes eFade {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  37% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes shining {
  0% {
    box-shadow: 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 40px white;
  }
  100% {
    box-shadow: 0 0 0 transparent;
  }
}
@keyframes fillup {
  to {
    stroke-dasharray: var(--donut-length) var(--donut-left);
  }
}
@keyframes legendShow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes growWid {
  to {
    width: var(--barLength);
  }
}
@keyframes growHei {
  to {
    height: var(--barLength);
  }
}
@media screen and (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .typewriter {
    width: 100%;
  }
  #topVid {
    display: none;
  }
  #topPoster {
    display: block !important;
  }
  .orbitA .electron {
    opacity: 1;
  }
  .donutSegment.donut-anim {
    stroke-dasharray: var(--donut-length) var(--donut-left);
  }
  #rocketVid {
    display: none;
  }
  #rocketPoster {
    display: block !important;
  }
  #poussinVid {
    display: none;
  }
  #poussinPoster {
    display: block;
  }
}
@property --donut-length {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}
@property --donut-left {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}
@property --percentH2 {
  syntax: "<number>";
  initial-value: 0.1;
  inherits: false;
}
@property --temp {
  syntax: "<number>";
  initial-value: 0;
  inherits: false;
}
@property --v1 {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}
@property --v2 {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}
#h2_main section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h2_transition {
  background-color: black;
  color: white;
}

#h2_header {
  position: relative;
}

#topVid, #topPoster {
  width: 100%;
  height: 100%;
  padding-top: clamp(30px, 8dvh, 50px);
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

#topPoster {
  display: none;
}

#blocTitre {
  text-align: center;
  color: white;
}

#titre {
  font-size: var(--fs-5);
}

#sous-titre {
  font-size: var(--fs-1);
}

#h2_univers_top {
  position: relative;
}

#h2_univers_top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-image: url(../pix/space1200.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}
@media screen and (width < 600px) {
  #h2_univers_top::before {
    background-image: url(../pix/space600.webp);
  }
}

.h2_univers .container {
  color: white;
  align-items: center;
}
.h2_univers .container p {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2vmin;
  width: -moz-fit-content;
  width: fit-content;
  text-align: center;
}

.atom {
  height: 50vmin;
  aspect-ratio: 1/1;
  max-width: 600px;
  position: relative;
  color: black;
  font-weight: bold;
}

#proton, .electron {
  display: flex;
  align-items: center;
  justify-content: center;
}

#proton, .orbit {
  position: absolute;
  inset: 0;
  margin: auto;
}

#proton {
  height: 12vmin;
  width: 12vmin;
  border-radius: 50%;
  background: white;
  animation: shining 4s infinite ease-in-out;
  font-size: 5vmin;
}

.orbit:before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  height: 40vmin;
  aspect-ratio: 1/1;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.orbit {
  border: 1px dashed white;
  border-radius: 50%;
  height: 40vmin;
  aspect-ratio: 1/1;
  transform-style: preserve-3d;
  background: transparent;
  transform: rotateY(var(--yang)) rotateX(var(--xang));
  animation: orbitBlip 1.5s var(--blipDel) linear infinite;
}

.orbitA {
  --yang: 45deg;
  --xang: 45deg;
  --blipDel: 0s;
}
.orbitA .electron {
  --fadeDel: 0s;
  --eYang: -45deg;
  --eXang: -45deg;
  --eZang: 0deg;
  --offRot: 45deg;
}

.orbitB {
  --yang: -45deg;
  --xang: 45deg;
  --blipDel: 1s;
}
.orbitB .electron {
  --fadeDel: 5s;
  --eYang: 45deg;
  --eXang: -45deg;
  --eZang: -10deg;
  --offRot: -45deg;
}

.orbitC {
  --yang: 67.5deg;
  --xang: 0deg;
  --blipDel: 1.5s;
}
.orbitC .electron {
  --fadeDel: 10s;
  --eYang: -45deg;
  --eXang: -45deg;
  --eZang: -30deg;
  --offRot: 45deg;
}

.electron {
  height: 4vmin;
  aspect-ratio: 1/1;
  border-radius: 50%;
  opacity: 0;
  background: white;
  box-shadow: 0 0 1dvh white;
  offset-path: border-box;
  animation: orbit 5s linear infinite, eFade 15s var(--fadeDel) linear infinite;
  transform: rotateY(var(--eYang)) rotateX(var(--eXang)) rotateZ(var(--eZang));
  offset-rotate: var(--offRot);
  font-size: 3vmin;
}

#h2_univers_bottom .fig_wrapper {
  container: fig_wrapper/size;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  gap: var(--gap-m);
}
@media screen and (orientation: landscape) {
  #h2_univers_bottom .fig_wrapper {
    flex-direction: row;
  }
}

.fig_wrapper figure {
  position: relative;
  height: calc(50cqb - var(--gap-m) / 2);
  width: calc(50cqb - var(--gap-m) / 2);
}
@container (aspect-ratio < 1 / 2) {
  .fig_wrapper figure {
    width: 100cqi;
    height: 100cqi;
  }
}
@media screen and (orientation: landscape) {
  .fig_wrapper figure {
    width: calc(50cqi - var(--gap-m) / 2);
    height: calc(50cqi - var(--gap-m) / 2);
  }
  @container (aspect-ratio > 2 / 1) {
    .fig_wrapper figure {
      width: 100cqb;
      height: 100cqb;
    }
  }
}

.fig_wrapper figure svg {
  width: 100%;
  height: 100%;
}

.donut {
  fill: transparent;
  border-radius: 50%;
}

.donutRing {
  stroke: white;
  stroke-width: 10;
}

.donutSegment {
  stroke: var(--bg-clr-fonce);
  stroke-width: 10;
  stroke-dasharray: 0 100;
  stroke-dashoffset: 25;
}

.donut-anim {
  animation: fillup 2s 1s ease-out forwards;
}

#atomSegment {
  --donut-length: 92;
  --donut-left: calc(100 - var(--donut-length));
}

#massSegment {
  --donut-length: 75;
  --donut-left: calc(100 - var(--donut-length));
}

.h2_univers figcaption {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.h2_univers figcaption svg {
  height: 20%;
  width: 20%;
}
.h2_univers figcaption .percent, .h2_univers figcaption .legend {
  font-weight: bold;
  text-align: center;
}
.h2_univers figcaption .percent {
  font-size: var(--fs-5);
}
.h2_univers figcaption .legend {
  font-size: var(--fs-0);
}
@media screen and (width < 400px), (height < 500px) {
  .h2_univers figcaption .percent {
    font-size: var(--fs-3);
  }
  .h2_univers figcaption .legend {
    font-size: var(--fs--1);
  }
}

#h2_rocket {
  position: relative;
}

#h2_rocket .container {
  justify-content: flex-end;
}

#rocketVid, #rocketPoster {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  z-index: -1;
}

#rocketPoster {
  display: none;
}

#h2_rocket p {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2vmin;
  margin-bottom: 10vmin;
  text-align: center;
}

.appro_wrapper {
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  gap: var(--gap-m);
}
@media screen and (orientation: landscape) {
  .appro_wrapper {
    flex-direction: row;
  }
}

#globalMix, #mixFieldset {
  width: 100%;
}
@media screen and (orientation: landscape) {
  #globalMix, #mixFieldset {
    width: 50%;
  }
}

#globalMix {
  container: globalMix/size;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#mixFieldset {
  border-color: var(--pdc-pink);
  padding: var(--gap-s);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#mixFieldset a {
  text-decoration: underline;
}

.mixRadioList {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.mixRadio {
  color: white;
  border-radius: 999rem;
  padding: var(--gap-s);
  background-color: var(--bg-clr-fonce);
  position: relative;
  cursor: pointer;
}

.mixRadio:has(input:checked) {
  background-color: var(--pdc-pink);
  box-shadow: var(--bg-clr-fonce) 1vmin 1vmin;
}

.mixRadio:focus-within {
  outline: 1px white solid;
}

.mixRadio input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: absolute;
  height: 0;
  width: 0;
}

#mixFieldset legend {
  text-align: center;
  font-style: italic;
  text-wrap: balance;
}

#svgWrapper {
  height: 100cqb;
  width: 100cqb;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  position: relative;
  transition: --percentH2 1s;
  --temp: var(--percentH2);
  --v1: max(var(--temp) - 0.5, 0);
  --v2: max((var(--temp) - var(--v1)) * 100 - 0.5, 0);
  counter-reset: v1 var(--v1) v2 var(--v2);
}
#svgWrapper svg {
  height: 100%;
  width: 100%;
}
@container globalMix (aspect-ratio < 1 / 1) {
  #svgWrapper {
    height: 100cqi;
    width: 100cqi;
  }
}

#svgWrapper::after {
  content: counter(v1) "." counter(v2, decimal-leading-zero) "%";
  position: absolute;
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  inset: 60% auto auto auto;
  font-size: var(--fs-1);
  font-weight: bold;
  color: var(--bg-clr-fonce);
}

#fondPie {
  fill: light-dark(white, var(--bg-clr-clair));
}

#h2Slice {
  fill: none;
  stroke: var(--pdc-pink);
  stroke-width: 31.83098;
  stroke-dasharray: var(--percentH2) calc(100 - var(--percentH2));
  stroke-dashoffset: 25;
  transition: stroke-dasharray 0.5s linear;
}

#h2_climat {
  background-image: url(../pix/misslink1200.webp);
  background-size: cover;
  background-position: right;
}
@media screen and (width < 600px) {
  #h2_climat {
    background-image: url(../pix/misslink600.webp);
  }
}
@media screen and (orientation: landscape) {
  #h2_climat {
    background-position: center;
  }
}

#h2_climat h2, #h2_climat p {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2vmin;
  color: white;
}
@media screen and (orientation: landscape) {
  #h2_climat h2, #h2_climat p {
    max-width: 70%;
  }
}
@media screen and (orientation: landscape) and (width < 700px) {
  #h2_climat h2, #h2_climat p {
    max-width: 100%;
  }
}

.origin_wrapper {
  container: origin_wrapper/size;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  gap: var(--gap-m);
}
@media screen and (orientation: landscape) {
  .origin_wrapper {
    flex-direction: row;
  }
}

#originPercent {
  padding: var(--gap-s);
  border: 1px solid var(--pdc-pink);
  width: 100%;
  text-align: center;
}
@media screen and (orientation: landscape) {
  #originPercent {
    width: 50%;
    text-align: left;
  }
}

#originPie {
  position: relative;
  transform-origin: center;
  width: 100%;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
@media screen and (orientation: landscape) {
  #originPie {
    height: 100%;
    width: 50%;
  }
}

#originPie svg {
  position: relative;
  height: 50cqb;
  width: 50cqb;
}
@container origin_wrapper (aspect-ratio < 1 / 2) {
  #originPie svg {
    width: 100cqi;
    height: 100cqi;
  }
}
@media screen and (orientation: landscape) {
  #originPie svg {
    height: calc(50cqi - var(--gap-m));
    width: calc(50cqi - var(--gap-m));
  }
  @container origin_wrapper (aspect-ratio > 2 / 1) {
    #originPie svg {
      width: calc(100cqb - var(--gap-m));
      height: calc(100cqb - var(--gap-m));
    }
  }
}

#gaz {
  stroke: var(--bg-clr-fonce);
  --donut-length: 69.5;
  --donut-left: calc(100 - var(--donut-length));
  stroke-dashoffset: 25;
}

#charbon {
  stroke: black;
  --donut-length: 29.5;
  --donut-left: calc(100 - var(--donut-length));
  stroke-dashoffset: 55.5;
}

#petrole {
  stroke: white;
  --donut-length: 0.8;
  --donut-left: calc(100 - var(--donut-length));
  stroke-dashoffset: 26;
}

#electricite {
  stroke: var(--pdc-pink);
  --donut-length: 0.15;
  --donut-left: calc(100 - var(--donut-length));
  stroke-dashoffset: 25.2;
}

#biomasse {
  stroke: var(--pdc-pink);
  --donut-length: 0.05;
  --donut-left: calc(100 - var(--donut-length));
  stroke-dashoffset: 25.05;
}

.oriLeg {
  background-color: light-dark(oklch(100% 0 0deg / 0.75), transparent);
  position: absolute;
  font-size: var(--fs-0);
  font-weight: bold;
  opacity: 0;
  text-align: left;
}

#gazLeg {
  top: 80%;
  right: 20%;
}

#charLeg {
  top: 40%;
  left: 20%;
}

#othLeg {
  top: 20%;
  left: 51%;
}

.legendShow {
  animation: legendShow 3s linear forwards;
}

.palette_couleur {
  border: 1px solid var(--pdc-pink);
  height: 80%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: min-content 1fr;
  overflow: hidden;
  position: relative;
}

#illu_palette, .btn_palette {
  margin: var(--gap-xs);
  min-width: 24px;
  min-height: 24px;
  max-height: 48px;
}

#illu_palette {
  display: flex;
  justify-content: flex-start;
  fill: var(--pdc-pink);
}

.btn_palette:focus, .coulSelected {
  outline: inset 2px var(--pdc-pink);
}

#palette_gris {
  background-color: var(--bg-clr-fonce);
}

#palette_bleu {
  background-color: #277DA1;
}

#palette_vert {
  background-color: #90BE6D;
}

#palette_kaki {
  background-color: #43AA8B;
}

#palette_jaune {
  background-color: #F9C74F;
}

#palette_blanc {
  background-color: white;
}

.palette_detail {
  grid-row: 2/3;
  grid-column: 1/8;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: var(--gap-s);
  display: flex;
  flex-direction: column;
  gap: var(--gap-s);
  overflow: hidden;
  justify-content: center;
}
@media screen and (orientation: landscape) {
  .palette_detail {
    flex-direction: row;
  }
}

.palette_detail[aria-hidden=true] {
  opacity: 0;
  z-index: -10;
}

.pd_texte {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}
.pd_texte a {
  text-decoration: underline;
}
@media screen and (height < 360px) and (orientation: landscape), (height < 500px) and (orientation: portrait) {
  .pd_texte {
    gap: 0;
  }
  .pd_texte p {
    font-size: var(--fs--2);
  }
}

.pd_pic {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 1 1 50%;
}
@media screen and (height < 400px) and (orientation: landscape) {
  .pd_pic {
    display: none;
  }
}
@media screen and (height < 650px) and (orientation: portrait) {
  .pd_pic {
    display: none;
  }
}

.pd_pic img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.pd_surtitre {
  font-style: italic;
}

.pd_titre {
  font-weight: bold;
}

.h2_usage .container {
  gap: 0;
}

.usage_pic {
  width: 100%;
  max-height: 100%;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.usage_pic svg {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.usage_detail {
  background-color: light-dark(white, var(--bg-clr-clair));
  padding: var(--gap-s);
  color: var(--bg-clr-tres-fonce);
}

#useHisto {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  align-items: center;
}
#useHisto figcaption {
  text-align: center;
  grid-column: 1/7;
  grid-row: 1/2;
}

.legWrap {
  grid-column: 1/7;
  grid-row: 2/3;
}
@media (orientation: portrait) {
  .legWrap {
    grid-column: 6/7;
    grid-row: 2/7;
    height: 100%;
  }
}

.barLeg {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
@media (orientation: portrait) {
  .barLeg {
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
  }
}
.barLeg p {
  width: 18%;
  text-align: center;
}

.barWrap {
  grid-column: 1/7;
  grid-row: 3/7;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-end;
  border-bottom: solid 2px var(--pdc-pink);
}
@media (orientation: portrait) {
  .barWrap {
    grid-column: 1/6;
    grid-row: 2/7;
    flex-direction: column;
    border-bottom: none;
    border-left: solid 2px var(--pdc-pink);
    align-items: flex-start;
  }
}

.barUse {
  width: 18%;
  --barLength: calc(var(--barUse)*2);
  height: 0;
  background-color: var(--barCol);
}
@media (orientation: portrait) {
  .barUse {
    height: 18%;
    width: 0;
  }
}

.barAnim {
  animation: growHei 1s 0.5s ease-out forwards;
}
@media (orientation: portrait) {
  .barAnim {
    animation: growWid 1s 0.5s ease-out forwards;
  }
}

.tw_btn {
  display: flex;
  overflow: hidden;
}

.transport_btn:first-child {
  border-radius: 2vmin 0 0 0;
}

.transport_btn:last-child {
  border-radius: 0 2vmin 0 0;
}

.transport_btn {
  height: clamp(32px, 12dvh, 128px);
  width: clamp(32px, 12dvh, 128px);
  background-color: light-dark(white, var(--bg-clr-clair));
  padding: 2vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 4px var(--bg-clr-fonce) solid;
  margin: -1px;
}
.transport_btn svg {
  height: 100%;
  width: 100%;
  fill: var(--bg-clr-tres-fonce);
}

.transport_btn[aria-expanded=true] {
  border: none;
}
.transport_btn[aria-expanded=true] svg {
  fill: var(--pdc-pink);
}

.transport_btn:focus {
  border-top: 4px var(--bg-clr-fonce) solid;
  border-left: 4px var(--bg-clr-fonce) solid;
  border-right: 4px var(--bg-clr-fonce) solid;
}

.tw_detail {
  position: relative;
}

.mode {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2vmin;
  color: var(--bg-clr-tres-fonce);
  background-color: light-dark(white, var(--bg-clr-clair));
  margin: -1px;
}
.mode h3 {
  font-size: var(--fs-1);
}
.mode a {
  color: black;
  text-decoration: underline;
}

.mode[aria-hidden=true] {
  opacity: 0;
  z-index: -10;
}

#h2_tupolev h2 {
  font-size: var(--fs-1);
  background-color: var(--pdc-pink);
  width: -moz-fit-content;
  width: fit-content;
  padding: var(--gap-xs);
  color: white;
}

#tu_moreInfo {
  margin: 2vmin 0;
  padding: 1vmin;
  height: clamp(28px, 6vmin, 56px);
  background-color: light-dark(white, var(--bg-clr-fonce));
  fill: light-dark(var(--bg-clr-tres-fonce), white);
}
#tu_moreInfo svg {
  height: 100%;
  width: 100%;
}

#tu_moreInfo:focus {
  fill: var(--pdc-pink);
}

#tu_moins {
  display: none;
}

.tu_detail {
  display: grid;
  grid-template-rows: 0fr 0fr;
  gap: 0;
  max-height: 60dvh;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}
.tu_detail > div {
  overflow: hidden;
}

.tu_detail[aria-hidden=false] {
  grid-template-rows: 1fr 1fr;
  gap: 2vmin;
}

.tu_pic {
  width: 100%;
  height: 100%;
}

.tu_pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.tu_text a {
  text-decoration: underline;
}

.figWrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
  color: black;
  padding: 2vmin;
  text-align: center;
  text-wrap: balance;
}

.histoCoutWrap {
  display: flex;
  height: 100%;
  align-items: center;
}

#h2Gris, #h2Vert {
  font-size: var(--fs-5);
}

#h2Gris {
  color: var(--bg-clr-tres-fonce);
}

#h2Vert {
  color: #90BE6D;
}

.histoCout {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.histoCout figcaption {
  font-style: italic;
}

.colWrap {
  display: flex;
  justify-content: space-around;
  height: 100%;
  border-bottom: 1px var(--pdc-pink) dashed;
}

.histoCol {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.histoCol p {
  font-weight: bold;
  margin-bottom: 1vmin;
}

.histoVal {
  width: 70%;
  margin: 0 auto;
}

#histoPrix {
  display: none;
}

#bilanGris {
  height: calc(var(--histoVal) * 100 / 12 * 1%);
  background-color: var(--bg-clr-tres-fonce);
}

#bilanVert {
  height: calc(var(--histoVal) * 100 / 12 * 1%);
  background-color: #90BE6D;
}

#prixGris {
  height: calc(var(--histoVal) * 100 / 12 * 1%);
  background-color: var(--bg-clr-tres-fonce);
}

#prixVert {
  height: calc(var(--histoVal) * 100 / 12 * 1%);
  background-color: #90BE6D;
}

.coutCompare {
  margin-top: 1vmin;
}

.switchWrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 1vmin;
}

#coutSwitch {
  height: clamp(24px, 3vmax, 48px);
  width: clamp(48px, 6vmax, 96px);
  position: relative;
  margin-inline: 2vmin;
  cursor: pointer;
  font-size: 0;
  justify-self: center;
}

#coutSwitch:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-clr-clair);
  border-radius: 99dvh;
}

#coutSwitch:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: clamp(24px, 3vmax, 48px);
  width: clamp(24px, 3vmax, 48px);
  background-color: var(--pdc-pink);
  border-radius: 50%;
  transition: transform 0.25s ease-in-out;
}

#coutSwitch:checked:after {
  transform: translateX(100%);
}

#legBilan {
  font-weight: bold;
  border-bottom: 1px var(--pdc-pink) solid;
  justify-self: end;
}

#legPrix {
  justify-self: baseline;
}

.switchWrap:has(#coutSwitch:checked) #legBilan {
  font-weight: 100;
  border: none;
}
.switchWrap:has(#coutSwitch:checked) #legPrix {
  font-weight: bold;
  border-bottom: 1px var(--pdc-pink) solid;
}

.invest_pic {
  overflow: hidden;
  display: flex;
}
.invest_pic img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media screen and (orientation: portrait) and (height < 500px), (height < 350px) {
  .invest_pic {
    display: none;
  }
}

.inv_focus {
  border: 1px var(--pdc-pink) solid;
  padding: var(--gap-xs);
  text-align: center;
  text-wrap: balance;
}
.inv_focus h3 {
  font-size: var(--fs-1);
}
@media screen and (width < 400px), (height < 500px) {
  .inv_focus h3 {
    font-size: var(--fs-0);
  }
}

.inv_focus_keyfig {
  display: flex;
  justify-content: center;
  align-items: center;
}
.inv_focus_keyfig > * {
  width: 100%;
  padding: 2vmin;
}

.inv_fig1 {
  position: relative;
}

.inv_fig1::after {
  content: "";
  height: 100%;
  width: 0%;
  border-left: 1px var(--pdc-pink) solid;
  position: absolute;
  top: 0;
  right: 0;
}

#h2_poussin {
  position: relative;
  color: var(--bg-clr-tres-fonce);
}

#h2_poussin .container {
  justify-content: space-around;
}

#poussinVid, #poussinPoster {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  z-index: -1;
}

#poussinPoster {
  display: none;
}

.poussin_text {
  background-color: oklch(100% 0 0deg / 0.5);
  padding: var(--gap-xs);
}

.poussin_text.top {
  text-wrap: balance;
}

.poussin_text.bottom {
  width: -moz-max-content;
  width: max-content;
  align-self: flex-end;
}

#h2_conclusion .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
}

#h2_conclusion h2 {
  grid-column: 1/3;
  grid-row: 1/2;
  align-self: center;
}

.conclusion_text {
  grid-column: 1/3;
  grid-row: 2/3;
  align-self: center;
}
@media screen and (orientation: landscape) {
  .conclusion_text {
    grid-column: 1/2;
    grid-row: 2/5;
  }
}

#scenarPie {
  position: relative;
  grid-column: 1/3;
  grid-row: 3/4;
  display: flex;
  overflow: hidden;
}
@media screen and (orientation: landscape) {
  #scenarPie {
    grid-column: 2/3;
    grid-row: 2/4;
  }
}

#scenarCaption {
  grid-column: 1/3;
  grid-row: 4/5;
  text-align: center;
  font-style: italic;
}
@media screen and (orientation: landscape) {
  #scenarCaption {
    grid-column: 2/3;
    grid-row: 4/5;
  }
}

#scenarPie svg {
  height: 100%;
  width: 100%;
  max-height: 100%;
}

.scenArc {
  stroke-width: 0.2;
  cursor: pointer;
  fill: none;
}

#arcEnr {
  stroke: #7AE582;
}

#arcElec {
  stroke: #004E64;
}

#arcOpt {
  stroke: #25A18E;
}

#arcRed {
  stroke: #00A5CF;
}

#arcCap {
  stroke: #a5be00;
}

#arcHyd {
  stroke: var(--pdc-pink);
}

#arcAut {
  stroke: light-dark(var(--bg-clr-fonce), var(--bg-clr-clair));
}

.arcLeg {
  font-weight: bold;
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.arcLeg[aria-hidden=false] {
  display: block;
}

.scenArc[aria-pressed=true] {
  scale: 1.2;
}

.scenArc:focus {
  outline: none;
}

#h2_footer {
  border-bottom: 4px solid var(--pdc-pink);
  text-align: center;
}

#h2_footer .container {
  justify-content: flex-end;
}

#h2_footer h3 {
  font-size: var(--fs-0);
}/*# sourceMappingURL=dossier.css.map */