:root {
  --primary-color: #e6ded4; /* Sable chaud */
  --secondary-color: #f8f5f0; /* Crème vanillée */
  --accent-color: #d1d1d1; /* Gris perle */
  --text-color: #4b403d; /* Brun cendré */
  --dark-hover: #3a2f2b; /* Brun plus foncé pour hover */
  --white: #ffffff; /* Blanc pur */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--secondary-color); /* Fond global crème vanillée */
  color: var(--text-color);
  line-height: 1.8;
  overflow-x: hidden;
}

body p {
  text-align: justify;
  font-size: 1.2rem;
  color: var(--text-color);
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

h1 {
  color: var(--text-color); /* Brun cendré pour Kimberley Guillon */
}

.white-bg h2 {
  color: var(--primary-color); /* Sable chaud sur fond blanc */
}

.creme-bg h2 {
  color: var(--text-color); /* Brun cendré sur fond crème vanillée */
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fixed Logo */
.fixed-logo {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
}

.logo-image {
  width: 250px;
  height: auto;
  transition: transform 0.3s ease;
}

.fixed-logo:hover .logo-image {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .logo-image {
    width: 150px;
  }
}

/* Header */
header {
  position: relative;
  padding: 4rem 2rem 4rem;
  min-height: 100vh;
  background: var(--secondary-color); /* Crème vanillée */
}

.header-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.header-logo {
  max-width: 600px;
  width: 100%;
  height: auto;
  align-self: center;
}

.header-text {
  text-align: left;
}

header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

header p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

header a[href^="tel"] {
  color: var(--text-color);
  text-decoration: none;
}

header a[href^="tel"]:hover {
  color: var(--primary-color);
}

/* Buttons */
.contact-btn, .appointment-btn, .rosa-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-btn {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.contact-btn:hover {
  background-color: #d8d0c6;
  transform: translateY(-3px);
}

.appointment-btn {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.appointment-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.rosa-btn {
  background-color: var(--primary-color);
  color: var(--text-color);
  font-size: 1.1rem;
}

.rosa-btn:hover {
  background-color: #d8d0c6;
  transform: translateY(-3px);
}

/* Navigation */
.main-nav {
  position: relative;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(75, 64, 61, 0.15);
  border-radius: 30px;
  padding: 1rem;
  margin: 1rem auto;
  max-width: 800px;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  transform: scale(1.1); /* Agrandissement au survol */
  color: var(--dark-hover); /* Brun foncé subtil */
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger div {
  width: 35px;
  height: 4px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .main-nav {
    background: transparent;
    border-radius: 0;
    margin: 0.5rem auto;
    box-shadow: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(75, 64, 61, 0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .hamburger {
    display: flex; /* Toujours visible sur mobile */
  }

  .header-logo {
    max-width: 400px;
  }
}

/* Sections */
section {
  padding: 6rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Intro Section */
.intro-section {
  background: var(--white);
}

.intro-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.intro-image {
  max-width: 350px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(75, 64, 61, 0.1);
}

.intro-text {
  flex: 1;
  min-width: 300px;
}

/* Styled schedule list */
.schedule-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.schedule-list > li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: justify;
}

.schedule-list > li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-color);
  font-size: 1.5rem;
  line-height: 1.2rem;
}

.schedule-list ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.schedule-list ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: justify;
}

.schedule-list ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-color);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .schedule-list > li {
    font-size: 1.1rem;
    padding-left: 1.8rem;
    text-align: left;
  }

  .schedule-list > li::before {
    font-size: 1.3rem;
    line-height: 1.1rem;
  }

  .schedule-list ul li {
    font-size: 1.1rem;
    padding-left: 1.3rem;
    text-align: left;
  }

  .schedule-list ul li::before {
    font-size: 1.1rem;
  }
}

/* Approche Section */
.approche-content {
  text-align: center;
}

.approche-text {
  max-width: 700px;
  margin: 0 auto;
}

/* Pour qui Section */
#pourqui {
  background: var(--white); /* Fond blanc */
}

.pourqui-content {
  text-align: center;
}

/* Qui suis-je Section */
.apropos-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.apropos-image {
  max-width: 350px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(75, 64, 61, 0.1);
}

.apropos-text {
  flex: 1;
  min-width: 300px;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
}

.gallery-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(75, 64, 61, 0.2);
}

/* Lieu Section */
.lieu-content {
  margin-top: 2rem;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(75, 64, 61, 0.1);
}

/* Contact Popup */
.contact-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(75, 64, 61, 0.5);
  z-index: 1200;
  justify-content: center;
  align-items: center;
}

.contact-popup.active {
  display: flex;
}

.popup-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: pop 0.3s ease-out;
}

@keyframes pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.close-popup:hover {
  color: var(--primary-color);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.rosa-cta {
  margin-top: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

/* Footer */
footer {
  background: var(--accent-color);
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-color);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 3rem 1rem 3rem;
    min-height: 80vh;
  }

  header h1 {
    font-size: 2.5rem;
  }

  .header-content {
    align-items: center;
  }

  .header-text {
    text-align: center;
  }

  .intro-content,
  .apropos-content {
    flex-direction: column;
    align-items: center;
  }

  .intro-image,
  .apropos-image {
    max-width: 100%;
  }

  body p {
    text-align: left;
  }
}