/*
Theme Name:     Catherine Lalande
Theme URI:		https://catherinelalande.com
Author:         Emmanuel Poder
Author URI:     https://crea-presence-web.fr
Tested up to:
Requires PHP:   7.0
Requires at least: 5.5
version : 1
Text Domain:    catherinelalande
*/


/* changer le breakpoint du menu mavigation : */
/* marche pas :
:root {
  --wp--custom--navigation--breakpoint: 900px;
}
*/

/* Masquer le menu normal et forcer l'affichage du bouton hamburger */
@media (min-width: 601px) and (max-width: 900px) {
  /* Masquer le menu normal */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
  }

  /* Forcer l'affichage du bouton hamburger */
  .wp-block-navigation__responsive-container-open {
	display: flex !important;
  }

  /* S'assurer que le conteneur parent permet l'affichage */
  .wp-block-navigation {
	display: flex !important;
  }
}

/* Au-dessus de 900px : comportement normal */
@media (min-width: 900px) {
  .wp-block-navigation__responsive-container-open {
	display: none !important;
  }

  .wp-block-navigation__responsive-container {
	display: flex !important;
  }
}
/*
button.wp-block-navigation__responsive-container-open {
	background-color: white;
	height: 50px;
	width: 60px;
	padding: 14px 19px;
	border-radius: 7px;
	border: 1px solid #7a5296;
}
button.wp-block-navigation__responsive-container-open:hover {
	border: 1px solid #470252;
}
button.wp-block-navigation__responsive-container-open:hover svg{
	fill: #470252;
}
*/


button.menu-toggle::before,
button.menu-toggle svg:not(.custom-icon) {
   display: none !important;
}


/* Cacher l’icône originale */
/* marche pas !
.wp-block-navigation__responsive-container button.menu-toggle::before {
   content: none;
   background: none !important;
}
/* Ajouter une nouvelle icône (SVG en inline via background) */
/*
.wp-block-navigation__responsive-container button.menu-toggle {
	 width: 40px; /* ajustez selon taille icône */
  height: 40px;
  background-image: url('/wp-content/themes/catherine/assets/svg/icone-menu.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none; /* retire la bordure si besoin */
  cursor: pointer;
}
*/


main { z-index: 100; }
/*
h2 { margin-bottom: var(--wp--preset--spacing--x-large) !important; }
*/
main ul {
	list-style: none;
}

main li {
	margin-bottom: 20px;
}

main li:before {
	color: var(--wp--preset--color--primary);
	content: "◉";
	font-size: 18px;
	padding-right: 12px;
}


/* -------------------- Entête Site ------------------- */
/* ---------------------------------------------------- */


#header-banniere-courbe { }


header {
	position: relative;
	z-index:200;
	scroll-margin-bottom: 50px;
	/* background-image: url('https://Catherine-Lalande:8890/wp-content/uploads/2025/06/photo-banniere.jpg');*/
	  background-position: 0 bottom !important;
	/*  background-size: cover;
	  background-attachment: fixed;*/
}
header .titre-site {
	position: absolute ;
	left: -5000px;
}



#conteneur-logo-menu {
	position: relative;
	/*width:100% !important;*/
	/*background-color: rgba(255, 255, 255, 0.86);*/
	height: auto;
	overflow: visible;	/* on va faire déborder le logo poir réduire la hauteur du bandeau logo-menu */
	z-index: 1000;
	padding: 20px 0;
}

#logo-menu {
	position: relative;
	padding: 0 !important;
	padding-right: 20px !important;
}

#logo-metier {
	position: absolute;
	top: 2px;
	left:82px;
}

/* menu principal et boutons email, tel et location */
#menu-et-boutons {
	width: 100%;
	padding-left: 370px; /* pour laisser la place au logo qui est en 	padding-left: 370px; */
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
}


/* --------------- menu principal --------------- */


#conteneur-logo-menu nav.menu-principal {
	line-height: 0;
}

#conteneur-logo-menu nav.menu-principal li li {
	line-height: 1.2em;
}



/* menu petit écran */
#conteneur-logo-menu  nav.menu-principal .is-menu-open {
	background-color: #f7e4fa;
	padding:0 24px;
}

#conteneur-logo-menu  nav.menu-principal .is-menu-open li {
	margin-bottom: 16px;
}

/* bouton fermer menu petit écran */
#modal-1 > div:nth-child(1) > div:nth-child(1) > button:nth-child(1) {
	margin-top: 29px;
}


/* Menu devient fixe quand on scroll (class logo-nav-fixed ajoutée en js à header quand scroll > 400px */
header.logo-nav-fixed #conteneur-logo-menu {
	position: fixed;
	top:0;
	width: 100%;
	z-index: 200;
/*	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	*/
	-webkit-box-shadow: 0 3px 5px #76787f;
	box-shadow: 0 3px 5px #76787f;
	margin-bottom: 70px;
	-webkit-box-shadow: 0px 10px 8px 0px #dab7d2;
	  -moz-box-shadow: 0px 10px 8px 0px #dab7d2;
	  box-shadow: 0px 3px 10px 0px #dab7d2;
}
header.logo-nav-fixed .somatotherapeute {
	display: none;
}
header.logo-nav-fixed .wp-block-site-logo img {
	position: relative;
	top: -2px;
	width: 140px;
}

header.logo-nav-fixed .menu-principal {
	/*top: -4px !important;*/
}

#header-reduit {
	-webkit-box-shadow: 0px 10px 8px 0px #dab7d2;
	  -moz-box-shadow: 0px 10px 8px 0px #dab7d2;
	  box-shadow: 0px 3px 10px 0px #dab7d2;
	  padding: 0 3em;
}

/* boutons-barre-logo-menu : bouton menu petit écran & envoyer email, voir carte et afficher numéro */
/* ------------------------------------------------------------------ */

#boutons-barre-logo-menu {
	position: relative;
	margin-left: 36px;
}

button.wp-block-navigation__responsive-container-open,
#boutons-barre-logo-menu .wp-element-button {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
		-ms-flex-align: center;
			align-items: center;
	-webkit-box-pack: center;
		-ms-flex-pack: center;
			justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background-color: #e1cfe4;
	border:0;
	border-radius: 7px;
	box-shadow: 0 4px 6px hsla(0,0%,.2);
}

button.wp-block-navigation__responsive-container-open svg,
#boutons-barre-logo-menu .wp-element-button svg {
	fill: #864f98;
	color:#864f98;
}

button.wp-block-navigation__responsive-container-open:hover,
#boutons-barre-logo-menu .wp-element-button:hover {
	border: solid #470252 1px;
}

/* bouton menu petit écran */
button.wp-block-navigation__responsive-container-open:hover svg,
#boutons-barre-logo-menu .wp-element-button:hover svg  {
	fill: #470252;
	color:#470252;
}

button.wp-block-navigation__responsive-container-open:active,
#boutons-barre-logo-menu .wp-element-button:active {
	-webkit-box-shadow: 0 1px 3px hsla(0,0%,.2) ;
			box-shadow: 0 1px 3px hsla(0,0%,.2) ;
	border: none;
}

button.wp-block-navigation__responsive-container-open:active svg ,
#boutons-barre-logo-menu .wp-element-button:active svg {
	-webkit-box-shadow: 0 1px 3px hsla(0,0%,.2) ;
			box-shadow: 0 1px 3px hsla(0,0%,.2) ;
	fill: white;
	color:white;
}


/* bouton contact */
#boutons-barre-logo-menu .wp-element-button .wp-font-awesome-icon {
	margin: 0;
	padding:0;
	height: 25px;
}

/* afficher du texte au survol des boutons */

.top-btn-texte,
button.wp-block-navigation__responsive-container-open {
 position: relative; /* nécessaire pour positionner le tooltip */
 cursor: pointer;    /* optionnel */
}
.top-btn-texte::after,
button.wp-block-navigation__responsive-container-open::after {
 content: "";
 position: absolute;
 top: 100%;          /* sous l’élément */
 left: 50%;
 transform: translateX(-50%);
 background: #461d53;
 color: #e1cfe4;
 padding: 4px 8px;
 font-size: 13px;
 border-radius: 4px;
 white-space: nowrap;
 opacity: 0;
 pointer-events: none; /* ne bloque pas la souris */
 transition: opacity 0.2s ease-in-out;
 margin-top: 6px;
 z-index: 10;
}
#top-btn-email.top-btn-texte:hover::after {
 content: "Me contacter par email";
 opacity: 1;
}
#top-btn-location.top-btn-texte:hover::after {
 content: "Voir l'adresse et le plan";
 opacity: 1;
}
#top-btn-tel.top-btn-texte:hover::after {
 content: "Me contacter par téléphone";
 opacity: 1;
}

button.wp-block-navigation__responsive-container-open:hover::after {
	content: "Menu";
	 opacity: 1;
}

/* --------- bannière sous le menu principal ------ */

#banniere {
	position: relative;
/*	width:100% !important;*/
}

#conteneur-banniere {
	/*min-height: 500px !important;*/
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}

#conteneur-banniere-texte-et-boutons {
}

#banniere-texte-et-boutons {
	width: 18em;
/*	padding: 30px 3.5% 200px 3.5%;*/
	/* background-color: rgba(255, 255, 255, 0.86);*/
	/* min-height: 560px;
	margin-bottom: -210px;
	*/
	padding-top: 80px !important;
	padding-bottom: 7vw !important; /* i.e. 8% de la largeur du navigateur */
	/*font-size : clamp(16px, 0.7rem + ((1vw - 3.2px) * 0.4), 28px);*/
}

#banniere-boutons .wp-block-button {
	margin: 6px 0 !important;
}

.boutons-contact .wp-font-awesome-icon {
	margin-right: 10px;
}

/* La hauteur de la courbe svg est de 1/10 de la largeur du navigateur i.e. 1vw
 -> du coup on met en absolute et bottom -2vw pour que le bas de la courbe recouvre juste le bas du header */
p#courbe-sous-banniere {
	position: absolute;
	bottom:-2vw;
	display: block;
	margin:0;
	width:100%;
/*	height: 0;*/
}

p#courbe-sous-banniere svg {
}

p#courbe-sous-banniere svg path:first-child {
	fill: #dab7d2;
	opacity: 0.6;
}

p#courbe-sous-banniere svg path:last-child {
	fill: white;
}

@media all and (min-width: 900px) {
	#conteneur-logo-menu .menu-principal {
		/*top:-16px;*/
		line-height: 0;
	}
	#header-reduit #conteneur-logo-menu {
		height: auto;
	}
	#banniere-texte-et-boutons { }
}


@media all and (max-width: 1200px) {
	#banniere-texte-et-boutons {
		width:16em;
	}
	#logo-metier {
		left:36px;
	}
	#menu-et-boutons {
	  padding-left: 16em;
	}
}


@media all and (max-width: 680px) {

	.wp-block-site-logo img {
		width: 120px;
	}

	#logo-metier {
		left:20px;
	}

	#menu-et-boutons {
	  padding-left: 160px;
	 -webkit-box-pack: end;
	 -ms-flex-pack: end;
		 justify-content: end;
	}
	#boutons-barre-logo-menu {
		margin-left: 0;
	}

	#banniere-texte-et-boutons {
		width: 14em;

		padding-top: 40px !important;
		padding-bottom: 7vw !important; /* i.e. 8% de la largeur du navigateur */
	}
}

@media all and (max-width: 680px) {
	header.logo-nav-fixed .wp-block-site-logo img {
	  top: -5px;
	  width: 120px;
	}

	#boutons-barre-logo-menu {
		gap: 0.5em 6px !important;
	}
	#logo-menu {
	   padding-right: 12px !important;
	}
	#banniere-texte-et-boutons {
		width: 13em;
	}
}
/* ----------------- Pied de page Site ---------------- */
/* ---------------------------------------------------- */

/*menu footer */

border-bottom: 1px solid #795095;


#footer-haut h3 {
	position: relative;
	padding-top: 32px !important;
	margin-bottom: 50px;
}

#footer-haut h3:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 25%;
  bottom: -4px;
  left: 38%;
  background-color: black;
}

/* colonne de gauche - Catherine Lalande */

#footer-texte-sous-logo {
	line-height:1.1em;
	margin-top: 0;
	margin-bottom:36px;
}


#pied-de-page-boutons .btn-tel a,
#pied-de-page-boutons .btn-contact a {
	padding: 8px 18px 8px 0 !important;
	/*background-color: #e1cfe4 !important;*/
}


#pied-de-page-boutons .btn-tel a:hover ,
#pied-de-page-boutons .btn-contact a:hover {
	border: 1px solid #723986 !important;
}

#pied-de-page-boutons .btn-tel a:hover svg path,
#pied-de-page-boutons .btn-contact a:hover svg path {
	fill: #723986;

}

#pied-de-page-boutons .btn-tel a:active,
#pied-de-page-boutons .btn-contact a:active {
	border: 1px solid white !important;
}

#pied-de-page-boutons .btn-tel a:active svg path ,
#pied-de-page-boutons .btn-contact a:active svg path {
	fill: white;
}

/* colonne du centre - Adresse et horaires */

#footer-tel{
	margin-bottom: 16px;
}

#footer-contact {}


#footer-adresse {
	margin-top: 36px !important;
}
#footer-adresse p,
#footer-horaires p {
	border-left: 2px solid var(--wp--preset--color--primary);
	padding-left: 16px;
}

#footer-haut .wp-font-awesome-icon {
	margin-right:-16px;
}

/* colonne de droite - Plan d'accès */

#footer-plan-contact {}


/* footer bas */
#footer-bas {
	padding-top: 30px !important;
}

#footer-bas .menu-pied-de-page, #realise-par {
	width: 100%;
}


#cpw {
 color: white;
 padding: 0 12px;
}

#realise-par {}

@media all and (max-width: 768px) {
	.footer-col {
		margin-top: -30px !important;
	}
	.footer-col:not(:last-child) {
		border-bottom: 1px solid #795095;
		padding-bottom:30px;
	}
	#footer-bas .menu-pied-de-page {
		gap:24px !important;
	}
	#footer-page #realise-par {
		border-top: 2px solid white;
		padding-top: 24px;
	}
	#footer-page .separateur, #footer-page-reduit .separateur {
		display: none;
	}
/*
	#footer-bas > div {
		display: block;
		width:100%;

	}

	#realise-par{
		justify-content: center;
		margin-bottom: 20px;
	}

	#footer-bas nav {
		justify-content: center;
	}
	*/
}


/* ---- bouton retour haut de page ------- */

/* html : <button id="scrollTopBtn" aria-label="Retour en haut"> &#x25B2;</button> */

#scrollTopBtn {
 position: fixed;
 bottom: 30px;
 right: 30px;
 width: 40px;
 height: 40px;
 background-color: #6e0385;
 color: white;
 border: none;
 border-radius: 4px; /* carré légèrement arrondi */
 cursor: pointer;
 font-size: 18px;
 display: none; /* caché par défaut */
 align-items: center;
 justify-content: center;
 transition: opacity;
 z-index: 1000;
 opacity:0.5;
}
#scrollTopBtn:hover {
/* background-color: #555;*/
 opacity:1;
}


/* si on veut faire un chevron en css */
/*
#scrollTopBtn span {
	display: inline-block;
	border-right:
		4px solid white;
	border-bottom:
		4px solid white;
	width: 16px;
	height: 16px;
	transform: rotate(-135deg);
}
*/


/* -------------------- Page accueil ------------------- */
/* ----------------------------------------------------- */


.home > main, .home > main > div:first-child, .home > main > div:nth-last-of-type(2),
#votre-espace-therapeuthique {
	padding-top: 0!important;
	margin-top: 0!important;

}

:root .home main:where(.wp-block-group) {
	margin-top: -2vw !important;
}



#votre-espace-therapeuthique {}

@media all and (max-width: 1024px) {
	#esp-the-col-d {
		max-width:  33%;
	}
	#esp-the-photos {
		display: block;
	}
	
	#esp-the-photos figure:first-of-type {
		margin-bottom: 20px;
	}
}


@media all and (max-width: 768px) {
	#esp-the-col-d {
		max-width:  100%;
	}
	#esp-the-photos {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
	
	#esp-the-photos div {
		max-width: 160px;
	}
	
	
	#esp-the-photos figure:first-of-type {
		margin-bottom: 20px;
	}
}

@media all and (max-width: 480px) {
	#esp-the-col-d {
		margin-top:  -36px;
	}
	#esp-the-photos {
		display: ruby;

	}
	#esp-the-photos div {
		max-width: 40%;
		padding: 0 !important;
	}
	
}


#mon-approche-therapeuthique {}


#mes-accompagenements {
	margin-top: 20px !important;
}


#grille-accompagnements {
	margin-top: 200px !important;
}


.un-accompagnenemt {
	position: relative;
	padding-top: 130px !important;
	margin-bottom: 140px !important;
	border-width: 2px;
  border-radius: 36px;
  min-height: 130px;
}

.accompagnement-image {
	position: absolute;
	top: -120px;
/*	left: 25%;*/
}

@media all and (min-width: 769px) {
	#mes-accompagenements {
		margin-bottom: -140px
	}
}

@media all and (min-width: 1120px) {
	#votre-espace-therapeuthique img {
		width:500px;
	}
}


.accompagnement-titre {

}

.accompagnement-texte {

}

.accompagnement-plus {
	margin-top:auto !important; /* pour que le bouton soit en bas quelque soit la quantité de texte */
}

@media all and (max-width: 680px) {
	#grille-accompagnements {
		display:block;
	}
	.un-accompagnenemt:last-child {
		margin-bottom: 0 !important;
	}
}



/* ----------------- Page Qui suis-je ------------------ */
/* ----------------------------------------------------- */

#mon-parcours-timeline {}

@media all and (max-width: 768px) {
	#mon-parcours-timeline {
		margin-left: -56px !important;
	}
}

/* ---------- Time line --------- */
.timeline {
  width: 100%;
  position: relative;
  padding:  30px;
   box-sizing: border-box;
}
.timeline:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 207px;
  bottom: 32px;
  width: 4px;
  background:  #f2c2ff;
}
.timeline:after {
  content: "";
  display: table;
  clear: both;
}

.entry {
 /* clear: both;*/
  text-align: left;
  position: relative;
   box-sizing: border-box;
}
.entry .title {
  margin-bottom: 0.5em;
  float: left;
  width: 150px;
  padding-right: 30px;
  text-align: right;
  position: relative;
}
.entry .title:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 4px solid #864f98;
  background-color: #f2c2ff;
  border-radius: 100%;
  top: 15%;
  right: -13px;
  z-index: 99;
}
.entry .title h4 {
  margin: 0;
  font-size: 120%;
  margin-block: 0; /* surcharge WP */
}

.entry .body {
 /* float: right;*/
  width: calc(100% - 180px);
  padding-left: 215px;
  position: relative;
  top:5px;
}
.entry .nom-formateur {
	font-family:  var(--wp--preset--font-family--hanken-grotesk);
	font-style: italic;
	font-size:0.97rem;
}


/* ----------------- Page Mes tarifs ------------------- */
/* ----------------------------------------------------- */


.tarif-type {
	height: 5em;
}
.tarif-duree {
	height:  2em;
}
.tarif-prix{
	margin-top: auto;
}

@media all and (max-width: 768px) {
	.tarif-type {
		height: auto;
		margin-bottom: 24px;
	}
	.tarif-duree {
		height: auto;
	}
}

/* ------------------- Page Contact -------------------- */
/* ----------------------------------------------------- */

#contact-cols{}

#contact-col-me-trouver {

}

#contact-col-me-trouver .mes-options-adresse {
	display: block;
	margin-top: 16px;
	margin-left: 28px;
}


#contact-col-me-trouver .mes-options-horaires {
	margin-top: -16px;
}

#contact-col-form {

}

#plan-contact {
	margin-top: 10px;
}
#plan-contact iframe {
	max-width:100%;
}

@media all and (max-width: 768px) {
	#plan-contact iframe {
		width:100%;
		margin-bottom: 30px;
	}

}

#contact-col-form form {
	text-align: left;
}

#contact-col-form label {
	color: var(--wp--preset--color--primary);
	
}

#contact-col-form label {
	display: block;
	margin-top: 30px;
}


#contact-col-form #nf-label-field-9 {
	margin-top: 30px;
}
#contact-col-form input {
	height: 36px;
	width:100%;
}

#contact-col-form input[type="checkbox"] {
	display: inline-block;
	height: 20px;
	width: 20px;
}

#contact-col-form textarea {
	width :100%;
}



/* div contenant le bouton submit */

#soumettre-form-contact {
	text-align: center;
}

#contact-col-form div:has(input[type="submit"]) {
	text-align: center;
}

#contact-col-form input[type="submit"] {
	height: 36px;
	width: 300px;
	background-color: var(--wp--preset--color--primary);
	color:white;
}
#contact-col-form input[type="submit"]:hover {
	background-color: var(--wp--preset--color--fuchsia-moyen);
}
#contact-col-form input[type="submit"]:focus:active {
	background-color: var(--wp--preset--color--primary);
}




/* ------------------- Page Témoignages ---------------- */
/* ----------------------------------------------------- */
.un-temoignage{}
	.temoignagne {}
	.prenom {
		font-family: var(--wp--preset--font-family--hanken-grotesk) !important;
		font-style: italic !important;
	}