/* =========================================================
   Trivior Professionnels
   ========================================================= */

.trivior-pro-page {
	--pro-ink: #153d32;
	--pro-green: #217a50;
	--pro-green-dark: #0f543d;
	--pro-lime: #d8ed83;

	--pro-text: #33473e;
	--pro-muted: #66756e;

	--pro-paper: #f7f5ef;
	--pro-soft: #f2f6f2;
	--pro-soft-green: #edf5ef;

	--pro-white: #ffffff;
	--pro-border: #dce4de;

	--pro-radius: 12px;
	--pro-radius-large: 22px;

	--pro-shadow:
		0 12px 30px rgba(21, 61, 50, 0.07);

	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 32px 60px;

	color: var(--pro-ink);
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
    background: var(--pro-paper);
}

.trivior-pro-page *,
.trivior-pro-page *::before,
.trivior-pro-page *::after {
	box-sizing: border-box;
}

.trivior-pro-page a {
	color: inherit;
}

.trivior-pro-page p {
	color: var(--pro-muted);
	line-height: 1.65;
}

.trivior-pro-page h1,
.trivior-pro-page h2,
.trivior-pro-page h3 {
	color: var(--pro-ink);
	font-weight: 700;
}

.trivior-pro-page h2 {
	letter-spacing: -0.8px;
}


/* =========================================================
   Eyebrow
   ========================================================= */

.trivior-pro-eyebrow {
	position: relative;

	display: inline-flex;
	align-items: center;
	gap: 12px;

	margin: 0 0 14px;

	color: var(--pro-green);

	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.8px;
	line-height: 1.3;
}

.trivior-pro-eyebrow::before {
	content: "";

	display: block;

	width: 40px;
	height: 2px;

	background: var(--pro-green);
}

.trivior-pro-eyebrow::after {
	content: "";

	display: block;

	width: 38px;
	height: 2px;

	background: var(--pro-lime);
}


/* =========================================================
   Hero
   ========================================================= */

.trivior-pro-hero {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		minmax(500px, 1fr);
	align-items: center;
	gap: 34px;

	margin-bottom: 64px;
}

.trivior-pro-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;

	padding: 38px 0 28px;
}

.trivior-pro-hero h1 {
	max-width: none;
	margin: 0 0 20px;

	font-size: clamp(40px, 3.2vw, 48px);
	line-height: 1.06;
	letter-spacing: -1.7px;
}

.trivior-pro-hero h1 span {
	color: var(--pro-green);
}

.trivior-pro-hero-lead {
	max-width: 650px;
	margin: 0;

	font-size: 18px;
	line-height: 1.55;
}


/* =========================================================
   Hero actions
   ========================================================= */

.trivior-pro-hero-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 28px;

	margin-top: 28px;
}

/* Protection contre wpautop / paragraphes WordPress. */
.trivior-pro-hero-actions > p {
	width: auto;
	margin: 0;
}

.trivior-pro-hero-actions > p .trivior-pro-button,
.trivior-pro-hero-actions .trivior-pro-button {
	width: auto;
	white-space: nowrap;
}


/* =========================================================
   Buttons
   ========================================================= */

.trivior-pro-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	min-height: 48px;
	padding: 0 22px;

	border: 1px solid var(--pro-green-dark);
	border-radius: 8px;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;

	transition:
		background 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease;
}

.trivior-pro-button-primary {
	background: var(--pro-green-dark);
	color: var(--pro-white) !important;
}

.trivior-pro-button-primary:hover {
	background: var(--pro-green);
	color: var(--pro-white) !important;

	transform: translateY(-1px);
}

.trivior-pro-button-secondary {
	background: transparent;
	color: var(--pro-ink) !important;
}

.trivior-pro-button-secondary:hover {
	background: var(--pro-soft-green);
	border-color: var(--pro-green);
	color: var(--pro-green-dark) !important;
}


/* =========================================================
   Quick services
   ========================================================= */

.trivior-pro-quick-services {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;

	margin-top: 34px;
}

.trivior-pro-quick-service {
	display: flex;
	align-items: center;
	gap: 10px;

	min-width: 0;

	color: var(--pro-text);

	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.trivior-pro-quick-icon {
	display: grid;
	place-items: center;

	width: 32px;
	height: 32px;
	flex: 0 0 32px;

	border-radius: 8px;

	background: var(--pro-soft-green);
	color: var(--pro-green-dark);

	font-size: 17px;
	font-weight: 700;
}


/* =========================================================
   Hero visual
   Nouvelle image complète avec bloc d'information intégré
   ========================================================= */

.trivior-pro-hero-visual {
	width: 100%;
	min-width: 0;
}

.trivior-pro-hero-image {
	display: block;

	width: 100%;
	height: auto;

	margin: 0;

	object-fit: contain;
}


/* =========================================================
   Generic sections
   ========================================================= */

.trivior-pro-section {
	margin: 0 0 68px;
}
#services {
	margin-bottom: 42px;
}

.trivior-pro-section-heading {
	max-width: 760px;
	margin-bottom: 20px;
}

.trivior-pro-section-heading h2 {
	margin: 0;
    font-size: clamp(30px, 2.5vw, 36px);
	line-height: 1.12;
}

.trivior-pro-section-heading > p:last-child {
	margin: 10px 0 0;

	font-size: 16px;
}


/* =========================================================
   Services
   ========================================================= */

.trivior-pro-service-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.trivior-pro-service-card {
	display: flex;
	flex-direction: column;

	min-height: 295px;
	padding: 24px 22px;

	border: 1px solid var(--pro-border);
	border-radius: var(--pro-radius);

	background: var(--pro-white);

	box-shadow:
		0 8px 24px rgba(21, 61, 50, 0.04);

	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.trivior-pro-service-card:hover {
	border-color: #a5bcae;

	box-shadow: var(--pro-shadow);

	transform: translateY(-2px);
}

.trivior-pro-service-icon {
	display: grid;
	place-items: center;

	width: 48px;
	height: 48px;

	margin-bottom: 18px;

	border-radius: 12px;

	background: var(--pro-soft-green);
	color: var(--pro-green-dark);

	font-size: 23px;
	font-weight: 700;
}

.trivior-pro-service-card h3 {
	margin: 0 0 10px;

	font-size: 17px;
	line-height: 1.3;
}

.trivior-pro-service-card p {
	margin: 0 0 20px;

	font-size: 14px;
	line-height: 1.55;
}

.trivior-pro-service-card > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	margin-top: auto;

	color: var(--pro-green-dark);

	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.trivior-pro-service-card > a:hover {
	color: var(--pro-green);
}


/* =========================================================
   Materials
   ========================================================= */

.trivior-pro-material-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.trivior-pro-material-card {
	display: flex;
	align-items: center;
	gap: 12px;

	min-height: 78px;
	padding: 13px 14px;

	border: 1px solid var(--pro-border);
	border-radius: 10px;

	background: var(--pro-white);

	color: var(--pro-ink);
	text-decoration: none;

	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		transform 0.18s ease;
}

.trivior-pro-material-card:hover {
	border-color: #8eae99;
	background: var(--pro-soft-green);

	transform: translateY(-1px);
}

.trivior-pro-material-icon {
	display: grid;
	place-items: center;

	width: 42px;
	height: 42px;
	flex: 0 0 42px;

	border-radius: 10px;

	background: var(--pro-soft-green);
	color: var(--pro-green-dark);

	font-size: 19px;
	font-weight: 700;
}

.trivior-pro-material-content {
	min-width: 0;
}

.trivior-pro-material-content strong {
	display: block;

	font-size: 13px;
	line-height: 1.25;
}

.trivior-pro-material-content small {
	display: block;

	margin-top: 4px;

	overflow: hidden;

	color: var(--pro-muted);

	font-size: 11px;
	line-height: 1.35;

	text-overflow: ellipsis;
	white-space: nowrap;
}

.trivior-pro-material-arrow {
	margin-left: auto;

	color: var(--pro-green-dark);

	font-size: 18px;
}


/* =========================================================
   Process
   ========================================================= */

.trivior-pro-process {
	margin: 0 0 24px;
	padding: 28px 30px 30px;

	border: 1px solid #dfebe2;
	border-radius: 16px;

	background:
		linear-gradient(
			135deg,
			#f1f6ef 0%,
			#f7f8f2 50%,
			#eef5ef 100%
		);
}

.trivior-pro-process-heading {
	margin-bottom: 24px;
}

.trivior-pro-process-heading h2 {
	position: relative;

	margin: 0;
	padding-left: 48px;

	font-size: 25px;
	line-height: 1.2;
}

.trivior-pro-process-heading h2::before {
	content: "";

	position: absolute;
	left: 0;
	top: 50%;

	width: 34px;
	height: 2px;

	background: var(--pro-green);

	transform: translateY(-50%);
}

.trivior-pro-process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.trivior-pro-process-step {
	position: relative;

	padding: 8px 30px 4px 0;
}

.trivior-pro-process-step + .trivior-pro-process-step {
	padding-left: 30px;
}

.trivior-pro-process-step:not(:last-child)::after {
	content: "→";

	position: absolute;
	top: 25px;
	right: 5px;

	color: var(--pro-green);

	font-size: 20px;
}

.trivior-pro-process-top {
	display: flex;
	align-items: center;
	gap: 20px;

	margin-bottom: 14px;
}

.trivior-pro-process-number {
	display: grid;
	place-items: center;

	width: 40px;
	height: 40px;
	flex: 0 0 40px;

	border-radius: 50%;

	background: var(--pro-lime);
	color: var(--pro-ink);

	font-size: 13px;
	font-weight: 700;
}

.trivior-pro-process-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 40px;
	height: 40px;
	flex: 0 0 40px;

	line-height: 0;
}
.trivior-pro-process-icon img {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0;
}
.trivior-pro-notice-icon img {
	display: block;
	width: 28px;
	height: 28px;
}

.trivior-pro-process-step h3 {
	margin: 0 0 8px;

	font-size: 14px;
	line-height: 1.35;
}

.trivior-pro-process-step p {
	margin: 0;

	font-size: 12px;
	line-height: 1.55;
}


/* =========================================================
   Bottom notice + CTA
   ========================================================= */

.trivior-pro-bottom {
	display: grid;
	grid-template-columns:
		minmax(0, 1.65fr)
		minmax(310px, 0.85fr);
	gap: 18px;

	margin-top: 18px;
}

.trivior-pro-notice {
	display: flex;
	align-items: center;
	gap: 22px;

	padding: 24px 26px;

	border: 1px solid var(--pro-border);
	border-radius: 14px;

	background: var(--pro-white);
}

.trivior-pro-notice-icon {
	display: grid;
	place-items: center;

	width: 60px;
	height: 60px;
	flex: 0 0 60px;

	border-radius: 14px;

	background: var(--pro-soft-green);
	color: var(--pro-green-dark);

	font-size: 25px;
	font-weight: 700;
}

.trivior-pro-notice h2 {
	margin: 0 0 8px;

	font-size: 19px;
	line-height: 1.3;
}

.trivior-pro-notice p {
	margin: 3px 0;

	font-size: 12px;
	line-height: 1.5;
}


/* =========================================================
   Final CTA
   ========================================================= */

.trivior-pro-final-cta {
	position: relative;
	overflow: hidden;

	display: flex;
	flex-direction: column;
	justify-content: center;

	min-height: 200px;
	padding: 26px;

	border-radius: 14px;

	background:
		linear-gradient(
			135deg,
			#0c4d39 0%,
			#106046 100%
		);

	color: var(--pro-white);
}

.trivior-pro-final-cta::after {
	content: "";

	position: absolute;
	right: -45px;
	bottom: -65px;

	width: 180px;
	height: 180px;

	border-radius: 58% 42% 62% 38%;

	background:
		radial-gradient(
			circle at 40% 40%,
			rgba(216, 237, 131, 0.18),
			rgba(216, 237, 131, 0)
		);
}

.trivior-pro-final-label {
	position: relative;
	z-index: 1;

	margin: 0 0 8px !important;

	color: var(--pro-lime) !important;

	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
}

.trivior-pro-final-cta h2 {
	position: relative;
	z-index: 1;

	margin: 0 0 18px;

	color: var(--pro-white);

	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.6px;
}

.trivior-pro-final-button {
	position: relative;
	z-index: 1;

	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;

	width: fit-content;
	max-width: 100%;

	padding: 12px 16px;

	border-radius: 7px;

	background: var(--pro-white);
	color: var(--pro-green-dark) !important;

	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.trivior-pro-final-button:hover {
	background: var(--pro-lime);
}


/* =========================================================
   Focus states
   ========================================================= */

.trivior-pro-page a:focus-visible {
	outline: 3px solid var(--pro-green);
	outline-offset: 3px;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1050px) {

	.trivior-pro-page {
		padding-right: 24px;
		padding-left: 24px;
	}

	.trivior-pro-hero {
		grid-template-columns:
			minmax(0, 1fr)
			minmax(360px, 0.9fr);
		gap: 28px;
	}

	.trivior-pro-hero h1 {
		font-size: 44px;
		letter-spacing: -1.8px;
	}

	.trivior-pro-hero-lead {
		font-size: 17px;
	}

	.trivior-pro-quick-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.trivior-pro-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.trivior-pro-material-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.trivior-pro-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 0;
	}

	.trivior-pro-process-step:nth-child(2)::after {
		display: none;
	}

	.trivior-pro-bottom {
		grid-template-columns: 1fr;
	}

}


/* =========================================================
   Mobile / small tablet
   ========================================================= */

@media (max-width: 780px) {

	.trivior-pro-page {
		padding:
			12px
			18px
			42px;
	}

	.trivior-pro-hero {
		grid-template-columns: 1fr;
		gap: 26px;

		margin-bottom: 50px;
	}

	.trivior-pro-hero-content {
		padding: 20px 0 0;
	}

	.trivior-pro-hero h1 {
		font-size: clamp(38px, 10vw, 44px);
		line-height: 1.06;
		letter-spacing: -1.6px;
	}

	.trivior-pro-hero-lead {
		font-size: 16px;
	}

	/* Hero buttons */

	.trivior-pro-hero-actions {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.trivior-pro-hero-actions .trivior-pro-button {
		width: 100%;
		white-space: normal;
	}

	/* Hero image */

	.trivior-pro-hero-visual {
		width: 100%;
		min-width: 0;
	}

	.trivior-pro-hero-image {
		display: block;
		width: 100%;
		height: auto;
	}

	/* Sections */

	.trivior-pro-section {
		margin-bottom: 52px;
	}

	.trivior-pro-section-heading h2 {
		font-size: 31px;
	}

	/* Comment ça marche */

	.trivior-pro-process {
		padding: 24px 20px;
	}

}

/* =========================================================
   Small phones
   ========================================================= */

@media (max-width: 560px) {

	/* Eyebrow */

	.trivior-pro-eyebrow {
		font-size: 10px;
		letter-spacing: 1.3px;
	}

	.trivior-pro-eyebrow::after {
		display: none;
	}

	/* Hero */

	.trivior-pro-hero h1 {
		font-size: 36px;
		line-height: 1.07;
	}

	/* Quick services */

	.trivior-pro-quick-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}

	/* Nos services */

	.trivior-pro-service-grid {
		grid-template-columns: 1fr;
	}

	.trivior-pro-service-card {
	min-height: 0;
	padding: 18px;
}

.trivior-pro-service-icon {
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
}

.trivior-pro-service-card p {
	margin-bottom: 16px;
	line-height: 1.5;
}

	/* Matières et déchets */

	.trivior-pro-material-grid {
		grid-template-columns: 1fr;
	}

	/* Information */

	.trivior-pro-notice {
		align-items: flex-start;
		flex-direction: column;

		padding: 22px;
	}

	/* Final CTA */

	.trivior-pro-final-cta {
		min-height: 220px;
	}
.trivior-pro-process-grid {
	grid-template-columns: 1fr;
	gap: 0;
}

.trivior-pro-process-step,
.trivior-pro-process-step + .trivior-pro-process-step {
	padding: 18px 0;
}

.trivior-pro-process-step + .trivior-pro-process-step {
	border-top: 1px solid #d9e4dc;
}

.trivior-pro-process-step::after {
	display: none;
}
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.trivior-pro-button,
	.trivior-pro-service-card,
	.trivior-pro-material-card {
		transition: none;
	}

}
/* =========================================================
   Professionnels — fond global uniforme
   ========================================================= */

body:has(.trivior-pro-page),
body:has(.trivior-pro-page) .site,
body:has(.trivior-pro-page) .site-header,
body:has(.trivior-pro-page) .inside-header,
body:has(.trivior-pro-page) .site-content,
body:has(.trivior-pro-page) .content-area,
body:has(.trivior-pro-page) .inside-article,
body:has(.trivior-pro-page) .site-footer,
body:has(.trivior-pro-page) .site-info,
body:has(.trivior-pro-page) .inside-site-info {
	background: #f7f5ef !important;
}

/* Menu sans fond blanc */

body:has(.trivior-pro-page) .main-navigation,
body:has(.trivior-pro-page) .inside-navigation,
body:has(.trivior-pro-page) .main-nav,
body:has(.trivior-pro-page) .main-nav ul,
body:has(.trivior-pro-page) .main-nav ul li,
body:has(.trivior-pro-page) .main-nav ul li a {
	background: transparent !important;
}
/* Ширина страницы Professionnels — как на главной */

body:has(.trivior-pro-page) {
    --trivior-page-width: min(1200px, calc(100% - 64px));
}

/* Внешний контейнер контента и шапка */
body:has(.trivior-pro-page) .site.grid-container,
body:has(.trivior-pro-page) .inside-header {
    box-sizing: border-box;
    width: var(--trivior-page-width);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Убираем дополнительные боковые отступы темы */
body:has(.trivior-pro-page) .inside-header,
body:has(.trivior-pro-page) .site-content,
body:has(.trivior-pro-page) .inside-article {
    padding-left: 0;
    padding-right: 0;
}

body:has(.trivior-pro-page) .site-main {
    margin-left: 0;
    margin-right: 0;
}

/* Внутренний контейнер занимает всю доступную ширину */
body:has(.trivior-pro-page) .trivior-pro-page {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

/* Те же боковые поля, что на главной странице */
@media (max-width: 1050px) {
    body:has(.trivior-pro-page) {
        --trivior-page-width: calc(100% - 64px);
    }
}

@media (max-width: 700px) {
    body:has(.trivior-pro-page) {
        --trivior-page-width: calc(100% - 32px);
    }
}
/* Trivior — standard visuel de la page d'accueil. */
body:has(.trivior-pro-page) {
    font-family: Arial, Helvetica, sans-serif;
    color: #153d32;
    -webkit-font-smoothing: antialiased;
}
body:has(.trivior-pro-page) .site-main {
    margin-top: 0;
    margin-bottom: 0;
}
body:has(.trivior-pro-page) .inside-article {
    padding-top: 0;
    padding-bottom: 0;
}
body:has(.trivior-pro-page) .entry-content { margin-top: 0; }
body:has(.trivior-pro-page) .trivior-pro-page {
    padding-top: 0;
    padding-bottom: 34px;
    --pro-muted: #596960;
    --pro-green-dark: #153d32;
}
body:has(.trivior-pro-page) .inside-header {
    min-height: 104px;
    padding-top: 0;
    padding-bottom: 0;
}
body:has(.trivior-pro-page) .site-header .site-logo img {
    width: 162px;
    height: auto;
}
body:has(.trivior-pro-page) .main-navigation .main-nav ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #153d32;
}
body:has(.trivior-pro-page) .main-navigation .main-nav ul li.current-menu-item > a {
    text-decoration: underline;
    text-decoration-color: #d8ed83;
    text-decoration-thickness: 3px;
    text-underline-offset: 14px;
}
.trivior-pro-page .trivior-pro-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
    min-height: 340px;
    gap: 12px;
    padding: 16px 0 28px;
    margin-bottom: 34px;
}
.trivior-pro-page .trivior-pro-hero-content {
    min-width: 0;
    padding: 0;
}
.trivior-pro-page .trivior-pro-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    margin: 0;
    color: #217a50;
}
.trivior-pro-page .trivior-pro-eyebrow::before,
.trivior-pro-page .trivior-pro-eyebrow::after { display: none; }
.trivior-pro-page .trivior-pro-hero h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #102c29;
    margin: 16px 0 20px;
    overflow-wrap: normal;
}
.trivior-pro-page .trivior-pro-hero h1 span { color: #155840; }
.trivior-pro-page .trivior-pro-hero-lead {
    font-size: 19px;
    line-height: 1.55;
    color: #596960;
}
.trivior-pro-page .trivior-pro-hero-image {
    max-height: 480px;
    object-fit: contain;
}
.trivior-pro-page .trivior-pro-hero-actions { flex-wrap: wrap; gap: 14px; }
.trivior-pro-page .trivior-pro-button {
    min-height: 55px;
    border-radius: 10px;
    font-size: 16px;
    padding: 12px 22px;
}
.trivior-pro-page .trivior-pro-section-heading h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.2px;
    margin: 10px 0;
}
.trivior-pro-page .trivior-pro-section { margin-bottom: 34px; }
.trivior-pro-page .trivior-pro-service-card { border-radius: 18px; }
.trivior-pro-page .trivior-pro-material-card {
    border-radius: 13px;
    border-color: transparent;
    min-height: 116px;
    padding: 18px 15px;
    gap: 13px;
}
.trivior-pro-page .trivior-pro-material-card:nth-child(3n + 1) { background: #eaf0dd; }
.trivior-pro-page .trivior-pro-material-card:nth-child(3n + 2) { background: #efeade; }
.trivior-pro-page .trivior-pro-material-card:nth-child(3n) { background: #e0edf0; }
.trivior-pro-page .trivior-pro-material-card:hover { border-color: #86a68e; }
.trivior-pro-page .trivior-pro-material-content strong { font-size: 14px; }
.trivior-pro-page .trivior-pro-material-content small {
    font-size: 12px;
    white-space: normal;
    overflow: visible;
}
.trivior-pro-page .trivior-pro-process {
    background: #153d32;
    border: 0;
    border-radius: 20px;
    padding: 32px 38px 36px;
    color: #fffef4;
}
.trivior-pro-page .trivior-pro-process h2,
.trivior-pro-page .trivior-pro-process h3 { color: #fffef4; }
.trivior-pro-page .trivior-pro-process p { color: #d0ddd3; }
.trivior-pro-page .trivior-pro-process-heading h2 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -1.2px;
    padding-left: 0;
}
.trivior-pro-page .trivior-pro-process-heading h2::before { display: none; }
.trivior-pro-page .trivior-pro-process-icon {
    background: #edf5ef;
    border-radius: 10px;
}
.trivior-pro-page .trivior-pro-process-step::after { color: #d8ed83; }
.trivior-pro-page .trivior-pro-process-step + .trivior-pro-process-step { border-color: #ffffff26; }
@media (max-width: 1050px) {
    .trivior-pro-page .trivior-pro-hero h1 { font-size: 3rem; }
    .trivior-pro-page .trivior-pro-hero-lead { font-size: 17px; }
    .trivior-pro-page .trivior-pro-quick-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    body:has(.trivior-pro-page) .inside-header { min-height: 80px; }
    body:has(.trivior-pro-page) .site-header .site-logo img { width: 128px; }
    .trivior-pro-page .trivior-pro-hero {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-top: 22px;
    }
    .trivior-pro-page .trivior-pro-hero h1 {
        font-size: 2rem;
        letter-spacing: -.5px;
        margin-top: 18px;
    }
    .trivior-pro-page .trivior-pro-hero-image { max-width: 470px; margin: auto; }
    .trivior-pro-page .trivior-pro-section-heading h2,
    .trivior-pro-page .trivior-pro-process-heading h2 { font-size: 24px; }
    .trivior-pro-page .trivior-pro-process { padding: 25px 22px; }
}


/* Trivior — balanced desktop title without the old forced break. */
@media(min-width:701px) {
 .trivior-pro-page .trivior-pro-hero h1 { max-width:520px; text-wrap:balance; }
 .trivior-pro-page .trivior-pro-hero h1 br { display:none; }
}

@media (min-width: 1000px) and (max-width: 1100px) {
 .trivior-pro-page .trivior-pro-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* Trivior — compact first screen and readable content. */
body:has(.trivior-pro-page) { font-size:1.0625rem; line-height:1.6; }
.trivior-pro-page .trivior-pro-hero { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:8px 0 20px; }
.trivior-pro-page .trivior-pro-hero-image { max-height:340px; }
.trivior-pro-page .trivior-pro-hero-lead { font-size:1.0625rem; line-height:1.6; }
.trivior-pro-page .trivior-pro-hero h1 { max-width:490px; text-wrap:balance; }
.trivior-pro-page .trivior-pro-hero h1 br { display:none; }
.trivior-pro-page .trivior-pro-service-card h3,
.trivior-pro-page .trivior-pro-process h3 { font-size:1.25rem; line-height:1.3; }
@media(max-width:700px) {
 body:has(.trivior-pro-page) { font-size:1rem; }
 .trivior-pro-page .trivior-pro-hero { grid-template-columns:minmax(0,1fr); padding-top:16px; }
 .trivior-pro-page .trivior-pro-hero-image { max-height:220px; }
 .trivior-pro-page .trivior-pro-hero-lead { font-size:1rem; }
}
/* Салатный листочек под H1 страницы Professionnels */
.trivior-pro-page .trivior-pro-hero h1::after {
  content: "";
  display: block;
  width: min(200px, 65%);
  height: 8px;
  margin-top: 14px;
  background: #d8ed83;
  border-radius: 70% 30% 55% 45%;
  transform: rotate(-2deg);
}

@media (max-width: 600px) {
  .trivior-pro-page .trivior-pro-hero h1::after {
    width: 150px;
    height: 6px;
    margin-top: 12px;
  }
}