*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: auto;
  src: url('../fonts/BungeeInline-Regular.ttf') format("truetype");
}

.Nunito {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  margin:0;
  padding:0;
  scroll-behavior: smooth;
}

body {	
  color: white;
  font-family: 'Nunito';
  font-size: 100%;
  line-height: 1.5em;
  color: #000000;
  margin: 0;
  box-sizing: border-box;
}

#full-bg {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh;
  background-image: url('../img/fond-lightblue.png');
  background-size: contain;
  /*background-position: center left;*/
  background-repeat: repeat-y repeat-x;
}

#bg-uni {
  padding: 0 !important;
  margin: 0 !important;
  background-color: #0B1C3D;
}

a {
  color: #FF0089;
  text-decoration: none;
}

a:hover {
  color:#EB59A8;
}

.titre-sparkle {
  margin-bottom: 5% !important;
}

.titre-sparkle.sparkle-active {
  animation: sparkleFade 2s ease-in-out;
}

/* Animation sparkle */
@keyframes sparkleFade {
  0% {
    text-shadow: 0 0 4px #fff, 0 0 8px #ff0089, 0 0 15px #ff0089;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 6px #fff, 0 0 12px #ff0089, 0 0 20px #ff0089;
    opacity: 1;
  }
  100% {
    text-shadow: none;
    opacity: 1;
  }
}

.titre-rose {
  color: #ff0089;
}

main {
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/*HEADER ET FOOTER*/
header {
  position: absolute;
  top: 5px;
  left: 30px;
  width: calc(60% + 120px); 
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

header li {
  transition: 0.3s ease-in-out;
}

.container-header {
  display: flex;
  box-sizing: border-box;
  padding: 2% 0%;
  width: 100%;
}

.container-header .logo {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

header img {
  width: 200px;  
  display: block;
}

footer {
  background-color: #6963DF; 
  width: 100%;
  padding: 1px 1px;
  box-sizing: border-box;
}

footer li {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform:none;
  color: white;
}

.container-footer {
  display: flex;
  box-sizing: border-box;
  padding: 1% 3%;
  width: 100%;
}

.container-footer .logo {
  width: 25%;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#footer .logo img {
  width: 30%;  
  display: block;
}

#footer-menu-toggle {
  display: none;
}

#footer-menu {
  width: 50% !important;
  padding-top: 0;
  display: flex;
  box-sizing: border-box;
  align-items: center;
}

#footer-menu-list {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
  font-family: 'Nunito';
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  gap: 10px;
}

#footer-menu #footer-menu-list li {
  text-align: left;
  position: relative;
}

#footer-menu #footer-menu-list li a {
  display: block;
  padding: 6px 0 6px 6px;
  text-decoration: none;
  color: inherit;
  justify-content: left;
  align-items: top; 
  width: auto;
  white-space: nowrap;
  line-height: 1em;
  transition: 0.2s ease-in-out;
}

#footer-menu #footer-menu-list li a:hover{
  color: #A7C5FF;
}

#footer-menu #footer-menu-list > li > ul {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  z-index: 100;
  transition: 0.2s ease-in-out;
}

#footer-menu #footer-menu-list li:hover > .sub-menu,
#footer-menu #footer-menu-list li.active > .sub-menu {
  display: block;
  background-color: #6963DF82;
}

.social {
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0;
  margin-right: 5%;
}

.social img {
  width: 50%;
}

.legal {
  width: 10%;
  display: block;
}

.legal p, .legal a {
  font-size: 0.8rem;
  line-height: 1.5em;
  text-align: right;
  color: white !important;
}

.footer-legal-mobile {
    display: none;
}

.svg {
  color: white;
}

/* STYLE GLOBAL DU MENU - HEADER */

#menu-toggle {
  display: none;
}

#menu {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 0.4rem;
  padding-left: 2rem;
  box-sizing: border-box;
}

#menu ul {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
  font-family: 'Nunito';
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  gap: 25px;
  z-index: 1000;
}

#menu li {
  text-align: left;
  position: relative;
}

#menu li a {
  display: block;
  padding: 6px 0 6px 6px;
  text-decoration: none;
  color: inherit;
  justify-content: left;
  align-items: top; 
  width: auto;
  white-space: nowrap;
  line-height: 1em;
  transition: 0.2s ease-in-out;
}

#menu li a:hover{
  color: #A7C5FF;
}

#menu-list > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  z-index: 100;
  transition: 0.2s ease-in-out;
}

.sub-menu li {
  display: block;
  width: 100%;
  text-transform: none !important;
  font-weight: 400;
  transition: 0.2s ease-in-out;
}

.sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  white-space: nowrap;
}

#menu-list > li.active {
  color: white;
}

.sub-menu li a:hover{
  color: #A7C5FF;
}

#menu li:hover > .sub-menu,
#menu li.active > .sub-menu {
  display: block;
  transition: 0.2s ease-in-out;
}

h1 {
  font-family: 'Bungee';
  font-weight: 300;
  color: white;
  text-transform: uppercase;
  font-size:2.5rem;
  letter-spacing: 1.5px;
  line-height: 1.4em;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: #EB59A8;
}

h2 {
  font-family: 'Bungee';
  color: white;
  font-size: 2rem;
  font-weight: normal;
  text-align: left;
  scroll-margin-top: 120px; 
}

h3, h4, h5 {
  color: white;
  font-family: 'Nunito';
  margin: 10px 0 10px 0;
}

h3 {
  font-weight: 500;
  font-size: 1.2rem;
}

h4 {
  font-weight: 300;
  font-size: 1rem;
}

/*PAGE 1*/

#page-1 {
  width: 100%;
  height: auto;
  display: flex;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

#page-1 .gauche {
  width: 60%;
  position: relative;
}

.texte-positionne {
  position: absolute;
  top: 50%;
  left: 10%;
  color: white;
  font-size: 2rem;
}

#page-1 .droite {
  width: 40%;
  height: 100vh;
  overflow: hidden;
}

.bouton-rose {
  position: absolute;
  top: 85%;
  left: 10%;
  background-color: #EB59A8;
  color: white;
  border: none;
  font-family: 'Nunito';
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px 0;
  transition: 0.3s ease-in-out;
}

.bouton-rose:hover {
  box-shadow: #E1A9FF 0px 0px 5px 4px;
  cursor: pointer;
}

.photo-accueil-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.photo-accueil-clip {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.photo-accueil-clip::before {
  content: "";
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(202,67,194,1) 30%, rgba(202,67,194,1) 75%, rgba(0,212,255,1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  clip-path: polygon(
      49% -1%,   /* légèrement vers le haut */
      101% -1%,  /* légèrement vers la droite */
      101% 101%, /* vers le bas */
      -1% 101%   /* vers la gauche */
  );
}

.photo-accueil-clip:hover::before {
  opacity: 1;
}

.photo-accueil-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.photo-accueil-clip:hover img {
  transform: scale(0.97);
  filter: brightness(1.2);
}

.logos {
  position: absolute;
  bottom: 5%;
  right: 7%;
  display: flex;
  gap: 20px;
  z-index: 3;
}

.logos img {
  width: auto;
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logos img.logo-LGBT:hover,
.logos img.logo-TCM:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 0, 137, 0.6));
}

#blocs > div.text > p {
  margin-top: 0;
  padding: 0;
  font-family: 'Nunito';
  font-size: 1rem;
  line-height: 1.5em;
}

#blocs > div.text > li {
  margin-left: 2em;
}

/* PAGE 2*/
#page-2 {
  padding: 3% 5% 3% 8%;
  box-sizing: border-box;
}

#page-2 .haut {
  display: flex;
  width: 100%;
}

#page-2 .haut .gauche {
  width: 15%;
}

#page-2 .haut .gauche img {
  width: 75%;
}

#page-2 .haut .milieu {
  width: 45%;
  padding-right: 12%;
  margin: 0 5% 0 0;
}

#page-2 .haut .milieu h2 {
  font-family: 'Bungee';
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.5em;
  margin-bottom: 2%;
}

#page-2 .haut .droit {
  width: 35%;
}

#page-2 .haut .droit h3 {
  font-size: 1.1rem;
  line-height: 1.5em;
  font-weight: 300;
}

#page-2 .milieu {
  width: 60%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3% !important;
}

#page-2 .bas .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.grid img {
  width: 40%;
  display: block;
  max-width: 100%;
  height: auto;
}

.grid figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

figcaption {
  font-size: 0.9rem;
  line-height: 1.5em;
  color: white;
  text-transform: uppercase;
  text-align: center;
}

/* PAGE 3*/
#page-3 {
  padding: 3% 10%;
  box-sizing: border-box;
}

#page-3 .haut {
  display: block;
  padding: 0 10%;
}

#page-3 .haut h1 {
  text-align: center;
}

.description {
  display: flex;
}

.description p {
  color: white;
  font-size: 1rem;
  word-spacing: 0.5px;
  line-height:1.5em;
  font-weight: 200;
  width: 65%;
  padding: 1% 5%;
}

.description img {
  width: 15%;
  padding: 0 2%;
  object-fit: contain;
}

#page-3 .bas {
  display: flex;
  justify-content: center;
  text-align: center;
}

#page-3 .bas img {
  display: inline-block;
  width: 25%;
}

/* PAGE 4 */
.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

#page-4 {
  padding: 3% 2% 3% 8%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  min-height: 450px;
  position: relative;
}

#page-4 .gauche {
  width: 65%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.bloc-temoignages {
  display: flex;
  gap: 40px;
  margin-top: 18%;
}

.temoignage {
  width: 50%;
  position: relative;
  background: inherit;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5em;
  color: white;
}

.temoignage .trait {
  width: 60px;
  height: 2px;
  background: #FF0089;
  margin: 10px 0 0 0;
  padding: 0;
}

.temoignage .auteur {
  text-align: left;
  font-style: normal;
  font-weight: 400;
  color: #EB59A8;
  margin: 10px 0;
}

.bouton-bleu {
  background-color: #39BEFF;
  color: white;
  border: none;
  font-family: 'Nunito';
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px 0;
  transition: 0.3s ease-in-out;
  margin: 0 auto;
}

.bouton-bleu:hover {
  box-shadow: #A6E4FF 0px 0px 5px 4px;
  cursor: pointer;
}

#page-4 .droite {
  width: 35%;
  height: auto;
  overflow: hidden;
  margin-left: 10%;
}

#page-4 .droite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* PAGE 5 */
#page-5 {
  padding: 3% 5% 3% 8%;
  box-sizing: border-box;
  display: flex;
}

#page-5 .gauche {
  width: 30%;
  margin-right: 5%;
}

#page-5 .gauche img {
  max-width: 100%;
}

#page-5 .droite {
  width: 70%;
}

#page-5 .droite .description p {
  font-weight: 300;
  font-size: 1rem;
  width: 100%;
  padding: 0 8% 0 0;
}

#button {
  padding: 5% 0;
  margin: auto;
}

.bouton-rose-fin {
  background-color: #EB59A8;
  color: white;
  border: none;
  font-family: 'Nunito';
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px 0;
  transition: 0.3s ease-in-out;
}

.bouton-rose-fin:hover {
  box-shadow: #E1A9FF 0px 0px 5px 4px;
  cursor: pointer;
}

/* SCREEN READER ONLY*/
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}

/* ADAPTATION GRANDS ÉCRANS (> 2560px) */

@media screen and (min-width: 2500px) {
  body {
    font-size: 125%; 
  }

  #page-2, #page-3, #page-4, #page-5 {
    max-width: 2400px;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: 4rem;
    -webkit-text-stroke-width: 2px;
  }

  h2 {
    font-size: 3rem;
  }

  header {
    left: 50px;
    top: 20px;
  }

  header img {
    width: 300px;
  }

  #menu ul {
    gap: 40px;
  }

  #menu ul li a {
    font-size: 1.1rem;
  }

  .photo-accueil-clip img {
    transform: scale(1);
  }

  .bouton-rose, .bouton-bleu, .bouton-rose-fin {
    font-size: 1.2rem;
    padding: 15px 30px;
  }

  .logos img {
    max-height: 100px;
  }

  #page-2 .haut .milieu, #page-3 .description p, #page-5 .droite .description p {
    line-height: 1.8em;
  }

  .container-footer {
    max-width: 2400px;
    margin: 0 auto;
  }
    
  #footer-menu-list {
    font-size: 1.1rem;
    gap: 20px;
  }

  #full-bg {
    background-size: cover;
  }

}

