/* -------------------------- VARIABLES FIGMA -------------------------- */
:root {
    --color-black: #0B0B0B;
    --color-white: #FFFFFF;
    --color-base-black: #000000;
    --color-footer: #0E0E0E;
    --color-grey-700: #4E4E4E;
    --color-grey-600: #777777;
    --color-grey-400: #ADADAD;
    --color-grey-300: #D9D9D9;
    --color-grey-200: #EEEEEE;
    --color-grey-100: #F7F7F7;
    --color-blue-700: #2989AA;
    --color-blue-600: #44AACF;
    --color-blue-500: #6FC4DF;
    --color-blue-400: #9CD6EB;
    --color-blue-300: #B5E5F1;
    --color-blue-200: #CEEEF7;
    --color-blue-100: #EAF7FC;
    --color-red-700: #8F1414;
    --color-red-600: #C02222;
    --color-red-500: #E03A3A;
    --color-red-400: #EC6262;
    --color-red-300: #F3A5A5;
    --color-red-200: #F8CECE;
    --color-red-100: #FDF0F0;
    --color-pink-700: #8F1A4D;
    --color-pink-600: #C42E6E;
    --color-pink-500: #E44E8E;
    --color-pink-400: #EE79AD;
    --color-pink-300: #F4ADCF;
    --color-pink-200: #F9D0E5;
    --color-pink-100: #FDF0F6;
    --color-green-700: #437526;
    --color-green-600: #6A9E3E;
    --color-green-500: #93C064;
    --color-green-400: #B7D694;
    --color-green-300: #CAE3AC;
    --color-green-200: #DEEEC8;
    --color-green-100: #F2F9EA;
    --color-primary: var(--color-black);
    --color-secondary: var(--color-blue-400);
    --color-tertiary: var(--color-red-400);
    --color-quaternary: var(--color-pink-400);
    --color-grey: var(--color-grey-300);
    --font-title: 'Noir Pro', 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    /* Largeur commune des cartes à défilement manuel sur mobile. */
    --largeur-carte-mobile: 80vw;
    --b1: 16px;
    --b1-bis: 18px;
    --b2: 13px;
    --b3: 13px;
    --b4: 12px;
    --b5: 12px;
    --b6: 11px;
}

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


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

body {
  font-size: var(--b2);
  line-height: 20px;
  color: var(--color-black);
  background-color: var(--color-white);
  font-family: var(--font-body);
}

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

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

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

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

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

:root {
  --largeur-conteneur: 1480px;
}

@media (width > 1700px) {
  :root {
    --largeur-conteneur: 1500px;
  }
}

.container{
  width: 100%;
  max-width: var(--largeur-conteneur);
  margin-inline: auto;
  padding-inline: 80px;
}

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

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

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

.paragraphe,
.paragraphe :not(:is(h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *)){
	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 :not(:is(h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *)){
		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;
    }
}
/* ---------------- TYPOGRAPHIES : TITRES DU SITE ---------------- */
/* Tailles communes à toutes les pages et à tous les composants. */
:root {
    --h1: 80px;
    --h2: 48px;
    --h3: 42px;
    --h4: 30px;
    --h5: 22px;
    --h6: 18px;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--font-title);
    line-height: 1.2;
}

h1, .h1 {
    font-size: var(--h1);
    font-weight: 700;
    text-transform: uppercase;
}

h2, .h2 {
    font-size: var(--h2);
    font-weight: 700;
    text-transform: uppercase;
}

h3, .h3 {
    font-size: var(--h3);
    font-weight: 600;
}

h4, .h4 {
    font-size: var(--h4);
    font-weight: 500;
}

h5, .h5 {
    font-size: var(--h5);
    font-weight: 600;
    text-transform: uppercase;
}

h6, .h6 {
    font-size: var(--h6);
    font-weight: 600;
}

@media (max-width: 1600px) {
    :root {
        --h1: 72px;
        --h2: 44px;
        --h3: 40px;
        --h4: 30px;
        --h5: 22px;
        --h6: 18px;
    }
}

@media (max-width: 1400px) {
    :root {
        --h1: 64px;
        --h2: 40px;
        --h3: 36px;
        --h4: 28px;
        --h5: 22px;
        --h6: 18px;
    }
}

@media (max-width: 992px) {
    :root {
        --h1: 54px;
        --h2: 34px;
        --h3: 32px;
        --h4: 26px;
        --h5: 20px;
        --h6: 18px;
    }
}

@media (max-width: 767px) {
    :root {
        --h1: 38px;
        --h2: 32px;
        --h3: 28px;
        --h4: 24px;
        --h5: 20px;
        --h6: 16px;
    }
}

/* ---------------- TYPOGRAPHIES : TEXTES ---------------- */
.b1 { font-family: var(--font-body); font-size: var(--b1); font-weight: 600; line-height: 21.5px; }
.b1-bis { font-family: var(--font-title); font-size: var(--b1-bis); font-weight: 600; text-transform: uppercase; }
.b2 { font-family: var(--font-body); font-size: var(--b2); font-weight: 400; line-height: 20px; }
.b3 { font-family: var(--font-title); font-size: var(--b3); font-weight: 600; text-transform: uppercase; }
.b4 { font-family: var(--font-body); font-size: var(--b4); font-weight: 400; line-height: 17.5px; }
.b5 { font-family: var(--font-title); font-size: var(--b5); font-weight: 600; text-transform: uppercase; }
.b6 { font-family: var(--font-body); font-size: var(--b6); font-weight: 400; line-height: 16.5px; }
.paragraphe, .paragraphe :not(:is(h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *)) { font-family: var(--font-body); font-size: var(--b2); line-height: 20px; }
strong, b { font-weight: 700; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--color-black); outline-offset: 4px; }
.skipLink { position: absolute; left: 20px; top: -100px; z-index: 9999; padding: 12px; background: var(--color-white); }
.skipLink:focus { top: 10px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------- BOUTONS CORE ---------------- */
.boutonCore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    min-height: 42px;
    padding: 12px 24px;
    border: 1px solid var(--color-footer);
    border-radius: 36px;
    background-color: var(--color-footer);
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.boutonCore img {
    flex-shrink: 0;
    width: 8px;
    height: 17px;
    object-fit: contain;
}

.boutonCoreBlanc {
    background-color: var(--color-white);
    color: var(--color-footer);
}

.boutonCoreGrand {
    min-height: 50px;
    padding: 12px 32px;
    font-size: 16px;
}

.boutonCoreGrand img {
    height: 25px;
}

@media (max-width: 992px) {
    .boutonCoreGrand {
        min-height: 42px;
        padding: 12px 24px;
        font-size: 13px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .boutonCore:hover {
        background-color: var(--color-white);
        color: var(--color-footer);
        border-color: var(--color-footer);
    }

    .boutonCoreBlanc:hover {
        background-color: var(--color-footer);
        color: var(--color-white);
        border-color: var(--color-white);
    }

    .boutonCore:hover img {
        filter: invert(1);
    }
}

/* Titres de sections conservant le style des anciens niveaux visuels. */
h2.h3, h2.h4, h3.h4 { text-transform: none; }
