/*
 * Cent Vingt — refonte 2026 (style vaporeux)
 * Ajout au thème : ne modifie aucune page existante.
 * Ne s'applique qu'aux pages utilisant le modèle « Cent Vingt — page vaporeuse »
 * (classe .cv-site sur <body>) et aux blocs portant une classe « cv- ».
 */

:root {
	--cv-noir: #120F12;
	--cv-beige: #FDEDDA;
	--cv-peche: #F6B48F;
	--cv-peche-vif: #FF9A5E;
	--cv-abricot: #F39C5B;
	--cv-rose: #DB5669;
	--cv-vert: #00A172;
	--cv-lavande: #7176B6;
	--cv-gris: #4A3F43;
	--cv-verre: rgba(255, 247, 238, 0.42);
	--cv-verre-fort: rgba(255, 247, 238, 0.88);
	/* Polices de la charte, puis des polices proches présentes sur iPhone / Mac / Windows si elles ne se chargent pas */
	--cv-titre: "ITC Avant Garde Gothic Std", "AvantGarde Bk BT", "ITC Avant Garde Gothic", "Avant Garde", Futura, "Century Gothic", "Avenir Next", system-ui, sans-serif;
	--cv-texte: "Brandon Grotesque", "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
	--cv-largeur: 1280px;
}

/* ---------- Fond : nuages fixes + grain ---------- */
body.cv-site {
	--cv-nuage-1: rgba(255, 154, 94, 0.55);
	--cv-nuage-1-0: rgba(255, 154, 94, 0);
	background:
		radial-gradient(ellipse 980px 760px at -5% 0px, var(--cv-nuage-1), var(--cv-nuage-1-0) 70%),
		radial-gradient(ellipse 820px 660px at 105% 260px, rgba(246, 180, 143, 0.65), rgba(246, 180, 143, 0) 70%),
		radial-gradient(ellipse 640px 520px at 45% 760px, rgba(251, 211, 182, 0.7), rgba(251, 211, 182, 0) 70%),
		radial-gradient(ellipse 780px 620px at 100% 32%, rgba(243, 156, 91, 0.32), rgba(243, 156, 91, 0) 70%),
		radial-gradient(ellipse 720px 580px at 0% 40%, rgba(113, 118, 182, 0.28), rgba(113, 118, 182, 0) 70%),
		radial-gradient(ellipse 760px 600px at 100% 58%, rgba(219, 86, 105, 0.2), rgba(219, 86, 105, 0) 70%),
		radial-gradient(ellipse 760px 600px at 0% 72%, rgba(0, 161, 114, 0.16), rgba(0, 161, 114, 0) 70%),
		radial-gradient(ellipse 860px 640px at 90% 86%, rgba(255, 154, 94, 0.4), rgba(255, 154, 94, 0) 70%),
		var(--cv-beige) !important;
	background-repeat: no-repeat !important;
	color: var(--cv-noir);
	font-family: var(--cv-texte);
}
/* Pages métiers : le grand nuage du haut prend la couleur du pôle */
body.cv-site:has(.cv-theme-concept) { --cv-nuage-1: rgba(243, 156, 91, 0.72); --cv-nuage-1-0: rgba(243, 156, 91, 0); }
body.cv-site:has(.cv-theme-agencement) { --cv-nuage-1: rgba(219, 86, 105, 0.5); --cv-nuage-1-0: rgba(219, 86, 105, 0); }
body.cv-site:has(.cv-theme-travaux) { --cv-nuage-1: rgba(0, 161, 114, 0.42); --cv-nuage-1-0: rgba(0, 161, 114, 0); }
body.cv-site:has(.cv-theme-expansion) { --cv-nuage-1: rgba(113, 118, 182, 0.55); --cv-nuage-1-0: rgba(113, 118, 182, 0); }

body.cv-site::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.12;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
body.cv-site .wp-site-blocks { position: relative; z-index: 1; }
body.cv-site main.cv-main { margin-top: 0; }
body.cv-site .wp-block-post-content > * { margin-block-start: 0; }

/* ---------- Typographie ---------- */
.cv-site h1, .cv-site h2, .cv-site h3, .cv-h1, .cv-h2, .cv-h3 {
	font-family: var(--cv-titre);
	color: var(--cv-noir);
	text-transform: none;
}
.cv-h1 { font-weight: 400; font-size: clamp(44px, 6.4vw, 96px) !important; line-height: 0.99; letter-spacing: -0.045em; max-width: 1080px; margin: 0; }
.cv-h2 { font-weight: 400; font-size: clamp(34px, 4vw, 58px) !important; line-height: 1.04; letter-spacing: -0.035em; margin: 0; }
.cv-h3 { font-weight: 400; font-size: 22px !important; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.cv-surtitre { font-size: 18px; font-weight: 500; margin: 0 0 18px; }
.cv-intro { font-size: 21px; max-width: 660px; color: #2A2226; }
.cv-gris, .cv-muted { color: var(--cv-gris); }
.cv-petit { font-size: 15px; }
.cv-accent { color: #B8572E; }
.cv-site a { color: inherit; }

/* ---------- Mise en page ---------- */
.cv-section { padding: clamp(56px, 7vw, 104px) 32px; margin: 0 !important; }
.cv-section.cv-serre { padding-top: 24px; }
.cv-wrap { max-width: var(--cv-largeur); margin-inline: auto !important; width: 100%; }
.cv-wrap > * + * { margin-block-start: 22px; }
.cv-grille, .cv-grille-3, .cv-grille-4, .cv-grille-6 { display: grid !important; gap: 20px; margin-top: 44px; }
.cv-grille { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cv-grille-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cv-grille-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cv-grille-6 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.cv-grille > *, .cv-grille-3 > *, .cv-grille-4 > *, .cv-grille-6 > * { margin: 0 !important; }
.cv-deux { display: flex !important; flex-wrap: wrap; gap: 56px; }
.cv-deux > * { flex: 1 1 420px; min-width: 0; margin: 0 !important; }
.cv-entete-section { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.cv-entete-section > * { margin: 0 !important; }
.cv-centre { text-align: center; }
.cv-centre .cv-h2, .cv-centre p { margin-inline: auto; }

/* ---------- Verre dépoli ---------- */
.cv-verre, .cv-carte, .cv-etape, .cv-faq, .cv-service, .cv-lien-carte {
	background: var(--cv-verre);
	-webkit-backdrop-filter: blur(22px);
	backdrop-filter: blur(22px);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: 0 30px 80px -40px rgba(120, 60, 30, 0.25);
}
.cv-carte { border-radius: 40px; padding: 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.cv-carte > * { margin: 0 !important; position: relative; }
.cv-carte::before { content: ""; position: absolute; top: -90px; right: -90px; width: 300px; height: 300px; border-radius: 50%; filter: blur(60px); opacity: 0.75; background: var(--cv-peche); }
.cv-carte.cv-concept::before { background: var(--cv-abricot); }
.cv-carte.cv-agencement::before { background: var(--cv-rose); }
.cv-carte.cv-travaux::before { background: var(--cv-vert); }
.cv-carte.cv-expansion::before { background: var(--cv-lavande); }
.cv-carte .cv-badge { align-self: flex-start; margin-bottom: 48px !important; }
.cv-carte .cv-nom { font-family: var(--cv-titre); font-size: 30px; letter-spacing: -0.03em; }
.cv-carte .cv-lien { margin-top: auto !important; font-weight: 600; }

.cv-badge { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(253, 237, 218, 0.75); }

.cv-etape { border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.cv-etape > * { margin: 0 !important; }
.cv-etape .cv-num { font-size: 15px; color: var(--cv-gris); }
.cv-etape .cv-h3 { font-size: 21px !important; }

.cv-service { border-radius: 36px; padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.cv-service > * { margin: 0 !important; }
.cv-liste { list-style: none; padding: 16px 0 0 !important; margin: 0; border-top: 1px solid rgba(18, 15, 18, 0.08); display: flex; flex-direction: column; gap: 9px; font-size: 16px; }
.cv-liste li { padding-left: 18px; position: relative; }
.cv-liste li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--cv-peche); }
.cv-theme-concept .cv-liste li::before { background: var(--cv-abricot); }
.cv-theme-agencement .cv-liste li::before { background: var(--cv-rose); }
.cv-theme-travaux .cv-liste li::before { background: var(--cv-vert); }
.cv-theme-expansion .cv-liste li::before { background: var(--cv-lavande); }

.cv-faq { border-radius: 24px; padding: 18px 24px; margin: 0 0 12px !important; }
.cv-faq summary { font-weight: 600; font-size: 18px; cursor: pointer; min-height: 32px; }
.cv-faq p { color: var(--cv-gris); font-size: 16px; margin: 8px 0 4px; }

.cv-lien-carte { border-radius: 28px; padding: 22px 26px !important; margin: 0 0 14px !important; }
.cv-lien-carte a { text-decoration: none; font-weight: 600; }

/* ---------- Pastilles des métiers ---------- */
.cv-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 0 10px 0 0 !important; }
.cv-tag::before, .cv-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cv-peche); flex: none; display: inline-block; }
.cv-tag-concept::before, .cv-dot-concept > a::before, .cv-dot-concept > .wp-block-navigation-item__content::before { background: var(--cv-abricot); }
.cv-tag-agencement::before, .cv-dot-agencement > a::before, .cv-dot-agencement > .wp-block-navigation-item__content::before { background: var(--cv-rose); }
.cv-tag-travaux::before, .cv-dot-travaux > a::before, .cv-dot-travaux > .wp-block-navigation-item__content::before { background: var(--cv-vert); }
.cv-tag-expansion::before, .cv-dot-expansion > a::before, .cv-dot-expansion > .wp-block-navigation-item__content::before { background: var(--cv-lavande); }
.cv-tags { display: flex !important; flex-wrap: wrap; gap: 6px 4px; }
.cv-tags > * { margin: 0 !important; }

/* ---------- Boutons ---------- */
.cv-boutons { margin-top: 40px !important; gap: 14px; }
.cv-btn-noir .wp-block-button__link, .cv-btn-verre .wp-block-button__link, .cv-btn-peche .wp-block-button__link {
	border-radius: 999px !important; padding: 16px 30px !important; font-weight: 600; font-size: 17px; min-height: 54px; display: inline-flex; align-items: center; border: 0;
}
.cv-btn-noir .wp-block-button__link { background: var(--cv-noir) !important; color: var(--cv-beige) !important; }
.cv-btn-peche .wp-block-button__link { background: var(--cv-peche) !important; color: var(--cv-noir) !important; }
.cv-btn-verre .wp-block-button__link { background: var(--cv-verre) !important; color: var(--cv-noir) !important; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, 0.55) !important; }
.cv-btn-contour .wp-block-button__link { background: transparent !important; color: var(--cv-beige) !important; border: 1.5px solid rgba(253, 237, 218, 0.5) !important; border-radius: 999px !important; padding: 16px 30px !important; font-weight: 600; }

/* ---------- Visuels en attente ---------- */
.cv-visuel {
	border-radius: 44px; min-height: 300px; display: flex !important; align-items: flex-end; padding: 20px !important; overflow: hidden;
	background:
		radial-gradient(ellipse 70% 70% at 30% 70%, rgba(246, 180, 143, 0.85), rgba(246, 180, 143, 0) 70%),
		radial-gradient(ellipse 60% 60% at 80% 20%, rgba(251, 211, 182, 0.9), rgba(251, 211, 182, 0) 70%),
		rgba(255, 247, 238, 0.5);
}
.cv-visuel.cv-grand { min-height: 520px; }
.cv-visuel p { font-size: 14px; background: rgba(253, 237, 218, 0.85); padding: 7px 12px; border-radius: 12px; margin: 0; }
.cv-visuel img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Chiffres / blocs nets ---------- */
.cv-chiffres { border-radius: 40px; padding: 32px !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; max-width: 900px; margin: 56px auto 0 !important; }
.cv-chiffres > * { margin: 0 !important; }
.cv-chiffre { font-family: var(--cv-titre); font-size: 48px !important; letter-spacing: -0.03em; line-height: 1.1; margin: 0 !important; }
.cv-noir-bloc { background: var(--cv-noir); color: var(--cv-beige); border-radius: 40px; padding: clamp(32px, 5vw, 56px) !important; }
.cv-noir-bloc h2, .cv-noir-bloc h3, .cv-noir-bloc .cv-h2, .cv-noir-bloc .cv-h3 { color: var(--cv-beige); }
.cv-noir-bloc p { color: #E3D3C2; }
.cv-noir-bloc .cv-accent-peche { color: var(--cv-peche); }

/* ---------- Citation ---------- */
.cv-citation { border-radius: 56px; padding: clamp(36px, 6vw, 80px) !important; position: relative; overflow: hidden; }
.cv-citation::before { content: ""; position: absolute; bottom: -160px; left: -120px; width: 520px; height: 420px; border-radius: 50%; background: var(--cv-peche-vif); filter: blur(80px); opacity: 0.55; }
.cv-citation > * { position: relative; }
.cv-citation blockquote, .cv-citation .wp-block-quote { border: 0 !important; padding: 0 !important; margin: 0; font-family: var(--cv-titre); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }

/* ---------- Bandeau de fin ---------- */
.cv-fin { background: linear-gradient(180deg, rgba(18, 15, 18, 0) 0px, rgba(18, 15, 18, 0.85) 140px, #120F12 260px) !important; color: var(--cv-beige); padding: 240px 32px 112px !important; text-align: center; margin: 0 !important; }
.cv-fin .cv-h2 { color: var(--cv-beige); font-size: clamp(44px, 6vw, 92px) !important; line-height: 0.98; }
.cv-fin .cv-accent-peche { color: var(--cv-peche); }
.cv-fin .wp-block-buttons { justify-content: center; }

/* ---------- En-tête ---------- */
.cv-entete { padding: 22px 32px !important; margin: 0 !important; position: relative; z-index: 50; }
.cv-entete-int { max-width: var(--cv-largeur); margin-inline: auto !important; }
.cv-nav { font-family: var(--cv-texte); font-size: 16px; gap: 6px 32px !important; }
.cv-nav .wp-block-navigation-item__content { text-decoration: none; }
.cv-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; }
.cv-nav .wp-block-navigation__submenu-container {
	background: var(--cv-verre-fort) !important; -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
	border: 1px solid rgba(255, 255, 255, 0.7) !important; border-radius: 22px; padding: 8px !important;
	box-shadow: 0 40px 90px -40px rgba(120, 60, 30, 0.35); min-width: 360px !important; top: calc(100% + 10px) !important;
}
.cv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: grid !important; grid-template-columns: 10px 1fr; column-gap: 12px; align-items: center; padding: 10px 12px !important; border-radius: 14px;
}
.cv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, 0.6); }
.cv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cv-peche); grid-row: 1 / span 2; }
.cv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-weight: 600; }
.cv-nav .wp-block-navigation-item__description { display: block !important; grid-column: 2; font-size: 13px; color: var(--cv-gris); }

/* ---------- Pied de page ---------- */
.cv-pied { background: var(--cv-noir) !important; color: #E3D3C2; padding: 56px 32px !important; margin: 0 !important; font-size: 15px; }
.cv-pied a { color: #E3D3C2; }
.cv-pied .cv-pied-titre { color: var(--cv-beige); font-weight: 600; margin-bottom: 8px; }
.cv-pied .wp-block-navigation { color: #E3D3C2; }

/* ---------- Accessibilité / mobile ---------- */
@media (max-width: 781px) {
	.cv-section { padding-left: 20px; padding-right: 20px; }
	.cv-fin { padding-top: 180px !important; }
	.cv-carte { min-height: 0; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.cv-verre, .cv-carte, .cv-etape, .cv-faq, .cv-service, .cv-lien-carte { background: rgba(255, 247, 238, 0.85); }
}
/* Cent Vingt : couleur des pastilles du menu « Nos métiers » */
.cv-nav .wp-block-navigation__submenu-container .cv-dot-concept > .wp-block-navigation-item__content::before { background: #F39C5B; }
.cv-nav .wp-block-navigation__submenu-container .cv-dot-agencement > .wp-block-navigation-item__content::before { background: #DB5669; }
.cv-nav .wp-block-navigation__submenu-container .cv-dot-travaux > .wp-block-navigation-item__content::before { background: #00A172; }
.cv-nav .wp-block-navigation__submenu-container .cv-dot-expansion > .wp-block-navigation-item__content::before { background: #7176B6; }
.cv-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:not([class*="cv-dot-"]) > .wp-block-navigation-item__content::before { visibility: hidden; }
/* Cent Vingt : une image placée dans un cadre « visuel » remplit tout le cadre (compatible iPhone) */
.cv-visuel { position: relative; }
.cv-visuel:has(.wp-block-image) { padding: 0 !important; background: none !important; }
.cv-visuel:has(.wp-block-image) > p { display: none; }
.cv-visuel .wp-block-image { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; border-radius: inherit; overflow: hidden; }
.cv-visuel .wp-block-image img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; border-radius: inherit !important; }

/* Cent Vingt : polices appliquées partout dans les pages du nouveau site (y compris boutons et menu) */
body.cv-site, .cv-site p, .cv-site li, .cv-site a, .cv-site summary, .cv-site cite, .cv-site .wp-element-button, .cv-site .wp-block-button__link, .cv-site .wp-block-navigation, .cv-site .wp-block-navigation-item__content { font-family: var(--cv-texte) !important; }
.cv-site h1, .cv-site h2, .cv-site h3, .cv-site h4, .cv-h1, .cv-h2, .cv-h3, .cv-nom, .cv-chiffre, .cv-citation blockquote p { font-family: var(--cv-titre) !important; }
/* Cent Vingt : vidéos avec les bords arrondis habituels */
.cv-site .wp-block-video,
.cv-site .wp-block-cover:has(video),
.cv-site .wp-block-embed__wrapper {
	border-radius: 44px;
	overflow: hidden;
	isolation: isolate;
	transform: translateZ(0);
}
.cv-site .wp-block-video video,
.cv-site .wp-block-cover video,
.cv-site .wp-block-embed iframe {
	display: block;
	width: 100%;
	border-radius: 44px;
	object-fit: cover;
}
/* Vidéo placée dans un cadre « visuel » : elle remplit tout le cadre */
.cv-visuel:has(.wp-block-video) { padding: 0 !important; background: none !important; }
.cv-visuel:has(.wp-block-video) > p { display: none; }
.cv-visuel .wp-block-video { position: absolute !important; inset: 0; margin: 0 !important; }
.cv-visuel .wp-block-video video { height: 100%; }
/* Cent Vingt : tout bloc ajouté hors d'une section reste aligné sur la largeur du site */
.cv-site .wp-block-post-content > :not(.alignfull):not(.cv-section):not(.cv-fin):not(.cv-video-fixe):not(.cv-feuille) {
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 32px;
	padding-right: 32px;
	box-sizing: content-box;
}
/* Cent Vingt : rangée de logos clients (classe « cv-logos ») */
.cv-logos { display: flex !important; flex-wrap: wrap; align-items: center; gap: 20px 48px; margin-top: 40px !important; }
.cv-logos > * { flex: 0 1 auto !important; margin: 0 !important; width: auto !important; flex-basis: auto !important; }
.cv-logos .wp-block-column:first-child { flex: 0 0 100% !important; color: var(--cv-gris); font-size: 15px; }
.cv-logos .wp-block-image, .cv-logos figure { margin: 0 !important; }
.cv-logos img { height: 44px !important; width: auto !important; max-width: 200px; object-fit: contain; opacity: 0.85; }
@media (max-width: 781px) { .cv-logos img { height: 32px !important; } .cv-logos { gap: 16px 32px; } }
/* Cent Vingt : « Magasins livrés » (3 projets) — le projet central est plus large, pas plus haut */
@media (min-width: 900px) {
	.cv-grille-3:has(> .cv-projet:nth-child(3):last-child) { grid-template-columns: 1fr 1.7fr 1fr; align-items: start; }
	.cv-grille-3:has(> .cv-projet:nth-child(3):last-child) .cv-visuel { min-height: 380px !important; height: 380px; }
}
@media (max-width: 899px) {
	.cv-grille-3:has(> .cv-projet:nth-child(3):last-child) { grid-template-columns: 1fr; }
	.cv-grille-3:has(> .cv-projet:nth-child(3):last-child) .cv-visuel { min-height: 300px !important; height: 300px; }
}

/* Cent Vingt : vidéo plein écran fixe, la page passe devant (classes « cv-video-fixe » et « cv-feuille ») */
.cv-site .cv-video-fixe {
	position: sticky !important;
	top: 0;
	z-index: 0;
	height: 100vh;
	min-height: 100vh !important;
	margin: 0 !important;
	border-radius: 0 !important;
	overflow: hidden;
	transform: none !important;
}
.cv-site .cv-video-fixe video { border-radius: 0 !important; height: 100% !important; object-fit: cover; }
.admin-bar .cv-site .cv-video-fixe, .admin-bar.cv-site .cv-video-fixe { top: 32px; height: calc(100vh - 32px); }
.cv-site .cv-feuille {
	position: relative;
	z-index: 2;
	margin-top: -56px !important;
	border-radius: 56px 56px 0 0;
	overflow: hidden;
	box-shadow: 0 -30px 80px -30px rgba(18, 15, 18, 0.35);
	background:
		radial-gradient(ellipse 980px 760px at -5% 0px, var(--cv-nuage-1), var(--cv-nuage-1-0) 70%),
		radial-gradient(ellipse 820px 660px at 105% 260px, rgba(246, 180, 143, 0.65), rgba(246, 180, 143, 0) 70%),
		radial-gradient(ellipse 640px 520px at 45% 760px, rgba(251, 211, 182, 0.7), rgba(251, 211, 182, 0) 70%),
		radial-gradient(ellipse 780px 620px at 100% 32%, rgba(243, 156, 91, 0.32), rgba(243, 156, 91, 0) 70%),
		radial-gradient(ellipse 720px 580px at 0% 40%, rgba(113, 118, 182, 0.28), rgba(113, 118, 182, 0) 70%),
		radial-gradient(ellipse 760px 600px at 100% 58%, rgba(219, 86, 105, 0.2), rgba(219, 86, 105, 0) 70%),
		radial-gradient(ellipse 760px 600px at 0% 72%, rgba(0, 161, 114, 0.16), rgba(0, 161, 114, 0) 70%),
		radial-gradient(ellipse 860px 640px at 90% 86%, rgba(255, 154, 94, 0.4), rgba(255, 154, 94, 0) 70%),
		var(--cv-beige);
	background-repeat: no-repeat;
}
.cv-site .cv-feuille > * { margin-block-start: 0; }
@media (max-width: 781px) {
	.cv-site .cv-video-fixe { height: 70vh; min-height: 70vh !important; }
	.cv-site .cv-feuille { margin-top: -32px !important; border-radius: 32px 32px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.cv-site .cv-video-fixe { position: relative !important; }
}

/* Cent Vingt : la vidéo fixe et la feuille prennent toute la largeur, même sans l'option « Pleine largeur » */
.cv-site .cv-video-fixe, .cv-site .cv-feuille { width: 100vw !important; max-width: none !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; padding-left: 0; padding-right: 0; box-sizing: border-box; }

/* Cent Vingt : rendre l'effet « feuille devant la vidéo » fiable
   (un parent en overflow:hidden empêche position:sticky de fonctionner) */
html:has(body.cv-site), body.cv-site { overflow-x: clip !important; overflow-y: visible !important; }
.cv-site .wp-site-blocks, .cv-site main, .cv-site .cv-main, .cv-site .wp-block-post-content, .cv-site .entry-content { overflow: visible !important; }
.cv-site .cv-video-fixe + .cv-feuille, .cv-site .cv-video-fixe ~ .cv-feuille { position: relative !important; z-index: 2 !important; }
/* Cent Vingt : fond de la feuille, prioritaire sur les styles du bloc Groupe */
.cv-site .cv-feuille {
	background-color: #FDEDDA !important;
	background-image:
		radial-gradient(ellipse 980px 760px at -5% 0px, rgba(255,154,94,.55), rgba(255,154,94,0) 70%),
		radial-gradient(ellipse 820px 660px at 105% 260px, rgba(246,180,143,.65), rgba(246,180,143,0) 70%),
		radial-gradient(ellipse 640px 520px at 45% 760px, rgba(251,211,182,.7), rgba(251,211,182,0) 70%),
		radial-gradient(ellipse 780px 620px at 100% 32%, rgba(243,156,91,.32), rgba(243,156,91,0) 70%),
		radial-gradient(ellipse 720px 580px at 0% 40%, rgba(113,118,182,.28), rgba(113,118,182,0) 70%),
		radial-gradient(ellipse 760px 600px at 100% 58%, rgba(219,86,105,.2), rgba(219,86,105,0) 70%),
		radial-gradient(ellipse 760px 600px at 0% 72%, rgba(0,161,114,.16), rgba(0,161,114,0) 70%),
		radial-gradient(ellipse 860px 640px at 90% 86%, rgba(255,154,94,.4), rgba(255,154,94,0) 70%) !important;
	background-repeat: no-repeat !important;
	border-radius: 56px 56px 0 0 !important;
	margin-top: -56px !important;
	box-shadow: 0 -30px 80px -30px rgba(18, 15, 18, 0.35);
}
@media (max-width: 781px) { .cv-site .cv-feuille { border-radius: 32px 32px 0 0 !important; margin-top: -32px !important; } }
/* Cent Vingt : fond opaque simple pour le groupe qui passe devant la vidéo (classe « cv-fond ») — sans toucher à la mise en page */
.cv-site .cv-fond {
	position: relative !important;
	z-index: 2 !important;
	background-color: #FDEDDA !important;
	background-image:
		radial-gradient(ellipse 980px 760px at -5% 0px, rgba(255,154,94,.55), rgba(255,154,94,0) 70%),
		radial-gradient(ellipse 820px 660px at 105% 260px, rgba(246,180,143,.65), rgba(246,180,143,0) 70%),
		radial-gradient(ellipse 720px 580px at 0% 40%, rgba(113,118,182,.28), rgba(113,118,182,0) 70%),
		radial-gradient(ellipse 760px 600px at 100% 58%, rgba(219,86,105,.2), rgba(219,86,105,0) 70%),
		radial-gradient(ellipse 860px 640px at 90% 86%, rgba(255,154,94,.4), rgba(255,154,94,0) 70%) !important;
	background-repeat: no-repeat !important;
}

/* Cent Vingt : page « Ouvrir un magasin » — les 6 étapes en lignes, comme sur la maquette
   (s'applique automatiquement à une grille de cartes commençant par un grand numéro, ou à la classe « cv-etapes-liste ») */
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child), .cv-etapes-liste {
	display: flex !important; flex-direction: column; gap: 0 !important; margin-top: 40px !important;
}
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) > .cv-service, .cv-etapes-liste > .cv-service {
	background: none !important; border: 0 !important; box-shadow: none !important;
	-webkit-backdrop-filter: none !important; backdrop-filter: none !important;
	border-radius: 0 !important; padding: 36px 0 !important; margin: 0 !important;
	border-top: 1px solid rgba(18, 15, 18, 0.1) !important;
	display: grid !important; column-gap: 48px; row-gap: 8px; align-items: start;
	grid-template-columns: 110px minmax(200px, 1fr) minmax(260px, 2fr) minmax(220px, 1fr);
	grid-template-areas: "num titre desc livrable" "num pole desc livrable";
}
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) > .cv-service:last-child, .cv-etapes-liste > .cv-service:last-child { border-bottom: 1px solid rgba(18, 15, 18, 0.1) !important; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) > .cv-service > .wp-block-group, .cv-etapes-liste > .cv-service > .wp-block-group { display: contents !important; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-service *, .cv-etapes-liste .cv-service * { margin: 0 !important; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-chiffre, .cv-etapes-liste .cv-chiffre { grid-area: num; font-size: 56px !important; line-height: 1; letter-spacing: -0.04em; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-h3, .cv-etapes-liste .cv-h3 { grid-area: titre; font-size: 30px !important; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-tag, .cv-etapes-liste .cv-tag { grid-area: pole; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-gris, .cv-etapes-liste .cv-gris { grid-area: desc; color: #2A2226; font-size: 18px; }
.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-petit, .cv-etapes-liste .cv-petit {
	grid-area: livrable; font-weight: 600; font-size: 15px; border-radius: 20px; padding: 16px 18px !important;
	background: rgba(255, 247, 238, 0.42); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, 0.55);
}
@media (max-width: 899px) {
	.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) > .cv-service, .cv-etapes-liste > .cv-service {
		grid-template-columns: 1fr; grid-template-areas: "num" "titre" "pole" "desc" "livrable"; row-gap: 12px;
	}
	.cv-grille-3:has(> .cv-service > .cv-chiffre:first-child) .cv-chiffre, .cv-etapes-liste .cv-chiffre { font-size: 44px !important; }
}

/* Cent Vingt : effet de « dépôt » des cartes au défilement
   (s'applique aux deux cartes de délais de la page Ouvrir un magasin, ou à tout groupe portant la classe « cv-depot ») */
@keyframes cv-depot-gauche {
	0%   { opacity: 0; transform: translateY(-90px) rotate(-4deg) scale(1.04); box-shadow: 0 80px 120px -40px rgba(18, 15, 18, 0.35); }
	70%  { opacity: 1; transform: translateY(8px) rotate(0.6deg) scale(1); }
	100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); box-shadow: 0 30px 80px -40px rgba(120, 60, 30, 0.25); }
}
@keyframes cv-depot-droite {
	0%   { opacity: 0; transform: translateY(-90px) rotate(4deg) scale(1.04); box-shadow: 0 80px 120px -40px rgba(18, 15, 18, 0.35); }
	70%  { opacity: 1; transform: translateY(8px) rotate(-0.6deg) scale(1); }
	100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); box-shadow: 0 30px 80px -40px rgba(18, 15, 18, 0.3); }
}
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.cv-grille:has(> .cv-noir-bloc) > *, .cv-depot > * {
			animation: cv-depot-gauche linear both;
			animation-timeline: view();
			animation-range: entry 5% cover 35%;
			will-change: transform, opacity;
		}
		.cv-grille:has(> .cv-noir-bloc) > :nth-child(2), .cv-depot > :nth-child(even) {
			animation-name: cv-depot-droite;
			animation-range: entry 20% cover 45%;
		}
	}
}

/* Cent Vingt : portraits détourés (PNG à fond transparent) — classe « cv-portrait » à ajouter au cadre « cv-visuel »
   Garde le dégradé du cadre et affiche la photo en entier, posée en bas, sans la couper */
.cv-visuel.cv-portrait { min-height: 440px; overflow: hidden; }
.cv-visuel.cv-portrait, .cv-visuel.cv-portrait:has(.wp-block-image) {
	padding: 28px 28px 0 !important;
	background:
		radial-gradient(ellipse 80% 80% at 20% 100%, rgba(255, 154, 94, 0.85), rgba(255, 154, 94, 0) 70%),
		linear-gradient(180deg, #FDEDDA 0%, #F6B48F 100%) !important;
}
.cv-theme-concept .cv-visuel.cv-portrait, .cv-theme-concept .cv-visuel.cv-portrait:has(.wp-block-image) { background: radial-gradient(ellipse 80% 80% at 20% 100%, rgba(255, 138, 61, 0.85), rgba(255, 138, 61, 0) 70%), linear-gradient(180deg, #FDEDDA 0%, #F39C5B 100%) !important; }
.cv-theme-agencement .cv-visuel.cv-portrait, .cv-theme-agencement .cv-visuel.cv-portrait:has(.wp-block-image) { background: radial-gradient(ellipse 80% 80% at 20% 100%, rgba(240, 71, 94, 0.7), rgba(240, 71, 94, 0) 70%), linear-gradient(180deg, #FDEDDA 0%, #DB5669 100%) !important; }
.cv-theme-travaux .cv-visuel.cv-portrait, .cv-theme-travaux .cv-visuel.cv-portrait:has(.wp-block-image) { background: radial-gradient(ellipse 80% 80% at 20% 100%, rgba(0, 196, 138, 0.6), rgba(0, 196, 138, 0) 70%), linear-gradient(180deg, #FDEDDA 0%, #00A172 100%) !important; }
.cv-theme-expansion .cv-visuel.cv-portrait, .cv-theme-expansion .cv-visuel.cv-portrait:has(.wp-block-image) { background: radial-gradient(ellipse 80% 80% at 20% 100%, rgba(126, 132, 214, 0.75), rgba(126, 132, 214, 0) 70%), linear-gradient(180deg, #FDEDDA 0%, #7176B6 100%) !important; }
.cv-visuel.cv-portrait .wp-block-image { inset: 28px 28px 0 28px !important; width: auto !important; height: auto !important; border-radius: 0 !important; overflow: visible !important; }
.cv-visuel.cv-portrait .wp-block-image img { object-fit: contain !important; object-position: center bottom !important; border-radius: 0 !important; }
/* Cent Vingt : cadre des portraits au format carré */
.cv-visuel.cv-portrait { aspect-ratio: 1 / 1; min-height: 0 !important; height: auto !important; max-width: 560px; width: 100%; }

/* ---------- Cent Vingt : projets automatiques (boucles de requête) ---------- */
.cv-requete { margin-top: 44px !important; }
.cv-requete .wp-block-post-template { list-style: none; padding: 0 !important; margin: 0 !important; display: grid !important; gap: 28px 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cv-requete .wp-block-post-template > li { margin: 0 !important; }
.cv-requete .cv-projet { display: flex !important; flex-direction: column; gap: 14px; }
.cv-requete .cv-projet > * { margin: 0 !important; }
.cv-image-projet {
	margin: 0 !important; border-radius: 44px; overflow: hidden; height: 300px;
	background: radial-gradient(ellipse 70% 70% at 30% 70%, rgba(246, 180, 143, 0.85), rgba(246, 180, 143, 0) 70%), rgba(255, 247, 238, 0.5);
}
.cv-image-projet a, .cv-image-projet img { display: block; width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: inherit; }
.cv-image-une { height: clamp(320px, 45vw, 560px); margin-top: 44px !important; }
.cv-requete .cv-h3 a, .cv-requete .wp-block-post-title a { text-decoration: none; }
.cv-requete .cv-h3 a:hover { text-decoration: underline; }
.cv-requete .wp-block-post-excerpt__more-text { display: none; }
.cv-requete .wp-block-post-excerpt__excerpt { margin: 0; }
/* « À la une » (3 projets) : le projet central plus large, pas plus haut */
@media (min-width: 900px) {
	.cv-a-la-une .wp-block-post-template:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr 1.7fr 1fr; align-items: start; }
	.cv-a-la-une .cv-image-projet { height: 380px; }
}
/* Étiquettes des pôles affichées en pastilles ; l'étiquette « À la une » reste invisible */
.cv-tags-auto { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.cv-tags-auto a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.cv-tags-auto a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cv-peche); flex: none; }
.cv-tags-auto a[href*="concept"]::before { background: var(--cv-abricot); }
.cv-tags-auto a[href*="agencement"]::before { background: var(--cv-rose); }
.cv-tags-auto a[href*="travaux"]::before { background: var(--cv-vert); }
.cv-tags-auto a[href*="expansion"]::before { background: var(--cv-lavande); }
.cv-tags-auto a[href*="a-la-une"], .cv-tags-auto .wp-block-post-terms__separator { display: none !important; }
.cv-pagination { margin-top: 48px !important; gap: 16px; font-weight: 600; }
.cv-pagination .page-numbers.current { text-decoration: underline; text-underline-offset: 6px; }
