/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  --container-width: 1140px;
  --container-padding: 3rem 6rem;
  --gutter: 3rem;
  --side-pad: max(var(--gutter), calc((100vw - var(--container-width)) / 2));
  --radius: 6px;
  --carrousel-h: 60vh;
  --font-bilie: "AbleLead-Regular", sans-serif;
}

/* ==========================================
   NAVIGATION
   ========================================== */
#nav {
  position: relative;
  z-index: 999;
  transition: transform .35s ease, background-color .3s ease;
}

#nav.is-sticky {
  position: fixed;
  top: var(--nav-top, 0px);
  left: 0;
  right: 0;
  width: 100%;
}

#nav.is-sticky.is-hidden {
  transform: translateY(calc(-100% - var(--nav-top, 0px)));
}

#nav.no-anim {
  transition: none !important;
}

/* ---------- Couleurs par défaut (fond clair, et mode sticky) ---------- */
#nav .elementor-item:not(.e-off-canvas *),
#nav .elementor-item-active:not(.e-off-canvas *) {
  color: #121212 !important;
}

#nav .e--pointer-underline .elementor-item:not(.e-off-canvas *)::after {
  background-color: #121212 !important;
}

/* Fond de la nav en mode sticky */
#nav.is-sticky {
  background-color: rgba(255, 255, 255, .95);
}

/* ---------- Sur une section noire, hors sticky ---------- */
#nav.is-inverted:not(.is-sticky) img {
  filter: invert(1);
}

#nav.is-inverted:not(.is-sticky) .elementor-item:not(.e-off-canvas *),
#nav.is-inverted:not(.is-sticky) .elementor-item-active:not(.e-off-canvas *) {
  color: #fff !important;
}

#nav.is-inverted:not(.is-sticky) .e--pointer-underline .elementor-item:not(.e-off-canvas *)::after {
  background-color: #fff !important;
}

#nav.is-inverted:not(.is-sticky) #menunav {
  color: #fff !important;
  border-color: #fff !important;
}

#nav img {
  transition: filter .3s ease;
}

@media (prefers-reduced-motion: reduce) {
  #nav { transition: none; }
}

.instagram {
    border: 1px solid var(--border-subtle);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color:  #7A774B95;
    border-radius: 50px;
    flex-flow: column;
    display: flex;
    margin: .9rem;
}
.instagram a.elementor-button.elementor-button-link.elementor-size-sm {
    border: none;
    padding: 10px;
}
.instagram a.elementor-button.elementor-button-link.elementor-size-sm span {
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}
/* ==========================================================================
   SECTIONS
   ========================================================================== */
.contenu-encadre,
.section {
  padding: 6rem;
}

.section-padding        { padding: 8rem; }
.section-padding-top    { padding-top: 8rem; }
.section-padding-bottom { padding-bottom: 8rem; }

#ast-scroll-top {
  background-color: var(--e-global-color-accent);
  border-radius: 100%;
}

/* Contenu full width, aligné à gauche sur le contenu encadré */
.contenu-full-width-align-left {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding-left: var(--side-pad);
}

/* Contenu full width 2 colonnes (texte à gauche ou à droite) */
.contenu-full-width-left-text,
.contenu-full-width-right-text {
  width: 50%;
  box-sizing: border-box;
}
.contenu-full-width-left-text {
  padding-left: var(--side-pad);
  padding-right: var(--gutter);
}
.contenu-full-width-right-text {
  padding-right: var(--side-pad);
  padding-left: var(--gutter);
}

/* ==========================================================================
   SECTION VAGUE
   ========================================================================== */
.vaguesectiondemie:before{
    content: "";
    background-image: url(https://therapeuticvisuals.com/wp-content/uploads/2026/04/line-1.svg);
    height: 100vh;
    width: 100%;
    display: block;
    position: absolute;
    background-position: center;
    background-size: cover;
    z-index: 2;
    top: 13vh;
}
/* ==========================================================================
   TEXTE
   ========================================================================== */
ul { margin: 1rem; }

p,
.elementor-widget-text-editor {
  text-align: justify;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

p a {
  font-family: "Montserrat" !important;
  font-size: initial !important;
  font-weight: 500;
}

h2 {
  line-height: .8em !important;
  text-transform: uppercase;
  font-weight: 400;
}

.ptith2 h2 {
  font-size: 4em;
  text-transform: none;
}

/* Pictogramme "&" en masque */
h1 .and,
h2 .and {
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: var(--e-global-color-accent);
  -webkit-mask: url("https://therapeuticvisuals.com/wp-content/uploads/2026/04/and.svg") no-repeat 0 0 / contain;
  mask: url("https://therapeuticvisuals.com/wp-content/uploads/2026/04/and.svg") no-repeat 0 0 / contain;
}

/* Sur-titres (span dans les titres) */
.bigtexte .elementor-heading-title span,
h1 span,
h2 span,
h4 span {
  display: block;
  font-family: var(--e-global-typography-text-font-family), sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2em;
  padding-bottom: 1.7em;
  text-transform: uppercase;
  vertical-align: middle;
}

.bigtexte,
.bigtextenorm {
  font-family: var(--font-bilie);
  font-size: 4rem;
  text-transform: uppercase;
}
.bigtextenorm {
  font-size: 3rem;
  line-height: 1em;
  padding: 0;
  text-transform: none;
}
.bigtexte .elementor-heading-title span {
  display: inline-block;
  font-size: .25em;
}

/* Prix barré */
.prixbarre {
  position: relative;
  display: block;
  color: #999;
  text-align: center;
}
.prixbarre::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #999;
  transform: rotate(165deg);
  transform-origin: center;
}

em,
i {
  font-size: .9em;
  opacity: .7;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
span.elementor-button-text {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--e-global-color-accent);
}

a.elementor-button.elementor-button-link.elementor-size-sm {
  font-family: var(--font-bilie);
  letter-spacing: 2px;
  color: var(--e-global-color-accent);
  border-color: var(--e-global-color-accent);
}
a.elementor-button.elementor-button-link.elementor-size-sm:hover {
  background: none;
  color: var(--e-global-color-primary);
}

/* Formulaire */
form span.elementor-button-text {
  padding-top: 7px;
  color: #fff;
}

/* ==========================================================================
   IMAGES
   ========================================================================== */
.elementor .img-arrondie img {
  border-radius: var(--radius);
  width: auto !important;
}
.elementor img {
  border-radius: var(--radius);
}
.img-noradius img {
  border-radius: 0;
}

/* ==========================================================================
   SLIDES
   ========================================================================== */
.elementor-swiper-button.elementor-swiper-button-next {
  padding: 10px;
  background-color: var(--e-global-color-accent);
  border-radius: 100%;
}

.swiper-slide-next a.elementor-button.elementor-button-link.elementor-size-sm {
  visibility: hidden;
}

/* Carrousel photo */
.carrouselphoto {
  box-sizing: border-box;
}
.carrouselphoto .elementor-image-carousel-wrapper {
  overflow: visible;
}
.carrouselphoto .elementor-image-carousel-wrapper .swiper-wrapper {
  transition-timing-function: cubic-bezier(.25, .46, .45, .94) !important;
}
.carrouselphoto .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: var(--carrousel-h);
}
.carrouselphoto .swiper-slide-inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.carrouselphoto .swiper-slide-image {
  display: block;
  width: auto;
  max-width: none;
  height: var(--carrousel-h);
  object-fit: contain;
}
/* ==========================================================================
   GALERIE PHOTO IMMERSIONS
   ========================================================================== */
a.elementor-item.elementor-gallery-title.elementor-item-active {
    display: none;
}
/* ==========================================
   BOUTON FERMER galerie
   ========================================== */
.btn-fermer {
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 1px solid currentColor;
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: .05em;
    transition: background-color .25s ease, color .25s ease;
    border-radius: 100%;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.btn-fermer span {
    font-family: initial;
    font-size: 19px;
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 1024px) {
  .contenu-encadre,
  .section {
    padding: 6rem;
  }
  p,
  h2 {
    max-width: 30rem;
  }
}

@media (max-width: 1024px) {
  .contenu-full-width-left-text,
  .contenu-full-width-right-text {
    width: 100%;
  }
  .cfwlt-tablette .contenu-full-width-left-text {
    width: 50%;
  }
  .mobile-contenu-full-width-left-text {
    padding-left: var(--side-pad);
  }
}

@media (max-width: 767px) {
    .instagram {
    width: 70%;
}
  .section-padding {
    padding-block: 3rem;
  }
  .contenu-encadre,
  .section {
    padding: 2rem var(--gutter);
  }
  .contenu-full-width-align-left {
    padding: 0;
  }
  .sectionmobile,
  .section {
    padding: 4rem var(--gutter);
  }
}