/* ============================
   FONTS
============================ */
@font-face {
  font-family: 'Moontime';
  src: url('/font/FontsFree-Net-MoonTime-Regular-1.ttf') format('truetype');
  font-weight: lighter;
  color: #2e2b59;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/font/Quicksand[wght].ttf') format('truetype');
  font-weight: lighter;
  color: #2e2b59;
}
/* ============================
   RESET & GLOBAL
============================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Moontime', sans-serif;
  color: #2e2b59;
  font-weight: lighter;
}

main {
  padding-top: 200px;
}

/* ============================
   NAVIGATION
============================ */
.navbar {
    width: 100%;
    background-color: #fff;
    padding: 20px 40px;
    font-family: 'Quicksand', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-top {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  width: 120px;
  height: auto;
}

.logo h1 {
  font-size: 130px;
  margin: 0;
  font-family: 'Moontime', sans-serif;
  color: #2e2b59;
  font-weight: lighter;
}

.navbar-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.navbar-bottom ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 50px;
  margin: 0;
  padding: 0;
}

.navbar li {
  font-size: 20px;
}

.navbar a {
  text-decoration: wavy;
  color: #000;
  font-size: 40px;
}

.navbar a:hover {
  text-decoration: overline underline;
}

/* ============================
   DROPDOWN MENU
============================ */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    background-color: #fff;
    align-items: center;
    text-align: center;
}



.dropdown-content a {
    font-family: 'Quicksand', sans-serif;
    align-items: center;
    justify-content: center;
    display: flex; 
    width: 100%; 
}

.dropdown-content a:hover {
  text-decoration: overline underline;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* ============================
   TEXT & TITLES
============================ */
.Title h1 {
  font-size: 120px;
  font-family: 'Moontime';
  text-align: center;
}

.TextPara h1,
.TextPara h2,
.TextPara h3 {
    font-family: 'Quicksand', sans-serif;
    color: #2e2b59;
    font-weight: lighter;
    text-align: center;
    margin: 0;
}

.TextPara h1 { font-size: 110px; }
.TextPara h2,
.TextPara h3 { font-size: 75px; }

.TextPara p {
    font-size: 30px;  
    font-family: 'Quicksand', sans-serif;
    text-align: justify;
    text-indent: 20px;
    line-height: 2.0;
    max-width: 1500px;   
    margin: 0 auto;    
    padding: 0 20px;    
    text-align: justify; 
    color:#2e2b59;
    
}

.TextPara img {
  width: 450px;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}


.QuiSuisJe {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  flex-wrap: wrap; 
}

.QuiSuisJe img {
  width: 450px;
  height: auto;
  border-radius: 10px;
}

.text-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
}

.text-container p {
  font-size: 30px;
  font-family: 'Quicksand', serif;
  text-align: justify;
  line-height: 1.6;
  margin: 0;
  text-indent: 20px;
}

.text-container2 p{
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1500px;
  text-align: justify;
}
.MaDemarche {
  position: relative;
  background-image: url('/img/Mademarchebg.jpeg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.MaDemarche::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3); 
  z-index: 1;
}
.MaDemarche > * {
  position: relative;
  z-index: 2;
}

.TextParaQf {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 20px;
  
  margin: 0 auto;
}

.TextParaQf p {
  font-size: 30px;
  font-family: 'Quicksand', serif;
  line-height: 1.6;
  text-indent: 20px;
  text-align: justify;
  max-width: 15000px;

}

.QF-Bloc {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}

.QF-Text {
  flex: 1 1 56%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
}

.QF-Images {
  flex: 1 1 40%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.QF-Images img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* ============================
   BACKGROUNDS
============================ */
.bg-Index,
.bg-Galerie,
.bg-Actualite,
.bg-QSJ {
  background-position: 50% 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg-Index {
  background-image: url('/img/BackgroundIndex.png');
}
.bg-Index h1{
  font-weight: lighter;
}
.bg-Galerie {
  background-image: url('/img/BackgroundGalerie.png');
}
.bg-Galerie h1{
  font-weight: lighter;
}

.bg-Actualite {
  background-image: url('/img/fondActu.png');
}
.bg-Actualite h1 {
  font-weight: lighter;
}
.bg-MaDemarche h1{
  color:#000;
  font-weight: lighter;
} 

.bg-QSJ {
  background-image: url('/img/BackgroundQSJ.png');
}
.bg-QSJ h1 {
  font-weight: lighter;
}
.bg-QuestionFrequentes{
  background-image: url('/img/QuestionFrequenteBg.jpeg');
  background-position: 75% 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.bg-QuestionFrequentes h1 {
  font-weight: lighter;
}

.title-section {
  padding: 80px 0;
  text-align: center;
  color: white;
  font-family: 'Moontime', sans-serif;
  font-size: 120px;
  border-radius: 25px;
  font-weight: lighter;
    margin-top: 120px;
    
}

/* ============================
   SERIES SECTION
============================ */
.Series {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.Series h2 {
  font-size: 70px;
  color: #000;
  font-family: 'Moontime', sans-serif;
  text-align: center;
}

.Series ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  font-size: 89px;
}

.Series a {
  text-decoration: none;
  color: #000;
}

.Series a:hover {
  text-decoration: underline;
}

/* ============================
   GALLERY
============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card img {
  width: auto;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.card-content {
  padding: 1rem;
  flex-grow: 1;
}

.card-content h2 {
  font-size: 60px;
  margin: 0 0 0.5rem;
  color: #0a3d62;
  text-align: center;
}

/* ============================
   MARCHÉ SECTION
============================ */

.marche-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f7f9fc;
}

.marche-section h1 {
  font-size: 75px;
  margin-bottom: 10px;
  color: #2e2b59;
}

.marche-section h2 {
  font-size: 75px;
  color: #2e2b59;
  margin-bottom: 60px;
}

.marche-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.marche-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  width: 900px;
  transition: transform 0.3s ease;
  font-family: Quicksand, sans-serif;
}

.marche-card h3 {
  font-size: 70px;
  color: #2e2b59;
  margin-bottom: 10px;
}

.marche-card p {
  font-size: 60px;
  color: #333;
  margin-bottom: 8px;
}

.marche-card span {
  color: #2e2b59;
  font-size: 50px;
}

/* ============================
   FOOTER
============================ */

.footer {
    font-family: 'Moontime', sans-serif;
    color: #2e2b59;
    font-weight: lighter;
    background-color: #f8f9fa;
    padding: 40px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;   
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section h2 {
  font-size: 60px;
  color: #2e2b59;
  border-bottom: 2px solid #2e2b59;
  padding-bottom: 4px;
  margin-bottom: 10px;
  text-align: center;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li a {
  text-decoration: none;
  color: #333;
  font-size: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer-section li a:hover {
  color: #0057A4;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.footer-logo h2 {
  font-size: 35px;
  color: #2e2b59;
  font-family: 'Moontime', sans-serif;
  margin: 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 30px;
  color: #000;
 font-family: 'Quicksand', sans-serif;
}

.icon {
  width: 20px;
  height: 20px;
}




/* ============================
   MEDIA QUERIES
============================ */
@media (max-width: 768px) {
  /* Réduction du logo */
  .logo img {
    width: larger;
  }

  .logo h1 {
    font-size: 50px;
  }
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 10px 15px;
  }

  /* Menu plus petit */
    .navbar a {
    font-size: larger;
  }
  .navbar-top,
  .navbar-bottom {
    flex-direction: row;
    width: auto;
    margin: 0;
    margin-top: 10px;
  }
   .navbar-bottom ul {
    flex-direction: column;
    gap: 15px;
  }
  .dropdown
  {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .logo {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .logo img {
    width: auto;
  }

  .logo h1 {
    font-size: 30px;
  }

  .TextPara h1 {
    font-size: 25px;
  }

  .TextPara p {
    font-size: 20px;
  }

  .Series h2 {
    font-size: 20px;
  }

  .Series ul {
    font-size: 20px;
  }

  .marche-card {
    width: auto;
  }

  .marche-card h3,
  .marche-card p,
  .marche-card span {
    font-size: 15px;
  }

  .footer-section h2 {
    font-size: 30px;
  }

  .footer-section li a {
    font-size: 30px;
  }
}

