/* style.css - Version optimisée */
/*
Theme Name: Pixelium        
Theme URI: https://pixelium.ch
Description: Lite theme from Pixelium
Author: Erkan Firat
Author URI: https://pixelium.ch
Version: 1.0
*/

/* ===== VARIABLES ===== */
:root {
  --primary-color: #00dfc0;
  --hover-color: #00b39a;       
  --background-color: #001414;
  --dark: #001414;
  --clear: #ffffff;
  --max-width: 1200px;
  --border-radius: 30px;
  --font-size-base-small: 16px;
  --font-size-base-large: 18px;
}

/* ===== FONTS ===== */
@font-face {
  font-family: "Questrial";
  src: url("fonts/Questrial-Regular.eot");
  src: url("fonts/Questrial-Regular.woff2") format("woff2"),
    url("fonts/Questrial-Regular.woff") format("woff"),
    url("fonts/Questrial-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Questrial", sans-serif !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body {
  padding-top: 65px !important;
}

.page-id-2458 {
  padding-top: 0 !important;
}

.gpt-note{
    font-size: 12px;
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style-type: none !important;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

address {
  font-style: inherit;
  margin-bottom: 30px;
  line-height: 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h1 span,
h2, h2 span,
h3, h3 span,
h4, h4 span {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h1, h1 span {
  font-size: clamp(2rem, 5vw + 1rem, 3rem);
  line-height: clamp(2rem, 10vw + 0.75rem, 4rem);
}

h2, h2 span {
  font-size: clamp(1.5rem, 4vw + 1rem, 2.25rem);
  line-height: clamp(2rem, 4vw + 1.55rem, 3.5rem);
}

h3, h3 span {
  font-size: clamp(1.25rem, 3vw + 1rem, 1.75rem);
  line-height: clamp(2rem, 3vw + 0.25rem, 2.5rem);
}

h4, h4 span {
  font-size: clamp(1.125rem, 2vw + 1rem, 1.5rem);
  line-height: clamp(1.8rem, 2vw + 0.25rem, 1.8rem);
}

p, p span {
  font-size: clamp(1.2rem, 1vw + 0.5rem, 1.4rem);
  line-height: clamp(1.6rem, 2vw + 0.25rem, 1.8rem);
  font-weight: 400;
}

/* ===== LAYOUT ===== */
.gjs-section {
  display: flex;
  padding: 50px 0;
  overflow: hidden;
}

.gjs-container {
  width: 90%;
  margin: 0 auto;
  max-width: var(--max-width);
}

.gjs-grid-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: row;
  min-height: auto;
  padding: 10px 0;
}

.gjs-grid-column {
  flex: 1 1 0%;
  padding: 15px 0;
  margin: 15px;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.nav-container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== UTILITY CLASSES ===== */
.font-green, .text-vert {
  color: var(--primary-color);
}

.text-blanc {
  color: var(--clear);
}

.fond-noir-vert {
  background-image: linear-gradient(45deg, var(--dark) 53%, var(--primary-color) 120%);
}

.fond-vert {
  background-color: var(--primary-color);
}

.center-content, #stats, #services {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.wrapper-center {
  text-align: center;
  display: inline-block;
}

/* ===== BUTTONS ===== */
.btn-green {
  background-color: var(--primary-color);
  color: #1e1f21;
}

.btn-dark {
  background-color: var(--dark);
  color: var(--primary-color);
}

.btn-clear {
  background-color: #fff;
  color: var(--primary-color);
}

.btn-hero {
  float: right;
}

/* Styled Buttons */
.btn-3e {
  border-radius: 3em;
  cursor: pointer;
  display: inline-block;
  margin: 15px 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  position: relative;
  transition: all 0.2s;
  font-size: 20px;
  border: solid 2px;
  padding: 20px 60px 20px 30px;
  overflow: hidden;
}

.btn-3e:after {
  content: "";
  position: absolute;
  transition: all 0.3s;
  width: 30%;
  height: 300%;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
  right: 0;
  top: 0;
  margin: -35px 0 0 -5px;
  transform-origin: 0 0;
  transform: rotate(-20deg);
}

.btn-3e:active {
  top: 2px;
}

.btn-3e:hover:after {
  width: 40%;
}

.btn-3e .icon {
  position: absolute;
  height: 100%;
  right: 6px;
  top: 0;
  display: flex;
  align-items: center;
}

.btn-3e .icon svg {
  fill: currentColor;
  width: 55px;
  height: 55px;
  stroke-width: 0.5;
  stroke: currentColor;
}

/* Button Colors */
.btn-vert {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-vert:hover {
  background: var(--dark);
  color: var(--primary-color);
  filter: drop-shadow(0 0 5px #b8f4e9);
}

.btn-vert-blanc {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-vert-blanc:hover {
  background: #fff;
  color: var(--primary-color);
  filter: drop-shadow(0 0 5px #b8f4e9);
}

.btn-noir {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.btn-noir:hover {
  background: #fff;
  color: var(--dark);
  filter: drop-shadow(0 0 5px var(--dark));
}

.btn-noir-vert:hover {
  background: var(--primary-color);
  color: var(--dark);
  filter: drop-shadow(0 0 5px var(--dark));
}

.btn-blanc {
  background: #fff;
  color: var(--primary-color);
  border-color: #fff;
}

.btn-blanc:hover {
  background: var(--primary-color);
  color: #fff;
  filter: drop-shadow(0 0 5px #fff);
}

/* ===== NAVIGATION ===== */
#site-nav {
  background-color: var(--dark);
  box-shadow: 0 4px 30px rgba(0, 198, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 10000;
}

#site-nav .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

#site-nav nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
  transform: translateY(0px);
  font-size: 1.1rem;
}

.logo-full svg {
  width: 150px;
  height: 30px;
}

.menu-principal-container {
  position: relative;
}

#menu-principal {
  display: flex;
  list-style-type: none;
}

#menu-principal > li {
  position: relative;
  margin-left: 1.5rem;
}

#menu-principal > li > a {
  color: var(--clear);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

#menu-principal > li > a:hover,
#menu-principal > li > a:focus {
  background: rgba(0, 198, 255, 0.1);
  color: var(--primary-color);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--clear);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mega Menu */
.mega-menu {
  position: relative;
}

.mega-menu > .sub-menu {
  position: fixed;
  top: 240%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: var(--max-width);
  background: var(--dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  padding: 2rem;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

.mega-menu:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu-column {
  flex: 1;
  padding: 0 1rem;
}

.mega-menu-column > a {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
  font-weight: bold;
}

.mega-menu-column .sub-menu {
  list-style-type: none;
}

.mega-menu-item {
  margin-bottom: 0.5rem;
}

.mega-menu-item a {
  color: var(--clear);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mega-menu-item a:hover {
  color: var(--hover-color);
}

/* Menu Item Styles */
#menu-item-2536 a, #menu-item-2249 a {
  background: var(--primary-color);
  color: var(--dark) !important;
}

#menu-item-2536 a:hover, #menu-item-2249 a:hover {
  color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background-image: linear-gradient(45deg, var(--dark) 53%, var(--primary-color) 120%);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.hero .container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .content {
  width: 100%;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.hero .changing-word {
  color: var(--clear);
  display: inline-block;
  margin-bottom: 0;
}

.hero p {
  margin-bottom: 2rem;
  color: var(--clear);
}

.hero .logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .logo svg {
  width: 300px;
  height: 300px;
}

.hero .voxel {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(0, 223, 192, 0.2);
  border-radius: 0;
}

/* ===== ABOUT SECTION ===== */
.a-propos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

#strategie > div > div > div:nth-child(2),
#presentation > div > div > div:nth-child(1) {
  position: relative;
  z-index: 1;
  background: rgba(0, 20, 20, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 35px;
  box-sizing: border-box;
  min-height: 450px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: solid 1px var(--hover-color);
  border-radius: var(--border-radius);
}

#presentation > div > div > div:nth-child(2):before,
#strategie > div > div > div:nth-child(1):before {
  content: "";
  width: 190px;
  height: 380px;
  background: rgba(0, 223, 192, 0.2);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) skew(-20deg, 0deg);
  z-index: -1;
  transition: 0.3s ease-in-out;
}

#presentation > div > div > div:nth-child(2) > img {
  transform: translateX(-200px);
  width: 170%;
  height: auto;
}

#strategie > div > div > div:nth-child(1) > img {
  transform: translateX(-35px);
  width: 140%;
  height: auto;
}

.a-propos p {
  color: var(--clear);
}

#presentation,
#strategie {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("https://pixelium.ch/wp-content/uploads/2024/09/Agence-Web-Lausanne-Pixelium-background.webp");
}

.a-container {
  position: relative;
}

.a-propos .gjs-grid-column {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

#presentation .gjs-grid-column {
  margin-right: auto;
}

#strategie .gjs-grid-column {
  margin-left: auto;
}

.a-propos img {
  width: 100%;
  margin: 0 auto;
  display: block;
}

/* ===== CARDS ===== */
@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.creative-cards .container {
  max-width: var(--max-width);
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}

.creative-cards .container .gjs-grid-row {
  display: flex;
  flex-wrap: wrap;
}

.creative-cards .container .gjs-grid-row .card-column {
  flex: 0 0 auto;
  width: 33.33333333%;
  text-align: center;
  max-width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.card-details {
  width: 80%;
  margin: auto;
  position: relative;
  transition: 0.3s ease-in-out;
}

.card-details:before {
  content: "";
  width: 190px;
  height: 380px;
  background: rgba(0, 223, 192, 0.2);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) skew(-20deg, 0deg);
  z-index: -1;
  transition: 0.3s ease-in-out;
}

.card-icons {
  width: 140px;
  height: 150px;
  position: relative;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icons:before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 100%;
  transform: skew(-20deg, 0deg);
  background: #fff;
  border: 2px solid var(--dark);
  transition: 0.3s ease-in-out;
}

.card-icons img {
  position: relative;
  top: -18px;
  width: 70px;
  height: 70px;
  z-index: 2;
}

.card-details h3 a {
  color: var(--dark);
  text-decoration: none;
}

.card-details p {
  margin-bottom: 30px;
}

.read-more-btn {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--primary-color);
  border-radius: 100%;
  margin: auto;
  background: #fff;
  transform: translateX(-10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

.read-more-btn svg {
  width: 50px;
  height: 50px;
  fill: var(--dark);
  stroke-width: 0.5;
  stroke: var(--dark);
  display: block;
}

.card-details:hover .read-more-btn {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Mise en avant styles */
.mise-en-avant .card-icons:before {
  background: repeating-conic-gradient(
    from var(--a),
    var(--primary-color) 0%,
    var(--primary-color) 5%,
    transparent 5%,
    transparent 40%,
    var(--primary-color) 50%
  );
  animation: animate 8s linear infinite;
}

.mise-en-avant .card-icons:after {
  content: "";
  position: absolute;
  top: -6px;
  left: 12px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  transform: skew(-20deg, 0deg);
  background: #fff;
  z-index: 1;
}

.card-details:hover .card-icons:before,
.card-details:hover .card-icons:after {
  background-color: var(--dark);
}

/* ===== IMAGES ===== */
.img-droite {
  position: relative;
}

.img-droite:before {
  content: "";
  position: absolute;
  width: 50%;
  height: 114%;
  background: rgba(0, 223, 192, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) skew(-20deg, 0deg);
  z-index: -1;
  transition: 0.3s ease-in-out;
}

.img-droite img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.logo:before {
  content: "";
  position: absolute;
  width: 27%;
  height: 114%;
  background: rgba(0, 223, 192, 0.1);
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%) skew(-20deg, 0deg);
  z-index: -1;
  transition: 0.3s ease-in-out;
}

.icon-service {
  max-width: 150px;
}

/* ===== CAROUSEL ===== */
:root {
  --carousel-width: 100vw;
  --carousel-height: auto;
  --carousel-elements-displayed: 5;
  --carousel-element-width: calc(var(--carousel-width) / var(--carousel-elements-displayed));
  --carousel-animation-duration: calc(var(--carousel-elements) * 3s);
}

.carousel {
  max-width: 1200px;
  height: var(--carousel-height);
  overflow: hidden;
  position: relative;
}

.carousel:before, .carousel:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

.carousel:before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}

.carousel:after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}

.carousel-content {
  list-style: none;
  height: 100%;
  display: flex;
  animation: scrolling var(--carousel-animation-duration) linear infinite;
}

.carousel-content li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: var(--carousel-element-width);
  max-height: 100%;
  white-space: nowrap;
}

.carousel-content li img {
  max-width: 150px;
  padding: 10px;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.carousel-content li img:hover {
  filter: grayscale(0);
}

/* Testimonial Carousel */
.carousel-container {
  position: relative;
}

.carousel-testimo {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 33.33%;
  min-width: 33.33%;
  padding: 0 10px;
  box-sizing: border-box;
}

.testimonial {
  max-width: 500px;
  margin: 20px auto;
  padding: 20px;
  text-align: center;
}

.photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.name {
  font-size: 18px;
  margin-bottom: 10px;
}

.stars {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 10px;
}

.comment {
  font-style: italic;
  margin-bottom: 15px;
  font-size: initial;
}

/* Slider - Logos */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  animation: scroll 30s linear infinite;
  display: flex;
  width: calc(250px * 14);
}

.slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.logo-entreprises {
  max-width: 180px;
  max-height: 80px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo-entreprises:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ===== PROJECTS ===== */
.prj-en-avant {
  position: relative;
  background-image: url("https://pixelium.ch/wp-content/uploads/2024/07/quartier-residentiel-architecture-lausannoise.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.prj-en-avant::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 2;
}

.prj-en-avant > * {
  position: relative;
  z-index: 3;
}

/* ===== ANIMATIONS ===== */
.move3d,
.move3dLogo {
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.move3d img,
.move3dLogo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes animate {
  0% {
    --a: 0deg;
  }
  100% {
    --a: 360deg;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes wordChange {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes scale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes scrolling {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--carousel-element-width) * var(--carousel-elements))); }
}

/* Fade In Animation */
.fade-in-section {
  opacity: 0.2;
  transform: translateY(40px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LINKS ===== */
.slash {
  font-weight: 600;
  font-size: 2em;
  margin-right: 5px;
}

.animated-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin: 1rem 0;
}

.animated-link:hover {
  transform: translateX(5px);
}

.autres-services-container .animated-link {
  margin: 0 0 2rem;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  color: #fff;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-main-nav ul {
  list-style: none;
  padding: 0;
}

.footer-main-nav li {
  margin-bottom: 10px;
}

.footer-main-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-main-nav a:hover {
  color: #cccccc;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #cccccc;
}

.social-icon svg path {
  fill: var(--clear);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #ffffff33;
}

#menu-footer {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

#menu-footer li {
  margin-left: 20px;
}

/* ===== MISC ===== */
.page-title {
  display: none;
}

#texte-landing {
  padding: 10px;
  margin-bottom: 40px;
}

#cont-svg {
  padding: 40px;
}

.nbr-grand * {
  font-size: 5em;
}

/* Service Icons */
.sub-menu > #menu-item-2532 > a::before,
.sub-menu > #menu-item-2533 > a::before,
.sub-menu > #menu-item-2534 > a::before,
.sub-menu > #menu-item-2535 > a::before,
.autres-services-container .dev-web h3::before,
.autres-services-container .market h3::before,
.autres-services-container .sol-av h3::before,
.autres-services-container .des-imp h3::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#menu-item-2532 > a::before, .autres-services-container .dev-web h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300DFC0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='8' y1='21' x2='16' y2='21'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12' y2='21'%3E%3C/line%3E%3C/svg%3E");
}

#menu-item-2533 > a::before, .autres-services-container .market h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300DFC0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'%3E%3C/line%3E%3Cline x1='12' y1='20' x2='12' y2='4'%3E%3C/line%3E%3Cline x1='6' y1='20' x2='6' y2='14'%3E%3C/line%3E%3C/svg%3E");
}

#menu-item-2534 > a::before, .autres-services-container .sol-av h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300DFC0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='9' cy='7' r='4'%3E%3C/circle%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'%3E%3C/path%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'%3E%3C/path%3E%3C/svg%3E");
}

#menu-item-2535 > a::before, .autres-services-container .des-imp h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300DFC0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2' ry='2'%3E%3C/rect%3E%3Crect x='2' y='14' width='20' height='8' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='6' y1='6' x2='6.01' y2='6'%3E%3C/line%3E%3Cline x1='6' y1='18' x2='6.01' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.autres-services-container .dev-web h3::before,
.autres-services-container .market h3::before,
.autres-services-container .sol-av h3::before,
.autres-services-container .des-imp h3::before {
  width: 32px;
  height: 32px;
  margin-bottom: -5px;
}

/* Services Container */
.autres-services-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  background-color: rgba(0, 223, 192, 0.2);
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.autres-services-container.active {
  max-height: 3000px;
  opacity: 1;
}

/* CTA Styles */
.dernier-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.dernier-cta-btn:first-child {
  justify-content: flex-end;
}

.dernier-cta-btn:last-child {
  justify-content: flex-start;
}

/* WhatsApp Button */
.wapp-link {
  position: fixed;
  bottom: 20px;
  right: 0;
  display: flex;
  flex-direction: column;
  z-index: 99;
  transition: all 0.5s ease;
  transform: translateX(75px);
  border-radius: 35px 0 0 35px;
  animation-name: pulse;
  animation-duration: 2.5s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

.wapp-link:hover {
  transform: translateX(0);
}

.wapp-button {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 35px 0 0 35px;
  background-color: #25d366;
}

.wapp-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  padding: 3px;
  transition: all 0.5s ease;
  position: relative;
}

.wapp-icon svg {
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 2;
  fill: #fff;
  margin-right: -5px;
}

.wapp-text {
  width: 75px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  white-space: nowrap;
  border-radius: 35px 0 0 35px;
  padding-left: 10px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 981px) {
  .aligner-vert {
    display: flex;
    align-items: center;
  }
  
  #clients > div > div.gjs-grid-row.fade-in-section.is-visible > div {
    width: 100%;
  }
}

@media (max-width: 1100px) {
	.gpt-note{
		margin-top: -60px;
	}
}

@media (max-width: 980px) {
	.gpt-note{
		margin-top: -90px;
	}
	
  .gjs-grid-row,
  .gjs-grid-column {
    flex-direction: column;
    max-width: 100% !important;
  }

  nav {
    transform: translateY(0px);
    margin-top: 0px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-principal-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .menu-principal-container.active {
    max-height: 80vh;
    overflow-y: auto;
    transition: max-height 0.5s ease-in;
    border-bottom-right-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    /* Masquer la barre de défilement */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
  }

  .menu-principal-container.active::-webkit-scrollbar {
    display: none; /* Safari et Chrome */
  }

  #menu-principal {
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
  }

  #menu-principal > li {
    margin: 0.5rem 0;
    list-style-type: none;
  }

  #menu-principal > li > a {
    display: block;
    padding: 0.75rem 1rem;
  }

  .mega-menu > .sub-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
    
  .mega-menu > .sub-menu.active {
    max-height: none;
    overflow-y: visible;
    transition: max-height 0.5s ease-in;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 15px;
  }

  .mega-menu-column {
    flex: 1 1 270px;
    margin: 0 10px 20px;
  }

  .mega-menu-column > a {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
  }

  .mega-menu-column > ul {
    list-style-type: none !important;
    padding-left: 0;
  }
  
  .mega-menu-column > ul > li {
    margin-bottom: 5px;
  }

  #presentation > div > div > div:nth-child(2) > img,
  #strategie > div > div > div:nth-child(1) > img {
    transform: none;
    width: 100%;
  }
  
  :root {
    --carousel-elements-displayed: 4;
  }
  
  .carousel:before, .carousel:after { 
    width: 5rem; 
  }
}

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .hero .content {
    width: 50%;
    text-align: left;
    margin-bottom: 0;
  }

  .hero .logo {
    width: 40%;
  }

  .hero .voxel {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .mega-menu-column {
    flex: 1 1 210px;
    padding: 3px;
    margin: 0 0 20px;
  }

  .hero .logo svg {
    width: 250px;
    height: 250px;
  }

  .carousel-testimonials .carousel-item {
    width: 50%;
  }

  #menu-footer {
    display: block;
    justify-content: center;
    margin-top: 10px;
    line-height: 1.5rem;
  }

  #menu-footer li {
    margin: 0 10px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 7));
    }
  }
  
  .slide-track {
    width: calc(150px * 14);
  }
  
  .slide {
    width: 150px;
  }
  
  .logo-entreprises {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .carousel-testimonials .carousel-item {
    width: 100%;
  }
  
  :root {
    --carousel-elements-displayed: 3;
  }
  
  .carousel:before, .carousel:after { 
    width: 3rem; 
  }
  
  .carousel-content li img {
    max-width: 100px;
  }
}

/******************/
/**** Page 404 ****/
/******************/
/* Page 404 - Styles */
.error-404 {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Header de la page 404 */
.error-404 .page-header {
  margin-bottom: 2rem;
}

.error-404 .page-title {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Contenu principal */
.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .page-content > p {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Formulaire de recherche */
.error-404 .search-form {
  display: flex;
  max-width: 400px;
  margin: 0 auto 3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.error-404 .search-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.error-404 .search-field {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

.error-404 .search-field::placeholder {
  color: #94a3b8;
}

.error-404 .search-submit {
  background: linear-gradient(135deg, #00dfc0 0%, #03a992 100%);
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-404 .search-submit:hover {
  transform: scale(1.05);
}

.error-404 .search-submit svg {
  fill: white;
  width: 18px;
  height: 18px;
}

.error-404 .screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Actions 404 */
.error-404-actions {
  margin: 3rem 0;
}

.error-404-actions h2 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.error-404-actions ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-404-actions li {
  margin: 0;
}

.error-404 .button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #00dfc0 0%, #03a992 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  border: none;
  cursor: pointer;
}

.error-404 .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  color: white;
  text-decoration: none;
}

.error-404 .button:active {
  transform: translateY(0);
}

/* Articles récents */
.error-404 .recent-posts {
  margin-top: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.error-404 .recent-posts h2 {
  font-size: 1.6rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.error-404 .recent-posts ul {
  list-style: none;
  padding: 0;
}

.error-404 .recent-posts li {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.error-404 .recent-posts li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.error-404 .recent-posts a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.error-404 .recent-posts a:hover {
  color: #667eea;
  background: #f1f5f9;
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .error-404 .page-title {
    font-size: 2.5rem;
  }
  
  .error-404 .error-404-actions ul {
    flex-direction: column;
    align-items: center;
  }
  
  .error-404 .error-404-actions .button {
    width: 200px;
    text-align: center;
  }
  
  .error-404 .search-form {
    max-width: 100%;
  }
  
  .error-404 .recent-posts {
    margin: 2rem -1rem 0;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .error-404 {
    padding: 2rem 0.5rem;
  }
  
  .error-404 .page-title {
    font-size: 2rem;
  }
  
  .error-404 .page-content > p {
    font-size: 1rem;
  }
  
  .error-404 .search-field {
    padding: 0.8rem 1rem;
  }
  
  .error-404 .search-submit {
    padding: 0.8rem 1rem;
  }
}

/******************/
/****Page des "Search result" ****/
/******************/
/* Page de résultats de recherche - Styles */
.search-results .site-main {
  padding: 10rem;
  min-height: 70vh;
}

/* Header de la page de recherche */
.search-results .page-header {
  margin-bottom: 3rem;
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-results .page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0;
  line-height: 1.3;
}

.search-results .page-title span {
  color: #00dfc0;
  font-weight: 800;
}

/* Container des articles */
.search-results .posts-container {
  margin-bottom: 3rem;
}

.search-results #et-boc,
.search-results #et_builder_outer_content {
  width: 100%;
}

/* Styles des articles */
.search-results article {
  background: white;
  margin-bottom: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.search-results article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Header des articles */
.search-results .entry-header {
  padding: 2rem 2rem 1rem;
}

.search-results .entry-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.search-results .entry-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-results .entry-title a:hover {
  color: #00dfc0;
}

/* Meta données des articles */
.search-results .entry-meta {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
}

.search-results .entry-meta .posted-on {
  margin-right: 1rem;
}

.search-results .entry-meta .posted-by {
  color: #475569;
}

.search-results .entry-meta a {
  color: #00dfc0;
  text-decoration: none;
  font-weight: 500;
}

.search-results .entry-meta a:hover {
  color: #03a992;
  text-decoration: underline;
}

/* Résumé des articles */
.search-results .entry-summary {
  padding: 0 2rem;
}

.search-results .entry-summary p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Footer des articles */
.search-results .entry-footer {
  padding: 1rem 2rem 2rem;
}

.search-results .read-more {
  display: inline-block;
  background: linear-gradient(135deg, #00dfc0 0%, #03a992 100%);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 223, 192, 0.3);
}

.search-results .read-more:hover {
  background: linear-gradient(135deg, #03a992 0%, #028a76 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 223, 192, 0.4);
  color: white;
  text-decoration: none;
}

/* Navigation pagination */
.search-results .navigation.pagination {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem 0;
}

.search-results .navigation .screen-reader-text {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.search-results .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-results .page-numbers {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  background: white;
  color: #475569;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 45px;
  text-align: center;
}

.search-results .page-numbers:hover {
  background: #00dfc0;
  color: white;
  border-color: #00dfc0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 223, 192, 0.3);
}

.search-results .page-numbers.current {
  background: linear-gradient(135deg, #00dfc0 0%, #03a992 100%);
  color: white;
  border-color: #00dfc0;
  box-shadow: 0 4px 15px rgba(0, 223, 192, 0.3);
}

.search-results .page-numbers.next,
.search-results .page-numbers.prev {
  padding: 0.8rem 1.5rem;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-results .site-main {
    padding: 1rem 0;
  }
  
  .search-results .page-header {
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
  }
  
  .search-results .page-title {
    font-size: 1.8rem;
  }
  
  .search-results .entry-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .search-results .entry-title {
    font-size: 1.3rem;
  }
  
  .search-results .entry-summary {
    padding: 0 1.5rem;
  }
  
  .search-results .entry-footer {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  .search-results .nav-links {
    gap: 0.3rem;
  }
  
  .search-results .page-numbers {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .search-results .page-header {
    padding: 1rem;
  }
  
  .search-results .page-title {
    font-size: 1.5rem;
  }
  
  .search-results .entry-header {
    padding: 1rem 1rem 0.5rem;
  }
  
  .search-results .entry-title {
    font-size: 1.2rem;
  }
  
  .search-results .entry-summary {
    padding: 0 1rem;
  }
  
  .search-results .entry-footer {
    padding: 1rem;
  }
  
  .search-results .entry-meta {
    font-size: 0.8rem;
  }
  
  .search-results .entry-meta .posted-on {
    display: block;
    margin-bottom: 0.3rem;
    margin-right: 0;
  }
}