/*
Theme Name: La Cellule Digitale Child
Theme URI: https://royalsoda.lacelluledigitale.com/lacelluledigitale-child
Description: Thème enfant pour le thème La Cellule Digitale
Author: La Cellule Digitale
Author URI: https://royalsoda.lacelluledigitale.com/
Template: lacelluledigitale
Version: 1.0
Text Domain: lacelluledigitale-child
*/

@font-face {
    font-family: 'blockberthold';
    src: url('fonts/block-berthold-bq-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3 {
	font-family: 'blockberthold'!important;
}
.elementor-element-39c3040d{
	display:none !important; 
}
/*
 * Progress circle
 */
.circles-small {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
    text-align: center;
}

.circle-small {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 150px;
    margin: 0 8px;
}

.circle-small svg {
    width: 80px;
    height: 80px;
}

.circle-small .bg {
    fill: none;
    stroke-width: 6px;
    stroke: rgba(255,255,255,0.2);
}

.circle-small .progress {
    fill: none;
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-dasharray: 232.36;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.circle-small .text {
    position: absolute;
    width: 100%;
    top: 32px;
    font-size: 17px;
    text-align: center;
    font-weight: 400;
    line-height: 16px;
}

.circle-small .text .small {
    font-size: 12px;
    color: #fff;
}

/* Animations pour chaque pourcentage */
@keyframes ten {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 209.124; }
}

@keyframes twenty {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 185.888; }
}

@keyframes thirty {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 164; }
}

@keyframes sixty {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 92.944; }
}

@keyframes seventy {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 69.708; }
}

@keyframes eighty {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 46.472; }
}

@keyframes ninety {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 23.236; }
}

@keyframes ninetynine {
    from { stroke-dashoffset: 232.36; }
    to { stroke-dashoffset: 2.3236; }
}

@keyframes appear {
    0%, 50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Style par défaut pour les éléments progress */
.circle-small .progress {
    stroke-dashoffset: 232.36; /* Valeur de départ complète */
    animation: none; /* Aucune animation initialement */
}

/* Application des animations */
.active-content .circle-small .progress.ten {
    animation: ten 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.twenty {
    animation: twenty 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.thirty {
    animation: thirty 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.sixty {
    animation: sixty 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.seventy {
    animation: seventy 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.eighty {
    animation: eighty 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.ninety {
    animation: ninety 2s ease-in-out forwards, appear 0.5s;
}

.active-content .circle-small .progress.ninetynine {
    animation: ninetynine 2s ease-in-out forwards, appear 0.5s;
}



/*
 * Team tabs control
 */
 
.jet-tabs__control.jet-tabs__control-icon-left>.jet-tabs__control-inner {
    -webkit-justify-content: left; /* Chrome, Safari */
    -moz-justify-content: left; /* Firefox */
    justify-content: left; /* Standard */
}

.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control .jet-tabs__label-image {
	-webkit-border-radius: 50px; /* Chrome, Safari */
    -moz-border-radius: 50px; /* Firefox */
    border-radius: 50px; /* Standard */
}

.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control {
	max-width: 270px;
}

@media (max-width: 575px) {
    .team .jet-tabs__content.active-content img {
		width: 150px;
	}
	.elementor-widget-image.elementor-absolute {
		left: 0 !important; /* Assurez-vous que l'image ne se déplace pas à droite */
		right: 0 !important; /* Empêche le déplacement à droite */
		transform: none !important; /* Désactive les transformations */
	}
	#actualites {
    	width: 100%;
    	max-width: 100%;
    	box-sizing: border-box;
	}
	#actualites {
    	overflow-x: hidden; /* Empêche le scroll horizontal */
	}
	.elementor-element-baa4349,.elementor-element-d7f4209 {
		display:none !important;
	}
}

@media (min-width: 1200px) { 
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control.active-tab .jet-tabs__label-image,
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control:hover .jet-tabs__label-image {
		height: 100px;
		-webkit-border-radius: 0 0 0 50px; /* Chrome, Safari */
   	 	-moz-border-radius: 0 0 0 50px; /* Firefox */
    	border-radius: 0 0 0 50px; /* Standard */
	}
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control .jet-tabs__label-text {
		opacity:0;
    	transition: opacity 0.1s ease-in-out; 
	}
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control.active-tab .jet-tabs__label-text,
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control:hover .jet-tabs__label-text {
		opacity:1;
	}
	
	/* Animation au hover */
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control {
		height: 100px;
		width: 100px;
   		-webkit-transition: width 0.2s ease-in-out, color 0.3s ease-in-out; /* Chrome, Safari */
    	-moz-transition: width 0.2s ease-in-out, color 0.3s ease-in-out; /* Firefox */
    	transition: width 0.2s ease-in-out, color 0.3s ease-in-out; /* Standard */
	}

	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control.active-tab,
	.jet-tabs > .jet-tabs__control-wrapper > .jet-tabs__control:hover {
		width: 270px;
	}
}

/* Image sous le texte */
.jet-tabs__control .jet-tabs__label-text {
	padding-bottom: 20px;
    background-size: 0px 0px; 
    -webkit-transition: padding-bottom 0.3s ease-in-out, background-size 0.3s ease-in-out; /* Chrome, Safari */
    -moz-transition: padding-bottom 0.3s ease-in-out, background-size 0.3s ease-in-out; /* Firefox */
    transition: padding-bottom 0.3s ease-in-out, background-size 0.3s ease-in-out; /* Standard */
}
.jet-tabs__control.active-tab .jet-tabs__label-text,
.jet-tabs__control:hover .jet-tabs__label-text {
    position: relative;
    padding-bottom: 4px;
    min-height: 10px;
    background-image: url('https://royalsoda.lacelluledigitale.com/wp-content/uploads/2024/09/souligne-rouge.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    -webkit-background-size: 44px 7px; /* Préfixe pour les anciennes versions de Safari */
    background-size: 44px 7px;
}
/* couleur message de confirmation formulaire de contact */
.elementor-message.elementor-message-success {
	color:#fff !important;	
}
/*
 * Cursor particle
 */
.sketch {
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
}

#famille {
	z-index: 20;
}

