/* =============================================================================
   pages.css — GlobalReach Theme — Inner page styles (Conseil, Secteurs)
   Loaded on all non-front pages via functions.php
============================================================================= */

/* =============================================================================
   DESIGN TOKENS (reuse same palette as home.css)
============================================================================= */

:root {
	--pg-navy:      #0d1f3c;
	--pg-navy-mid:  #162447;
	--pg-navy-deep: #0a1420;
	--pg-gold:      #c5a028;
	--pg-gold-lt:   #d4b857;
	--pg-gold-dk:   #a8861f;
	--pg-cream:     #f8f6f1;
	--pg-warm:      #f0ede8;
	--pg-text:      #1a1a2e;
	--pg-muted:     #5f6b7c;
	--pg-border:    #e2ddd8;
	--pg-border-dk: rgba(255, 255, 255, 0.10);
}

/* =============================================================================
   SHARED UTILITIES
============================================================================= */

.pg-label {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--pg-muted);
	margin-bottom: 12px;
}

.pg-label--gold { color: var(--pg-gold); }

.pg-gold-line {
	width: 48px;
	height: 3px;
	background: var(--pg-gold);
	border-radius: 2px;
	margin-bottom: 24px;
}

.pg-gold-line--center { margin-inline: auto; }

.pg-section-header {
	text-align: center;
	margin-bottom: 56px;
}

.pg-section-sub {
	color: var(--pg-muted);
	font-size: 1.0625rem;
	max-width: 560px;
	line-height: 1.7;
	margin-top: 16px;
	margin-inline: auto;
}

.pg-kicker {
	display: inline-block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pg-gold);
	border: 1px solid rgba(197, 160, 40, 0.3);
	padding: 6px 14px;
	border-radius: 2px;
	margin-bottom: 20px;
}

/* =============================================================================
   BUTTONS
============================================================================= */

.pg-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 32px;
	background: var(--pg-gold);
	color: var(--pg-navy-deep);
	font-family: 'Inter', sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	border-radius: 4px;
	text-decoration: none;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.pg-btn-primary:hover {
	background: var(--pg-gold-lt);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(197, 160, 40, 0.38);
	text-decoration: none;
	color: var(--pg-navy-deep);
}

.pg-btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 30px;
	background: transparent;
	color: rgba(255, 255, 255, 0.88);
	font-family: 'Inter', sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.pg-btn-ghost:hover {
	border-color: var(--pg-gold);
	background: rgba(197, 160, 40, 0.08);
	color: var(--pg-gold);
	text-decoration: none;
}

/* =============================================================================
   PAGE HERO
============================================================================= */

.pg-hero {
	position: relative;
	background-color: var(--pg-navy);
	background-image: linear-gradient(155deg, #080f1e 0%, #0d1f3c 55%, #162447 100%);
	overflow: hidden;
	min-height: 500px;
	display: flex;
	align-items: center;
}

.pg-hero--conseil {
	background-image:
		radial-gradient(ellipse at 80% 30%, rgba(197, 160, 40, 0.08) 0%, transparent 55%),
		linear-gradient(155deg, #060c18 0%, #0d1f3c 50%, #162447 100%);
}

.pg-hero--secteurs {
	background-image:
		radial-gradient(ellipse at 20% 70%, rgba(197, 160, 40, 0.07) 0%, transparent 50%),
		linear-gradient(155deg, #070d1a 0%, #0d1f3c 55%, #162447 100%);
}

/* Background image panel (decorative, behind overlay) */
.pg-hero__image-panel {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.pg-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	filter: brightness(0.25) saturate(0.4);
	display: block;
}

.pg-hero__bg-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		135deg,
		rgba(8, 15, 30, 0.88) 0%,
		rgba(13, 31, 60, 0.72) 50%,
		rgba(22, 36, 71, 0.65) 100%
	);
	pointer-events: none;
}

.pg-hero__inner {
	position: relative;
	z-index: 2;
	padding-block: 100px 88px;
	max-width: 760px;
}

.pg-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 24px;
}

.pg-breadcrumb a {
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	transition: color 150ms ease;
}

.pg-breadcrumb a:hover { color: var(--pg-gold); text-decoration: none; }

.pg-breadcrumb span[aria-current="page"] {
	color: rgba(255, 255, 255, 0.8);
}

.pg-hero__h1 {
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
	color: #fff;
	line-height: 1.06;
	margin-bottom: 20px;
}

.pg-hero__sub {
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.78;
	max-width: 620px;
	margin-bottom: 40px;
}

.pg-hero__ctas {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* =============================================================================
   INTRO SECTION
============================================================================= */

.pg-intro {
	background: #fff;
	padding-block: 80px;
}

.pg-intro__inner {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 80px;
	align-items: start;
}

.pg-intro__copy h2 {
	font-size: clamp(1.625rem, 2.5vw, 2.25rem);
	color: var(--pg-text);
	margin-bottom: 20px;
	line-height: 1.2;
}

.pg-intro__copy p {
	font-size: 1.0625rem;
	color: var(--pg-muted);
	line-height: 1.8;
}

.pg-intro__models {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pg-model-badge {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px;
	background: var(--pg-cream);
	border: 1px solid var(--pg-border);
	border-radius: 8px;
	border-left: 3px solid var(--pg-gold);
}

.pg-model-badge__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(197, 160, 40, 0.12);
	color: var(--pg-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pg-model-badge div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pg-model-badge strong {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--pg-text);
}

.pg-model-badge span {
	font-size: 0.8125rem;
	color: var(--pg-muted);
}

/* =============================================================================
   SERVICE SECTIONS (Conseil page)
============================================================================= */

.pg-service {
	padding-block: 80px;
	background: #fff;
	border-top: 1px solid var(--pg-border);
}

.pg-service--alt {
	background: var(--pg-cream);
}

.pg-service__header {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--pg-border);
}

.pg-service__icon {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	background: rgba(197, 160, 40, 0.12);
	color: var(--pg-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pg-service__num {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--pg-gold);
	margin-bottom: 6px;
}

.pg-service__title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--pg-text);
	line-height: 1.15;
	margin-bottom: 8px;
}

.pg-service__tagline {
	font-size: 1.0625rem;
	color: var(--pg-muted);
	margin: 0;
}

.pg-service__body {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 56px;
	align-items: start;
}

.pg-service__col--main h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--pg-text);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 14px;
	margin-top: 32px;
}

.pg-service__col--main h3:first-child { margin-top: 0; }

.pg-service__col--main p {
	font-size: 0.9375rem;
	color: var(--pg-muted);
	line-height: 1.78;
}

/* Check list */
.pg-check-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pg-check-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9375rem;
	color: var(--pg-muted);
	line-height: 1.6;
}

.pg-check-list li::before {
	content: '';
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pg-gold);
	flex-shrink: 0;
	margin-top: 7px;
}

/* Aside cards */
.pg-impact-card,
.pg-refs-card,
.pg-usecase-card,
.pg-service-links {
	background: #fff;
	border: 1px solid var(--pg-border);
	border-radius: 8px;
	padding: 24px 28px;
	margin-bottom: 20px;
}

.pg-service--alt .pg-impact-card,
.pg-service--alt .pg-refs-card {
	background: var(--pg-warm);
}

.pg-sector--alt .pg-usecase-card,
.pg-sector--alt .pg-service-links {
	background: #fff;
}

.pg-impact-card h4,
.pg-refs-card h4,
.pg-usecase-card h4,
.pg-service-links h4 {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--pg-text);
	margin-bottom: 14px;
}

.pg-impact-card ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pg-impact-card ul li {
	font-size: 0.9rem;
	color: var(--pg-muted);
	line-height: 1.6;
	padding-left: 16px;
	position: relative;
}

.pg-impact-card ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pg-gold);
}

/* Sector tags */
.pg-sector-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pg-sector-tag {
	display: inline-block;
	padding: 5px 12px;
	background: rgba(197, 160, 40, 0.08);
	border: 1px solid rgba(197, 160, 40, 0.2);
	border-radius: 4px;
	font-size: 0.8125rem;
	color: var(--pg-gold-dk);
	font-weight: 500;
	text-decoration: none;
	transition: background 150ms ease, border-color 150ms ease;
}

.pg-sector-tag:hover {
	background: rgba(197, 160, 40, 0.16);
	border-color: var(--pg-gold);
	text-decoration: none;
}

/* =============================================================================
   SECTOR SECTIONS (Secteurs page)
============================================================================= */

.pg-sector {
	padding-block: 80px;
	background: #fff;
	border-top: 1px solid var(--pg-border);
}

.pg-sector--alt {
	background: var(--pg-cream);
}

.pg-sector__header {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 48px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--pg-border);
}

.pg-sector__icon {
	width: 60px;
	height: 60px;
	border-radius: 10px;
	background: rgba(197, 160, 40, 0.12);
	color: var(--pg-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pg-sector__num {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--pg-gold);
	margin-bottom: 6px;
}

.pg-sector__title {
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: var(--pg-text);
	line-height: 1.15;
	margin-bottom: 8px;
}

.pg-sector__tagline {
	font-size: 1.0625rem;
	color: var(--pg-muted);
	margin: 0;
}

.pg-sector__body {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 56px;
	align-items: start;
}

.pg-sector__col--main .pg-sector__block {
	margin-bottom: 32px;
}

.pg-sector__col--main .pg-sector__block:last-child { margin-bottom: 0; }

.pg-sector__col--main h3 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--pg-text);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 14px;
}

/* Use case card */
.pg-usecase-card p {
	font-size: 0.9375rem;
	color: var(--pg-muted);
	line-height: 1.72;
}

.pg-usecase-card__tag {
	font-size: 0.8rem !important;
	font-style: italic;
	color: var(--pg-gold-dk) !important;
	margin-bottom: 10px;
}

/* Service links */
.pg-service-links {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pg-service-link {
	display: block;
	padding: 10px 0;
	font-size: 0.9375rem;
	color: var(--pg-text);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--pg-border);
	transition: color 150ms ease, padding-left 150ms ease;
}

.pg-service-link:last-child { border-bottom: none; }

.pg-service-link:hover {
	color: var(--pg-gold-dk);
	padding-left: 6px;
	text-decoration: none;
}

/* =============================================================================
   ENGAGEMENT MODELS (Conseil page)
============================================================================= */

.pg-engagement {
	background: var(--pg-navy);
	background-image: linear-gradient(155deg, #080f1e 0%, #0d1f3c 60%, #162447 100%);
	padding-block: 96px;
}

.pg-engagement .pg-label { color: rgba(255, 255, 255, 0.55); }

.pg-engagement h2 {
	font-size: clamp(1.875rem, 3vw, 2.5rem);
	color: #fff;
	margin-bottom: 16px;
	line-height: 1.1;
}

.pg-engagement .pg-gold-line--center { background: var(--pg-gold); }

.pg-engagement .pg-section-sub { color: rgba(255, 255, 255, 0.6); }

.pg-engagement__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.pg-eng-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 36px 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	transition: background 250ms ease, border-color 250ms ease, transform 250ms ease;
	position: relative;
}

.pg-eng-card:hover {
	background: rgba(197, 160, 40, 0.06);
	border-color: rgba(197, 160, 40, 0.28);
	transform: translateY(-4px);
}

.pg-eng-card--featured {
	border-color: rgba(197, 160, 40, 0.35);
	background: rgba(197, 160, 40, 0.05);
}

.pg-eng-card__badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--pg-gold);
	color: var(--pg-navy-deep);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 14px;
	border-radius: 2px;
	white-space: nowrap;
}

.pg-eng-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 8px;
	background: rgba(197, 160, 40, 0.12);
	color: var(--pg-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pg-eng-card h3 {
	font-size: 1.25rem;
	color: #fff;
	line-height: 1.2;
}

.pg-eng-card p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.75;
	flex: 1;
}

.pg-eng-card__features {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 16px;
}

.pg-eng-card__features li {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
	padding-left: 16px;
	position: relative;
	line-height: 1.5;
}

.pg-eng-card__features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pg-gold);
	opacity: 0.65;
}

/* =============================================================================
   CTA SECTION (bottom of pages)
============================================================================= */

.pg-cta-section {
	background-color: var(--pg-navy-mid);
	background-image:
		radial-gradient(ellipse at 10% 90%, rgba(197, 160, 40, 0.06) 0%, transparent 50%),
		linear-gradient(135deg, #060c18 0%, #162447 100%);
	padding-block: 96px;
}

.pg-cta-section__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.pg-cta-section__copy {
	display: flex;
	flex-direction: column;
}

.pg-cta-section__copy h2 {
	font-size: clamp(1.875rem, 3vw, 2.625rem);
	color: #fff;
	line-height: 1.1;
	margin-bottom: 20px;
}

.pg-cta-section__copy .pg-gold-line { margin-bottom: 20px; }

.pg-cta-section__copy p {
	font-size: 1.0625rem;
	color: rgba(255, 255, 255, 0.68);
	line-height: 1.78;
	max-width: 460px;
	margin-bottom: 32px;
}

.pg-cta-section__info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 36px 40px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 8px;
}

.pg-cta-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pg-cta-item svg {
	flex-shrink: 0;
	color: var(--pg-gold);
	opacity: 0.85;
}

.pg-cta-item a {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	transition: color 150ms ease;
}

.pg-cta-item a:hover { color: var(--pg-gold); text-decoration: none; }

/* =============================================================================
   RESPONSIVE — Tablet (≤ 1024px)
============================================================================= */

@media (max-width: 1024px) {

	.pg-hero__inner { padding-block: 72px 60px; }

	.pg-intro__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.pg-service__body,
	.pg-sector__body {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.pg-service__col--aside,
	.pg-sector__col--aside {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.pg-impact-card,
	.pg-refs-card,
	.pg-usecase-card,
	.pg-service-links {
		margin-bottom: 0;
	}

	.pg-engagement__grid {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin-inline: auto;
	}

	.pg-cta-section__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

}

/* =============================================================================
   RESPONSIVE — Mobile (≤ 768px)
============================================================================= */

@media (max-width: 768px) {

	.pg-hero { min-height: auto; }

	.pg-hero__inner { padding-block: 56px 48px; }

	.pg-hero__h1 { font-size: 2rem; }

	.pg-hero__ctas {
		flex-direction: column;
		align-items: flex-start;
	}

	.pg-service,
	.pg-sector {
		padding-block: 56px;
	}

	.pg-service__header,
	.pg-sector__header {
		flex-direction: column;
		gap: 16px;
	}

	.pg-service__col--aside,
	.pg-sector__col--aside {
		grid-template-columns: 1fr;
	}

	.pg-cta-section { padding-block: 64px; }

	.pg-cta-section__info { padding: 28px 24px; }

	.pg-intro__models {
		gap: 12px;
	}

}

/* =============================================================================
   RESPONSIVE — Small mobile (≤ 480px)
============================================================================= */

@media (max-width: 480px) {

	.pg-breadcrumb { font-size: 0.75rem; }

	.pg-service__header,
	.pg-sector__header {
		gap: 12px;
	}

	.pg-model-badge {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

}
