/* CSS mobile */

*, *::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, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background-color: #0B1C3D;
    color: white;
    overflow-x: hidden;
}

a {
  text-decoration: none;
  color: white;
}

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

/* BACKGROUNDS */

#full-bg {
    background-image: url('../img/fond-lightblue.png');
    background-size: cover;
    background-repeat: repeat;
    padding: 0;
    margin: 0;
}

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

/* TITRES */

h1 {
  font-family: 'Bungee';
  font-size: 1.8rem;
  font-weight: 300;
  text-align: center;
  line-height: 1.3;
  margin: 1.5rem 0;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #EB59A8;
  color: white;
}

h2 {
  font-family: 'Bungee';
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

h3, h4 {
  text-align: center;
  font-weight: 400;
  margin: 0.8rem 0;
  font-size: 1.1rem;
  color: white;
}

p {
  color: white;
}

/* HEADER (MENU BURGER) */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.container-header {
  display: flex;
  justify-content: space-between; /* Logo gauche / Burger droite */
  width: 100%;
  padding: 1rem;
}

header img {
  width: 150px;
  height: auto;
  display: block;
}

/* Bouton burger */
#menu-toggle {
  display: block;
  border: none;
  cursor: pointer;
  color: white;
  background: transparent;
  font-size: 2rem;
  margin-left: auto;
}

#menu-list {
  display: none;
  flex-direction: column;
  padding: 0;
  margin: 1rem 0 0 0;
  list-style: none;
}

#menu-list.open {
  display: flex;
}

#menu-list li {
  padding: 0;
  border-bottom: 1px solid #ffffff22;
  list-style-type: none;
  text-transform: uppercase;
  text-align: right;
}

#menu-list a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

/* Sous-menus */
.submenu-toggle {
    margin-left: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.sub-menu {
    display: none;
    padding-left: 1.2rem;
}

.sub-menu li {
  text-transform: none !important;
}

.sub-menu.open {
    display: flex;
    flex-direction: column;
}

/* PAGE 1 */

#page-1 {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    text-align: center;
}

#page-1 .gauche,
#page-1 .droite {
    width: 100%;
}

.texte-positionne {
    position: static;
    margin-top: 1rem;
}

#page-1 h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

#page-1 br {
  display: none;
}

#page-1 h4 {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Image hero mobile (supprimer clip-path) */
.photo-accueil-clip,
.photo-accueil-clip::before {
  clip-path: none !important;
}

#page-1 .photo-accueil-clip img {
  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%);
  padding: 5px;
  width: 100%;
  max-width: 600px;
}

.photo-accueil-wrapper {
  margin-top: 1rem;
}

.logos {
  position: static;
  justify-content: center;
  margin-top: 1rem;
  gap: 15px;
}

.logo-TCM {
  width: 130px !important;
  margin: 0 20px;
}

.logo-LGBT {
  width: 100px !important;
  margin: 0 20px;
}

.bouton-rose {
  position: static;
  display: block;
  margin: 1.5rem auto;
  font-size: 1rem;
  background-color: #EB59A8;
  color: white;
  border: none;
  font-family: 'Nunito';
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 10px 0;
}

/* PAGE 2 */

#page-2 {
  padding: 2rem 1.5rem;
  text-align: center;
}

#page-2 .haut {
  flex-direction: column;
  align-items: center;
}

#page-2 .haut .gauche img {
  display: none;
}

#page-2 .haut .milieu {
  width: 100%;
  padding: 0;
  margin-top: 1rem;
}

#page-2 .haut .droit {
  width: 80%;
  margin: 1rem auto 0;
  text-align: center;
}

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

.grid img {
  width: 75%;
}

/* 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 !important;
}

.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: 60%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.bloc-temoignages {
  display: block;
  margin: 0;
}

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

.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: 40%;
  height: auto;
  overflow: hidden;
  margin-left: 5%;
}

#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%;
  height: auto;
  overflow: hidden;
}

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

#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;
}

/* FOOTER BURGER */

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

footer li {
  font-size: 0.9rem;
  list-style-type: none;
  font-weight: 400;
  text-transform:none;
  color: white;
}

.container-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  width: 100%;
  box-sizing: border-box;
}

.logo { 
  grid-column: 1 / 2;
  grid-row: 1;
  justify-self: start;
  padding: 10px;
  width: 100%;
}

#footer-menu { 
  grid-column: 2 / 3;
  grid-row: 1;
  justify-self: center;
  padding-top: 0;
  box-sizing: border-box;
}

.social { 
  grid-column: 3 / 4;
  grid-row: 1;
  justify-self: end;
  display: flex;
  justify-content: space-evenly;
  padding: 0;
  margin-right: 5%;
  gap: 7px;
  padding-top: 0.9em;
}

.social img {
  width: 1.3rem;
  padding: 0;
}

#footer .logo img {
  width: 5rem;  
  display: block;
}

#footer-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 0;
  margin: auto;
}

#footer-menu-list {
  display: none;
  width: 100%;
  bottom: 100%;
  padding: 0;
  box-sizing: border-box;
}

#footer-menu-list.open {
  display: block;
}

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

#footer-menu-list li a {
  display: block;
  padding: 2px 0 2px 2px;
  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-list > li > .sub-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  z-index: 100;
  transition: 0.2s ease-in-out;
}

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

.footer-legal-mobile {
  text-align: center;
  font-size: 0.8rem;
  width: 100%;
  grid-column: 2 / 3;
  grid-row: 2;
  justify-self: center;
}

.footer-legal-mobile p {
  margin: 0;
}

.footer-legal-mobile a {
  color: white !important;
}

.legal {
  display: none;
}

.svg {
  color: white;
}