@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Roboto", sans-serif !important;
  color: #000000;
  letter-spacing: 0.5px;
  font-optical-sizing: auto;
  font-weight: 400 !important;
  font-style: normal;
  box-sizing: border-box;
}

.categories-projets-grid {
  max-width: 1775px;
  margin: auto;
  display: grid;
  gap: 10px;
  grid-template-columns: 25% 25% 24% 24%;
  grid-template-rows: 265px 265px 265px;
}

p {
  margin-bottom: 0 !important;
}

.categorie-projet:nth-child(1) {
  grid-row: 1/3;
}

.categorie-projet:nth-child(2) {
  grid-row: 1/3;
}

.categorie-projet:nth-child(3) {
  grid-column: span 2;
}

.categorie-projet:nth-child(4) {
  grid-column: span 2;
}

.categorie-projet:nth-child(5) {
  grid-column: span 2;
}

.categorie-projet:nth-child(6) {
  grid-column: span 2;
}

.categorie-projet {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.categorie-projet img {
  border-radius: 20px;
  display: block;
  width: 100%;
  height: auto;
  height: 100%;
}

.categorie-link .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  border-radius: 0 0 20px 20px;
}

.cat-desc {
  display: block;
  font-size: 26px;
}

.cat-desc p,
.cat-desc {
  margin-bottom: 0px !important;
  font-weight: 300;
}

.cat-name {
  display: block;
  font-size: 32px;
  font-weight: 600;
  margin-top: 5px;
}

.arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
}


.img-mobile {
  display: none;
}




/******************Page access*************************/

.container-access {
  height: 90vh;
  max-width: 100%;
  display: flex;
  align-items: center;
  margin: auto;
  vertical-align: middle;
  text-align: center;
  justify-content: center;

}



.container-access .par {
  font-size: 24px;
  margin-top: 5px;
}


.container-access .form-item {
  display: flex;
  flex-direction: column;
  margin-top: 60px;
}



.container-access h1 {
  margin: 0 !important;
  font-size: 105px;
  font-weight: 400;
  color: #1d1d4e;
}

.container-access input {
  max-height: 60px;
  padding: 21px 27px;
  margin-top: 12px;
  border-radius: 50px;
  border: 1px solid #ddd;
  font-size: 20px;
  color: #000;

}

.container-access input:focus {
  border: 1px solid #1d1d4e !important;
  box-shadow: none;
  outline: none;
}

.container-access input::placeholder {
  text-align: center;
}

.container-access button {
  width: 100%;
  height: 60px;
  margin-top: 18px;
  background: #1d1d4e;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 23px;
  font-weight: bold;
  cursor: pointer;
}

.container-access .error {
  color: red;
  margin-top: 10px;
}


/******************Page access*************************/


/* Menu vertical */

/* ----------------- MENU DESKTOP ----------------- */
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  /* horizontal desktop */
}

.menu li {
  position: relative;
}

.menu ul {
  display: flex;
  list-style: none;
  padding: 0;
}

header .menu {
  border-bottom: 2px solid #070026;
  width: 100%;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
}

.site-header {
  max-width: 1775px !important;
}

.menu li a {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 13px;
}

.menu li {
  margin-right: 2rem;
}

/* Ligne animée au hover */
.menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 6px;
  left: 0;
  bottom: -3.5px;
  background-color: #070026;
  transition: width 0.3s ease;
}

.menu li a:hover::after {
  width: 100%;
}

.menu li.current_page_item a::after,
.menu li.current_page_ancestor a::after {
  width: 100%;
}

 button {
  margin: 10px 0 0 0 !important;
}

/* ----------------- MOBILE SIDEBAR ----------------- */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  float: right;
  margin-bottom: 1rem;
}

.sidebar {
  position: static;
  /* desktop default */
  width: 100%;
  height: auto;
  background: transparent;
  padding: 0;
}

/* Bouton X */
.close-btn {
  display: none;
}




.expr {
  font-weight: 400;
  font-size: 25px;
  font-style: normal;
}

.flex-inline .elementor-element-populated>div {
  width: 50px;
  margin-right: 25px;
  margin-block-end: 20px;
}

.flex-inline .elementor-element-populated>div:last-child {
  margin-right: 0;
  margin-bottom: 0;
}

.img-back .elementor-element-populated {
  padding-right: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 0 !important;
}

.footer-has-copyright {
  display: none;
}




.about-me-section .elementor-column-gap-default {
  gap: 30px;
}

body {
  overflow-x: hidden;
}

/* .section-right{
 margin-right:150px !important;
} */


.title-10-ans h2 sapn {
  font-size: 32px !important;
  font-weight: 300 !important;
}


.img-click {
  width: 40px !important;
  height: 40px !important;
}


.section-right .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.no-gap .elementor-column-gap-default {
  gap: 0px !important;
}



/* MOBILE */
@media (max-width: 768px) {

  /* Bouton hamburger visible */
  .menu-toggle {
    display: block;
  }

  /* Sidebar cachée par défaut */
  .sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #111;
    padding: 40px 20px;
    transition: 0.3s ease-in-out;
    z-index: 9999;
  }

  /* Sidebar ouverte */
  .sidebar.open {
    right: 0;
  }

  /* Bouton X */
  .close-btn {
    display: block;
    background: none;
    border: none;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
  }

  /* Menu vertical */
  .menu {
    flex-direction: column;
    margin-top: 50px;
    gap: 20px;
  }

  .menu li a {
    color: #fff;
    font-size: 20px;
  }

  .menu ul {
    display: block;
  }
}

.projets-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.projet-item {
  background: #fff;
  margin-bottom: 20px;
  color: #000000;
}

.projet-item img {
  width: 100%;
  box-shadow: 0 6px 6px rgb(0 0 0 / 10%) !important;
  border-radius: 26px !important;
  margin-bottom: 10px;
}

.projet-item h3 {
  margin: 0 0 5px;
  font-size: 26px;
  color: #000000;
}

.projet-item p {
  margin: 0 0 10px;
  font-size: 16px;
  color: #000000;
}



.elementor-section .elementor-container {
  max-width: 1775px;
}

.card-project .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
  padding: 0px !important;
}

.elementor-slideshow__title {
  display: none;
}





@media (max-width: 1536px) {

  .elementor-section .elementor-container {
    max-width: 1366px;
    padding: 0 20px;

  }

  .categories-projets-grid {
    max-width: 1366px;
    grid-template-rows: 210px 210px 210px;
    padding: 0 20px;
  }

  .site-header {
    max-width: 1366px !important;
    padding: 0 20px !important;
  }

    .no-gap .elementor-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important
  }

  .no-gap .elementor-element-populated {
    padding: 0 !important;
  }

  .no-gap {
    padding-bottom: 0 !important
  }
}






/* Responsive */
@media (max-width: 1024px) {
  .projet-item {
    width: calc(50% - 10px) !important;
  }

  .categories-projets-grid {
    grid-template-columns: 50% 50%;
    grid-template-rows: 200px 200px 200px 200px 200px 200px;
  }

  .categorie-projet:nth-child(1) {
    grid-row: 1/3;
  }

  .categorie-projet:nth-child(2) {
    grid-row: 1/3;
  }

  .categorie-projet:nth-child(3) {
    grid-row: span 2;
    grid-column: inherit;
  }

  .categorie-projet:nth-child(4) {
    grid-row: span 2;
    grid-column: inherit;
  }

  .categorie-projet:nth-child(5) {
    grid-row: span 2;
    grid-column: inherit;
  }

  .categorie-projet:nth-child(6) {
    grid-row: span 2;
    grid-column: inherit;
  }

  .img-desktop {
    display: none !important;
  }

  .img-mobile {
    display: block;
  }

  .arrow {
    bottom: 55px;
	right: 0;
  }

  .arrow img {
    width: 64%
  }
    .container-access {
    padding: 0 10px;
  }

  .container-access h1 {
    font-size: 60px;
  }

  .container-access .par {
    font-size: 17px;
  }

  .container-access label {
    font-size: 16px;
  }

}

@media (max-width: 600px) {
  .projet-item {
    width: 100% !important;
  }

  .categories-projets-grid {
    grid-template-columns: 100%;
    grid-template-rows: 200px 200px 200px 200px 200px 200px 200px 200px 200px 200px 200px 200px;
  }

  .categorie-projet:nth-child(1) {
    grid-row: span 2;
  }

  .categorie-projet:nth-child(2) {
    grid-row: span 2;
  }

  .categorie-projet:nth-child(3) {
    grid-row: span 2;
    grid-column: inherit;
  }

  .categorie-projet:nth-child(4) {
    grid-row: span 2;

  }

  .categorie-projet:nth-child(5) {
    grid-row: span 2;

  }

  .categorie-projet:nth-child(6) {
    grid-row: span 2;

  }
}




@media(max-width:1536px) and (min-width:1025px) {
  .avatar img {
    width: 190px !important;
    height: 190px !important;
  }

  .consult p {
    font-size: 20px;
  }

  .consult .elementor-widget-container {
    padding-bottom: 165px !important;
  }

  .h-28 h2 {
    font-size: 28px !important;
  }

  .f-16 p {
    font-size: 16px !important;
    line-height: 25px;
  }

  .portf h2{
     font-size: 60px !important;
  }

  .nowrap a{
  text-wrap: nowrap;
  }
  .img-back img{
    width: 70% !important;
    padding-top: 30px;
  }
  .img-back .elementor-widget-container{
    padding: 0 !important;
  }
  .expr-10 {
    margin: 20px 0 !important;
  }

  .title-10-ans h2 {
    font-size: 40px !important;
  }

  .h2-expr h2 {
    font-size: 24px !important;
  }

  .comment- .elementor-widget-container {
    margin: 10px 0 10px 0 !important;
  }

  .comment- h2 {
    font-size: 32px !important
  }

  .section-left >.elementor-element-populated {
    padding: 20px !important;
  }
}

.page-item-1480{
	display:none;
}

@media(min-width:1537px) {
  .with-mar .elementor-container {
    max-width: 85% !important;
    margin-left: inherit !important;
  }
}