* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Julius Sans One', Arial, sans-serif;
  font-style: normal;
  color: #143D5B;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Nav */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0;
  height: 7.3w;

}

.nav a {
  color: #10326c;
  text-decoration: none;
  margin: 0 0.5vw;
  position: relative;
  padding-bottom: 0vw;
  font-family: 'Julius Sans One';
  transition: color 0.3s ease;
  font-size: 1.5vw;
}

.t-n:hover {
  color: #143D5B;
  text-decoration: underline;
  text-underline-offset: 10px;
}

.t-n::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 15px;
  background: url('images/logos/mosaic-pattern.png') no-repeat center bottom / contain;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.t-n:hover::after {
  transform: scaleX(1);
}

.logo-nav  {width: 100px;
  
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  z-index: 1001;
  border-radius: 14px;
  padding: 0.5rem 0;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: #10326c;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-content a:hover {
  color: #2798e9;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.arrow {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

.dropdown .arrow {
  margin-left: 6px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}
/* Mobile Header */
.mobile-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.mobile-logo img {
  width: 100px;
  height: 45px;
}

.menu-toggle {
  cursor: pointer;
}

.menu-toggle svg {
  height: 30px;
  width: 30px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 55px;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  padding: 1rem;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;

}

.mobile-nav a {
  padding: 0.75rem 1rem;
  color: #143D5B;
  text-decoration: none;
  font-family: 'Julius Sans One';
  font-size: 1rem;
  font-weight: normal;
  border-bottom: 1px solid #eee;
}

.mobile-nav a:last-child {
  border-bottom: none;
  
}
.mobile-nav a:hover {
  color: #2798e9;
}


.mobile-nav.open {
  transform: translateX(0%);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
}

/* Section presentation */
.titre-presentation {
  background-color: #143D5B;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  height: 10vw;
  width: 100%;
}

.titre-presentation h2 {
  font-weight: normal;
  font-size: 2.6vw;
  color: #fff;
  padding-top: 3vw;
  left: 20px;    
}

.mosaic1 {
  width: 10vw;
  position: absolute;
  left: -4.9%;
}

.mosaic2 {
  width: 10vw;
  position: absolute;
  left: 95%;
}

.contnue-presentation {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: #fff;
  align-items: center;
  height: 40vw;
}



.paragraphe1 {
  width: 37%;
  position: relative;
  text-align: left;
  font-size: 1.8vw;
  color: #143D5B;
}

.pres-img img {
  width: 45vw;
  height: auto;
  border: 5px solid #143D5B;
}

/* SVG BACKGROUND CONTAINER - KEY SOLUTION */
.svg-background-container {
  position: relative;
  top: 0;
  left: 0;
  width: 98.8vw;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.svg-background-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* MAIN SECTIONS WRAPPER */
.sections-with-svg {
  position: sticky;
  z-index: 1;
}

/* Sections with SVG background - backgrounds removed */
.titre-activite {
  background: #143D5B;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  height: 10vw;
  position: relative;
}

.titre-activite h2 {
  font-weight: normal;
  color: #fff;
  padding-top: 3vw;
  left: 20px;   
  font-size: 2.8vw; 
}


.activite {
  background: #143D5B;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 8vw;
  height: 45.7vw;
}

.activite-img {
  position: relative;
  left: 3vw;
  bottom: 3vw;
}

.activite-img img {
  width: 65vw;
  border: 5px solid #fff;
}

.contenu-activite {
  width: 70%;
}

.contenu-activite h2 {
  color: #fff;
  text-align: left;
  padding-left: 4vw;
  font-size: 2.6vw;
  font-weight: lighter;
  text-align: center;
}

.contenu-activite p {
  padding-top: 3vw;
  padding-right: 1vw;
  color: #fff;
  text-align: center;
  font-weight: lighter;
  font-size: 1.6vw;
  text-align: left;
  padding-bottom: 10vw;
  padding-left: 9vw;
}

/* atelier */
.atelier {
  background: transparent;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 8vw;
  height: 54.3vw;
}

.atelier-img {
  position: relative;
  padding-top: 5vw;
  padding-right: 15vw;
  
}

.atelier-img img {
  width: 28vw;
  border: 5px solid #143D5B;
}

.contenu-atelier {
  width: 55vw;
  position: relative;
  bottom: -4vw;
  right: 5VW;
}

.contenu-atelier h2 {
  color: #143D5B;
  text-align: center;
  padding-top: 5vw;
  padding-left: 7vw;
  font-size: 2.8vw;
  font-weight: lighter;
}

.contenu-atelier p {
  padding-top: 4vw;
  padding-left: 15vw;
  color: #143D5B;
  text-align: left;
  font-weight: lighter;
  font-size: 1.8vw;
  
}

/* collaboration */
.titre-collaboration {
  background: #143D5B;
  padding-top: 3vw;
  padding-bottom: 5vw;
  text-align: center;
  font-size: 2vw;
  color: #fff;
  font-weight: lighter;
  height: 15vw;
}

.contenu-Collaborations {
  background: #143D5B;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
  height: 40.8vw;
}

.col-img {
  
  position: relative;
  left: 10vw;
  
}

.col-img img {
  width: 180vw;
  
  border: 5px solid #fff;
}

.col-p {
  padding-right: 15vw;
  padding-left: 15vw;
  padding-top: 3vw;
  color: #fff;
  text-align: center;
  font-weight: lighter;
  font-size: 1.8vw;
  text-align: left;
  padding-bottom: 5vw;
}

/* valeurs */
.valeurs {
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 65vw;
}

.valeur-contenu {
  padding-left: 12vw;
  padding-top: 10vw;
  overflow: hidden;
  position: relative;
}

.valeur-contenu h2 {
  color: #143D5B;
  font-size: 2vw;
  text-align: left;
  padding-bottom: 10vw;
}

.valeur-contenu p {
  width: 60vw;
  color: #143D5B;
  font-size: 1.5vw;
  text-align: left;
  padding-bottom: 2vw;

}

.val-img {
  bottom: -20vw;
}

.val-img img {
  width: 27vw;
  padding-top: 10vw;
  position: relative;
  bottom: -10vw;
}

/* footer */
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: space-between;
  background-color: #143D5B;
  color: #fff;
  padding: 2vw 1vw;
  position: relative;
  height: 13vw;
}

.ft-part1 {
  position: relative;
  width: 13vw;
}

.ft-part1 img {
  position: absolute;
  width: 100%;
  right: 7.5vw;
  top: -2vw;
  pointer-events: none;
}

.ft-part2 {
  padding-left: 0vw;
  flex: 2 1 24vw;
  text-align: left;
  font-size: 1.4vw;
  
}

.ft-adress {
  padding-bottom: 1.4vw;
  text-align: left;
  left: 10vw;
}

.ft-tel {
  padding-bottom: 2vw;
  text-align: left;
}

.footer-contact .logo-footer {
  position: absolute;
  top: 1vw;
  right: 3vw;
  width: 11vw;
}

.logo-footer {
  flex: 2;
  width: 11vw;
  margin-top: 1vw;
  pointer-events: none;
}

/* Images zoomables */
img.zoomable {
  cursor: pointer;
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
  border-radius: 0px;
}

/* Lightbox zoom */
.zoom-container {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.zoom-container img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.zoom-container.active {
  display: flex;
}

/* Media Queries */
@media (max-width: 768px) {
  .header .nav {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  body{
    font-weight: bold;
    
    overflow-y: scroll;
  }
  
  .footer-contact {
    font-weight: lighter;
  }
  
  
  

  .sections-with-svg {
    margin: 0;
    
  }
  .svg-background-container {
  
  top: 101vw;
  left: 0;
  width: 99.8vw;
  
  z-index: 1;
  pointer-events: none;
}
.titre-presentation h2{
  font-size: 4vw;
  font-weight: normal;
}
.activite,.contnue-presentation {
  height: 90.25vw;
  flex-direction: column;
  justify-content: center;
}
.paragraphe1{
  width: 80vw;
  font-size: 3vw;
}

.activite,.contenu-atelier,.valeur-contenu{
  width: auto;
  font-size: 3vw;
}

.contenu-activite  {
  width: auto;
  
}
.contenu-activite  p{
  font-size: 3vw;
}
.contenu-activite  h2{
  font-size: 3.5vw;
  
}
.activite-img{
  top:0vw;
}





.pres-img img{
  width: 60vw;
}
.atelier-img {
  width: 290vw;
  top:15vw
}
.atelier-img img {
  width: 190vw;
}
.atelier{
  height: 77vw;
}
.atelier h2{
  font-size: 3.5vw;
font-weight: bold;}


.atelier p{
  font-size: 2.5vw;
font-weight: bold;}
.contenu-Collaborations {
  flex-direction: column;
  height: auto;
  align-items: center;
  
}
.col-img  {
  width: 70vw;
  text-align: center;
  left: 0;

}
.col-p{
  width: 120vw;
  font-size: 3vw;
  text-align: center;
}

.valeurs {

  height: 90vw;
  align-items: center;
}
.valeur-contenu h2 {
  font-size: 3.5vw;
  text-align: center;
  padding-bottom: 5vw;
}
.valeur-contenu p {
  font-size: 2vw;
  width: 60vw;
  left: -5vw;
}
.val-img img {
  width: 30vw;
  bottom: -17vw;
}








.svg-background-container{
  display: none;
}
/* Correction overflow horizontal */
html, body {
  overflow-x: hidden !important;
}

/* Empêche les images ou éléments absolus de déborder */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Ajustement spécifique : mosaïques qui dépassent */
.mosaic1, .mosaic2 {
  overflow: hidden;
  max-width: 10vw;
}

/* Supprime tout petit dépassement des SVG et sections */
.svg-background-container {
  width: 100vw !important;
  left: 0 !important;
}

/* Empêche tout container mal dimensionné de forcer un scroll horizontal */
.container, .sections-with-svg, section, div {
  max-width: 100vw;
  overflow-x: clip;
}

}
  

@media (min-width: 769px) {
  .mobile-header,
  .mobile-nav,
  .menu-overlay {
    display: none !important;
  }
}


