/**
 * Vitrine technologique — graphisme des pages d'entreprise et de l'index.
 *
 * Aux couleurs du C.I.EAU : bleu profond, turquoise et vert lime du logo.
 * Les classes « cieau-vitrine-… » sont posées par le gabarit Elementor ; la
 * mise en page (marges, alignements) reste réglable dans Elementor, seul le
 * graphisme vit ici.
 */

:root {
	--cieau-bleu: #0E4570;
	--cieau-bleu-fonce: #0A3254;
	--cieau-turquoise: #2AB1C5;
	--cieau-lime: #BCE41E;
	--cieau-pale: #E8F3FA;
	--cieau-nuit: #142235;
	--cieau-texte: #2B3A46;
}

/* ------------------------------------------------------------------ Entête */

.cieau-vitrine-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--cieau-bleu);
	background-image:
		radial-gradient( circle at 15% 18%, rgba( 255, 255, 255, .20 ) 0, rgba( 255, 255, 255, 0 ) 38% ),
		radial-gradient( circle at 86% 78%, rgba( 188, 228, 30, .22 ) 0, rgba( 188, 228, 30, 0 ) 42% ),
		linear-gradient( 135deg, var(--cieau-bleu-fonce) 0%, var(--cieau-bleu) 42%, var(--cieau-turquoise) 100% );
	text-align: center;
}

/* Filet de couleur signant le bas de l'entête. */
.cieau-vitrine-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 6px;
	background-image: linear-gradient( 90deg, var(--cieau-turquoise) 0%, var(--cieau-lime) 100% );
}

/* Bulles d'eau, en décor discret. */
.cieau-vitrine-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient( circle at 8% 72%, rgba( 255, 255, 255, .13 ) 0 18px, transparent 19px ),
		radial-gradient( circle at 92% 22%, rgba( 255, 255, 255, .10 ) 0 28px, transparent 29px ),
		radial-gradient( circle at 72% 8%, rgba( 255, 255, 255, .10 ) 0 11px, transparent 12px );
	pointer-events: none;
}

.cieau-vitrine-hero > * {
	position: relative;
	z-index: 1;
}

.cieau-vitrine-eyebrow .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-size: clamp( .78rem, 1.6vw, .95rem );
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	line-height: 1.4;
}

.cieau-vitrine-eyebrow .elementor-heading-title::after {
	content: "";
	display: block;
	width: 54px;
	height: 3px;
	margin: 14px auto 0;
	border-radius: 3px;
	background: var(--cieau-lime);
}

.cieau-vitrine-nom .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-size: clamp( 1.75rem, 4.6vw, 2.9rem );
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-wrap: balance;
}

/* -------------------------------------------------------- Carte du logo */

.cieau-vitrine-hero .cieau-vitrine-logo {
	--width: 268px;
	--content-width: 268px;
	width: 268px;
	max-width: 100%;
	border-radius: 26px;
	background-color: #fff;
	box-shadow: 0 22px 48px rgba( 10, 50, 84, .34 );
}

.cieau-vitrine-logo__image .elementor-widget-container,
.cieau-vitrine-logo__image figure,
.cieau-vitrine-logo__image img {
	margin: 0;
}

.cieau-vitrine-logo__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: 10px;
}

/* Bloc d'attente de la fiche d'exemple. */
.cieau-vitrine-logo--vide,
.cieau-vitrine-logo--vide > .e-con-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	--align-items: center;
	--justify-content: center;
}

.cieau-vitrine-logo--vide > .e-con-inner,
.cieau-vitrine-video-vide > .e-con-inner {
	width: 100%;
	height: 100%;
}

/* Même spécificité que la carte pleine, sinon le fond blanc l'emporte. */
.cieau-vitrine-hero .cieau-vitrine-logo--vide {
	aspect-ratio: 1 / 1;
	background-color: rgba( 255, 255, 255, .12 );
	border: 2px dashed rgba( 255, 255, 255, .72 );
	box-shadow: none;
}

.cieau-vitrine-logo__texte .elementor-heading-title {
	margin: 0;
	color: #fff;
	font-size: .9rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.6;
}

/* ---------------------------------------------------------- Sections ---- */

.cieau-vitrine-section--blanc {
	background-color: #fff;
}

.cieau-vitrine-section--pale {
	background-color: var(--cieau-pale);
}

.cieau-vitrine-titre .elementor-heading-title {
	margin: 0;
	color: var(--cieau-bleu);
	font-size: clamp( 1.3rem, 2.8vw, 1.85rem );
	font-weight: 800;
	line-height: 1.25;
}

.cieau-vitrine-titre .elementor-heading-title::after {
	content: "";
	display: block;
	width: 70px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 4px;
	background-image: linear-gradient( 90deg, var(--cieau-turquoise), var(--cieau-lime) );
}

.cieau-vitrine-texte .elementor-widget-container {
	max-width: 74ch;
	margin-inline: auto;
	color: var(--cieau-texte);
	font-size: 1.03rem;
	line-height: 1.78;
}

.cieau-vitrine-texte p:first-child strong {
	color: var(--cieau-bleu);
	letter-spacing: .06em;
}

.cieau-vitrine-texte a {
	color: var(--cieau-bleu);
	text-decoration-color: var(--cieau-turquoise);
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------- Vidéo ---- */

.cieau-vitrine-video .elementor-widget-container,
.cieau-vitrine-video .elementor-wrapper {
	max-width: 980px;
	margin-inline: auto;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 20px 46px rgba( 14, 69, 112, .22 );
}

.cieau-vitrine-video-vide,
.cieau-vitrine-video-vide > .e-con-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	--align-items: center;
	--justify-content: center;
}

.cieau-vitrine-video-vide {
	position: relative;
	overflow: hidden;
	--width: 100%;
	--content-width: 100%;
	max-width: 980px;
	margin-inline: auto;
	aspect-ratio: 16 / 9;
	border-radius: 22px;
	background-color: var(--cieau-bleu);
	background-image:
		url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.13' d='M0 140c160-64 320 56 480 16s320-104 480-40 240 64 240 64v60H0z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.10' d='M0 186c200-54 300 34 520 6s380-72 680-18v66H0z'/%3E%3C/svg%3E" ),
		linear-gradient( 160deg, var(--cieau-turquoise) 0%, var(--cieau-bleu) 78% );
	background-repeat: no-repeat, no-repeat;
	background-position: bottom center, center;
	background-size: 100% 46%, cover;
	box-shadow: 0 20px 46px rgba( 14, 69, 112, .24 );
}

.cieau-vitrine-video-vide::before {
	content: "\25B6";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% ) translateY( -44px );
	box-sizing: border-box;
	display: grid;
	place-items: center;
	width: 94px;
	height: 94px;
	padding-left: 6px;
	border: 3px solid rgba( 255, 255, 255, .78 );
	border-radius: 50%;
	background: rgba( 255, 255, 255, .16 );
	color: #fff;
	font-size: 34px;
	line-height: 1;
}

.cieau-vitrine-video-vide__texte {
	position: relative;
	z-index: 1;
	margin-top: 58px;
}

.cieau-vitrine-video-vide__texte .elementor-heading-title {
	margin: 0;
	max-width: 18ch;
	margin-inline: auto;
	color: #fff;
	font-size: clamp( 1rem, 2.6vw, 1.45rem );
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 2px 10px rgba( 10, 50, 84, .45 );
}

/* --------------------------------------------- Bouton vers le site web */

.cieau-vitrine-cta {
	background-color: #fff;
	text-align: center;
}

.cieau-vitrine-bouton .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 20px 42px;
	border-radius: 999px;
	background-image: linear-gradient( 120deg, var(--cieau-bleu) 0%, var(--cieau-turquoise) 100% );
	color: #fff;
	font-size: clamp( .95rem, 2.2vw, 1.08rem );
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 14px 30px rgba( 14, 69, 112, .30 );
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cieau-vitrine-bouton .elementor-button:hover,
.cieau-vitrine-bouton .elementor-button:focus-visible {
	transform: translateY( -3px );
	filter: saturate( 1.12 );
	box-shadow: 0 20px 38px rgba( 14, 69, 112, .36 );
}

/* ------------------------------------------------------ Réseaux sociaux */

.cieau-vitrine-reseaux__liste {
	--cieau-reseau-taille: 58px;
	--cieau-reseau-fond: var(--cieau-bleu);
	--cieau-reseau-survol: var(--cieau-turquoise);
	--cieau-reseau-logo: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.cieau-vitrine-reseaux__bouton {
	display: grid;
	place-items: center;
	width: var(--cieau-reseau-taille);
	height: var(--cieau-reseau-taille);
	border-radius: 50%;
	background-color: var(--cieau-reseau-fond);
	color: var(--cieau-reseau-logo);
	box-shadow: 0 8px 18px rgba( 14, 69, 112, .24 );
	transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

a.cieau-vitrine-reseaux__bouton:hover,
a.cieau-vitrine-reseaux__bouton:focus-visible {
	transform: translateY( -4px );
	background-color: var(--cieau-reseau-survol);
	box-shadow: 0 14px 24px rgba( 42, 177, 197, .38 );
}

.cieau-vitrine-reseaux__bouton--exemple {
	opacity: .82;
	cursor: default;
}

.cieau-vitrine-reseaux__logo {
	width: 46%;
	height: 46%;
	display: block;
}

/* ------------------------------------------------- Index des vitrines */

.cieau-vitrine-hero--index .cieau-vitrine-chapeau .elementor-widget-container {
	max-width: 56ch;
	margin-inline: auto;
	color: rgba( 255, 255, 255, .92 );
	font-size: clamp( 1rem, 2.2vw, 1.15rem );
	line-height: 1.7;
}

.cieau-vitrine-grille .elementor-posts {
	gap: 28px;
}

.cieau-vitrine-grille .elementor-post {
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba( 14, 69, 112, .10 );
	box-shadow: 0 14px 32px rgba( 14, 69, 112, .12 );
	transition: transform .18s ease, box-shadow .18s ease;
}

.cieau-vitrine-grille .elementor-post:hover {
	transform: translateY( -5px );
	box-shadow: 0 22px 44px rgba( 14, 69, 112, .18 );
}

.cieau-vitrine-grille .elementor-post__thumbnail {
	padding-top: 68%;
	background: var(--cieau-pale);
}

.cieau-vitrine-grille .elementor-post__thumbnail img {
	object-fit: contain;
	padding: 18px;
}

.cieau-vitrine-grille .elementor-post__text {
	padding: 4px 22px 24px;
}

.cieau-vitrine-grille .elementor-post__title {
	margin: 0 0 12px;
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.3;
}

.cieau-vitrine-grille .elementor-post__title a {
	color: var(--cieau-bleu);
}

.cieau-vitrine-grille .elementor-post__read-more {
	display: inline-block;
	color: var(--cieau-turquoise);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: .82rem;
}

/* ------------------------------------------------------------ Téléphone */

@media ( max-width: 767px ) {

	.cieau-vitrine-hero .cieau-vitrine-logo {
		--width: 216px;
		--content-width: 216px;
		width: 216px;
	}

	.cieau-vitrine-video-vide::before {
		width: 70px;
		height: 70px;
		font-size: 26px;
		transform: translate( -50%, -50% ) translateY( -34px );
	}

	.cieau-vitrine-video-vide__texte {
		margin-top: 42px;
	}

	.cieau-vitrine-bouton .elementor-button {
		padding: 17px 28px;
	}
}

@media ( prefers-reduced-motion: reduce ) {

	.cieau-vitrine-bouton .elementor-button,
	.cieau-vitrine-reseaux__bouton,
	.cieau-vitrine-grille .elementor-post {
		transition: none;
	}

	.cieau-vitrine-bouton .elementor-button:hover,
	a.cieau-vitrine-reseaux__bouton:hover,
	.cieau-vitrine-grille .elementor-post:hover {
		transform: none;
	}
}
