/*
Theme Name: Salient Child
Theme URI: https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Template: salient
Author: ThemeNectar
Author URI: https://themeforest.net/user/themenectar
Description: An Ultra Responsive Multi-Purpose Theme.
Version: 17.0.7.1744652398
Updated: 2025-04-14 19:39:58

*/

/* 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 */
/* Chaque Row occupe tout l'espace (page About) */
.page-id-6709 .wpb_row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(var(--vh, 1vh) * 100); /* garantit la hauteur pleine et meilleur pour mobile/desktop */
}

/* Correction spéciale dernière slide page About (pleine page fixe) */
.page-id-6709 .wpb_row:last-of-type {
    min-height: unset;
    height: calc(var(--vh, 1vh) * 100); /* Fixer exactement la hauteur visible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

/* FANCYBOX3 DIVERS RÉGLAGES : */
/* FancyBox3 : lightbox photos – fond blanc + styles */
.fancybox-bg {
  background-color: white !important;
  opacity: 1 !important;
}

/* GALERIES TYPE TINTYPE-FANCYBOX */
/* Toolbar : alignée à droite, au-dessus de l’image */
.fancybox-toolbar {
  background: none !important;
  justify-content: flex-end !important;
  top: 20px !important;
  right: 30px !important;
  left: auto !important;
  width: auto !important;
  text-align: right !important;
  position: absolute !important;
  z-index: 9999;
}

/* Style des icônes : noir, sans fond carré */
.fancybox-button {
  color: #000 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Icônes navigation (gauche/droite) */
.fancybox-navigation .fancybox-button--arrow_left,
.fancybox-navigation .fancybox-button--arrow_right {
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 50%;
  color: #000 !important;
}

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

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

/* Forcer le groupement lightbox dans Salient */
a.lightbox-group {
  pointer-events: auto;
}

/* Nouveaux réglages click image Fancy Box */
/* Flèches plus discrètes */
.fancybox-navigation .fancybox-button {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  color: rgba(0, 0, 0, 0.4) !important;
}

.fancybox-navigation .fancybox-button:hover {
  background: none !important;
  color: rgba(0, 0, 0, 0.7) !important;
}

/* Masquer les flèches sur mobile */
@media (max-width: 768px) {
  .fancybox-navigation .fancybox-button {
    display: none !important;
  }
}

/* Masquer le compteur d’images (ex: 6 / 21) */
.fancybox-infobar {
  display: none !important;
}

/* FancyBox3 Divers réglages : correction globale */
.fancybox-bg {
  background-color: white !important;
  opacity: 1 !important;
}

/* Toolbar : alignée à droite, en bas discrètement */
.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;
}

/* Style des icônes : noirs, simples */
.fancybox-button {
  color: #000 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Flèches plus sobres */
.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;
}

/* Supprimer effet violet au hover flèches */
.fancybox-navigation .fancybox-button:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #000 !important;
}

/* Supprimer compteur (ex: 6/21) */
.fancybox-infobar {
  display: none !important;
}

/* Masquer les flèches sur mobile */
@media (max-width: 768px) {
  .fancybox-navigation .fancybox-button {
    display: none !important;
  }
}

/* Ajouter espace blanc sur les côtés */
.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;
}

/* CHANGER TYPOS PAGES FILMS (projets) */
/* Titres-Menus 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;
}

/* Textes films (corps) */
.instrument-body {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
}

