/* 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: block;
  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: auto;
}

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

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

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

#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;
  list-style-type: none;
}

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

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

/* 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 .image-temoignages {
  display: flex;
  justify-content: center;
}

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

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

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

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

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

.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: 100%;
  margin-top: 1rem;
  text-align: center;
}

#page-2 .bas .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 2rem;
  justify-items: center;
  justify-content: center;
}

.grid img {
  width: 30%;
}

/* PAGE 3 */

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

#page-3 .haut {
  padding: 0 5%;
}

.description {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3% 0;
}

.description img {
  display: none;
}

.description p {
  width: 100%;
  padding: 0;
}

#page-3 .bas > a > img {
  width: 50%;
}

/* PAGE 4 – Témoignages */
.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

#page-4 {
  padding: 2rem 1.5rem;
  flex-direction: column;
}

.bloc-temoignages {
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.temoignage {
  width: 100%;
  text-align: left;
  margin-bottom: 50px;
}

.temoignage .texte {
  margin: auto;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
}

.temoignage .auteur {
  font-style: normal;
  font-weight: 400;
  margin: 10px 0;
}

#page-4 .image-temoignages {
  display: flex;
  justify-content: center;
}

#page-4 .image-temoignages img {
  margin-top: 2rem;
  width: 100%;
  max-width: 450px;
}

.bouton-bleu {
  position: static;
  display: block;
  margin: 1.5rem auto;
  font-size: 1rem;
  background-color: #39BEFF;
  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 5 */

#page-5 {
    padding: 2rem 1.5rem;
    flex-direction: column;
}

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

#page-5 .gauche {
  display: flex;
  justify-content: center;
}

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

.bouton-rose-fin {
  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;
}

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