/* Enlever la limite de largeur du main sur les pages locales */
body.single-page_locale:not([class*="elementor-page-"]) .site-main,
body.page-template-template-page_locale:not([class*="elementor-page-"]) .site-main {
	max-width: 100% !important;
	width: 100%;
	margin-inline-start: 0;
	margin-inline-end: 0;
}



/* Conteneur générique */
.ow-pl-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Sections génériques */
.ow-pl-section {
	padding: 60px 0;
}

.ow-pl-section-title {
	font-size: 2rem;
	margin: 0 0 20px;
    color: #352080;
}

/* HERO */
.ow-pl-hero {
	background: linear-gradient(135deg, #6A38A9, #F66E46);
	color: #fff;
	padding:60px 0;
}

.ow-pl-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
	gap: 40px;
	align-items: center;
}

.ow-pl-pill {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.9rem;
	margin-bottom: 10px;
}

.ow-pl-hero-title {
	font-size: 2.6rem;
	line-height: 1.1;
	margin: 0 0 15px;
}

.ow-pl-hero-subtitle {
    font-size: 1.42rem;
    max-width: 585px;
	margin-bottom: 25px;
}

/* Image ville */
.ow-pl-hero-right {
	display: flex;
	justify-content: flex-end;
}

.ow-pl-hero-image-wrapper {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: 10px;
	backdrop-filter: blur(6px);
}

.ow-pl-hero-image {
	display: block;
	border-radius: 20px;
	max-width: 100%;
	height: auto;
}
.ow-pl-hero-caption {
    display: inline-block;
    margin: 8px 0 0;
    font-size: 0.75rem;
    line-height: 1.3;
    color: #fff;
width: 100%;
    text-align: right;
    font-style: italic;
}


/* Boutons */
.ow-btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ow-btn-primary {
	background: #ffffff;
	color: #6A38A9;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	margin-left: 28%;
    margin-top: 15px;
}

.ow-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.ow-btn-secondary {
	background: #6A38A9;
	color: #fff;
}

.ow-btn-secondary:hover {
	background: #4f2a81;
}

.ow-btn-light {
	background: #ffffff;
	color: #352080;
}

.ow-btn-light:hover {
	background: #f5f5f5;
}

.ow-pl-text p {
	margin-bottom: 1em;
}

/* Services */
.ow-pl-services {
	background: #faf7ff;
}

.ow-pl-services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 30px;
}

.ow-pl-service-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.ow-pl-service-card h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.1rem;
}



/* Bloc local */
.ow-pl-local {
    position: relative;
    overflow: hidden;
	/*background: #f3ecff;*/
}
.ow-pl-local .ow-pl-container {
    position: relative;
    z-index: 1;
}

/* Pixel burst Owebie en bas à droite */
.ow-pl-local::before {
    content: "";
    position: absolute;
    bottom: -50px;
    right: 10px;
    width: 360px;
    height: 360px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;

    background:
        /* GROS carrés (violet foncé / gradient violet) */
        linear-gradient(135deg, #352080 0%, #6A38A9 100%) 220px 10px / 48px 48px no-repeat,
        linear-gradient(135deg, #352080 0%, #6A38A9 100%) 150px 140px / 44px 44px no-repeat,
        linear-gradient(135deg, #352080 0%, #6A38A9 100%) 80px 220px / 40px 40px no-repeat,

        /* GROS carrés orange */
        linear-gradient(135deg, #F66E46 0%, #F9A46B 100%) 40px 40px / 38px 38px no-repeat,
        linear-gradient(135deg, #F66E46 0%, #F9A46B 100%) 190px 90px / 36px 36px no-repeat,
        linear-gradient(135deg, #F66E46 0%, #F9A46B 100%) 100px 180px / 34px 34px no-repeat,

        /* Moyens carrés violet */
        linear-gradient(135deg, #6A38A9 0%, #A477E0 100%) 120px 20px / 28px 28px no-repeat,
        linear-gradient(135deg, #6A38A9 0%, #A477E0 100%) 40px 160px / 26px 26px no-repeat,
        linear-gradient(135deg, #6A38A9 0%, #A477E0 100%) 240px 180px / 24px 24px no-repeat,

        /* Moyens carrés orange */
        linear-gradient(135deg, #F66E46 0%, #FFB58C 100%) 170px 230px / 22px 22px no-repeat,
        linear-gradient(135deg, #F66E46 0%, #FFB58C 100%) 90px 260px / 20px 20px no-repeat,
        linear-gradient(135deg, #F66E46 0%, #FFB58C 100%) 260px 120px / 22px 22px no-repeat,

        /* PETITS carrés violet foncé */
        linear-gradient(#352080 0 0) 20px 30px / 14px 14px no-repeat,
        linear-gradient(#352080 0 0) 200px 200px / 12px 12px no-repeat,
        linear-gradient(#352080 0 0) 260px 70px / 14px 14px no-repeat,
        linear-gradient(#352080 0 0) 100px 120px / 12px 12px no-repeat,

        /* PETITS carrés orange */
        linear-gradient(#F66E46 0 0) 230px 30px / 12px 12px no-repeat,
        linear-gradient(#F66E46 0 0) 60px 250px / 12px 12px no-repeat,
        linear-gradient(#F66E46 0 0) 150px 260px / 10px 10px no-repeat,

        /* MINI carrés violet clair */
        linear-gradient(#6A38A9 0 0) 140px 300px / 8px 8px no-repeat,
        linear-gradient(#6A38A9 0 0) 290px 240px / 8px 8px no-repeat,
        linear-gradient(#6A38A9 0 0) 200px 300px / 8px 8px no-repeat;

    animation: owebiePixelsBurst 15s ease-in-out infinite alternate;
    transform-origin: bottom right;
}

/* Animation étendue */
@keyframes owebiePixelsBurst {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-10px, -14px, 0) scale(1.09); /* plus étendu */
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}



.ow-pl-local,
.ow-pl-cta {
    margin-bottom: 40px;
}




/* Portfolio teaser */
.ow-pl-portfolio {
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.ow-pl-portfolio-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* CTA final */
.ow-pl-cta {
	background: linear-gradient(135deg, #352080, #6A38A9);
	color: #fff;
	padding-bottom: 80px;
}


.ow-pl-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}


.ow-pl-cta-inner > div {
    flex: 1 1 320px;
    max-width:750px;
}

/* Bouton */
.ow-pl-cta-inner > .ow-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}


.ow-pl-cta-title {
	font-size: 2rem;
	margin: 0 0 10px;
}

.ow-pl-cta-text {
	margin: 0;
}

/* Cartes services principales */
.ow-pl-services {
    background: #faf7ff;
}

.ow-pl-service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.ow-pl-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 4px;
    background: linear-gradient(135deg, #6A38A9, #F66E46);
}


.ow-pl-service-card h3 {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #352080;
}


.ow-pl-service-card h3::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%236A38A9' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a10 10 0 100 20 10 10 0 000-20zm7.93 9h-3.07a16 16 0 00-1.2-5.19A8.03 8.03 0 0119.93 11zM12 4c.83 0 2.46 2.44 2.91 7H9.09c.45-4.56 2.08-7 2.91-7zm-3.66.81A16 16 0 007.14 11H4.07a8.03 8.03 0 014.27-6.19zM4.07 13h3.07a16 16 0 001.2 5.19A8.03 8.03 0 014.07 13zm7.93 7c-.83 0-2.46-2.44-2.91-7h5.82c-.45 4.56-2.08 7-2.91 7zm3.66-.81A16 16 0 0016.86 13h3.07a8.03 8.03 0 01-4.27 6.19z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Bloc services complémentaires */
.ow-pl-services-extra {
    margin-top: 40px;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(106, 56, 169, 0.06), rgba(246, 110, 70, 0.04));
    border-left: 4px solid #6A38A9;
}

.ow-pl-services-extra h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #352080;
}
.ow-pl-services-extra h3::before {
    display: none !important;
}

/* Liste colorée */
.ow-pl-services-extra ul {
    margin: 0 0 15px 0;
    padding-left: 0;
    list-style: none;
}

.ow-pl-services-extra li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Puce violet/orange */
.ow-pl-services-extra li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6A38A9, #F66E46);
}

.ow-pl-services-extra strong {
    color: #352080;
}

/* Lien final */
.ow-pl-services-link a {
    font-weight: 600;
    color: #6A38A9;
    text-decoration: underline;
}

.ow-pl-services-link a:hover {
    color: #F66E46;
}




/* Responsive */
@media (max-width: 900px) {
	.ow-pl-hero-inner,
	.ow-pl-services-grid,
	.ow-pl-portfolio-inner,
	.ow-pl-cta-inner {
		grid-template-columns: 1fr !important;
		display: block;
	}

	.ow-pl-hero-inner {
		display: block;
	}

	.ow-pl-hero-right {
		margin-top: 30px;
		justify-content: flex-start;
	}

	.ow-pl-services-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ow-pl-portfolio-inner,
	.ow-pl-cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 768px) {
    .ow-pl-local::before {
        width: 180px;
        height: 180px;
        bottom: -10px;
        right: -10px;

        background:
            /* Carrés moyens violet + orange */
            linear-gradient(135deg, #6A38A9 0%, #A477E0 100%) 60px 20px / 22px 22px no-repeat,
            linear-gradient(135deg, #6A38A9 0%, #A477E0 100%) 20px 110px / 20px 20px no-repeat,
            linear-gradient(135deg, #F66E46 0%, #FFB58C 100%) 110px 130px / 18px 18px no-repeat,

            /* Petits carrés */
            linear-gradient(#352080 0 0) 30px 30px / 10px 10px no-repeat,
            linear-gradient(#F66E46 0 0) 130px 40px / 10px 10px no-repeat,
            linear-gradient(#6A38A9 0 0) 90px 150px / 8px 8px no-repeat;
    }
        .ow-pl-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ow-pl-cta-inner > div {
        max-width: 100%;
    }

    .ow-pl-cta-inner > .ow-btn {
        margin-top: 12px;
    }
}

/* Mobile : quelques pixels seulement */
@media (max-width: 480px) {
    .ow-pl-local::before {
        width: 130px;
        height: 130px;
        bottom: -5px;
        right: -5px;

        background:
            linear-gradient(135deg, #6A38A9 0%, #A477E0 100%) 60px 40px / 18px 18px no-repeat,
            linear-gradient(#352080 0 0) 20px 20px / 8px 8px no-repeat,
            linear-gradient(#F66E46 0 0) 90px 70px / 9px 9px no-repeat;
    }
}

@media (max-width: 600px) {
	.ow-pl-services-grid {
		grid-template-columns: 1fr;
	}

	.ow-pl-hero {
		padding: 60px 0;
	}

	.ow-pl-hero-title {
		font-size: 2.1rem;
	}
}
@media (max-width: 480px) {
    .ow-pl-local::before {
        display: none;
    }
}
