/*
Theme Name: Salient Child - Les Funambulants
Theme URI: https://lesfunambulants.org
Description: Thème enfant Salient pour Les Funambulants, incluant le module CMS Perso.
Author: Visual & Ko
Author URI: https://visualandko.com
Template: salient
Version: 17.0.7.1744652398
Text Domain: salient-child
*/

/* Les styles du module CMS sont chargés depuis cms-perso/css/ via inc/assets.php */

/* PAGE ACCUEIL - AFFICHAGE DES TEXTES AVEC EFFETS */
/* Ajustement No Crop */
.no-crop span:first-child {
  padding-left: 0.05em !important;
  display: inline-block !important;
}

.no-crop span:last-child::after {
  content: "";
  display: inline-block;
  width: 0.05em;
}

/* Ajustement Safari uniquement */
@supports (-webkit-appearance: none) {
  .no-crop span:first-child {
    padding-left: 0.08em !important;
  }
}

@media (min-width: 1025px) {
  .row-full {
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .row-full .wpb_column {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (min-width: 1025px) {
  .center-block {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Forcer la graisse 400 pour tous les span dans le Split Line Heading */
.nectar-split-heading .inner,
.nectar-split-heading span,
.nectar-split-heading .wrap {
  font-weight: 400 !important;
}

/* Partie gauche page accueil : Playfair Display */
.subtitle-left {
  font-family: 'Playfair Display', serif !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  line-height: 36.4px !important;
  letter-spacing: -0.1px !important;
}

/* Partie droite page accueil : Open Sans */
.subtitle-right {
  font-family: 'Open Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 28px !important;
  line-height: 36.4px !important;
  letter-spacing: 1.5px !important;
}

/* PAGE ABOUT : SLIDER */
.page-id-6709 .wpb_row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(var(--vh, 1vh) * 100);
}

.page-id-6709 .wpb_row:last-of-type {
    min-height: unset;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

/* FANCYBOX3 DIVERS RÉGLAGES */
.fancybox-bg {
  background-color: white !important;
  opacity: 1 !important;
}

.fancybox-toolbar {
  background: none !important;
  justify-content: flex-end !important;
  bottom: 20px !important;
  top: auto !important;
  right: 30px !important;
  left: auto !important;
  width: auto !important;
  text-align: right !important;
  position: absolute !important;
  z-index: 9999 !important;
}

.fancybox-button {
  color: #000 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.fancybox-navigation .fancybox-button--arrow_left,
.fancybox-navigation .fancybox-button--arrow_right {
  background: rgba(255, 255, 255, 0.6) !important;
  color: #000 !important;
  border-radius: 50% !important;
}

.fancybox-button--arrow_left::before,
.fancybox-button--arrow_right::before {
  font-size: 26px !important;
}

.fancybox-navigation .fancybox-button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
}

.fancybox-slide--image {
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1) !important;
}

a.lightbox-group {
  pointer-events: auto;
}

.fancybox-infobar {
  display: none !important;
}

@media (max-width: 768px) {
  .fancybox-navigation .fancybox-button {
    display: none !important;
  }
}

.fancybox-slide--image .fancybox-image {
  margin-left: 20px !important;
  margin-right: 20px !important;
  max-width: calc(100% - 40px) !important;
  height: auto !important;
}

.nectar-post-grid .nectar-post-grid-item .post-heading h3.nectar-post-grid-title {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

/* GALERIE FADE-IN (Visual Portfolio) */
.fade-in-gallery {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.fade-in-gallery .vp-portfolio__item {
  opacity: 0;
  transform: scale(0.8);
  transform-origin: center center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-gallery .vp-portfolio__item.visible {
  opacity: 1;
  transform: scale(1);
}

.fade-in-gallery .vp-portfolio__item:hover img {
  transform: scale(1.05);
  filter: brightness(1);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.fade-in-gallery .vp-portfolio__item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.4s ease, filter 0.4s ease;
  border-radius: 20px;
}

/* CHANGER TYPOS PAGES FILMS (projets) */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;700&display=swap');

.font-instrument-sans {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 23px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #ffffff;
}

.instrument-body {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}
