
body {
  background: #e7d4c7;
  color: #ffffff;
}
/* ----------------------- */
/*  HEADER  */
/* ----------------------- */
.page-wrapper {
  height: calc(100vh - 32px);
  padding: 8px;
}
.layout {
  display: flex;
  gap: 8px;
  height: 100%; 
}
/* ----------------------- */
/*  COLONNE GAUCHE         */
/* ----------------------- */
.left-panel {
  flex: 0 0 40%;
  background: #414129;
  color: #ffffff;
  padding: 40px 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Texte gauche */
.left-content {
    width: 280px; 
}
.left-subtitle {
  font-size: 50px;
  margin: 0 0 10px;
}
.left-title {
  font-size: 45px;
  color: #d26d1b;
  margin: -7px 0 0;
}
.left-description { 
    width: 500px;
  font-size: 18px;
  line-height: 1.5;
}
/* Burger */
.burger {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 32px;
  border: none;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* === MENU OVERLAY === */
.nav-links {
  position: fixed;
  inset: 0;
  background: rgba(76, 76, 48, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 20;
}

.nav-links.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.nav-links ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  padding: 0;
  margin: 0;
}

.nav-links li {
  list-style: none;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

/* Animation d’apparition progressive des liens */
.nav-links.active li:nth-child(1) { animation-delay: 0.2s; }
.nav-links.active li:nth-child(2) { animation-delay: 0.35s; }
.nav-links.active li:nth-child(3) { animation-delay: 0.5s; }
.nav-links.active li:nth-child(4) { animation-delay: 0.65s; }
.nav-links.active li:nth-child(5) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links a {
  color: white;
  font-size: 2rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #d2691e;
}

/* Le burger doit passer devant l’overlay */
.burger {
  z-index: 30;
}

/* Animation X du burger quand le menu est ouvert */
.burger.active span:nth-child(1) {
  transform: translateY(15px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-12px) rotate(-45deg);
}

/* Logo */
.logo-circle {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Réseaux sociaux */
.socials {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.socials-label {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.socials-icons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Zoom au survol */
.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.social-icon:hover .social-icon-img {
  transform: scale(1.15);
}
/* ----------------------- */
/*  COLONNE DROITE         */
/* ----------------------- */
.right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card {
  position: relative;
  overflow: hidden;
}
.hero-image {
  flex: 1.2;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottom-row {
  flex: 1;
  display: flex;
  gap: 8px;
}

.services-card {
  flex: 1;
  background: #414129;
  display: flex;
  align-items: stretch;
}

.services-card::before,
.services-card::after {
  content: "";
  position: absolute;
  border: 2px solid #f5ebe1;
  pointer-events: none;
}

.services-card::before {
  inset: 14px;
}

.services-card::after {
  inset: 24px;
}

.services-inner {
  position: relative;
  z-index: 1;
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.services-subtitle {
  margin: 0 0 6px;
  font-size: 45px;
    font-family: "Libre Baskerville", serif;
}
.services-title {
  margin: 0;
  font-size: 38px;
  color: #d26d1b;
}
.boxbutton{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.btn-prestations {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  font-size: 26px;
  color: white;
  text-decoration: none;
  border-radius: 40px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s ease;
  width: 190px;
  margin-left: 20px;
}
.btn-prestations::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 50%;
  width: 15px;
  height: 15px;
  background: #ca5900;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(3);
  transition: all 2s ease;
  z-index: 0; 
}
.highlight{
  font-size: 26px ;
  color: white;
}

.btn-prestations:hover::before {
  width: 600%;
  height: 600%;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.btn-prestations .text,
.btn-prestations .arrow {
  position: relative;
  z-index: 2;
}
.btn-prestations .arrow {
  padding-left: 5px;
}
.btn-prestations:hover {
  color: #4c4c30;

}
.secondary-image {
  flex: 1;
}

.secondary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lang-btn{
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
  opacity: .7;
  transition: transform .15s ease, opacity .15s ease;
}

.lang-btn:hover{
  opacity: 1;
  transform: scale(1.06);
}
.lang-btn img{
  width: 45px;
  height: 45px;
  display: block;
}
.gt-hidden{
  display: none;
}
/* ----------------------- */
/*  RESPONSIVE             */
/* ----------------------- */

/* ========================= */
/*  TABLETTE / SMALL DESKTOP */
/* ========================= */
@media (max-width: 1300px) {
  .left-description{
    width: 390px;
  }
}
@media (max-width: 1200px) {
  .services-title{
    font-size: 24px;
  }
   .services-subtitle{
    font-size: 28px;
  }
}
@media (max-width: 1024px) {

  /* le header s’adapte à la hauteur du contenu */
  .burger{
    left: 45%;
  }
  .logo-circle{
    right: 50px;
  }
  .page-wrapper {
    height: auto;
    padding: 8px 0 16px;
  }

  .layout {
    height: auto;
    flex-direction: column;
  }

  .left-panel {
    flex: none;
    padding: 24px 24px 24px;
  }

  .left-content {
    max-width: 100%;
  }

  .left-description {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .right-panel {
    min-height: 260px;
  }

  .bottom-row {
    gap: 10px;
  }
}

/* ========================= */
/*  MOBILE                   */
/* ========================= */
@media (max-width: 600px) {
  .logo-circle{
    right: 20px;
  }
  html,
  body {
    overflow-x: hidden;
  }

  .page-wrapper {
    padding: 8px 0 12px;
  }

  .left-panel {
    padding: 20px 16px 24px;
  }

  .left-subtitle {
    font-size: 32px;
    margin-bottom: 4px;
  }

  .left-title {
    font-size: 28px;
    margin: 0 0 10px;
  }

  .left-description {
    font-size: 14px;
  }

  /* réseaux sociaux masqués sur petit écran */
  .socials {
    display: none;
  }

  /* colonne droite en pile */
  .right-panel {
    gap: 8px;
  }

  .bottom-row {
    flex-direction: column;
  }

  .services-inner {
    padding: 50px 50px;
  }

  .services-subtitle {
    font-size: 32px;
  }

  .services-title {
    font-size: 26px;
  }

  .btn-prestations {
    font-size: 20px;
    width: 170px;
    margin-left: 0;
  }

  .highlight {
    font-size: 20px;
  }
}
