
/* #region STYLE --------------------------------------------------------------------------------------------------------- */


/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  TYPOGRAPHIES
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

/* -------------- Noto sans --------------- */

@font-face {
  font-family: 'noto-medium';
  src: url('typographies/notosans-medium.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'noto-semibold';
  src: url('typographies/notosans-semibold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'noto-bold';
  src: url('typographies/notosans-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}


/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  VARIABLES
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

/* ----------------------------------------
   TYPOGRAPHIES
---------------------------------------- */

:root {
  --font-medium: 'noto-medium', sans-serif;
  --font-semibold: 'noto-semibold', sans-serif;
  --font-bold: 'noto-bold', sans-serif;
  
  
  /* Tailles de police */
    --font-size-xs: clamp(0.75rem, 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.375vw, 1rem);
    --font-size-base: clamp(1rem, 0.5vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 0.625vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.75vw, 2.2rem);
    --font-size-2xl: clamp(1.5rem, 1vw, 1.875rem);
    --font-size-3xl: clamp(1.875rem, 1.375vw, 2.25rem);
    --font-size-4xl: clamp(2.25rem,  3.5vw, 4rem);
    --font-size-5xl: clamp(2.2rem, 4vw, 5rem);
    --font-size-big: clamp(3rem, 15.5vw, 14rem);
  
  /* Interlignage */
  --line-height-base: 1.5; /* interligne normal */
  --line-height-heading: 1.2; /* interligne pour les titres */
}

/* ----------------------------------------
   COULEURS
---------------------------------------- */

/* Palette de couleurs */
:root {
  --color-dark-blue: #006FA6; 
  --color-sky-blue: #00A7E1;
  --color-light-blue: #ECF5FC;
  --color-dark-grey: #3D3D3D;
  --color-light-grey: #F3F5EF;
}

/* ----------------------------------------
   ESPACEMENTS
---------------------------------------- */

/* Marges et paddings */
:root {
    --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-sm: clamp(0.5rem, 1vw, 1rem);
    --space-md: clamp(1rem, 2vw, 1.5rem);
    --space-lg: clamp(1.5rem, 3vw, 2.5rem);
    --space-xl: clamp(2rem, 4vw, 3.5rem);
    --space-2xl: clamp(2.5rem, 5vw, 5rem);
    --space-3xl: clamp(3rem, 6vw, 6rem);
    --space-4xl: clamp(4rem, 8vw, 8rem);
    --space-5xl: clamp(5rem, 10vw, 12rem);
}

/* ----------------------------------------
   AUTRES VARIABLES UTILES
---------------------------------------- */

/* Bordures arrondies */
:root {
  --border-radius: 2vw; /* arrondir les coins */
  --border-radius-small: 10px; /* petit arrondi */
}

/* ---------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
  RESET
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------- */

html{
  max-width: 2560px;
  height: 100%;
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-medium);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  padding-top: var(--space-sm);
  color: var(--color-dark-grey);
    word-break: keep-all;
  overflow-wrap: normal;
}

body,div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, ::before, ::after {
  box-sizing: border-box;
}

.gtm-wrapper {
  flex-grow: 1;
  margin-top: 8vw;
  margin-bottom: 0px;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

img.gtm-border-radius {
  border-radius: var(--border-radius);
}

img.gtm-border-radius-left {
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
}


@media screen and (min-width: 992px) {
  .wp-block-cover {
    min-height: 100%;
}
}


/* --------------------------------------------------
Titres, texte, liens, listes...
-------------------------------------------------- */

/* Titres ------------------------------------- */

h1 {
  font-size: var(--font-size-5xl);
  margin: 0 0 var(--space-md) 0;
  font-family: var(--font-medium);
  color: var(--color-dark-blue);

}

h2 {
  font-size: var(--font-size-3xl);
  color: var(--color-dark-blue);
  margin: 0 0 var(--space-md) 0;
  
}

h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-dark-blue);
}

h4 {
  font-size: var(--font-size-xl);
  font-family: var(--font-primary);
  color: var(--color-dark-grey);
  margin: var(--space-sm) auto;
}

h5 {
  font-size: var(--font-size-lg);
  font-family: var(--font-heading);
  color: var(--color-heading-secondary);
}

h6 {
  font-size: var(--font-size-md);
  font-family: var(--font-primary);
  color: var(--color-heading-secondary);
}

/* Textes ------------------------------------- */

p {
  margin-bottom: var(--space-sm);
}

blockquote {
  font-size: var(--font-size-lg);
  font-family: var(--font-secondary);
  margin-bottom: var(--space-sm);
}

figcaption {
  font-size: 12px;
}

/* Liens ------------------------------- */

a {
  color: var(--color-sky-blue);
  text-decoration: none;
  transition: color .2s ease-in-out;
}

a:hover {
  color: var(--color-dark-blue);
}

/* Boutons ------------------------------- */

.wp-block-button__link {
  padding: var(--space-xs) var(--space-sm);
}


/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    Bandeau Info
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


.gtm-bandeau-wrapper {
    margin-bottom: var(--space-sm);
}

@media screen and (min-width: 1200px) {
  .gtm-bandeau-wrapper {
    margin-bottom: 110px;
}
}

.gtm-bandeau-wrapper > div {
  padding: 0px;
}

.gtm-bandeau-container {
  width: 100%;
  min-height: 50px;
  align-content: center;
  overflow: hidden; /* Masque le texte quand il sort du cadre */
  background-color: var(--color-light-grey);
  color: var(--color-dark-blue);
  border-radius: 10px;
  padding: 10px 0;
  position: relative;
}

.gtm-bandeau {
  display: inline-block;
  margin: 0;
  white-space: nowrap; /* Empêche le texte de passer à la ligne */
  padding-left: 100%; /* Commence hors de l'écran */
  animation: defilement 15s linear infinite; /* Animation continue */
}

@keyframes defilement {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

a.gtm-btn-info {
  border: 2px solid var(--color-dark-blue);
  padding: 5px 10px;
  color: var(--color-dark-blue);
  border-radius: 99px;
  transition: all .3s ease-in-out;
}

a.gtm-btn-info:hover {
  color: whitesmoke;
  background-color: var(--color-dark-blue);
}

a.gtm-lien-fond {
  color: whitesmoke;
  border-bottom: 2px solid whitesmoke;
  transition: border .3s ease-in-out;
}

a.gtm-lien-fond:hover {
  border-bottom: 0px solid whitesmoke;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    HERO
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


.gtm-hero {
  background-color: var(--color-light-grey);
  padding: var(--space-5xl) var(--space-lg) var(--space-lg);
  margin: auto;
  border-radius: 10px;
  margin-bottom: var(--space-sm);
}

.gtm-hero  {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gtm-titre-hero {
  margin-bottom: var(--space-md);
}

.gtm-intro-hero {
  font-size: var(--font-size-lg);
}

@media screen and (min-width: 992px) {
  .wp-block-cover {
    min-height: 100%;
  }
}


.wp-block-button.is-style-outline a {
  background-color: transparent;
  border: 2px solid var(--color-dark-blue);
  color: var(--color-dark-blue);
  transition: background .2s ease-in-out, color .2s ease-in-out;
}

.wp-block-button.is-style-outline a:hover {
  background-color: var(--color-dark-blue);
  color: var(--color-light-blue);
}

@media screen and (min-width: 1200px) {
  .gtm-bouton-hero {
  justify-content: flex-end;
}
}


/* ///////////////////// PARTENAIRE PRINCIPAL //////////////////////////// */

.gtm-footer-desjardin {
  border-radius: 10px;
  text-align: center;
  padding-top: var(--space-lg);
}

.gtm-part-prin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media screen and (min-width: 596px) {

.gtm-part-prin {
  flex-direction: row;
  gap: 50px;
  
}

.gtm-footer-desjardin {
  padding-top: 0;
}
}


/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ACCUEIL
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */



.gtm-slide-logo img {
    max-width: 160px;
    width: auto;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    MISSION | VISION | HISTOIRE
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

/* Mission */

.gtm-colonnes {
  column-gap: var(--space-sm);
}

.gtm-colonnes .wp-block-cover {
  min-height: 250px;
  height: 100%;
}

.gtm-bg-light {
  background-color: var(--color-light-grey);
  border-radius: 10px;
  align-content: center;
  padding: var(--space-lg);
}

.gtm-mission-center {
  margin: var(--space-xl) auto;
}

.gtm-mission-center p {
  text-align: center;
}

.gtm-triptique  {
  column-gap: var(--space-sm);
  /* max-width: 1200px;
  margin: auto; */
}

.gtm-triptique .wp-block-image.size-full img {
  width: 100%;
}

@media screen and (min-width: 1200px) {

  .gtm-mission-center {
    max-width: 70%;
  }
}

@media screen and (min-width: 1200px) {

.gtm-colonnes .wp-block-cover {
  min-height: 500px;
}
}

/* Vision */

.gtm-vision-center {
  margin: var(--space-xl) auto;
  text-align: center;
  font-size: var(--font-size-3xl);
  color: var(--color-dark-blue);
}

@media screen and (min-width: 1200px) {

  .gtm-vision-center {
    max-width: 55%;
  }
}

/* Valeurs */

.gtm-valeurs {
  background-color: var(--color-sky-blue);
  color: var(--color-light-blue);
  padding: var(--space-md);
  border-radius: 10px;
}

.gtm-valeurs h2 {
  color: var(--color-light-blue);
}

.gtm-bold {
  font-family: var(--font-bold);
}

@media screen and (max-width: 768px) {
  .gtm-col-bleu {
  gap: 0px !important;
}
}

/* Histoire */

.gtm-intro-histoire {
  max-width: 90%;
  margin: var(--space-xl) 0;
}


.gtm-histoire-double-col .is-layout-flex {
  align-items: flex-start;
  column-gap: var(--space-md);
}

.gtm-histoire-double-col h4 {
  color: var(--color-dark-blue);
}


@media screen and (max-width: 992px) {
  .gtm-content-histoire {
    flex-direction: column;
  }
}


/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    DEVENIR MEMBRE
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


.gtm-into-bg {
  color: var(--color-light-grey);
}

@media screen and (min-width: 768px) {
.gtm-into-bg {
  padding: var(--space-2xl);
  max-width: 80%;
  margin: auto;
}
}

.gtm-pro-recrut {
  max-width: 90%;
  padding: 0 var(--space-lg);
  margin: var(--space-2xl) auto;
}

.gtm-form-bg {
  background-color: var(--color-sky-blue);
  border-radius: 10px;
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.gtm-form-bg h2 {
  text-align: center;
  color: var(--color-light-grey);
}

.gtm-form-box {
  max-width: 1200px;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .gtm-form-membre .gtm-prenom-nom, .gtm-form-membre .gtm-courriel-tel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: var(--space-md);
  }
}

.gtm-form-bg label {
  color: var(--color-light-grey);
}

.gtm-form-bg .wpcf7-form input:not(.wpcf7-file, .wpcf7-submit) {
  border: 2px solid var(--color-light-grey);
  outline-color: var(--color-light-grey);
}

.gtm-form-bg .wpcf7-form textarea {
  border: 2px solid var(--color-light-grey);
  outline-color: var(--color-light-grey);
}

.gtm-form-bg .wpcf7-form select {
  border: 2px solid var(--color-light-grey);
}

.gtm-form-bg .wpcf7-submit {
  color: var(--color-light-grey);
  border: 2px solid var(--color-light-grey);
}

.gtm-form-bg .wpcf7-submit:hover {
  background-color: var(--color-light-grey);
  color: var(--color-dark-grey);
}


/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ADMINISTRATION ET MEMBRES
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.gtm-galerie-membres {
  padding: var(--space-lg);
}

.gtm-galerie-membre {
  gap: 3em;
}

.gtm-galerie-membre figure img {
  border-radius: 50%;
}

.gtm-badge figure {
  position: relative;
  border-radius: 50%;
}


.gtm-badge figure::after {
  content: url('/wp-content/uploads/2026/01/badge-richelieu.svg');
  position: absolute;
  bottom: 0;
  right: 0px;
  width: 20vw;
}


@media screen and (min-width: 768px) {
  
  .gtm-badge figure::after {
    width: 8vw;
  }

  .gtm-badge figure::after {
    right: -30px;
  }
}


.gtm-evenement {
  padding: var(--space-2xl);
  text-align: center;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    FORMULAIRE
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

form * {
  box-sizing: border-box;
}

.wpcf7-form input:not(.wpcf7-file, .wpcf7-submit) {
  width: 100%;
  border: 2px solid var(--color-dark-grey);
  border-radius: 5px;
  background-color: transparent;
  height: 30px;
  margin-top: 10px;
  outline-color: var(--color-sky-blue);
}

.wpcf7-form textarea {
  width: 100%;
  border: 2px solid var(--color-dark-grey);
  border-radius: 5px;
  background-color: transparent;
  margin-top: 10px;
  outline-color: var(--color-sky-blue);
}

.wpcf7-form select {
  border: 2px solid var(--color-dark-grey);
  border-radius: 5px;
  background-color: transparent;
  height: 30px;
  margin-top: 10px;
}

.wpcf7-submit {
  background-color: transparent;
  color: var(--color-dark-blue);
  font-size: var(--font-size-base);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 99px;
  border: 2px solid var(--color-dark-blue);
  cursor: pointer;
  transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.wpcf7-submit:hover {
  background-color: var(--color-sky-blue);
  color: var(--color-light-grey);
}



/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    FOOTER
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.gtm-footer {
  background-color: var(--color-light-grey);
  border-radius: 10px;
  padding: var(--space-lg);
  text-align: center;
}

.gtm-footer a {
  text-align: center;
}

.gtm-footer-facebook {
  width: 40px;
  fill: #3b5998;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    OUPS
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */


.gtm-404 {
  position: relative;
  background-image: url(/wp-content/uploads/2026/01/404.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 30px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  margin-bottom: var(--space-2xl);
}

/* .gtm-404::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #171616;
  opacity: .5;
  border-radius: 10px;
} */

.gtm-oups-txt {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: auto;
  text-align: center;
  background-color: var(--color-light-grey);
  border-radius: 10px;
  padding: var(--space-2xl);
}




/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    COPYRIGHT
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.gtm-copyright-content {
  text-align: center;
	padding-left: 20px;
	padding-right: 20px;
}

.gtm-flinks {
  margin-top: 0px;
  margin-bottom: 10px;
}

.gtm-copyright-content h6 {
  font-weight: 100;
  font-size: 16px;
}

.gtm-flinks a {
    font-weight: 900;
    font-size: 1.2em;
}

.gtm-copyright-content p {
  font-size: 16px;
}

.gtm-copy-anim-logo {
  text-align: center;
  padding-bottom: 30px;
}

a.gtm-lien-gestimark {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
	width:fit-content;
}

a.gtm-lien-gestimark .gtm-g-gestimark {
  transition: all .2s ease-in-out;
}

a.gtm-lien-gestimark:hover .gtm-g-gestimark {
  transform: rotate(8deg);
}

a.gtm-lien-gestimark .gtm-creation-de {
  width: 100px;
  padding-right: 10px;
}

a.gtm-lien-gestimark .gtm-g-gestimark {
  width: 35px;
}

.wp-block-group.gtm-grille-logo.is-content-justification-center.is-layout-flex.wp-container-core-group-is-layout-3.wp-block-group-is-layout-flex {
    gap: 70px;
}

/* politique de confidentialité */

#objectifs-politique, #entree, #modalites-recueil, #objectifs-collecte, #renseignements-collectes, #finalites, #securit, #modalites-acces, #securite, #partage, #utilisation, #conservation-renseignements, #droits, #autres, .gtm-ancre, #equipement {
  scroll-margin-top: 145px;
}



/* Espacement supplémentaire */ 

.gtm-padding-plus {
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* #endregion */








/* #region MENU ---------------------------------------------------------------------------------------------------------- */

/* =========================================================
   BASE
========================================================= */
.gtmHeader button {
  font: inherit;
}

.gtm-menu-overlay {
  display: block;
}

body.gtm-hidden-scrolling {
  overflow: hidden;
  height: 100vh;
}

#menu-item-612 > a {
    display: block;
    text-indent: -9999px; /* cache le texte */
    background-image: url('/wp-content/uploads/2026/02/club-richelieu-logo-sans-victo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#menu-item-612 > a img  {
  width: 120px;
}

/* =========================================================
   MOBILE / TABLET (<= 1199px)
========================================================= */
@media screen and (max-width: 1199px) {

  /* -------------------------------------------------------
     ICÔNE BURGER
  ------------------------------------------------------- */

  .gtmHeader .gtm-open-nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 45px;
    width: 45px;
    background-color: var(--color-sky-blue);
    margin: 15px 15px 0 0;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 999999;
    border: 0;
    border-radius: 10px;
    padding: 0;
  }

  .gtmHeader .gtm-open-nav-menu span {
    display: block;
    position: relative;
    height: 3px;
    width: 25px;
    background-color: whitesmoke;
    border-radius: 4px;
  }

  .gtmHeader .gtm-open-nav-menu span:before,
  .gtmHeader .gtm-open-nav-menu span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: whitesmoke;
    transition: all .2s ease;
    border-radius: 4px;
  }

  .gtmHeader .gtm-open-nav-menu span:before { top: -7px; }
  .gtmHeader .gtm-open-nav-menu span:after  { top:  7px; }

  .gtm-hidden-scrolling .gtmHeader .gtm-open-nav-menu span {
    background-color: transparent !important;
  }

  .gtm-hidden-scrolling .gtmHeader .gtm-open-nav-menu span:before {
    transform: rotate(45deg);
    top: 0;
  }

  .gtm-hidden-scrolling .gtmHeader .gtm-open-nav-menu span:after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* -------------------------------------------------------
     HEADER FULLSCREEN (LE SLIDE EST ICI)
  ------------------------------------------------------- */
  #masthead.gtmHeader {
    position: fixed;
    inset: 0;
    height: 100vh;
    background-color: var(--color-light-grey);
    z-index: 100;
    top: -100vh;                 /* fermé */
    transition: top 0.5s ease;
    overflow: hidden;            /* empêche tout débordement */
  }

  #masthead.gtmHeader.gtmOpen {
    top: 0;                      /* ouvert */
  }

  /* -------------------------------------------------------
     NAV (NE BOUGE PLUS)
  ------------------------------------------------------- */
  nav.gtm-nav-menu {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
  }

  button.gtm-close-nav-menu {
    display: none !important;
  }

  /* -------------------------------------------------------
     LISTE DU MENU
  ------------------------------------------------------- */
  nav.gtm-nav-menu ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .gtmHeader .menu > .menu-item {
    margin-bottom: 10px;
  }

  .gtmHeader .menu > .menu-item > a {
    font-family: "Fjalla One", sans-serif !important;
    color: var(--color-dark-blue);
    font-size: var(--font-size-md);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 6px 0;
    transition: all 0.3s ease;
  }

  .menu > .menu-item.current-menu-item > a,
  .menu > .menu-item.current-menu-ancestor > a {
    color: var(--color-dark-grey);
    font-weight: 600;
  }

  /* -------------------------------------------------------
     SOUS-MENU (ACCORDÉON)
  ------------------------------------------------------- */
  .gtmHeader .menu > .menu-item-has-children .sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    max-width: 250px;
    margin: 10px auto 0;
    padding-left: 0;
    list-style: none;
  }

  .gtmHeader .menu > .menu-item-has-children.gtm-active .sub-menu {
    max-height: 500px; /* contrôlé par JS si besoin */
    opacity: 1;
    visibility: visible;
  }

  nav.gtm-nav-menu .sub-menu li:first-child { padding-top: 10px; }
  nav.gtm-nav-menu .sub-menu li a {
    color: var(--color-dark-blue);
    text-decoration: none;
    padding: 6px 0;
    display: inline-block;
  }
}


/* =========================================================
   DESKTOP (>= 1200px)
========================================================= */
@media screen and (min-width: 1200px) {

.error404 #masthead.gtmHeader {
    background-color: #fff;
    top: 0px;

  }

  #masthead.gtmHeader {
    width: 100%;
    transition: all 0.4s ease; /* transition pour top et background */
  }

  #masthead.gtmHeader.scrolled {
    background-color: #fff;
    top: 0px;
  }

  /* Optionnel : changer la couleur des liens au scroll */
  #masthead.gtmHeader .menu > .menu-item > a {
    color: var(--color-dark-grey);
  }

  /* Optionnel : changer la couleur des liens au scroll */
  #masthead.gtmHeader .menu > .menu-item.current-menu-parent > a {
    color: var(--color-dark-blue);
  }


  #masthead.gtmHeader {
    position: fixed;
    top: 77px;
    left: 0;
    z-index: 100;
    display: flex;
    padding: 10px 20px;
  }

  .gtm-open-nav-menu,
  .gtm-menu-overlay,
  .gtm-close-nav-menu {
    display: none;
  }

  nav.gtm-nav-menu {
    position: static;
    min-height: auto;
    background: transparent;
  }

  nav.gtm-nav-menu ul.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .gtmHeader .menu > .menu-item  {
    position: relative;
  }

  .gtmHeader .menu > .menu-item > a {
    font-size: clamp(1rem, 1.4vw, 2rem);
    color: var(--color-dark-grey);
    text-decoration: none;
    padding: 10px 0;
    white-space: nowrap;
    transition: color .2s ease;
  }

  .gtmHeader .menu > .menu-item > a:hover,
  .current-menu-item > a,
  .current-menu-ancestor > a {
    color: var(--color-sky-blue);
  }

  .gtmHeader .menu > .menu-item > .sub-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    padding-left: 0;
    list-style: none;
    padding: var(--space-md);
    min-width: 300px;
  }


  .gtmHeader .menu > .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  .gtmHeader .menu > .menu-item > .sub-menu li.menu-item {
    padding-bottom: var(--space-sm);
  }

  .gtmHeader .menu > .menu-item > .sub-menu a {
    color: var(--color-dark-grey);
    text-decoration: none;
  }

  .gtmHeader .menu > .menu-item > .sub-menu .menu-item.current_page_item a {
    color: var(--color-dark-blue);
  }

  .gtmHeader .menu > .menu-item > .sub-menu a:hover {
    color: var(--color-dark-blue);
  }

}


/* #endregion */

