/* -------------------------- GÉNÉRAL -------------------------- */

:root {
  --color-primary: #0064F5;
  --color-secondary: #00309D;

  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-grey: #F4F4F4;

  /* -- -- -- -- -- POLICES -- -- -- -- -- */
  --ffMMe: 'OutfitMedium', sans-serif;
  --ffMRe: 'OutfitRegular', sans-serif;
  --ffMLi: 'OutfitLight', sans-serif;
}

html{
  overflow-x: hidden;
  scroll-behavior: smooth;
  accent-color: var(--color-primary);
}

body {
  font-size: 20px;
  background-color: var(--color-white);
  font-family: "Open Sans", sans-serif;
}
body > * {
  padding-inline: 30px;
}

main{
  position: relative;
  z-index: 0;
}

html.menuOpen,
body.menuOpen{
  overflow-y: hidden;  
}

iframe {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 64/36;
  zoom: 3;
  border-radius: 50vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ffMRe);
}

@media (min-width: 993px){
  .desktopDisplayNone{
    display: none !important;
  }
}

@media (max-width: 992px){
  .mobileDisplayNone{
    display: none !important;
  }
}

/* ---------------- CONTAINER ---------------- */

.container{
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: 80px;
}

@media (max-width: 992px) {
  .container{
    padding-inline: 20px;
  }
}

/* ---------------- BOUTON ---------------- */

.btn {
  display: flex;
  font-size: 1.125rem;
  line-height: normal;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--color-primary);
  outline: 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  border: solid 1px;
  position: relative;
  transition: 300ms ease;
  text-decoration: none;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--ffMRe);
  transition: all .3s ease;
}

.btn--rotate {
  position: relative;
}

.btn--rotate:has(> span)::after {
  content: "Parlons-en !";
}

/* .btn::after{
  content: "";
  display: block;
  width: 19px;
  height: 12px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='12' viewBox='0 0 19 12'%3E%3Cpath d='M15.7534 5.56163L0.0273972 5.47944L0 6.71232H15.4794L11.1507 11.0411L12.1096 12L18.1096 6.02739L18.0822 5.99999L17.1507 5.06848L12.1096 0L11.1507 0.958902L15.7534 5.56163Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='12' viewBox='0 0 19 12'%3E%3Cpath d='M15.7534 5.56163L0.0273972 5.47944L0 6.71232H15.4794L11.1507 11.0411L12.1096 12L18.1096 6.02739L18.0822 5.99999L17.1507 5.06848L12.1096 0L11.1507 0.958902L15.7534 5.56163Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: 300ms ease;
  transform: translateX(0px);
} */

@media (width > 991px) {
  .btn,
  .btn * {
    font-size: 1.125rem;
  }
}

@media (pointer: fine){
  .btn:hover {
    background-color: var(--color-secondary);
    transition: all .3s ease;
  }

  .btn--secondary:hover {
    background-color: var(--color-white);
  }

  .btn--rotate:hover {
    background-color: var(--color-primary);
  }
}

/* ----- PRIMARY ----- */

.btn--primary{
  border-color: var(--color-black);
  color: var(--color-black);
}

/* ----- SECONDARY ----- */

.btn--secondary{
  border-color: var(--color-white);
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--tag {
  padding: 8px 16px;
  border-color: rgba(0, 0, 0, .12);
  background-color: var(--color-white);
  color: var(--color-black);
  font-size: 1rem; 
  line-height: 1.5rem;
}

.btn--rotate {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    width: 197px;
    height: 42px;
    align-items: center;
    justify-content: center;
}

.btn--rotate > a,
.btn--rotate > span {
    font-size: 1.125rem;
    font-family: var(--ffMRe);
    position: absolute; 
    top: 0;
    height: 100%;
    width: 100%;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn--rotate::after,
.btn--rotate > a:last-child {
    font-size: 1.125rem;
    font-family: var(--ffMRe);
    position: absolute; 
    top: unset;
    bottom: -100%;
    height: 100%;
    width: 100%;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (pointer: fine) {
    .btn--rotate:hover > a,
    .btn--rotate:hover > span {
        top: -100%;
        font-size: 1.125rem;
        transition: all .3s ease;
    }

    .btn--rotate:hover::after,
    .btn--rotate:hover a:last-child {
      top: unset;
      bottom: 0;
      transition: all .3s ease;
    }

    .btn--tag:hover {
      background-color: var(--color-white);
    }
}

/* ---------------- PARAGRAPHE ---------------- */

.paragraphe{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.paragraphe,
.paragraphe *{
	color: var(--color-black);
	font-size: 20px;
	line-height: 27px;
}

.paragraphe ul{
	padding-left: 20px;
	list-style: disc;
}

.paragraphe ul li{
	margin-bottom: 10px;
}

@media (max-width: 1300px){
	.paragraphe *{
		font-size: 16px;
		line-height: 22px;
	}
}

/* ---------------- IMAGE ---------------- */

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------------- BREADCRUMBS ---------------- */

.breadcrumbs li *,
.breadcrumbs{
  color: var(--color-primary);
  font-size: 13px;
  line-height: 20px;
}


.breadcrumbs li.active *{
  font-weight: bold;
}

.breadcrumb li::after{
  content: "" !important;
  width: 5px;
  height: 9px;
  display: inline-block;
  margin-inline: 8px !important;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg id='next' xmlns='http://www.w3.org/2000/svg' width='4.566' height='8.455' viewBox='0 0 4.566 8.455'%3E%3Cg id='Groupe_7' data-name='Groupe 7' transform='translate(0 0)'%3E%3Cpath id='Tracé_19' data-name='Tracé 19' d='M4.47,4,.559.1A.328.328,0,0,0,.1.56L3.774,4.228.1,7.9a.328.328,0,0,0,.463.464L4.47,4.46A.328.328,0,0,0,4.47,4Z' transform='translate(0 0)' fill='%230f2858'/%3E%3C/g%3E%3C/svg%3E%0A");
}

/* ------------------ CONNEXION ------------------ */

.custom-password-form__message{
    font-size: 18px;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.custom-password-form__field{
    display: flex;
    align-items: center;
    gap: 20px 30px;
    margin-bottom: 30px;
}

.custom-password-form__input{
    width: 400px;
    display: block;
    padding: 18px;
    border: 0px;
    border-bottom: solid 1px var(--color-grey) !important;
    border-radius: 0px;
    outline: none;
    resize: none;
    background: none !important;
}

.custom-password-form__input,
.custom-password-form__input::placeholder{
    color: var(--color-secondary);
    font-size: 18px;
    line-height: 22px;
}

.custom-password-form__submit{
    resize: none;
    background: none !important;
    font-size: 16px;
    line-height: 26px;
    padding: 11px 30px;
    border-radius: 30px;
    outline: 0;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 30px;
    border: none;
    position: relative;
    transition: 300ms ease;
    background-color: var(--color-secondary) !important;
    color: var(--color-white);
    border: none !important;
    cursor: pointer;
}

.custom-password-form__submit:hover{
    background-color: var(--color-primary) !important;
}

.custom-password-form__error{
    color: var(--wp--preset--color--vivid-red);
    font-size: 18px;
    line-height: 1.2em;
}

@media (max-width: 700px) {
    .custom-password-form__field{
        flex-direction: column;
    }
    .custom-password-form__input,
    .custom-password-form__submit{
        width: 100%;
        justify-content: center;
    }
}