/* ========================================
   VARIABLES
   ======================================== */
:root {
  --primary-color: #dba5a7;
  --secondary-color: #a1887f;
  --light-color: #ffffff;
  --dark-color: #9c6365;
  --text-color: #fff5ed;
  --light-text: #9c6365;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-color);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

h2 {
  font-family: "Century Gothic regular", sans-serif;
  font-size: 40px;
  text-align: left;
  margin-bottom: 3rem;
}

p {
  margin-bottom: 1.5rem;
}

section {
  width: 100vw;
  padding: 5rem;
  background-color: #dba5a7;
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #dba5a7ef;
  box-shadow: 0 2px 10px rgba(91, 14, 39, 0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1;
  font-weight: bold;
  color: var(--primary-color);
  z-index: 1002;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-bottom: 0;
  z-index: 1001;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--light-color);
  text-decoration: underline;
}

/* Menu burger */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: url("ArmonyS.png") center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: left;
  color: var(--light-text);
  padding: 0;
  margin: 0;
  width: 100vw;
  z-index: 1;
}

.hero-content {
  max-width: 320px;
  margin-left: 5rem;
}

.hero p {
  font-size: 1rem;
  margin: 1rem 0 2rem 0;
  color: var(--light-text);
  font-weight: 500;
  line-height: 1rem;
}

/* ========================================
   RÉFLEXOLOGIE
   ======================================== */
.reflexology-content {
  margin-top: 2rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.reflexology-left {
  padding-top: 1rem;
  flex: 1 1 420px;
  min-width: 300px;
  line-height: 20px;
}

.reflexology-right {
  flex: 1 1 420px;
  min-width: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.reflexology-shape {
  position: absolute;
  right: -30%;
  top: 20%;
  width: 140%;
  height: 120%;
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
}

.reflexology-image {
  height: 500px;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: url("reflexophoto.png") center/cover no-repeat;
  border-radius: 12px;
}

.reflexology-caption {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

/* ========================================
   SÉPARATEURS
   ======================================== */
.separator-shape {
  width: 100vw;
  margin: 7rem 0 2rem 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================
   CABINET
   ======================================== */
.cabinet {
  padding: 6rem 2rem;
  background: var(--primary-color);
}

.cabinet-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cabinet-text-block {
  flex: 0 0 40%;
  text-align: right;
  transform: translateY(-70%);
  padding-right: 4rem;
}

.cabinet-text-block h2 {
  margin: 0 0 1rem 0;
  font-size: 3.2rem;
  text-align: right;
  text-wrap: nowrap;
}

.cabinet-text-block p {
  line-height: 1.6;
  font-size: 1rem;
}

.cabinet-media {
  flex: 0 0 52%;
  height: 420px;
  max-width: 950px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4rem;
}

.cabinet-shape {
  position: absolute;
  width: 120%;
  height: auto;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
}

.cabinet-photo {
  position: absolute;
  border-radius: 14px;
  object-fit: cover;
  z-index: 1;
}

.photo-back {
  width: 95%;
  height: 95%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.photo-front {
  width: 95%;
  height: 95%;
  right: 0;
  top: 50%;
  transform: translateY(-10%) translateX(70%);
  z-index: 2;
}

/* ========================================
   TARIFS
   ======================================== */
#tarifs {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem 6rem 2rem;
}

#tarifs h2,
#tarifs p {
  text-align: center !important;
  margin-bottom: 2rem;
}

.pricing-cards {
  font-size: 18px;
  display: grid;
  grid-template-columns: repeat(3, 270px);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.pricing-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card img {
  width: 100%;
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 1rem;
}

.pricing-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
  min-height: 60px;
}

.pricing-card.card-1 {
  background-color: #9c6365;
}
.pricing-card.card-2 {
  background-color: #b96f72;
}
.pricing-card.card-3 {
  background-color: #c1797d;
}

.price {
  font-size: 18px;
  color: var(--dark-color);
  margin: 1rem 0;
  background-color: var(--text-color);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  display: inline-block;
  align-self: center;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  background: url("contactbg.png") center/cover no-repeat;
  color: var(--dark-color);
  padding: 6rem 4rem 8rem 4rem;
  width: 100vw;
  min-height: 600px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.contact h2 {
  color: var(--dark-color);
  text-align: left;
  margin-bottom: 2rem;
  margin-left: 2rem;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-left: 1.5rem;
}

.contact-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 4px;
}

.contact-item h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dark-color);
}

.contact-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--dark-color);
}

.email-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  width: 100%;
  height: 400px;
  background-color: #eee;
  border-radius: 30px;
  overflow: hidden;
  border: solid 5px var(--primary-color);
}

/* ========================================
   ALIGNEMENT DES LISTES
   ======================================== */
.reflexology-left ul {
  padding-left: 1.5rem;
  margin-left: 0;
}

.reflexology-left li {
  margin-bottom: 0.5rem;
  position: relative;
}

/* Alignement précis des puces avec le texte */
.reflexology-left ul li::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: var(--text-color);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 3rem 2rem;
  background-color: var(--primary-color);
  color: var(--text-color);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  gap: 12rem;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.footer-logo img {
  display: block;
  width: 100px;
  height: auto;
}

.footer-text {
  text-align: left;
  color: var(--text-color);
  line-height: 0.3;
  margin-bottom: 1rem;
}

.footer-text a {
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-text a:hover {
  color: white;
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE MOBILE & TABLET
   ======================================== */
@media (max-width: 768px) {
  /* Navigation */
  .nav-container {
    padding: 1rem 1.5rem;
  }

  .burger-menu {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 75%;
    max-width: 320px;
    height: 100vh;
    padding: 5rem 0 2rem 0;
    margin: 0;
    box-shadow: -2px 0 20px rgba(91, 14, 39, 0.2);
    transition: right 0.4s ease-in-out;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid rgba(255, 238, 225, 0.2);
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    background-color: rgba(255, 238, 225, 0.1);
  }

  /* Hero */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(219, 165, 167, 0.475);
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
  }

  .hero-content img {
    filter: brightness(0) invert(1);
    margin: 0 auto;
    display: block;
  }

  .hero p {
    color: white;
  }

  /* Sections */
  section {
    padding: 2rem 1rem;
  }

  /* Réflexologie */
  .reflexology-content {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .reflexology-left h2 {
    text-align: center;
  }

  .reflexology-right {
    align-items: center;
  }

  .reflexology-image {
    width: 100%;
    height: auto;
  }

  .reflexology-caption {
    text-align: left;
    width: 100%;
  }

  /* Cabinet - FIX ESPACEMENT */
  .cabinet {
    padding: 2rem 1rem !important; /* Réduit considérablement le padding */
  }

  .separator-shape {
    margin: 2rem 0 !important; /* Réduit l'espacement des séparateurs */
  }

  .cabinet-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .cabinet-media {
    width: 100%;
    height: auto;
    margin-left: 0;
    order: 2;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .cabinet-text-block {
    order: 1;
    text-align: center;
    transform: none;
    padding-right: 0;
    width: 100%;
  }

  .cabinet-text-block h2 {
    text-align: center;
    font-size: 2.5rem;
  }

  .cabinet-photo {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 auto;
  }

  .cabinet-shape {
    display: none;
  }

  /* Séparateurs */
  .separator-shape {
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
  }

  .separator-shape img {
    min-height: 60px;
  }

  /* Tarifs */
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Contact */
  .contact {
    padding: 3rem 2rem 4rem 2rem;
    margin-left: -50vw;
    width: 100vw;
  }

  .contact h2 {
    margin-left: 0;
    text-align: center;
  }

  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-item {
    margin-left: 0;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-text {
    text-align: center;
    line-height: 1.6;
  }
}

/* Tarifs breakpoints supplémentaires */
@media (max-width: 1100px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 280px);
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 300px);
  }
}

@media (max-width: 650px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .contact {
    min-height: 900px; /* Hauteur plus grande sur mobile */
    padding: 4rem 2rem 6rem 2rem;
    /* Le contenu reste à sa taille normale */
  }
}
