/* ==========================================================================
   Crococom Réalisations — front
   DA relevée sur crococom.fr (kit Elementor) :
   TOMMY (titres, boutons) · Roboto (texte)
   turquoise #00A6A6 · bleu pétrole #114D61 · jaune #F9A620 · jaune clair #FFC870
   bleu #507DBC · rouge #D64933 · boutons arrondis 12 à 17 px
   Toutes les valeurs passent par des variables : personnalisables par client
   (Réglages, widget Elementor ou CSS du thème).
   ========================================================================== */

.ccr {
	--ccr-primary: #00A6A6;
	--ccr-dark: #114D61;
	--ccr-text: #114D61;
	--ccr-soft: #F2F9F9;
	--ccr-radius: 17px;
	--ccr-btn-radius: 17px;
	--ccr-font-title: TOMMY, tommy, Poppins, sans-serif;
	--ccr-font: Roboto, "Open Sans", sans-serif;
	--ccr-light-yellow: #FFC870;
	--ccr-red: #D64933;
	--ccr-yellow: #F9A620;
	--ccr-blue: #507DBC;
	--ccr-accent: var(--ccr-primary);
	--ccr-muted: color-mix(in srgb, var(--ccr-text) 62%, transparent);
	--ccr-line: color-mix(in srgb, var(--ccr-text) 10%, transparent);
	--ccr-shadow: 0 1px 2px rgba(17, 77, 97, .06), 0 8px 24px rgba(17, 77, 97, .07);
	--ccr-shadow-hover: 0 2px 4px rgba(17, 77, 97, .06), 0 18px 40px rgba(17, 77, 97, .14);
	font-family: var(--ccr-font);
	color: var(--ccr-text);
	box-sizing: border-box;
}
.ccr *, .ccr *::before, .ccr *::after { box-sizing: inherit; }
.ccr img { max-width: 100%; height: auto; display: block; }
.ccr h1, .ccr h2, .ccr h3, .ccr h4 { color: var(--ccr-text); font-family: var(--ccr-font-title); font-weight: 600; margin: 0; line-height: 1.15; }
.ccr p { margin: 0 0 1em; }

/* Motif « dents de croco » : option (Réglages > Motif croco), désactivé par défaut */
.ccr-teeth { display: none; }
.ccr--motif .ccr-teeth {
	display: block;
	width: 72px;
	height: 10px;
	margin: 14px 0 22px;
	background:
		linear-gradient(135deg, var(--ccr-accent) 25%, transparent 25%) 0 0 / 12px 10px,
		linear-gradient(225deg, var(--ccr-accent) 25%, transparent 25%) 0 0 / 12px 10px;
	opacity: .95;
}

.ccr-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Boutons */
.ccr-btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .85em 1.4em;
	border-radius: var(--ccr-btn-radius);
	background: var(--ccr-primary);
	color: #fff !important;
	font-family: var(--ccr-font-title);
	font-weight: 500; font-size: 15px; line-height: 1;
	text-decoration: none !important;
	border: 2px solid var(--ccr-primary);
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ccr-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px color-mix(in srgb, var(--ccr-primary) 35%, transparent); }
.ccr-btn--ghost { background: transparent; color: var(--ccr-primary) !important; }
.ccr-btn--ghost:hover { background: var(--ccr-primary); color: #fff !important; }
.ccr-btn--light { background: #fff; color: var(--ccr-dark) !important; border-color: #fff; }
.ccr-btn--accent { background: var(--ccr-yellow); border-color: var(--ccr-yellow); color: #fff !important; border-radius: 12px; }
.ccr-btn--accent:hover { box-shadow: 0 10px 22px color-mix(in srgb, var(--ccr-yellow) 40%, transparent); }
.ccr-btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff !important; }
.ccr-btn--outline-light:hover { background: #fff; color: var(--ccr-dark) !important; }
.ccr-btn:focus-visible, .ccr-filter:focus-visible, .ccr-card__link:focus-visible { outline: 3px solid var(--ccr-yellow); outline-offset: 3px; }

/* Pastilles d'univers */
.ccr-badge {
	--ccr-badge: var(--ccr-primary);
	display: inline-block;
	padding: .38em .8em;
	border-radius: 999px;
	background: var(--ccr-badge);
	color: #fff;
	font-family: var(--ccr-font-title);
	font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 1.2;
}

/* ==========================================================================
   Grille
   ========================================================================== */

.ccr-portfolio__title { font-size: clamp(26px, 3vw, 36px); }

.ccr-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.ccr-filter {
	--ccr-badge: var(--ccr-text);
	appearance: none;
	padding: .65em 1.15em;
	border-radius: 999px;
	border: 1.5px solid var(--ccr-line);
	background: #fff;
	color: var(--ccr-text);
	font: 500 14px/1 var(--ccr-font-title);
	cursor: pointer;
	transition: all .2s ease;
}
.ccr-filter:hover { border-color: var(--ccr-badge); color: var(--ccr-badge); }
.ccr-filter.is-active { background: var(--ccr-badge); border-color: var(--ccr-badge); color: #fff; }
/* Priorité sur les styles de boutons du thème */
.ccr button.ccr-filter { background: #fff !important; color: var(--ccr-text) !important; border: 1.5px solid var(--ccr-line) !important; border-radius: 999px; padding: .65em 1.15em; text-transform: none; letter-spacing: 0; box-shadow: none; }
.ccr button.ccr-filter:hover { border-color: var(--ccr-badge) !important; color: var(--ccr-badge) !important; }
.ccr button.ccr-filter.is-active { background: var(--ccr-badge) !important; border-color: var(--ccr-badge) !important; color: #fff !important; }
.ccr button.ccr-more { background: transparent; color: var(--ccr-primary) !important; }
.ccr button.ccr-more:hover { background: var(--ccr-primary); color: #fff !important; }
.ccr-filter[data-filter="*"] { --ccr-badge: var(--ccr-primary); }

.ccr-grid {
	display: grid;
	grid-template-columns: repeat(var(--ccr-cols, 3), minmax(0, 1fr));
	gap: 28px;
}

.ccr-card {
	position: relative;
	background: #fff;
	border-radius: var(--ccr-radius);
	box-shadow: var(--ccr-shadow);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.ccr-card.is-hidden { display: none; }
.ccr-card.is-entering { animation: ccr-in .45s ease both; }
@keyframes ccr-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ccr-card:hover { transform: translateY(-6px); box-shadow: var(--ccr-shadow-hover); }
.ccr-card__link { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none !important; }

.ccr-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ccr-soft); }
.ccr-card__img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.ccr-card:hover .ccr-card__img { transform: scale(1.05); }
.ccr-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--ccr-accent) 22%, #fff), var(--ccr-soft)); }
.ccr-card__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Liseré en dents sous l'image, couleur de l'univers */
.ccr--motif .ccr-card__media::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: -1px; height: 10px;
	background:
		linear-gradient(135deg, #fff 25%, transparent 25%) 0 0 / 14px 10px,
		linear-gradient(225deg, #fff 25%, transparent 25%) 0 0 / 14px 10px;
}

.ccr-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.ccr-card__meta { font-size: 13px; font-weight: 500; color: var(--ccr-muted); margin-bottom: 0; }
.ccr-card__title { font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.ccr-card__subtitle { font-family: var(--ccr-font-title); font-size: 16px; font-weight: 300; line-height: 1.45; color: var(--ccr-text); margin-bottom: 10px; }
.ccr-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--ccr-muted); margin-bottom: 18px; }
.ccr-card__cta { margin-top: auto; font-family: var(--ccr-font-title); font-weight: 500; font-size: 15px; color: var(--ccr-primary); display: inline-flex; gap: .4em; }
.ccr-card__cta span { transition: transform .25s ease; }
.ccr-card:hover .ccr-card__cta span { transform: translateX(5px); }

.ccr-card--featured { outline: 2px solid color-mix(in srgb, var(--ccr-yellow) 70%, transparent); outline-offset: -2px; }

/* Style mosaïque : texte sur l'image */
.ccr-portfolio--mosaique .ccr-card__media { aspect-ratio: 1 / 1; }
.ccr-portfolio--mosaique .ccr--motif .ccr-card__media::after { display: none; }
.ccr-portfolio--mosaique .ccr-card__body {
	position: absolute; inset: auto 0 0 0;
	padding: 60px 22px 20px;
	background: linear-gradient(to top, rgba(17, 77, 97, .92), rgba(17, 77, 97, 0));
}
.ccr-portfolio--mosaique .ccr-card__title, .ccr-portfolio--mosaique .ccr-card__subtitle, .ccr-portfolio--mosaique .ccr-card__cta { color: #fff; }
.ccr-portfolio--mosaique .ccr-card__meta { color: var(--ccr-light-yellow); }
.ccr-portfolio--mosaique .ccr-card__excerpt { display: none; }
.ccr-portfolio--mosaique .ccr-card__cta { opacity: 0; transform: translateY(6px); transition: all .3s ease; }
.ccr-portfolio--mosaique .ccr-card:hover .ccr-card__cta { opacity: 1; transform: none; }

.ccr-more-wrap { text-align: center; margin-top: 36px; }
.ccr-empty, .ccr-locked { padding: 24px; border-radius: var(--ccr-radius, 18px); background: var(--ccr-soft, #F5F8F9); text-align: center; }

/* ==========================================================================
   Page projet
   ========================================================================== */

.ccr-single, .ccr-archive { padding-bottom: 60px; }

.ccr-hero {
	position: relative;
	padding: 64px 0 56px;
	background: var(--ccr-dark);
	color: #fff;
	overflow: hidden;
}
.ccr-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ccr-hero__bg img { width: 100%; height: 100% !important; object-fit: cover; opacity: .18; filter: grayscale(.2); }
.ccr-hero .ccr-hero__title, .ccr-hero h1 { color: #fff; }
.ccr-hero::before {
	content: "";
	position: absolute; width: 420px; height: 420px; right: -120px; top: -160px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--ccr-primary) 22%, transparent);
}
.ccr-hero::after {
	content: "";
	position: absolute; width: 140px; height: 140px; right: 18%; bottom: -70px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--ccr-primary) 30%, transparent);
}
.ccr-hero .ccr-wrap { position: relative; z-index: 1; }
.ccr-back { display: inline-flex; gap: .4em; font-family: var(--ccr-font-title); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.75) !important; text-decoration: none !important; margin-bottom: 22px; }
.ccr-back:hover { color: var(--ccr-light-yellow) !important; }
.ccr-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ccr-hero__title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 600; max-width: 24ch; }
.ccr-hero__lead { font-family: var(--ccr-font-title); font-weight: 300; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 60ch; margin-top: 16px; }

.ccr-facts dt, .ccr-facts dd { display: block; float: none; width: auto; text-align: left; padding: 0; }
/* Logo ou nom du client */
.ccr-hero__brand { margin: 0 0 16px; }
.ccr-brand--logo { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: calc(var(--ccr-radius) * .7); padding: 12px 18px; min-height: 64px; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.ccr .ccr-brand__img { max-height: 52px; width: auto !important; max-width: 220px; object-fit: contain; }
.ccr-brand--name { font-family: var(--ccr-font-title); font-weight: 600; font-size: clamp(18px, 2vw, 22px); text-transform: uppercase; letter-spacing: .1em; color: var(--ccr-light-yellow); }
.ccr-card__title--logo { margin-bottom: 10px; line-height: 0; }
.ccr-card__title--logo .ccr-brand--logo { background: transparent; padding: 0; min-height: 0; box-shadow: none; }
.ccr-card__title--logo .ccr-brand__img { max-height: 40px; max-width: 160px; }
.ccr-portfolio--mosaique .ccr-card__title--logo .ccr-brand--logo { background: #fff; padding: 6px 10px; border-radius: 8px; }

/* Parties par univers */
.ccr-part { padding-top: 40px; border-top: 1px solid var(--ccr-line); }
.ccr-part__title { display: flex; align-items: center; gap: 12px; }
.ccr-part__title::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--ccr-badge); }
.ccr-part__text { max-width: 72ch; }
.ccr-gallery--part { margin-top: 24px; }
.ccr-gallery--few { grid-template-columns: repeat(2, 1fr); }
.ccr-gallery--few .ccr-gallery__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }

.ccr-facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; padding: 0; }
.ccr-facts__item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: calc(var(--ccr-radius) * .7); padding: 14px 20px; min-width: 150px; }
.ccr-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.65); margin: 0 0 4px; }
.ccr-facts dd { font-family: var(--ccr-font-title); font-size: 16px; font-weight: 500; color: #fff; margin: 0; }
.ccr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ccr-cover { margin: -24px 0 0; position: relative; z-index: 2; }
.ccr-cover__img { width: 100%; border-radius: var(--ccr-radius); box-shadow: var(--ccr-shadow-hover); max-height: 640px; object-fit: cover; }

.ccr-block { margin-top: 64px; }
.ccr-block h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; margin-bottom: 18px; }
.ccr-kicker { font-family: var(--ccr-font-title); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--ccr-primary); margin-bottom: 10px !important; }
.ccr-kicker--light { color: #fff; opacity: .85; }

.ccr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.ccr-layout--full { grid-template-columns: minmax(0, 820px); }
.ccr-story { font-size: 17px; line-height: 1.75; }
.ccr-story > .ccr-block:first-child { margin-top: 64px; }
.ccr-content > *:not(.ccr-kicker):not(h2) { max-width: 72ch; }

.ccr-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ccr-checklist li { position: relative; padding-left: 38px; }
.ccr-checklist li::before {
	content: ""; position: absolute; left: 0; top: .2em;
	width: 24px; height: 24px; border-radius: 50%;
	background: color-mix(in srgb, var(--ccr-primary) 16%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114D61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Encadré « En bref » */
.ccr-aside { position: sticky; top: 110px; margin-top: 64px; }
.ccr-aside__inner { background: #fff; border-radius: var(--ccr-radius); box-shadow: var(--ccr-shadow); padding: 26px; border-top: 6px solid var(--ccr-primary); }
.ccr-aside__title { font-size: 20px; font-weight: 600; margin-bottom: 14px !important; }
.ccr-detail { padding: 16px 0; border-top: 1px solid var(--ccr-line); }
.ccr-detail:first-of-type { border-top: 0; padding-top: 4px; }
.ccr-detail__name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ccr-font-title); font-weight: 500; font-size: 15px; margin-bottom: 10px !important; }
.ccr-detail__name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ccr-badge); }
.ccr-detail__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 15px; }
.ccr-detail__label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ccr-muted); }
.ccr-detail__val { font-weight: 600; }
.ccr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ccr-chip { padding: .35em .75em; border-radius: 999px; background: color-mix(in srgb, var(--ccr-badge, var(--ccr-primary)) 12%, #fff); font-size: 13px; font-weight: 600; }
.ccr-palette { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ccr-swatch { width: 52px; height: 52px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); position: relative; }
.ccr-swatch span { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); font-size: 10px; color: var(--ccr-muted); white-space: nowrap; }
.ccr-palette { padding-bottom: 18px; }

/* Résultats */
.ccr-results { margin-top: 72px; padding: 56px 0; background: var(--ccr-primary); color: #fff; position: relative; }
.ccr--motif .ccr-results::before, .ccr--motif .ccr-results::after {
	content: ""; position: absolute; left: 0; right: 0; height: 12px;
	background:
		linear-gradient(135deg, var(--ccr-primary) 25%, transparent 25%) 0 0 / 16px 12px,
		linear-gradient(225deg, var(--ccr-primary) 25%, transparent 25%) 0 0 / 16px 12px;
}
.ccr--motif .ccr-results::before { top: -12px; transform: scaleY(-1); }
.ccr--motif .ccr-results::after { bottom: -12px; }
.ccr-results__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.ccr-result { display: flex; flex-direction: column; gap: 6px; }
.ccr-result__val { font-family: var(--ccr-font-title); font-size: clamp(38px, 5vw, 58px); font-weight: 600; line-height: 1; color: #fff; }
.ccr-result__label { font-size: 16px; line-height: 1.45; opacity: .92; }

/* Avant / après */
.ccr-compare { position: relative; border-radius: var(--ccr-radius); overflow: hidden; box-shadow: var(--ccr-shadow); user-select: none; }
.ccr-compare__img { width: 100%; height: auto; display: block; }
.ccr-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ccr-compare__before .ccr-compare__img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.ccr-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ccr-compare__handle::after {
	content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 46px; height: 46px; border-radius: 50%; background: var(--ccr-primary); color: #fff;
	display: grid; place-items: center; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.ccr-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ccr-compare__tag { position: absolute; top: 14px; padding: .4em .8em; border-radius: 999px; background: rgba(17, 77, 97, .8); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.ccr-compare__tag--l { left: 14px; }
.ccr-compare__tag--r { right: 14px; }

/* Galerie */
.ccr-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ccr-gallery__item { display: block; border-radius: calc(var(--ccr-radius) * .7); overflow: hidden; aspect-ratio: 4 / 3; }
.ccr-gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ccr-gallery__item img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.ccr-gallery__item:hover img { transform: scale(1.04); }

.ccr-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(17, 77, 97, .94); display: grid; place-items: center; padding: 40px; }
.ccr-lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; }
.ccr-lightbox button { position: absolute; background: #fff; color: var(--ccr-dark, #114D61); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.ccr-lightbox__close { top: 20px; right: 20px; }
.ccr-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.ccr-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Vidéos */
.ccr-videos { display: grid; gap: 20px; }
.ccr-videos--multi { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ccr-video { border-radius: var(--ccr-radius); overflow: hidden; background: #000; box-shadow: var(--ccr-shadow); }
.ccr-video iframe, .ccr-video video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

/* Témoignage */
.ccr-quote { margin: 0; background: var(--ccr-soft); border-radius: var(--ccr-radius); padding: 48px 48px 40px 96px; position: relative; }
.ccr-quote::before { content: "“"; position: absolute; left: 30px; top: 6px; font-size: 120px; line-height: 1; font-family: Georgia, serif; color: var(--ccr-yellow); }
.ccr-quote__stars { color: var(--ccr-yellow); letter-spacing: 3px; font-size: 18px; margin-bottom: 12px; }
.ccr-quote blockquote { margin: 0 0 18px; padding: 0; border: 0; font-family: var(--ccr-font-title); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; font-weight: 300; font-style: normal; }
.ccr-quote blockquote::before, .ccr-quote blockquote::after, .ccr-quote blockquote p::before, .ccr-quote blockquote p::after { content: none !important; display: none !important; }
.ccr-quote blockquote p { margin: 0; padding: 0; font: inherit; }
.ccr-quote figcaption { font-size: 15px; color: var(--ccr-muted); }
.ccr-quote figcaption strong { color: var(--ccr-text); }

/* Appel à l'action */
.ccr-cta {
	position: relative;
	margin-top: 72px;
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: 44px 48px 52px;
	border-radius: var(--ccr-radius);
	background: var(--ccr-dark);
	color: #fff;
	overflow: hidden;
}
.ccr-cta::after { content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%; left: 38%; bottom: -90px; background: color-mix(in srgb, var(--ccr-primary) 35%, transparent); }
.ccr-cta::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; top: -120px; background: rgba(255,255,255,.1); }
.ccr-cta > div { max-width: 640px; position: relative; }
.ccr-cta__title { color: #fff !important; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; margin-bottom: 10px !important; }
.ccr-cta p { margin: 0; font-size: 17px; opacity: .92; }
.ccr-cta .ccr-btn { position: relative; }
.ccr-cta__teeth { display: none; }
.ccr--motif .ccr-cta__teeth {
	display: block;
	position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
	background:
		linear-gradient(135deg, var(--ccr-yellow) 25%, transparent 25%) 0 0 / 16px 12px,
		linear-gradient(225deg, var(--ccr-yellow) 25%, transparent 25%) 0 0 / 16px 12px;
	transform: scaleY(-1);
}

.ccr-related .ccr-portfolio { margin-top: 24px; }

.ccr-pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ccr-line); font-family: var(--ccr-font-title); font-weight: 500; }
.ccr-pager a { color: var(--ccr-text) !important; text-decoration: none !important; }
.ccr-pager a:hover { color: var(--ccr-primary) !important; }

.ccr-hero--archive { padding-bottom: 56px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.ccr-grid { grid-template-columns: repeat(min(var(--ccr-cols, 3), 2), minmax(0, 1fr)); }
	.ccr-layout { grid-template-columns: 1fr; gap: 0; }
	.ccr-aside { position: static; margin-top: 48px; }
}
@media (max-width: 680px) {
	.ccr-wrap { width: calc(100% - 32px); }
	.ccr-grid { grid-template-columns: 1fr; gap: 20px; }
	.ccr-hero { padding: 36px 0 40px; }
	.ccr-facts__item { min-width: calc(50% - 7px); flex: 1; }
	.ccr-gallery { grid-template-columns: 1fr 1fr; }
	.ccr-gallery__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
	.ccr-quote { padding: 64px 24px 28px; }
	.ccr-quote::before { left: 20px; top: 0; font-size: 90px; }
	.ccr-cta { padding: 32px 24px 40px; }
	.ccr-block, .ccr-story > .ccr-block:first-child { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.ccr *, .ccr *::before, .ccr *::after { transition: none !important; animation: none !important; }
}
