/*
Theme Name: WebandMedias
Description: Thème de la société Web & Médias
Author: Web & Médias - contact@webmedias.com
Version: 1.0
*/

/* Réinitialisation CSS minimale */

/* Remise à zéro de la marge et du padding sur tous les éléments */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  margin-top: 0!important;
  overflow-x: hidden;
}

/* Réinitialisation de la typographie sur les éléments de base */
body, h1, h2, h3, p {
    font-family: Arial, sans-serif;
    font-weight: normal;
}

/* Supprimer les listes à puces par défaut */
ul, ol {
    list-style: none;
}

/* Réinitialisation des styles de lien */
a {
    text-decoration: none;
    color: inherit;
}

/* Réinitialisation des styles de bouton (si nécessaire) */
.button, input[type=".button"], input[type="submit"], input[type="reset"] {
    border: none;
    background: none;
    cursor: pointer;
}

/* Réinitialisation des styles de formulaire (si nécessaire) */
input, textarea, select {
    border: 1px solid #ccc;
}

@font-face {
    font-family: 'Arkhip';
    src: url('https://webandmedias.com/wp-content/themes/WebandMedias/fonts/Arkhip.woff2') format('woff2'),
        url('https://webandmedias.com/wp-content/themes/WebandMedias/fonts/Arkhip.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Serona';
    src: url('https://webandmedias.com/wp-content/themes/WebandMedias/fonts/Serona-Regular.woff2') format('woff2'),
        url('https://webandmedias.com/wp-content/themes/WebandMedias/fonts/Serona-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

  @import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200;0,400;0,500;0,600;1,400&display=swap');


/* Body */
html, body {
    overflow: inherit;
  }
body {
    font-family: Arial, sans-serif;
    background-color: #262433;
    color: #cdcdcd;
    line-height: 1.6;
    margin: 0;
    padding: 0 0 50px 0;
}

h1, h2, h3, h4, h5, h6 {
    max-width: 95%;
}

h1 {
    font-size: 35px;
    color: #cdcdcd;
    text-align: center;
    font-family: arkhip;
    text-transform: uppercase;
    margin-top: 1.15em;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;
    margin-bottom: 1.5em;
}

h2 {
    font-size: 28px;
    color: #cdcdcd;
    text-align: center;
    font-family: arkhip;
    text-transform: uppercase;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;
    margin: 1.5em 95px 1em 95px;
}

h3 {
    font-size: 25px;
    color: #cdcdcd;
    font-family: arkhip;
    text-transform: uppercase;
    margin: 1em 0;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;
    text-align: center;
}

.link-services h3 {
  font-size: 20px;
  padding: 0 5px;
}

h4 {
    font-size: 18px;
    color: #cdcdcd;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;

}

h5 {
    font-size: 16px;
    color: #cdcdcd;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;

}

h6 {
    font-size: 14px;
    color: #cdcdcd;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;

}

p {
    font-size: 20px;
    line-height: 1.5;
    color: #cdcdcd;
    font-family: 'Josefin Sans', sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;
    text-align: center;
    max-width: 90vw;
    margin: 10px auto 20px auto;
}

.icon {
    font-size: 25px;
    margin: 0.5em 0;
}

.icon-footer {
    font-size: 25px;
    margin: 0 1em;
    color: #cdcdcd;
}

.center {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #fff;
}

a h3:hover, a:hover h3 {
    color: #fff;
}

.flex-line-services {
  height: calc(100vh - 144.8px - 2.5em);
}

.link-services {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotateX(-100deg);
  transform-origin: top;
  opacity: 0;
  -webkit-transform: rotateX(-100deg);
  transform: rotateX(-100deg);
  transition: 1s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

.swing-in-top-fwd {
	-webkit-animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	        animation: swing-in-top-fwd 1s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
}

 @-webkit-keyframes swing-in-top-fwd {
    0% {
      -webkit-transform: rotateX(-100deg);
              transform: rotateX(-100deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 0;
    }
    100% {
      -webkit-transform: rotateX(0deg);
              transform: rotateX(0deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 1;
    }
  }
  @keyframes swing-in-top-fwd {
    0% {
      -webkit-transform: rotateX(-100deg);
              transform: rotateX(-100deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 0;
    }
    100% {
      -webkit-transform: rotateX(0deg);
              transform: rotateX(0deg);
      -webkit-transform-origin: top;
              transform-origin: top;
      opacity: 1;
    }
  }
  
button {
    position: relative;
    text-align: center;
    font-size: 25px;
    color: #cdcdcd;
    font-family: arkhip;
    text-transform: uppercase;
    text-shadow: 1px 0px 1px #262433, 0px 1px 1px #726d80, 2px 1px 1px #262433, 1px 2px 1px #726d80, 3px 2px 1px #262433, 2px 3px 1px #726d80;
    z-index: 2;
    position: relative;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 25px;
    transition: 0.5s;
    margin-bottom: 2em;
    margin-top: 1em;
  }

button:hover {
  background: #393949;
}

button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, #ddd, #726d80, #ddd);
  background-size: 300% 300%;
  clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), 3px calc(100% - 3px), 3px 100%, 100% 100%, 100% 0%, 0% 0%);
  animation: frame-enter 1s forwards ease-in-out reverse, gradient-animation 4s ease-in-out infinite;
}

/* motion */
@keyframes gradient-animation {
  0% {
    background-position: 15% 0%;
  }
  50% {
    background-position: 85% 100%;
  }
  100% {
    background-position: 15% 0%;
  }
}

@keyframes frame-enter {
  0% {
    clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), 3px calc(100% - 3px), 3px 100%, 100% 100%, 100% 0%, 0% 0%);
  }
  25% {
    clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 100%, 100% 100%, 100% 0%, 0% 0%);
  }
  50% {
    clip-path: polygon(0% 100%, 3px 100%, 3px 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 3px, 100% 0%, 0% 0%);
  }
  75% {
    -webkit-clip-path: polygon(0% 100%, 3px 100%, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 3px, 3px 0%, 0% 0%);
  }
  100% {
    -webkit-clip-path: polygon(0% 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 3px 100%, 0% 100%);
  }
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li {
    margin-bottom: 5px;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

/* Barre de défilement pour les navigateurs Webkit (Google Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-thumb {
    background-color: #726d80;
    border-radius: 10px;
}

/* Barre de défilement pour Mozilla Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #726d80 transparent;
}

/* Header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: 1s;
}
header {
    height: 115px;
    position: fixed;
    z-index: 99999;
    top: 0;
    width: 100%;
}
.menu-button {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 75px;
    height: 75px;
    color: #726d80;
    cursor: pointer;
    text-align: center;
    z-index: 9999;
    transition: width 0.4s 0.1s, height 0.4s 0.1s, background-color 0.4s;
}

.button-active {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    border-radius: 0;
    transition: width 0.1s, height 0.1s, background-color 0.1s 0.4s;
    background-color: #262433;
}


#img-menu-button {
    width: 45px;
    height: 45px;
    top: 40px;
    position: fixed;
    left: 40px;
    transition: 1s;
    transform: rotate(0);
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));;
}

#img-menu-button.img-menu-active {
    transform: rotate(360deg) !important;
}

#text-menu-button {
    position: fixed;
    left: 120px;
    height: 30px;
    top: 47.5px;
    filter: drop-shadow(1px 3px 2px rgb(0 0 0 / 0.4));
    margin-left: -250px;
    opacity: 0;
    transform-origin: center;
    transform: rotateX(360deg);
    transition: 1s;
    }
.text-menu-active {
    margin-left: 0!important;
    opacity: 1!important;
    transform: rotateX(0deg)!important;
}
.cls-1 {
    fill: #cdcdcd;
    transition: 1s 1s;
}

#text-menu-button.menu-active .cls-1 {
    fill: #cdcdcd;
    transition: 1s;
}

@keyframes menu-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.img-menu-spin {
    animation: menu-spin 0.5s linear;
}

#logo-menu {
    width: 200px;
    height: auto;
}

#logo-mentions {
    width: 250px;
    height: 15px;
}

.header-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: none;
    transition: 1s ease;
    opacity: 0;
    z-index: 9999;
    margin-left: 25%;
}

.nav-active {
    opacity: 1;
    transition: 1s;
}
.header-menu ul {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 90%;
    width: 100%;
}

.header-menu li {
    margin: 10px;
    text-shadow: 3px 5px 2px rgb(0 0 0 / 0.4);
    transition: 0.4s;
    line-height: 1;
    transition: 1s;
    transform: rotateY(0);
}

.header-menu li:hover {
  margin: 20px;
  text-shadow: 3px 5px 2px rgb(0 0 0 / 0.4);
  transition: 0.4s;
  line-height: 1;
  transition: 1s;
  transform: rotate(-5deg);
}


.header-menu a {
  text-decoration: none;
  font-family: Arkhip;
  font-size: 25px;
  color: #cecece;
  transition: 1s;
  transform-origin: center;
}

.header-menu a:hover {
  color: #fff;
}

.sous-titres-menu a {
    display: flex;
    flex-direction: row;
    font-family: arkhip;
    font-size: 20px;
}

/* Footer */

footer {
    position: fixed;
    background-color: #262433;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50px;
    bottom: 0;
    width: 100%;
    z-index: 10;
    transition: 1s;
}

.box-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 0 1em;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1;
    transition: 1s;
}

.box-footer-alt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 0 0.25em;
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1;
    transition: 1s;
}

footer span {
    color: #cdcdcd;
}

.fade-in {
	-webkit-animation: fade-in 1.2s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: fade-in 1.2s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

 @-webkit-keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes fade-in {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

.bounce-in-bottom {
	-webkit-animation: bounce-in-bottom 1.1s both;
    animation: bounce-in-bottom 1.1s both;
}

 @-webkit-keyframes bounce-in-bottom {
    0% {
      -webkit-transform: translateY(500px);
              transform: translateY(500px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
      opacity: 0;
    }
    38% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
      opacity: 1;
    }
    55% {
      -webkit-transform: translateY(65px);
              transform: translateY(65px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    72% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    81% {
      -webkit-transform: translateY(28px);
              transform: translateY(28px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    90% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    95% {
      -webkit-transform: translateY(8px);
              transform: translateY(8px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  @keyframes bounce-in-bottom {
    0% {
      -webkit-transform: translateY(500px);
              transform: translateY(500px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
      opacity: 0;
    }
    38% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
      opacity: 1;
    }
    55% {
      -webkit-transform: translateY(65px);
              transform: translateY(65px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    72% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    81% {
      -webkit-transform: translateY(28px);
              transform: translateY(28px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    90% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
    95% {
      -webkit-transform: translateY(8px);
              transform: translateY(8px);
      -webkit-animation-timing-function: ease-in;
              animation-timing-function: ease-in;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      -webkit-animation-timing-function: ease-out;
              animation-timing-function: ease-out;
    }
  }
  
/* Hero */

/* Masquer les boutons de contrôle de la vidéo */
video::-webkit-media-controls {
    display: none;
}
video::-webkit-media-controls-play-.button {
    display: none;
}
video::-webkit-media-controls-start-playback-.button {
    display: none;
}

/* Style pour la classe "hero" */
.hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Style pour le contenu du héros */
.hero .hero-content {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
}

#hero-video {
    height: 100%;
}

/* Style pour le titre */
.hero .hero-content h1 {
    font-size: 36px;
}

/* Style pour la description */
.hero .hero-content p {
    font-size: 18px;
}

.show {
    opacity: 1!important;
}

.flex-container {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
    width: calc(100% - 50px);
    margin: auto;
}
.flex-container-alt {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
    width: 75%;
    z-index: 3;
    margin: auto;
}

.two-column {
	width: 50%;
	display: flex;
    justify-content: center;
	align-items: center;
	flex-direction: column;
    text-align: center;
}
.three-column {
	width: calc(100% / 3);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.four-column {
	width: calc(100% / 4);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.flex-line {
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
  width: 100%;
  flex-wrap: wrap;
  min-height: 70vh;
}
.container-column {
    flex-direction: column;
}

#flex-box-intro {
    width: 75%;
    margin: 2em auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#flex-box-logo {
  width: 50%;
  margin: 2em auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.flex-box-content {
    width: calc(100% - 100px);
    min-height: calc(100vh - 50px);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: auto;
}
.flex-box-content-text {
    width: calc(100% - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    flex-direction: column;
    text-align: center;
}
.onethird-column {
    width: calc(100% / 3);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.twothird-column {
    width: calc(100% / 3 * 2);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
    text-align: center;
}

#map {
    width: 100vw;
    height: calc(calc(100vh - 50px) / 2);
    margin-top: 2em;
}

#map button  {
    text-shadow: none;
    color: #262433;
}
#map button:after {
  display: none;
}

.icone-service {
    max-width: 70px;
    max-height: 70px;
    height: 70px;
}

.style-icon-1 {
    transition: 1s;
}
a:hover .icone-service .style-icon-1 {
    fill: #fff;
}

.slideshow-container {
    position: relative;
    width: 75%;
    padding-top: 75%;
  }

  #maintenance, #news {
    width: 75%;
  }
  
  .site-internet, .webdesign, .design, .textile, .impression-rigide, .goodie, .logo, .produits-com {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 1s;
  }
  
.conseil, .impression, .signaletique, .flocage, .personnalisation, .communication, .reseaux, .video, .service-videos {
    width: 75%;
    margin: auto;
}

  .hide {
    opacity: 0;
  }
  
  .rotate-2 {
	-webkit-animation: rotate-2 4s linear infinite both;
	        animation: rotate-2 4s linear infinite both;
}

 @-webkit-keyframes rotate-2 {
    0% {
      -webkit-transform: rotate(0);
              transform: rotate(0);
    }
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  @keyframes rotate-2 {
    0% {
      -webkit-transform: rotate(0);
              transform: rotate(0);
    }
    100% {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }

  .rotate {
	-webkit-animation: rotate 4s linear infinite both;
	        animation: rotate 4s linear infinite both;
}

 @-webkit-keyframes rotate {
    0% {
      -webkit-transform: rotateY(0);
              transform: rotateY(0);
    }
    100% {
      -webkit-transform: rotateY(360deg);
              transform: rotateY(360deg);
    }
  }
  @keyframes rotate {
    0% {
      -webkit-transform: rotateY(0);
              transform: rotateY(0);
    }
    100% {
      -webkit-transform: rotateY(360deg);
              transform: rotateY(360deg);
    }
  }

@media only screen and (max-width : 1000px){
    button {
    font-size: 15px;
  }
    .two-column, .onethird-column, .twothird-column{
        width: 100%;
    }
    .onethird-column {
      max-height: 30vh;
    }
    .three-column {
        margin: 1em 0;
    }
    .flex-container {
        display: flex;
        flex-direction: column;
    }
    .hide-footer {
        display: none;
    }
    .h2-index {
        font-size:25px;
    }
    .footer-hide {
      display: none;
    }
    .flex-box-content{
      flex-direction: column;
      margin-bottom: 2em;
      min-height: inherit;
    }
    .reverse {
      flex-direction: column-reverse;
    }
    .slideshow-container {
      width: 50%;
      padding-top: 50%;
      margin-top: 2em;
    }

    .flex-line-services .three-column h3 {
      margin: 0.25em 0;
    }
    .icone-service {
    max-width: 40px;
    max-height: 40px;
    height: 40px;
    }
    .flex-line-services {
      height: calc(100vh - 99.8px - 2.5em);
    }
    .link-services h3 {
      font-size: 16px;
    }
    .flex-container-contact .three-column{
      width: 100%;
    }
    .header-menu {
  width: 100%;
  margin-left: 0;
}
}
@media only screen and (max-width : 640px){
  .box-footer, .box-footer-alt {
    margin: 0;
  }
  .slideshow-container {
    width: 75%;
    padding-top: 75%;
    margin-top: 2em;
  }
      .flex-line-services {
      height: calc(100vh - 110.8px - 2.5em);
    }
    	  .link-services h3 {
		font-size: 16px;
	  }
}


@media only screen and (max-width : 768px){
  h1 {
    font-size: 25px;
    margin-top: 1.15em;
  }
  h2 {
    font-size: 20px;
    margin: 1.35em 75px 1em 75px;
    width: auto;
  }
  h3 {
    font-size: 18px;
    margin: 1em auto;
  }
  p {
    font-size: 18px;
  }
  .header-menu a {
    font-size: 22px;
  }
  .header-menu ul {
    top: 15%;
    height: 85%;
  }
  #img-menu-button {
    top: 25px;
    left: 25px;
  }
  #text-menu-button {
    height: 25px;
    left: 100px;
    top: 35px;
  }
  .flex-line-services .three-column{
  width: 50%;
  margin: 0.25em 0;
  }
  .link-services h3 {
    font-size: 16px;
  }
  #section-3 {
    min-height: 50vh;
  }
}
/* État initial : invisible et prêt pour animation */
.flip-in-right,
.flip-in-left,
.flip-in-top {
  opacity: 0;
  transform: perspective(1000px);
  will-change: transform, opacity;
}

/* Animation active uniquement quand .animate est ajoutée */

.flip-in-right.animate {
  -webkit-animation: flip-in-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: flip-in-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes flip-in-right {
  0% {
    -webkit-transform: rotateY(-80deg);
            transform: rotateY(-80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    opacity: 1;
  }
}
@keyframes flip-in-right {
  0% {
    -webkit-transform: rotateY(-80deg);
            transform: rotateY(-80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    opacity: 1;
  }
}

.flip-in-left.animate {
  -webkit-animation: flip-in-left 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: flip-in-left 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes flip-in-left {
  0% {
    -webkit-transform: rotateY(80deg);
            transform: rotateY(80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    opacity: 1;
  }
}
@keyframes flip-in-left {
  0% {
    -webkit-transform: rotateY(80deg);
            transform: rotateY(80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    opacity: 1;
  }
}

.flip-in-top.animate {
  -webkit-animation: flip-in-hor-top 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: flip-in-hor-top 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes flip-in-hor-top {
  0% {
    -webkit-transform: rotateX(-80deg);
            transform: rotateX(-80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    opacity: 1;
  }
}
@keyframes flip-in-hor-top {
  0% {
    -webkit-transform: rotateX(-80deg);
            transform: rotateX(-80deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    opacity: 1;
  }
}

/*Style pour le héros, hero-image*/

.hero {
  width: 100vw;
}

.hero-image{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    margin: 18vh 0 18vh 0;
}

/*Style pour les titres h2*/
.title{
    text-align: center;
    font-size: 34px;
}

/*Style pour le contenu après le héros */
.content-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;  
    margin: 10vh 5vw;
}

/*Style pour le contenu p après le héros */
.content-box p{
  font-size: 20px;
}

/*Effet zone qui défile au-dessus de l'image héros*/
.scroll-section {
  position: relative;
  height: 220vh; /* zone de scroll pour l'animation + sortie */
}

.sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.background,
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Zone d'arrière-plan image héros*/
.background {
  z-index: 1;
}

/*Zone qui défile au-dessus de l'image héros*/
.overlay {
  z-index: 2;
  transform: translateY(100%);
  will-change: transform;
  background: linear-gradient(to top, rgb(38, 36, 51), rgb(38, 36, 51, 0.8));
}



/*Style pour la galerie */
.galerie {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.galerie::-webkit-scrollbar {
  display: none;
}

.galerie-track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  width: max-content;
  padding: 10px 32vw;
}

/*Style pour les items*/
.galerie .item {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 38vw;
  min-width: 360px;
  max-width: 620px;
}

/*Style pour les images de la galerie */
.galerie .item img {
  height: auto;
}

/* mobile */
@media (max-width: 767px) {
  .galerie-track {
    gap: 16px;
    padding: 10px 3vw;
  }

  .galerie .item {
    width: 85vw;
    min-width: 85vw;
    max-width: 85vw;
  }
}


/*Style pour les images d'arrière-plan*/
.design-1{
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2025/08/CEG-Electricite-Grimaud-Site-internet-2-Web-Medias-Agence-de-communication-360-Cogolin.jpg');
}

.design-2{
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2025/08/i-concept-Golfe-de-Saint-Tropez-Flocage-de-vehicule-Web-Medias-Agence-de-communication-360-Cogolin.jpg');
}

.design-3{
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/02/Yoka-enseigne.jpg');
}

.design-4{
   background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://webandmedias.com/wp-content/uploads/2026/02/Yoka-enseigne.jpg');
}

/* Pop-up */

#popmake-2152 {
  background-color: #262433;
}

.pum-theme-2143, .pum-theme-theme-par-defaut {
  background: #00000075!important;
}

.pum-close {
 border:none!important
}

/* ==========================================================
   SCROLL HORIZONTAL DES GALERIES
   ========================================================== */

.wm-horizontal-scroll-zone {
    position: relative;
    width: 100%;
}

.wm-horizontal-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    overflow: visible;
}

.wm-horizontal-sticky > h3 {
    position: relative;
}

.galerie {
    overscroll-behavior: contain;
}