@charset "UTF-8";
header {
  background-color: var(--wp--preset--color--second-color);
  color: var(--wp--preset--color--main-typo);
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
header .header__container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}
header .header__logo {
  display: flex;
  align-items: center;
}
header .header__logo img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  background: #fff;
}
header .header__nav nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
header .header__nav nav ul li {
  position: relative;
}
header .header__nav nav ul li a {
  text-decoration: none;
  color: var(--wp--preset--color--main-typo);
  font-weight: 600;
  transition: opacity 0.3s;
}
header .header__nav nav ul li a:hover {
  opacity: 0.7;
}
header .header__nav nav ul li ul {
  display: none;
  position: absolute;
  top: 2rem;
  left: 0;
  background: var(--wp--preset--color--second-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
header .header__nav nav ul li ul li {
  padding: 0.5rem 0;
}
header .header__nav nav ul li:hover ul {
  display: block;
}

.page-template-front-page .hp_content .main-pres {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 3rem;
}
.page-template-front-page .hp_content .main-pres .mains-pres__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.7);
  z-index: 1;
}
.page-template-front-page .hp_content .main-pres__desc {
  position: relative;
  z-index: 3;
  color: var(--wp--preset--color--main-typo);
  max-width: 33%;
  font-size: 1.25rem;
  line-height: 1.6;
  padding: 0 40px;
  text-align: center;
  font-size: var(--wp--preset--font-size--x-large);
}
.page-template-front-page .hp_content .main-pres__desc__scroll i {
  font-size: 5rem;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}
.page-template-front-page .hp_content .main-pres__desc__scroll i:hover {
  transform: translateY(4px);
  opacity: 1;
}
.page-template-front-page .hp_content .main-pres::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.page-template-front-page .hp_content .main-pres .moon {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #fff 0%, #d4d4d4 40%, #999 70%, #000 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  transform: translate(0, 0) scale(1);
  box-shadow: 0px 0px 40px #fff, 0px 0px 80px 2px #fff;
}
.page-template-front-page .hp_content .presentation {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--wp--preset--color--main-color);
  overflow: hidden;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.3;
  text-align: center;
  padding-bottom: 3rem;
}
.page-template-front-page .hp_content .presentation .container .btn {
  margin-top: 1rem;
}
.page-template-front-page .hp_content .presentation .floating-shape {
  position: absolute;
  border-radius: 50%;
  background-color: var(--wp--preset--color--main-typo);
  animation: float 6s ease-in-out infinite;
  opacity: 0.15;
}
.page-template-front-page .hp_content .presentation .floating-shape.shape-1 {
  width: 40px;
  height: 40px;
  top: 10%;
  left: 15%;
}
.page-template-front-page .hp_content .presentation .floating-shape.shape-2 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 10%;
}
.page-template-front-page .hp_content .presentation .floating-shape.shape-3 {
  width: 70px;
  height: 70px;
  top: 80%;
  left: 35%;
}
.page-template-front-page .hp_content .projects {
  background-color: var(--wp--preset--color--main-typo);
  background-repeat: repeat;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.3;
}
.page-template-front-page .hp_content .projects__desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
  font-family: var(--wp--preset--font-family--base);
}
.page-template-front-page .hp_content .projects__desc p {
  margin: 0;
  color: var(--wp--preset--color--main-color);
}
.page-template-front-page .hp_content .projects .projectsSwiper {
  width: 100%;
  height: 350px;
  margin-bottom: 2rem;
}
.page-template-front-page .hp_content .projects .projectsSwiper .projects__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  color: var(--wp--preset--color--main-color);
}
.page-template-front-page .hp_content .projects .projectsSwiper .projects__nav-prev {
  left: 5px;
}
.page-template-front-page .hp_content .projects .projectsSwiper .projects__nav-next {
  right: 5px;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-wrapper {
  overflow: visible !important;
  position: relative;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: transparent !important;
  cursor: pointer;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide .web-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide .web-content .web-content__img {
  position: relative;
  width: 100%;
  height: 100%;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide .web-content .web-content__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide .web-content .web-content__img .web-content__infos {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  background: rgba(26, 31, 61, 0.45);
  color: #fff;
  transition: opacity 0.3s ease;
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide:hover .web-content__infos {
  opacity: 1 !important;
  transform: translateY(0);
}
.page-template-front-page .hp_content .projects .projectsSwiper .swiper-slide:hover .web-content img {
  transform: scale(1.05);
  filter: brightness(0.7);
}
.page-template-front-page .hp_content .skills {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpolygon points='20,0 40,40 0,40' fill='%238C7154' fill-opacity='0.05'/%3E%3Cpolygon points='10,20 20,40 0,40' fill='%238C7154' fill-opacity='0.05'/%3E%3Cpolygon points='30,20 40,40 20,40' fill='%238C7154' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  padding-bottom: 3rem;
}
.page-template-front-page .hp_content .skills .skills-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .page-template-front-page .hp_content .skills .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .page-template-front-page .hp_content .skills .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.page-template-front-page .hp_content .skills .skill-card {
  background-color: var(--wp--preset--color--second-color);
  padding: 1.5rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-template-front-page .hp_content .skills .skill-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--wp--preset--color--main-typo);
}
.page-template-front-page .hp_content .skills .skill-card h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: var(--wp--preset--color--main-typo);
}
.page-template-front-page .hp_content .skills .skill-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--wp--preset--color--main-typo);
}
.page-template-front-page .hp_content .skills .skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.page-template-front-page .hp_content .history {
  padding: 60px 0;
  background-color: var(--wp--preset--color--main-color);
}
.page-template-front-page .hp_content .history h2 {
  text-align: center;
  margin-bottom: 48px;
}
.page-template-front-page .hp_content .history .history__timeline {
  position: relative;
  width: 80%;
  margin: 0 auto;
}
.page-template-front-page .hp_content .history .history__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: #ccc;
  z-index: 1;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item {
  position: relative;
  width: 100%;
  min-height: 120px;
  padding: 60px 0;
  display: block;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item .dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item .dot__image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item .dot__image .round-img {
  width: 65%;
  height: 65%;
  object-fit: cover;
  display: block;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item .content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 420px;
  z-index: 2;
  line-height: 1.4;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item {
  /* ---- texte à GAUCHE (items impairs) ---- */
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item:nth-child(odd) .content {
  right: calc(50% + 120px);
  text-align: right;
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item {
  /* ---- texte à DROITE (items pairs) ---- */
}
.page-template-front-page .hp_content .history .history__timeline .history__timeline__item:nth-child(even) .content {
  left: calc(50% + 120px);
  text-align: left;
}
@media (max-width: 768px) {
  .page-template-front-page .hp_content .history .history__timeline {
    width: 100%;
  }
  .page-template-front-page .hp_content .history .history__timeline::before {
    left: 40px;
  }
  .page-template-front-page .hp_content .history .history__timeline .history__timeline__item {
    min-height: auto;
    padding: 20px 0;
  }
  .page-template-front-page .hp_content .history .history__timeline .history__timeline__item .dot {
    left: 40px;
    top: 16px;
    transform: translate(0, 0);
  }
  .page-template-front-page .hp_content .history .history__timeline .history__timeline__item .content {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    margin-left: 80px;
    width: calc(100% - 100px);
    text-align: left !important;
  }
}
.page-template-front-page .hp_content .contact {
  background-color: var(--wp--preset--color--main-typo);
}
.page-template-front-page .hp_content .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.page-template-front-page .hp_content .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -20px);
  }
}
body {
  color: var(--wp--preset--color--main-typo);
  font-family: var(--wp--preset--font-family--base);
}
body h2 {
  position: relative;
  display: inline-block;
  font-family: var(--wp--preset--font-family--base);
  font-size: var(--wp--preset--font-size--xx-large);
  text-align: center;
  margin-bottom: 2.5rem;
  width: 100%;
}
body h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
  width: 120px;
  height: 6px;
  background-color: #F4EFFF;
  border-radius: 15px;
}
body h2.dark {
  color: var(--wp--preset--color--main-color);
}
body h2.dark::after {
  background-color: var(--wp--preset--color--main-color);
}
body .btn {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}
body .btn.btn-light {
  background-color: var(--wp--preset--color--third-color);
  color: var(--wp--preset--color--main-typo);
}
body .btn.btn-light:hover {
  color: var(--wp--preset--color--main-typo);
  box-shadow: 0 0 20px rgba(135, 135, 135, 0.75);
  transform: translateY(-2px);
}
body .btn.btn-dark {
  background-color: #8C7154;
  color: #fff;
}
body .btn.btn-dark:hover {
  box-shadow: 0 0 20px rgba(140, 113, 84, 0.5);
  transform: translateY(-2px);
}
body .btn.btn-pale {
  background-color: #d6e1f2;
  color: #8C7154;
}
body .btn.btn-pale:hover {
  box-shadow: 0 0 20px rgba(140, 113, 84, 0.5);
  transform: translateY(-2px);
}
body main .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}
body main .projects {
  color: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--gravur);
  font-size: var(--wp--preset--font-size--xx-large);
}

body {
  margin: 0;
  padding: 0;
}
