/* Reset simple */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Couleurs principales */
:root {
  --blue-pale: #028ace;
  --blue-dark: #024b6b;
  --beige-light: #e0f1f8;
  --gray-light: #f8f9f9;
}

/* Base */
body {
  font-family: "Nunito Sans", sans-serif;
  background-color: var(--beige-light);
  color: black;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  background-color: var(--beige-light);
  padding: 1.5rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.logo img {
  height: 60px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--blue-pale);
}

.phone-btn {
  background-color: var(--blue-pale);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* Hero Section */
.hero {
  background-color: var(--gray-light);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/images/fleur2_blue.png"),
    url("../assets/images/fleur1_blue.png");
  background-repeat: no-repeat, no-repeat;
  background-position: 30px 375px, calc(100% - 400px) calc(100% - 10px);
  background-size: 200px, 250px;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
}

.hero-text h4 {
  color: var(--blue-pale);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hero-text h1 {
  font-family: "Prata", serif;
  font-size: 4rem;
  color: #000;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: black;
}

.btn-primary {
  background-color: black;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--blue-pale);
  color: black;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.hero-image img {
  max-width: 80%;
  height: auto;
  border-radius: 20px;
}

/* Services Section */
.services-section {
  background-color: var(--beige-light);
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  background-image: url("../assets/images/fleur2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  z-index: 0;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.services-title {
  text-align: center;
  font-family: "Prata", serif;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: #000;
}

.services-cards {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 320px;
  flex: 0 1 300px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.service-card img {
  width: 100%;
  height: auto;
  max-height: 200px; /* Limite la hauteur de l’image */
  object-fit: cover;
}

.service-content {
  padding: 1rem 1.2rem;
  text-align: center;
}

.service-content h3 {
  color: black;
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.service-content p {
  font-size: 0.95rem;
  color: black;
  line-height: 1.4;
}

/* Call to action button */
.services-button {
  text-align: center;
  margin-top: 3rem;
}

/* Bienvenue Section */
.bienvenue-section {
  background-color: var(--beige-light);
  padding: 5rem 2rem;
  text-align: center;
}

.bienvenue-title {
  font-family: "Prata", serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000;
}

.bienvenue-text {
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: black;
}

/* Mission Section */
.mission-section {
  background-color: var(--beige-light);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.mission-section .container {
  position: relative;
  z-index: 1;
}

.mission-title {
  text-align: center;
  font-family: "Prata", serif;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #000;
}

.mission-content {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  max-height: 400px;
  align-items: stretch;
  gap: 2rem;
  background-color: #ffffffb8;
  border-radius: 25px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Texte = 2/3 */
.mission-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-height: 100%;
}

.mission-text p {
    line-height: 2rem;
    font-size: 1.2rem;
}

/* Valeurs = 1/3 */
.mission-values {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-height: 100%;
}

.mission-values h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: black;
  text-align: left;
}

.mission-values ul {
  list-style: disc inside;
  padding-left: 1rem;
  margin: 0;
}

.mission-values ul li {
  padding: 0.5rem 0;
  font-size: 1.2rem;
  color: black;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(0.1s * var(--i));
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* À propos Section */
.apropos-section {
  background-color: var(--gray-light);
  position: relative;
  padding: 4rem 2rem 8rem;
  overflow: visible;
  z-index: 1;
}

.apropos-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -500px;
  width: 1000px; /* plus grande */
  height: 1000px;
  background-image: url("../assets/images/fleur1_blue.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
  transform: rotate(180deg); /* bas vers le haut */
  z-index: 0;
  pointer-events: none; /* évite qu’elle bloque les clics */
}

.apropos-section .container {
  position: relative;
  z-index: 1;
}

.apropos-title {
  text-align: center;
  font-family: "Prata", serif;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: #000;
}

.apropos-content {
  display: flex;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  max-width: 1000px; /* Limite la largeur totale */
  margin: 0 auto; /* Centre la carte */
}

.apropos-image {
  flex: 1 1 50%;
  max-height: 425px;
  overflow: hidden;
}

.apropos-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apropos-text {
  flex: 1 1 50%;
  padding: 1.5rem 2rem;
}

.apropos-text h3 {
  font-size: 1.6rem;
  color: black;
  margin-bottom: 1rem;
}

.apropos-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Notre équipe Section */
.equipe-section {
  background-color: var(--gray-light);
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
}

.equipe-section .container {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.equipe-title {
  text-align: center;
  font-family: "Prata", serif;
  font-size: 2rem;
  margin-bottom: 4rem;
  color: #000;
}

.equipe-cards {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.equipe-card {
  background-color: white;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.equipe-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.equipe-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  height: 100%;
}

.equipe-content h3 {
  color: black;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.equipe-content p {
  font-size: 1rem;
  color: black;
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--beige-light);
  padding: 10rem 2rem 5rem;
  position: relative;
}

.contact-infos {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  z-index: 2;
  padding: 0 2rem;
}

.info-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 400px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  color: #000;
}

.info-card img {
  width: 40px;
  margin-bottom: 1rem;
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-title {
  text-align: center;
  font-family: "Prata", serif;
  font-size: 2rem;
  margin-bottom: 3rem;
  color: #000;
}

.contact-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap; /* évite de forcer une ligne */
  align-items: stretch;
  justify-content: center;
  height: 100%;
}

.contact-wrapper {
  background-color: var(--gray-light);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid #ccc; /* Ajout de la bordure */
  background-color: #f8f6f2;
  font-size: 1rem;
  resize: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-pale); /* effet focus doux */
}

.contact-form label {
  font-weight: bold;
  color: black;
}

.contact-image {
  flex: 1 1 400px;
  display: flex;
  align-items: stretch;
}

.contact-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.form-success {
  color: green;
  font-weight: bold;
  margin-bottom: 1rem;
}

.form-error {
  color: red;
  font-weight: bold;
  margin-bottom: 1rem;
}


/* Footer Section */
.footer {
  background-color: var(--gray-light);
  position: relative;
  padding: 4rem 2rem 2rem;
  overflow: hidden;
}

.footer-overlay {
  background-image: url("../assets/images/footer_icon.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 250px;
  position: absolute;
  bottom: 0;
  right: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  color: black;
}

.footer-col {
  flex: 1 1 300px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: bold;
  margin: 1rem 0 0.8rem;
  text-transform: uppercase;
  color: black;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--blue-pale);
}

.footer-col a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-icons img {
  width: 40px;
  height: 40px;
  margin-right: 0.8rem;
  border-radius: 50%;
  padding: 6px;
  object-fit: contain;
}

.footer-col a {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #000;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #333;
}

.footer-bottom p a {
  text-decoration: none;
  color: black;
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid var(--blue-pale);
  margin: 0 auto;
  margin-bottom: 1rem;
  max-width: 70%;
}

/* Intro section */
.service-intro {
  position: relative;
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}
.service-intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.service-intro .container {
  position: relative;
  z-index: 1;
}

/* Inner content */
.service-intro .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.intro-box {
  background-color: rgba(255, 255, 255, 0.85); /* semi-transparent */
  padding: 2rem;
  border-radius: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
  color: black;
}

.service-title {
  font-size: 2rem;
  font-family: "Prata", serif;
  margin-bottom: 1.5rem;
}

.service-title span {
  color: var(--blue-pale);
}

.service-intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.services-button {
  text-align: center;
  margin-top: 3rem;
}

/* Detail section */
.service-detail {
  padding: 5rem 2rem;
  background-color: var(--beige-light);
}

.service-block {
  background-color: white;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
}

.service-block h2 {
  font-family: "Prata", serif;
  font-size: 2.2rem;
  color: black;
  margin-bottom: 1rem;
}

.service-block p {
  font-size: 1.15rem;
  color: black;
  line-height: 1.9;
}

.massage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.massage-tags span {
  background-color: var(--beige-light);
  color: var(--blue-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.target-tags,
.consultation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.target-tags span,
.consultation-tags span {
  background-color: var(--beige-light);
  color: var(--blue-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}


/* Responsive Design */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    color: black;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: var(--beige-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .phone-btn {
    margin-top: 1rem;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    flex: unset;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  .hero::before {
    background-position: left bottom, right bottom;
    background-size: 200px, 250px;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .bienvenue-section {
    padding: 0;
  }

  .bienvenue-section .container {
    margin-top: 3rem;
  }

  .bienvenue-text {
    font-size: 1rem;
  }

  .bienvenue-title {
    font-size: 2rem;
  }

  .mission-section {
    padding-top: 2rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .mission-content {
    flex-direction: column;
    max-height: none;
    padding: 1.2rem;
  }

  .mission-text,
  .mission-values {
    flex: unset;
    width: 100%;
    min-height: auto;
    padding: 1.5rem;
  }

  .mission-text p {
    font-size: 1.1rem;
    line-height: 1.8rem;
    text-align: center;
  }

  .mission-values h3 {
    text-align: center;
    font-size: 1.2rem;
  }

  .mission-values ul {
    text-align: left;
    padding-left: 1rem;
    list-style: disc;
  }

  .mission-values ul li {
    font-size: 1.1rem;
  }

  .services-cards {
    flex-direction: column;
    align-items: center;
  }

  .services-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .service-card {
    max-height: 320px; /* fixe une hauteur globale à la card */
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .service-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
  }

  .service-card img {
    max-height: 140px;
    object-fit: cover;
  }

  .service-content p {
    font-size: 1.2rem;
  }

  .apropos-section {
    padding-top: 3rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .apropos-content {
    flex-direction: column;
  }

  .apropos-image {
    height: 250px;
  }

  .apropos-text {
    padding: 1.5rem;
  }

  .apropos-section::before {
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -150px;
  }

  .equipe-section {
    padding-top: 3rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .equipe-cards {
    flex-direction: column;
    align-items: center;
  }

  .equipe-card {
    max-width: 100%;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .contact-wrapper {
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
  }

  .contact-infos {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: -80px;
    gap: 2rem;
    padding: 0 1rem;
  }

  .info-card {
    width: 100%;
    max-width: 400px;
    display: none;
  }

  .contact-section {
    padding-top: 3rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 3rem;
  }

  .contact-form {
    width: 100%;
  }

  .contact-image {
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
  }

  .contact-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .footer-col {
    width: 100%;
    max-width: 500px;
    max-height: 180px;
    margin-bottom: 2rem;
  }

  .footer-logo {
    height: 40px;
    margin-bottom: 1rem;
  }

  .footer-col a {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0;
    justify-content: center;
  }

  .footer-col ul {
    padding: 0;
    list-style: none;
    margin: 0 auto;
  }

  .footer-col ul li {
    margin-bottom: 0.5rem;
  }

  .footer-col ul li a {
    text-decoration: none;
    color: black;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .social-icons img {
    width: 35px;
    height: 35px;
    padding: 2px;
  }

  .service-title {
    font-size: 2.2rem;
  }

  .service-intro-text {
    font-size: 1.05rem;
  }

  .service-intro .container {
    padding: 0;
  }

  .service-detail .container {
    padding: 0;
  }

  .service-block {
    padding: 1rem 1.5rem;
  }

  .service-block h2 {
    font-size: 1.6rem;
  }

  .service-block p {
    font-size: 1rem;
  }
}
