/* ============================================================
   ESPACE SOLEIL — CSS principal
   Fidèle au design Weebly d'origine
   ============================================================ */

/* ---- Variables ---- */
:root {
  --es-pistache:    #daee95;
  --es-vert:        #3ab890;
  --es-rose:        #d08491;
  --es-rose-dark:   #a65a67;
  --es-olive:       #33A27F;
  --es-olive-light: #3AB890;
  --es-marron:      #472b29;
  --es-turquoise:   rgba(76, 201, 164, 0.7);
  --es-turquoise-s: #4cc9a4;
  --es-bloc-color: 	#C7EDE1;
  --es-mobile-nav:  #85ac00;
  --es-content-bg:  #ffffff;
  --es-overlay:     rgba(0, 0, 0, 0.25);
  --es-header-h:    450px;
  --es-grey: 		#3f3f3f;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--es-pistache);
  color: var(--es-grey);
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--es-vert);
  text-decoration: none!important;
  transition: color 200ms ease-in;
}
a:hover { color: var(--es-rose-dark); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--es-grey);
  letter-spacing: 0.03em;
  line-height: 1.3;
}
h2 { font-size: 1.8rem; padding: 0.3em 0; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p, .wp-block-paragraph {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--es-maincolor);
  margin-bottom: 1em;
}

blockquote {
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1.1rem;
  border-left: 3px solid var(--es-turquoise-s);
  padding-left: 1.5em;
  color: var(--es-vert);
  font-style: italic;
}
strong {font-weight: 600;
}
small {font-size:0.60em !important;}
/* ============================================================
   ZONE PAGE (wrapper blanc au-dessus du fond pistache)
   ============================================================ */
.aligncenter {text-align:center;}
#page { position: relative; }
/*bloc verts*/
.green {background-color: var(--es-bloc-color) !important; padding:8px;}
/* bloc vert contact*/
.vc_custom_1773251759958 a {color: var(--es-grey);  text-decoration: none!important;  }
.bloc_color {background-color: var(--es-bloc-color) !important;}

.green1 {background-color: var(--es-olive) !important; padding:15px; margin-bottom:30px; color:#d5d5d5;}
.green2 {background-color: var(--es-olive-light) !important; padding:15px; margin-bottom:30px;}

/* ============================================================
   HEADER HERO
   ============================================================ */
.es-header {
  position: relative;
  background-image: url('/wp-content/uploads/header-bg.jpg');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  height: var(--es-header-h);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* overflow: hidden retiré — il coupait les sous-menus dropdown */
}

.es-header__overlay {
  position: absolute;
  inset: 0;
  background: var(--es-overlay);
  z-index: 1;
}

/* Barre supérieure */
.es-topbar {
  position: relative;
  z-index: 5;
  padding: 8px 0;
}
.es-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.es-topbar__phone a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
.es-topbar__phone a:hover { color: #fff; opacity: 0.8; }

/* Icônes réseaux sociaux */
.es-topbar__social {
  display: flex;
  gap: 6px;
  align-items: center;
}
.es-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease, color 200ms ease;
}
.es-social__link:hover {
  background: rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  transform: scale(1.15);
}

/* Titre / Branding — contient logo + slogan */
.es-header__branding {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: stretch;
}

/* Rangée interne logo + slogan */
.es-header__branding-inner {
  display: flex;
  /*align-items: center;*/
  gap: 24px;
  width: 100%;
}

/* Wrapper logo */
.es-header__logo-wrap {
  flex-shrink: 0;
}

.es-header__site-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--es-bloc-color);
  text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
  letter-spacing: 0.05em;
  line-height: 1.1;
  display: block;
}
.es-header__site-name:hover {
  color: var(--es-bloc-color);
  opacity: 0.85;
}

/* Logo image personnalisé */
.es-header__logo .custom-logo-link img {
  max-height: 110px;
  width: auto;
  filter: drop-shadow(1px 2px 4px rgba(0,0,0,0.4));
}

/* ============================================================
   SLOGAN (3 liens à droite du logo, fidèle au site Weebly)
   ============================================================ */
.es-header__slogan {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  margin-top: 100px;
}

/* Lien principal "Massages et cercles" */
.es-slogan__main {
  display: block;
  color: #fff;
  text-align: center;
  letter-spacing: .07em;
  font-family: 'Princess Sofia', cursive;
  font-size: 75px;
  font-weight: 400;
  line-height: normal;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
}
.es-slogan__main:hover {
  color: #fff;
  opacity: 0.80;
  text-decoration: none;
}

/* Ligne inférieure : deux liens côte à côte */
.es-slogan__sub {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}
.translated-ltr .es-slogan__sub {
  display: flex;
  gap: 40px!important;
}
.es-slogan__item {
  transition: opacity 200ms ease;
  letter-spacing: .07em;
  font-family: 'Princess Sofia', cursive;
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
  color: #fff;
}
.translated-ltr .es-slogan__item {
	 font-size: 38px;
}
.es-slogan__item:hover {
  color: #fff;
  opacity: 0.75;
  text-decoration: none;
}

/* ============================================================
   NAVIGATION PRINCIPALE (barre turquoise en bas du header)
   ============================================================ */
.es-navbar {
  position: relative;
  z-index: 200;        /* au-dessus du contenu de la page pour les dropdowns */
  background: var(--es-turquoise);
  backdrop-filter: blur(2px);
}

.es-navbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

/* Liste de menu */
.es-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.es-nav__list > li { position: relative; }

.es-nav__list > li > a {
  display: block;
  padding: 10px 12px;
  color: #fff;
  font-family: 'Spirax', cursive;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 200ms ease-in, background 200ms ease-in;
}
.translated-ltr .es-nav__list > li > a {
  display: block;
  padding: 10px 8px;
}

.es-nav__list > li > a:hover,
.es-nav__list > li.current-menu-item > a,
.es-nav__list > li.current-page-ancestor > a {
  color: var(--es-marron);
  background: rgba(255,255,255,0.15);
}

/* Sous-menus (dropdown) */
.es-nav__list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  list-style: none;
  padding: 5px 0;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  z-index: 300;        /* au-dessus de la navbar et du contenu */
  border-top: 3px solid var(--es-bloc2);
}
.es-nav__list li:hover > .sub-menu,
.es-nav__list li:focus-within > .sub-menu { display: block; }

/* Sous-sous-menus (niveau 3) */
.es-nav__list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-top: none;
  border-left: 3px solid var(--es-bloc2);
}

.es-nav__list .sub-menu li a {
  display: block;
  padding: 8px 15px;
  color: var(--es-grey);
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1rem;
  white-space: nowrap;
}
.es-nav__list .sub-menu li a:hover {
  color: var(--es-vert);
  background: #fff;
}

/* Bouton hamburger (caché sur desktop) */
.es-navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 15px;
}
.es-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 250ms ease;
}

/* ============================================================
   MENU MOBILE (panneau latéral)
   ============================================================ */
.es-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 75vw);
  height: 100%;
  background: var(--es-mobile-nav);
  z-index: 9999;
  overflow-y: auto;
  padding: 60px 25px 30px;
  transition: right 350ms cubic-bezier(0, 0.8, 0.55, 1);
}
.es-mobile-nav.is-open { right: 0; }

.es-mobile-nav__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.es-mobile-nav__list,
.es-mobile-nav__list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.es-mobile-nav__list li a {
  display: block;
  padding: 10px 0;
  color: #fff;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.es-mobile-nav__list li a:hover { color: var(--es-marron); }

.es-mobile-nav__list .sub-menu { padding-left: 15px; }

/* Overlay mobile */
.es-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
}
.es-nav-overlay.is-open { display: block; }

/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */
#content.site-content {
  background: var(--es-content-bg);
  box-shadow: 2px 0 6px rgba(0,0,0,0.06);
  min-height: 400px;
}

#page-content {
  padding: 45px 30px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Gutenberg blocks dans le contenu */
.wp-block-heading {
  font-family: 'Montserrat', sans-serif;
  color: var(--es-grey);
}

.wp-block-separator {
    background-color: #eee;
    background-color: rgba(0,0,0,0.13);
    border: 0pt none;
    color: #eee;
    color: rgba(0,0,0,0.13);
    height: 1px;
    margin: 10px auto;
    text-align: center
}

/* Wrapper de boutons : centré par défaut */
.wp-block-buttons {
  justify-content: center;
	 margin: 0 auto 30px 0;
}

/* Boutons Gutenberg */
.wp-block-button .wp-block-button__link,
.wp-element-button {
  background-color: #fff;
  color: #472b29 !important;
  border: 2px solid #472b29 !important;
  border-radius: 0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  padding: 10px 20px !important;
  transition: background 300ms ease !important;
 
}
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover {
  background-color: #472b29 !important;
  color: #fff !important;
}

/* Bouton outline (is-style-outline) */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--es-marron) !important;
  border: 2px solid var(--es-marron) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--es-marron) !important;
  color: #fff !important;
}

/* Images */
.wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Colonnes */
.wp-block-columns { gap: 30px; }

/* Groupe avec fond */
.wp-block-group.has-background {
  border-radius: 3px;
  padding: 20px;
}

/* Listes */
.wp-block-list {
  padding-left: 0em;
  color: var(--es-grey);
}
.wp-block-list ul, .bloc_li ul { border-bottom-color:#DDDDDD; border-bottom-style:solid; border-bottom-width:1px; margin:15px 0 20px; padding:0 !important; }
.wp-block-list li, .bloc_li li {
  margin-bottom: 0.3em;
  font-family: 'Open Sans Condensed', sans-serif;
  background:none;
  border-top-color:#DDDDDD;
  border-top-style:solid;
  border-top-width:1px;
  display:block;
  list-style:none;
  margin:0 !important;
  padding:5px !important;
  font-size:18px;
}

/* Contact Form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 0.95rem;
  color: #555;
  transition: border 200ms ease;
  background: #fff;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--es-marron);
  outline: none;
}
.wpcf7 input[type="submit"] {
  background: var(--es-olive);
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 300ms ease;
  border-radius: 0;
}
.wpcf7 input[type="submit"]:hover { background: var(--es-olive-light); }
.wpcf7 label { font-family: 'Open Sans Condensed', sans-serif; color: #555; font-size: 1rem; }
.wpcf7-not-valid-tip { color: #c00; font-size: 0.85rem; }
.wpcf7-response-output { padding: 10px; border-radius: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.es-footer {
  background: var(--es-pistache);
  color: var(--es-vert);
  padding: 40px 0 20px;
  margin-top: 0;
}

.es-footer h2, .es-footer h3, .es-footer h4 {
  color: var(--es-grey);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-widget-title {
  color: var(--es-vert) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.es-footer p,
.es-footer a {
  color: var(--es-grey);
  font-size: 0.9rem;
}
.es-footer a:hover { color: #fff; }

.es-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.es-footer__nav li a {
  color: var(--es-grey);
  font-size: 0.9rem;
  display: block;
  padding: 3px 0;
}
.es-footer__nav li a:hover { color: #fff; }

.es-footer__widgets { padding-bottom: 30px; }

.es-footer__bottom {
  border-top: 1px solid rgba(68, 85, 0, 0.25);
  padding-top: 15px;
  text-align: center;
}
.es-footer__bottom p { font-size: 0.82rem; color: var(--es-vert); margin: 0; }
.es-footer__bottom a { color: var(--es-vert); }
.es-footer__bottom a:hover { color: var(--es-marron); }

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

/* Tablette et mobile (< 992px) */
@media (max-width: 1200px) {
  :root { --es-header-h: auto; }

  .es-header {
    height: auto;
    min-height: 220px;
  }

  .es-header__site-name { font-size: clamp(1.8rem, 6vw, 2.8rem); }

  /* Slogan : réduire légèrement */
  .es-slogan__main  { font-size: 2.1rem; }
  .es-slogan__item  { font-size: 1.8rem; }
.es-slogan__sub
 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
  /* Cacher le menu desktop, afficher le burger */
  .es-nav__list { display: none; }
  .es-navbar__toggle { display: block; }
  .es-navbar .container { justify-content: flex-start; padding: 8px 15px; min-height: 48px; }

  #page-content { padding: 25px 15px; }
}

/* Mobile (< 576px) */
@media (max-width: 576px) {
  .es-header { min-height: 180px; }
  .es-header__site-name { font-size: 1.8rem; }
  .es-topbar__phone { display: none; }

  /* Sur mobile, slogan passe sous le logo */
  .es-header__branding-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px 0; }
  .es-header__slogan { gap: 4px; margin-top: 50px;}
  .es-slogan__main  { font-size: 2.1rem; }
  .es-slogan__sub   { gap: 12px; justify-content: center;}
  .es-slogan__item  { font-size: 1.82rem; }

  .es-footer__widgets .col-md-4 { margin-bottom: 20px; }
  .wp-block-columns { flex-direction: column; }
}

/* ============================================================
   OVERRIDES BOOTSTRAP / UNDERSTRAP
   ============================================================ */

/* Retirer les marges Understrap par défaut sur le content */
#wrapper-page-content { padding: 0; margin: 0; width: 100%; max-width: 100%; }
.container-fluid { padding: 0; }
.row { margin: 0; }

/* Désactiver la sidebar Understrap */
#sidebar { display: none; }

/* Retirer le wrapper-footer d'Understrap (remplacé par es-footer) */
#wrapper-footer { display: none; }

/* ============================================================
   JS NAVIGATION (état hamburger actif)
   ============================================================ */
body.nav-open .es-mobile-nav { right: 0; }
body.nav-open .es-nav-overlay { display: block; }
