/*
	Theme Name: Divi-child
	Description: Divi Enfant, theme enfant de Divi
	Author: A New Story
	Author URI: https://anewstory.fr
	Template: Divi
	Version: 1.0.0
	*/

.et_pb_scroll_top {
	background-color: #01418e !important;
}

.et_pb_section_0.header_home {
	position: relative;
	overflow: hidden;
	background-image: none !important;
	height: 50vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.et_pb_section_0.header_home::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%),
		url(https://dev5.anewstory.fr/wp-content/uploads/2026/06/cabinet-ha-ha-communication-conseil-paris-createur-de-perspectives.webp) !important;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation: effectVideo 20s infinite alternate ease-in-out;
	z-index: 0;
}

.et_pb_section_0.header_home .et_pb_row {
	z-index: 1;
	position: relative;
}

a.dg_expand_content {
	color: #1c2b4a !important;
	font-weight: bold !important;
}

@keyframes effectVideo {
	0% {
		transform: scale(1) translate(0, 0);
	}

	100% {
		transform: scale(1.15) translate(-1%, -1%);
	}
}


/*Motion Design*/
body.stop-scrolling {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

#intro-overlay {
    position: fixed;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important; 
    background-color: #ffffff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2147483647;
    overflow: hidden;
    transition: opacity 0.6s ease;
}

.video-clipper {
    width: 80%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff !important;
    overflow: hidden;
}

#intro-video {
    width: 105% !important; 
    height: auto !important;
    min-height: 100%;
    object-fit: contain;
    background-color: #ffffff !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
}

#intro-video::-webkit-media-controls,
#intro-video::-webkit-media-controls-panel,
#intro-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.intro-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}