/* ==========================================================================
   VARIABLES ET RESET ESTHETIQUE
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

:root {
  --color-accent: #c49d79;
  --color-plum: #9a1c6a;
  --color-pink: #b82b70;
  --bg-light: #fdfbf7;
  --text-dark: #1a1614;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 90vh;
  background-image: url("../images/home_img.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  padding: 0 50px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 6vw, 85px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
  max-width: 800px;
}

.hero-title em {
  font-style: italic;
  color: var(--bg-light);
}

.btn-outline-light {
  display: inline-block;
  padding: 16px 45px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  background: transparent;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--text-dark);
}

.fixed-scroll-link {
  position: absolute;
  bottom: 40px;
  right: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.fixed-scroll-link:hover {
  opacity: 1;
}

/* ==========================================================================
   2. SECTION A PROPOS
   ========================================================================== */
.about-section {
  padding: 140px 50px;
  background-color: var(--bg-light);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-images {
  position: relative;
  aspect-ratio: 3/4;
}

.img-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 90%;
  object-fit: cover;
}

.img-front {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 60%;
  object-fit: cover;
  border: 10px solid var(--bg-light);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-surtitle {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: block;
}

.about-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 30px;
}

.about-text {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.schedule-wrapper {
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
}

.schedule-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 25px auto;
  max-width: 340px;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.schedule-list .closed {
  color: var(--color-accent);
  font-weight: 500;
}

.schedule-note-block {
  margin-bottom: 25px;
}

.schedule-note {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin: 4px 0;
}

.link-elegant {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 5px;
  transition:
    color 0.3s,
    border-color 0.3s;
  display: inline-block;
}

.link-elegant:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ==========================================================================
   3. PRESTATIONS
   ========================================================================== */
.services-section {
  padding: 120px 50px;
  background-color: #ffffff;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.service-card {
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  padding: 20px;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  height: 50px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.service-icon img {
  height: 100%;
  width: auto;
  opacity: 0.8;
}

.service-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 15px;
}

.service-arrow {
  font-size: 18px;
  color: var(--color-accent);
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
  display: inline-block;
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* ==========================================================================
   4. GALERIE (L'Expérience)
   ========================================================================== */
.experience-section {
  padding: 120px 50px;
  background-color: #ffffff;
}

.experience-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.gal-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.gal-item:nth-child(even) {
  transform: translateY(40px);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gal-item:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   5. TÉMOIGNAGES
   ========================================================================== */
.reviews-section {
  padding: 120px 50px;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-header-center {
  display: block !important;
  text-align: center !important;
  width: 100%;
  margin-bottom: 60px;
}

.reviews-header-center .about-title {
  text-align: center !important;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.review-card {
  background: #24201e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.quote-mark {
  font-family: "Playfair Display", serif;
  font-size: 50px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 15px;
  display: block;
}

.review-text {
  font-family: "Roboto", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #d1cfcd;
  margin-bottom: 25px;
}

.review-author {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.review-author strong {
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
}

/* ==========================================================================
   6. OFFRES DU MOMENT
   ========================================================================== */
.actus-section {
  padding: 120px 50px;
  background-color: var(--bg-light);
}

.actus-container {
  max-width: 1200px;
  margin: 0 auto;
}

.actus-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 30px;
}

.actus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
}

.actu-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.actu-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 25px;
  background-color: #eee;
}

.actu-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.actu-card:hover .actu-image-wrapper img {
  transform: scale(1.05);
}

.actu-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  padding: 6px 14px;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.actu-meta {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.actu-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--text-dark);
  margin: 0 0 15px 0;
  line-height: 1.3;
  font-weight: 400;
}

.actu-desc {
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.actu-readmore {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.actu-readmore::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--text-dark);
  transition: width 0.3s;
}

.actu-card:hover .actu-readmore {
  color: var(--color-accent);
}

.actu-card:hover .actu-readmore::after {
  width: 50px;
  background-color: var(--color-accent);
}

/* ==========================================================================
   7. POPUP
   ========================================================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 22, 20, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: none;
  padding: 20px;
  box-sizing: border-box;
}

.popup-box {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  position: relative;
  display: flex;
  flex-direction: row;
  animation: popupFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.popup-close:hover {
  color: var(--text-dark);
}

.popup-image {
  flex: 0 0 45%;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.popup-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 20px 0;
  color: var(--text-dark);
  line-height: 1.2;
}

.popup-content p {
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 35px;
}

.popup-btn {
  align-self: flex-start;
  display: inline-block;
  padding: 14px 35px;
  background-color: var(--text-dark);
  color: #ffffff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.3s;
}

.popup-btn:hover {
  background-color: var(--color-accent);
}

/* ==========================================================================
   8. SCROLL TOP BUTTON
   ========================================================================== */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#myBtn:hover {
  background-color: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* --- RESPONSIVE GENERAL --- */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 80vh;
  }
  .about-section,
  .services-section,
  .experience-section,
  .reviews-section,
  .actus-section {
    padding: 80px 30px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .actus-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .popup-box {
    flex-direction: column;
  }
  .popup-image {
    min-height: 250px;
    width: 100%;
  }
  .popup-content {
    padding: 40px 30px;
  }
  .gal-item:nth-child(even) {
    transform: translateY(0);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fixed-scroll-link {
    right: 100px; /* Réduit la marge de droite pour éviter la coupure */
    font-size: 11px; /* Réduit légèrement la taille pour mieux tenir */
  }
}
