
/* =====================================================
   ÊTRE LIBRE – Site
   ===================================================== */

/* ---------- Palette ----------
Bois chaud        #D6B88A
Terre titre       #A8794D
Fond principal    #F2E5CD
Fond image doux   #F1E8D8
Accent sacré      #E6BC72
Émotion           #D8B6AF
Nature            #B9C9B7
Texte             #6B5544
Détail / bordure  #C2A58F
-------------------------------- */

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: #6B5544; /* ancien #2f2f2f; */
    line-height: 1.7;
}
.page-home {
  background: url(../Libre-Images/main-bg.jpg) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
.page-mandalas {
  background: url(../Libre-Images/mand1-bg.jpg) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
.page-mandalas-detail {
  background: url(../Libre-Images/mand2-bg.jpg) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
.page-soins {
  background: url(../Libre-Images/soins-bg.jpg) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
.page-contact {
  background: url(../Libre-Images/contact-bg.jpg) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}
/*----------------------------------------------------------------*/

#header {
	position: relative;
	height: 160px;
}

.header-inner {
    padding-top: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
	padding-left: 20px; /* plus proche du bord à gauche */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
#header::before {
    content: "";
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url(../Libre-Images/ligne-transparente.png) repeat-x center;
    opacity: 1; /* tu peux jouer ici si besoin */
    pointer-events: none;
}
#logo {
    max-height: 70px;
}

/* MENU PRINCIPAL */

.main-menu {
  position: relative;
}
.menu-level-1 {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 6px 14px;
  background: rgba(242, 236, 227, 0.25);
  backdrop-filter: blur(2px);
  border-radius: 2px;
}
.menu-level-1 > li {
  position: relative;
  font-size: 1.6em;
}
.menu-level-1 a {
  text-decoration: none;
  color: #161111;
}

/* SOUS-MENU */

.menu-level-2 {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  background: rgba(242, 236, 227, 0.95);
  border: 1px solid rgba(194, 165, 143, 0.6);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: none;
}
.has-submenu:hover .menu-level-2 {
  display: block;
}
.menu-level-2 li {
  padding: 6px 20px;
}
.menu-level-2 a {
  font-size: 0.7em;
  color: #6B5544;
}
@media (max-width: 900px) {
  .menu-level-1 {
    flex-direction: column;
    gap: 0.8rem;
    padding: 10px 16px;
  }
  .menu-level-1 > li {
    font-size: 1.3em;
  }
  /* .menu-level-2 {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 6px 0 0 12px;
    background: transparent;
  } */


  .menu-level-2 {
    display: none;
    position: static;
    padding-left: 14px;
    background: transparent;
    border: none;
    box-shadow: none;
}
  .menu-level-2 a {
    font-size: 0.9em;
    opacity: 0.85;
  }
  .group-image img {
	max-width: 100%;
	height: auto;
	display: block;
  }
  #header {
    height: auto;
  }
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 20px;
  }
}
/*----------------------------------------------------------------*/
/* Utiles dans toutes les pages */
.separator {
    width: 60%;
    height: 1px;
    margin: 40px auto;
    background: linear-gradient(to right, transparent, #A8794D, transparent);
}
.mandala-anchor-link {
    color: #A8794D;          /* Terre titre */
    text-decoration: none;  /* enlève le souligné */
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.mandala-anchor-link:hover {
    color: #C2A58F;          /* Détail */
}
.mandala-anchor-link {
    position: relative;
}

/*.mandala-anchor-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: rgba(194, 165, 143, 0.6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mandala-anchor-link:hover::after {
    transform: scaleX(1);
}*/
.mandala-anchor-link::after {
    content: " →";
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mandala-anchor-link:hover::after {
    transform: translateX(4px);
    opacity: 0.7;
}
/*----------------------------------------------------------------*/
/* PAGE ACCEUIL */

.home-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
}

/* blocs gauche & droite */
.home-block {
  background-color: #F2E5CD; /* fond chaleureux */
  padding: 40px 32px;
}
.home-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #A8794D; /* Terre titre */
  line-height: 1.2;
}
.left-block p {
  color: #6B5544; /* Texte */
  font-size: 1rem;
  line-height: 1.8;
  max-width: 480px;
}
/* vide central */
.home-gap {
  /* volontairement vide */
}
blockquote {
  margin-top: 48px;
  padding-left: 24px;
  border-left: 2px solid #E6BC72;
  font-style: italic;
  color: #A8794D; /* Terre titre */
}
blockquote footer {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #6B5544;
}
@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  .home-gap {
    display: none;
  }
}


/*----------------------------------------------------------------*/
/* Commun à toutes les pages mandalas */

.container {
    background-color: #f2e5cd; /* fond lin solaire #F2ECE3 */
	max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}
/* pour éviter le dépassement du grid = présentation des 4 mandalas */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Texte d'introduction */
.intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 20px auto;
}
.intro H1 {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 38px;
	color: #A8794D;
    line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.intro H2 {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 22px;
}
.intro p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.intro button {
    margin-top: 24px;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid #a6a29c;
    color: #2f2f2f;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .container {
    padding: 30px 16px;
  }
  .intro h1 {
    font-size: 34px;
  }
  .intro h2 {
    font-size: 20px;
  }
}

/*----------------------------------------------------------------*/
/* Page mandalas : Les groupes de mandalas */

.mandala-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 2.5rem;
	row-gap: 2rem;
	text-align: center;
}
.group-title {
	font-family: "Cormorant Garamond", serif;
	font-size: 1.5rem;
	color: #5F4A3C;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0.4rem; /* réduit la marge par défaut de H3 */
}
.group-material {
	color: #C2A58F;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.8rem;
}
.group-material::before,
.group-material::after {
	background-color: #C2A58F;
}
.group-material .line {
	width: 40px;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(0,0,0,0.4),	transparent);
}
.material-text {
	font-family: "Manrope", sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}
.group-description {
	font-family: "Manrope", sans-serif;
	font-size: 0.80rem;
	line-height: 1.6;
	max-width: 420px;
	margin: 0 auto ;
	opacity: 0.85;
}
.group-image {
	background-color: #F1E8D8; /* ancien #F7F3EE; */
	border: 1px solid #C2A58F;
    /* border: 1px solid rgba(194, 165, 143, 0.8); */
    text-align: center;
	padding: 10px 10px 4px 10px; /* haut droite bas gauche */
	margin-top: 10px;
}
.group-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
  .mandala-groups {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/*----------------------------------------------------------------*/
/* Pages Madalas détail */
/* Première partie : Voir intro 
/* Seconde partie : Galerie – aperçu des 4 mandalas */

.mandala-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 sur une ligne */
  gap: 2rem; /* plus serré, plus intime */
  margin-top: 3rem;
}
.mandala-item {
  text-align: center;
}
.mandala-item img {
  width: 100%;
  height: auto;
  background: #F6EFE4; /* fond clair chaleureux */
  border: 1px solid rgba(194,165,143,0.7); /* Détail */
  padding: 10px; /* un peu plus léger */
}
.mandala-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; /* légèrement réduit */
  margin: 0.9rem 0 0.3rem;
  color: #A8794D;
}
.mandala-item p {
  font-size: 0.9rem;
  color: #6B5544;
  line-height: 1.6;
}
/* Clôture */
.mandala-closing {
  text-align: center;
  margin-top: 3rem;
}
.mandala-closing p {
  font-style: italic;
  color: #6B5544;
}
/* Bouton retour */
.mandala-back {
  text-align: center;
  margin-top: 3rem;
}
.btn-back {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #C2A58F;
  color: #6B5544;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
/* Troisième partie : Présentation d'un mandala */

.mandala-details {
    max-width: 900px;
    margin: 40px auto 40px auto;
    padding: 0 20px;
}
.mandala-detail {
  margin-top: 0; /* pour supprimer l'espace au dessus */
  padding-top: 1rem;
  border-top: 1px solid rgba(194,165,143,0.4); /* Ligne de séparation */
}
/* Titre du mandala */
.mandala-detail h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    text-align: center;
    color: #A8794D; /* Terre titre */
    margin-bottom: 6px;
	margin-top: 0; /* pour supprimer la marge trop grande par défaut au dessus du titre puis régler le margin sur mandala-details */
	letter-spacing: 0.04em;
}
/* Sous-titre / intention */
.mandala-subtitle {
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B5544;
    opacity: 0.75;
    margin-bottom: 40px;
}
/* Contenu image + texte */
.mandala-detail-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}
/* Image du mandala */
.mandala-detail-content img {
    width: 100%;
    height: auto;
    border: 1px solid rgba(194, 165, 143, 0.6); /* Détail */
    background-color: #EFE5D6; /* fond doux lumineux */
    padding: 10px;
}
/* Texte descriptif */
.mandala-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #6B5544;
  margin-bottom: 18px;
}
.btn-etre-libre {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 28px;
  font-family: inherit;
  font-size: 16px;
  text-decoration: none;
  color: #5F4A3C;              /* Terre profonde (texte) */
  border: 1px solid #E6BC72;   /* Accent sacré */
  border-radius: 30px;

  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-etre-libre:hover {
  background-color: #E6BC72;   /* Accent sacré */
  color: #5F4A3C;              /* Terre profonde */
}
.mandala-detail-extended {
  max-width: 900px;
  margin: 40px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: #6B5544; /* texte courant */
  padding-top: 20px;
  border-top: 1px solid rgba(194, 165, 143, 0.4); /* accent discret */
}






/* La galerie */
/* En-tête */
.mandala-detail-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;

}
.mandala-detail-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #A8794D; /* Terre titre */
  margin-bottom: 0.6rem;
}
.mandala-intention {
  font-size: 1rem;
  color: #6B5544;
  line-height: 1.7;
  opacity: 0.9;
}
.mandala-gallery-hint {
  font-size: 0.85rem;
  color: #A8794D;
  font-style: italic;
  text-align: center;
  margin-bottom: 0rem;
}

/* ===== Galerie défilante ===== */

.mandala-scroll-gallery {
  display: flex;
  /* gap: 0.5rem; */
  overflow-x: auto;
  padding: 1.5rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* élément */
.mandala-scroll-item {
  flex: 0 0 auto;
  width: 320px; /* largeur fixe, très important */
  background: #F6EFE4;
  border: 1px solid rgba(194,165,143,0.7);
  padding: 12px;
  text-align: center;
  margin-right: 0.5rem; 
  scroll-snap-align: start;
}
.mandala-scroll-item:last-child {
  margin-right: 0;
}

.mandala-scroll-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* légende */
.mandala-scroll-item figcaption {
  font-size: 0.85rem;
  color: #6B5544;
  margin-top: 0.6rem;
  font-style: italic;
}

/* scrollbar discrète */
.mandala-scroll-gallery::-webkit-scrollbar {
  height: 6px;
}
.mandala-scroll-gallery::-webkit-scrollbar-thumb {
  background: rgba(194,165,143,0.5);
  border-radius: 4px;
}



/* ===== Responsive ===== */

@media (max-width: 900px) {
  .mandala-gallery-detail {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .mandala-gallery-detail {
    grid-template-columns: 1fr;
  }

  .mandala-detail-header h2 {
    font-size: 1.7rem;
  }
}







.btn-back:hover {
  background-color: rgba(194,165,143,0.15);
}

/* ================================
   RESPONSIVE
================================ */


/* Responsive tablette */
@media (max-width: 1024px) {
  .mandala-gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 par ligne */
    gap: 2.5rem;
  }
}

/* Responsive mobile */
@media (max-width: 600px) {
  .mandala-gallery {
    grid-template-columns: 1fr; /* 1 par ligne */
    gap: 2rem;
  }
}
/* ==============================
   SECTION DETAILS DES MANDALAS
   ============================== */





/* Lien de retour vers le haut (optionnel) */
.mandala-back {
    display: block;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A8794D;
    text-decoration: none;
}

.mandala-back:hover {
    text-decoration: underline;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {

    .mandala-detail-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mandala-detail h3 {
        font-size: 1.7rem;
    }

    .mandala-subtitle {
        font-size: 0.85rem;
    }
}

/* SOINS */

/* Chaque soin */
.soin {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1rem 4rem;
  /*min-height: 70vh;*/
  box-sizing: border-box;
}

/* Image discrète, max 1/3 */
.soin .image {
  flex: 0 0 33%;
}

.soin .image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

/* Texte = 2/3 */
.soin .texte {
  flex: 1 1 66%;
  max-width: 66%;
}
/* INFOS PRATIQUES */
.soin-infos {
  margin-top: 2rem;
  font-size: 0.95rem;
  opacity: 0.8;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.soin-infos .rendez-vous a {
  text-decoration: underline;
  color: #c1a87b;
  font-weight: 500;
  transition: color 0.3s;
}

.soin-infos .rendez-vous a:hover {
  color: #a88c5f;
}

@media (max-width: 768px) {

  .soin {
    flex-direction: column;
    padding: 3rem 1.5rem;
  }

  .soin .image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .soin .image img {
    width: 100%;
    height: 180px;          /* 👈 taille maîtrisée */
    object-fit: cover;
    border-radius: 8px;
  }

  .soin .texte {
    max-width: 100%;
  }

  .soin-infos {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
}


.contact-page .intro {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-page .intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-page .intro p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 650px;
  margin: 0 auto;
}

.contact-infos {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-infos p {
  margin: 0.5rem 0;
  font-size: 1rem;
  opacity: 0.85;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 6rem;
}

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

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form button {
  padding: 0.8rem 1.2rem;
  background-color: #c1a87b;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #a88c5f;
}

@media (max-width: 768px) {

  .contact-page {
    padding: 0 1rem;
  }

  .contact-infos {
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
  }

  .contact-form {
    width: 100%;
    padding: 0;
    margin-bottom: 4rem;
  }

  .contact-form form {
    gap: 1.2rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 0.9rem;
  }

  .contact-form textarea {
    min-height: 140px;
  }

  .contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
  }
}



/* ===== FOOTER ===== */

.site-footer {
  background-color: #6B5544;
  color: #F7F3EE; /* blanc chaud */
  text-align: center;
  padding: 8px 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  opacity: 0.8; 
}

.site-footer p {
  margin: 0;
}


