.site-header,
header,
#masthead {
  position: relative !important;
}

.site-header.is-sticky,
header.is-sticky,
#masthead.is-sticky {
  position: static !important;
}

/* Forcer le fond du bloc Cover à être transparent */
.wp-block-cover,
.wp-block-cover__inner-container {
    background-color: transparent !important;
}

/* Supprimer les contrôles vidéo du hero Inspiro */
.hero-media video::-webkit-media-controls {
    display: none !important;
}

.hero-media video {
    pointer-events: none;
}
/* HERO VIDEO - enlever les boutons play/pause/controls partout */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-fullscreen-button {
  display: none !important;
  -webkit-appearance: none !important;
}

/* empêche tout clic sur la vidéo (donc plus de pause) */
.hero-media,
.hero-media video,
.custom-header,
.custom-header video {
  pointer-events: none !important;
}
.wp-custom-header-video-button,
button.wp-custom-header-video-button,
button.wp-custom-header-video-button:focus,
button.wp-custom-header-video-button:hover {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.wp-custom-header button {
    display: none !important;
}
@media (max-width: 1024px) {
  .wp-custom-header-video-button,
  .wp-custom-header button,
  .custom-header-media button,
  .custom-header button,
  .hero-video button,
  .wp-video-shortcode + button,
  button[aria-label*="Pause"],
  button[aria-label*="Play"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  video {
    pointer-events: none !important;
  }
}
.hero-button,
.wp-block-button__link,
.custom-header-content a,
.site .button,
.site a.button,
.site a.wp-block-button__link {
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

.wp-custom-header,
.wp-custom-header video,
.wp-custom-header img,
.custom-header-media,
.custom-header-media video,
.custom-header-media img {
  pointer-events: none !important;
}
.elementor-background-video-container video,
.elementor-background-video-hosted {
.elementor-background-video-container {
  display: block !important;
}

.elementor-background-video-fallback {
  display: none !important;
}

.elementor-background-video-hosted {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}
	
/* =========================================
   NELSON'S STUDIO — PREMIUM HERO TITLE
   INSPIRO THEME
========================================= */

/* TITRE DU HERO */
.inspiro-front-page .custom-header-content .inner-wrap h1,
.has-header-video.inspiro-front-page .custom-header-content .inner-wrap h1,
.has-header-image.inspiro-front-page .custom-header-content .inner-wrap h1 {

    max-width: 850px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;

    line-height: 1.15 !important;
    letter-spacing: 1.5px !important;
}


/* DESKTOP */
@media screen and (min-width: 1025px) {

    .inspiro-front-page .custom-header-content .inner-wrap h1,
    .has-header-video.inspiro-front-page .custom-header-content .inner-wrap h1,
    .has-header-image.inspiro-front-page .custom-header-content .inner-wrap h1 {

        width: 760px !important;
        max-width: 760px !important;

        font-size: 58px !important;
        line-height: 1.12 !important;
        letter-spacing: 2px !important;
    }
}


/* TABLET */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .inspiro-front-page .custom-header-content .inner-wrap h1,
    .has-header-video.inspiro-front-page .custom-header-content .inner-wrap h1,
    .has-header-image.inspiro-front-page .custom-header-content .inner-wrap h1 {

        width: 650px !important;
        max-width: 85% !important;

        font-size: 46px !important;
        line-height: 1.15 !important;
        letter-spacing: 1.5px !important;
    }
}


/* MOBILE */
@media screen and (max-width: 767px) {

    .inspiro-front-page .custom-header-content .inner-wrap h1,
    .has-header-video.inspiro-front-page .custom-header-content .inner-wrap h1,
    .has-header-image.inspiro-front-page .custom-header-content .inner-wrap h1 {

        width: 90% !important;
        max-width: 90% !important;

        font-size: 36px !important;
        line-height: 1.12 !important;
        letter-spacing: 1px !important;
    }
}	
	
	/* =========================================
   NELSON'S STUDIO - SERVICE CARD
   MOBILE FIX
   ========================================= */

@media (max-width: 767px) {

    .ns-service-card {
        position: relative !important;
        overflow: visible !important;
    }

    /* Image */
    .ns-service-card img {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Titre de la carte */
    .ns-service-card .elementor-icon-box-title {
        position: relative !important;
        display: block !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        transform: none !important;

        margin: 15px 0 10px !important;
        padding: 0 10px !important;

        width: 100% !important;
        box-sizing: border-box !important;

        text-align: center !important;
        z-index: 5 !important;
    }

    /* Texte descriptif */
    .ns-service-card .elementor-icon-box-description {
        position: relative !important;

        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;

        transform: none !important;

        display: block !important;
        width: 100% !important;

        text-align: center !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;

        z-index: 5 !important;
    }
}
	
/* ==========================================
   NELSON'S STUDIO
   FOOTER - 3 COLONNES
   ========================================== */

/* Zone générale du footer */
.site-footer {
    background: #0b0b10 !important;
    width: 100% !important;
}

/* CONTENEUR DES 3 FOOTERS */
.site-footer .footer-widgets {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    gap: 60px !important;
    align-items: flex-start !important;
}

/* CHAQUE COLONNE */
.site-footer .footer-widgets > *,
.site-footer .footer-widgets .widget-area,
.site-footer .footer-widgets .widget {
    flex: 1 1 0 !important;
    width: 33.333% !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* TITRES */
.site-footer .widget-title,
.site-footer h2,
.site-footer h3 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

/* TEXTE */
.site-footer p {
    color: #c1c1c8 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* LIENS */
.site-footer a {
    color: #c1c1c8 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.site-footer a:hover {
    color: #9b4dff !important;
}

/* LISTES */
.site-footer ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer li {
    margin-bottom: 14px !important;
}

/* PUCE VIOLETTE POUR LES SERVICES */
.site-footer li::before {
    content: "→" !important;
    color: #8b3dff !important;
    margin-right: 10px !important;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 768px) {

    .site-footer .footer-widgets {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .site-footer .footer-widgets > *,
    .site-footer .footer-widgets .widget-area,
    .site-footer .footer-widgets .widget {
        width: 100% !important;
        max-width: 100% !important;
    }

}