/*
Theme Name: Ambition THD
Theme URI: https://ambitionthd.com
Author: Camille Deblois
Author URI: https://casselabaraque.fr/
Description: Thème sur mesure pour Ambition THD
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Propriétaire
Text Domain: ambition-thd
*/

/* ==========================================================================
   Polices (Barlow + Barlow Condensed, auto-hébergées)
   ========================================================================== */

@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/Barlow-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('assets/fonts/Barlow-Medium.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/Barlow-SemiBold.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/Barlow-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/BarlowCondensed-Regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/BarlowCondensed-SemiBold.woff2') format('woff2');
}
@font-face {
	font-family: 'Barlow Condensed';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/BarlowCondensed-Bold.woff2') format('woff2');
}

/* ==========================================================================
   Variables globales
   ========================================================================== */

:root {
	/* Couleurs signature */
	--cyan: #4FB0E0;
	--cyan-dark: #02749B;
	--cyan-deep: #02496A;

	/* Textes */
	--ink: #13202B;
	--grey: #5B6B76;

	/* Neutres */
	--white: #FFFFFF;
	--bg-soft: #F4F7F8;
	--line: #E4E9EC;

	/* Fonctionnelles */
	--validation: #1C8C7D;
	--alerte: #C7763B;

	/* Teintes cyan (fonds, badges) */
	--cyan-tint: rgba(79, 176, 224, .12);
	--cyan-tint-strong: rgba(79, 176, 224, .25);

	/* Typographie */
	--font-body: 'Barlow', sans-serif;
	--font-title: 'Barlow Condensed', sans-serif;

	/* Layout */
	--container-max: 1240px;
	--container-pad: 48px;

	/* Rayons */
	--radius-badge: 5px;
	--radius-btn: 6px;
	--radius-field: 8px;
	--radius-card: 12px;
	--radius-block: 16px;

	/* Ombre (survols uniquement) */
	--shadow: 0 14px 30px rgba(2, 73, 106, .10);

	/* Motif de grille décoratif (héros, blocs sombres) */
	--grid-pattern: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	--grid-pattern-size: 44px 44px;
}

/* ==========================================================================
   Reset et base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

button {
	font-family: inherit;
	cursor: pointer;
}

ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Skip link (accessibilité clavier) */
.skip-link {
	position: absolute;
	top: -60px;
	left: 12px;
	z-index: 1000;
	background: var(--ink);
	color: var(--white);
	padding: 12px 20px;
	border-radius: var(--radius-field);
	font-weight: 600;
	transition: top .2s;
}
.skip-link:focus {
	top: 12px;
}

/* Focus visible cohérent */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2.5px solid var(--cyan-dark);
	outline-offset: 2px;
}

/* ==========================================================================
   Typographie
   ========================================================================== */

h1, h2, h3, h4, h5, h6, .cond {
	font-family: var(--font-title);
	letter-spacing: .3px;
	color: var(--ink);
	line-height: 1.1;
	margin: 0;
}

h1 {
	font-size: 62px;
	font-weight: 800;
}

h2 {
	font-size: 40px;
	font-weight: 700;
}

h3 {
	font-size: 22px;
	font-weight: 700;
}

h4 {
	font-size: 19px;
	font-weight: 700;
}

p {
	margin: 0;
}

small {
	font-size: 13px;
}

@media (max-width: 680px) {
	h1 { font-size: 40px; }
	h2 { font-size: 30px; }
}

/* ==========================================================================
   Layout (container, grilles utilitaires)
   ========================================================================== */

.wrap {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-pad);
}

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

@media (max-width: 980px) {
	.wrap { --container-pad: 32px; }
	.grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
	.grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
	.wrap { --container-pad: 22px; }
	.grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Composants réutilisables
   ========================================================================== */

/* Eyebrow (surtitre) */
.eyebrow {
	display: block;
	font-family: var(--font-title);
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--cyan);
	font-size: 14px;
}

/* En-tête de section */
.section-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 46px;
}
.section-head h2 {
	margin: 12px 0 14px;
}
.section-head p {
	color: var(--grey);
	font-size: 17px;
}

section {
	padding: 84px 0;
}

@media (max-width: 680px) {
	section { padding: 56px 0; }
}

/* Boutons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--cyan);
	color: var(--white);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	padding: 12px 24px;
	border-radius: var(--radius-btn);
	border: none;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover {
	background: var(--cyan-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
	color: var(--white);
}
.btn-ghost {
	background: transparent;
	color: var(--cyan-dark);
	border: 1.5px solid var(--cyan);
}
.btn-ghost:hover {
	background: var(--cyan);
	color: var(--white);
}
/* Sur fond sombre (héros) : le contour ghost passe en blanc */
.hero .btn-ghost,
.on-dark .btn-ghost {
	color: var(--white);
	border-color: rgba(255, 255, 255, .7);
}
.hero .btn-ghost:hover,
.on-dark .btn-ghost:hover {
	background: var(--white);
	color: var(--cyan-dark);
}

/* Cards */
.card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 28px 26px;
	transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
}
.card .card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	transition: background .25s;
}
.card .card-icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
}
.card h3 {
	font-size: 21px;
	margin-bottom: 6px;
}
.card p {
	color: var(--grey);
	font-size: 14.5px;
}

/* Étiquette / tag */
.tag {
	display: inline-block;
	font-family: var(--font-title);
	font-weight: 600;
	letter-spacing: .8px;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--cyan-dark);
	background: var(--cyan-tint);
	padding: 4px 10px;
	border-radius: var(--radius-badge);
}
.tag.tag-validation { color: var(--validation); background: rgba(28, 140, 125, .12); }
.tag.tag-alerte { color: var(--alerte); background: rgba(199, 118, 59, .12); }

/* Puce filtrable (chip) */
.chip {
	border: 1.5px solid var(--line);
	background: var(--white);
	color: var(--grey);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	padding: 9px 18px;
	border-radius: 30px;
	transition: all .18s;
}
.chip:hover {
	border-color: var(--cyan);
	color: var(--cyan-dark);
}
.chip.active {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--white);
}

/* Bandeau de statistiques */
.stat-band {
	background: var(--ink);
	color: var(--white);
}
.stat-band .grid-4,
.stat-band .grid-5 {
	gap: 0;
}
.stat {
	text-align: center;
	padding: 10px 18px;
	border-right: 1px solid rgba(255, 255, 255, .12);
}
.stat:last-child {
	border-right: none;
}
.stat .stat-num {
	font-family: var(--font-title);
	font-size: 48px;
	font-weight: 800;
	color: var(--cyan);
	line-height: 1;
}
.stat .stat-label {
	color: #AEB9C2;
	font-size: 15px;
	margin-top: 8px;
}
@media (max-width: 980px) {
	.stat-band .grid-4 { grid-template-columns: 1fr 1fr; }
	.stat-band .grid-5 { grid-template-columns: repeat(3, 1fr); }
	.stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 22px; margin-bottom: 22px; }
}
@media (max-width: 680px) {
	.stat-band .grid-4,
	.stat-band .grid-5 { grid-template-columns: 1fr; }
}

/* Formulaires */
.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.field.full {
	grid-column: 1 / -1;
}
.field label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}
.field input,
.field select,
.field textarea {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-field);
	padding: 12px 14px;
	background: var(--white);
	transition: border-color .2s;
	width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--cyan);
}
.field textarea {
	resize: vertical;
	min-height: 110px;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}
@media (max-width: 680px) {
	.form-row { grid-template-columns: 1fr; }
}

/* Accordéon FAQ */
.faq-item {
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	margin-bottom: 12px;
	overflow: hidden;
	background: var(--white);
	transition: border-color .2s;
}
.faq-item.open {
	border-color: var(--cyan);
}
.faq-q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	cursor: pointer;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 17px;
	color: var(--ink);
	background: none;
	border: none;
	width: 100%;
	text-align: left;
}
.faq-q .chev {
	flex: none;
	width: 22px;
	height: 22px;
	stroke: var(--cyan);
	fill: none;
	stroke-width: 2.4;
	transition: transform .3s;
}
.faq-item.open .faq-q .chev {
	transform: rotate(180deg);
}
.faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s ease;
}
.faq-a .faq-a-inner {
	padding: 0 24px 22px;
	color: var(--grey);
	font-size: 15px;
	line-height: 1.65;
}
.faq-item.open .faq-a {
	max-height: 600px;
}

/* Héros générique (fond dégradé cyan) */
.hero {
	position: relative;
	color: var(--white);
	overflow: hidden;
	background: linear-gradient(120deg, var(--cyan-deep) 0%, var(--cyan-dark) 55%, var(--cyan) 100%);
	background-attachment: fixed;
}
/* Parallax léger : fond fixe au scroll sur tous les hero, desktop uniquement (perf mobile) */
@media (max-width: 768px) {
	.hero {
		background-attachment: scroll;
	}
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--grid-pattern);
	background-size: var(--grid-pattern-size);
	mask-image: radial-gradient(circle at 78% 30%, #000, transparent 70%);
	opacity: .6;
}
/* Héros avec photo (Accueil et pages internes) : même dégradé cyan, rendu semi-transparent pour laisser apparaître la photo */
.hero.hero-photo {
	background-image:
		linear-gradient(120deg, rgba(2, 73, 106, .85) 0%, rgba(2, 116, 155, .82) 55%, rgba(79, 176, 224, .78) 100%),
		var(--hero-photo);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.hero-photo-home { --hero-photo: url("assets/images/photos-ambitions-thd (5).jpg"); }
.hero-photo-pv { --hero-photo: url("assets/images/photos-ambitions-thd (2).jpg"); }
.hero-photo-irve { --hero-photo: url("assets/images/photos-ambitions-thd (4).jpg"); }
.hero-photo-ressources { --hero-photo: url("assets/images/photos-ambitions-thd (6).jpg"); }
.hero-photo-realisations { --hero-photo: url("assets/images/photos-ambitions-thd (9).jpg"); }
.hero-photo-recrutement { --hero-photo: url("assets/images/photos-ambitions-thd (1).jpg"); }
.hero-inner {
	position: relative;
	z-index: 2;
	padding-top: 96px;
	padding-bottom: 88px;
	max-width: 760px;
}
/* Variante compacte : hero Photovoltaïque et Bornes IRVE (espacement réduit des 2/3) */
.hero-inner.hero-inner-compact {
	padding-top: 32px;
	padding-bottom: 29px;
}
.hero .eyebrow {
	color: #BFE9F7;
}
.hero h1 {
	color: var(--white);
	line-height: 1.03;
	margin: 16px 0 20px;
}
.hero p {
	font-size: 20px;
	color: #E7F6FC;
	max-width: 620px;
	margin-bottom: 32px;
}
.hero-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
.hero-cta .btn,
.hero-cta .btn-ghost {
	transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.hero-cta .btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(2, 73, 106, .35);
}
.hero-cta .btn-ghost:hover {
	transform: translateY(-3px);
}
@media (max-width: 680px) {
	.hero-inner { padding-top: 64px; padding-bottom: 56px; }
	.hero-stats { gap: 22px; margin-top: 34px; }
}

/* Bloc sombre dégradé (CTA, visuels) */
.panel-dark {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-block);
	color: var(--white);
	background: linear-gradient(140deg, var(--cyan-deep), var(--cyan-dark) 70%, var(--cyan));
	box-shadow: var(--shadow);
}
.panel-dark::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--grid-pattern);
	background-size: 38px 38px;
	mask-image: radial-gradient(circle at 85% 15%, #000, transparent 70%);
	opacity: .6;
	pointer-events: none;
}

/* Section avec image de fond + overlay bleu dégradé (titre en blanc) */
.has-bg-image {
	position: relative;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
.has-bg-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(2, 116, 155, .85) 0%, rgba(19, 32, 43, .92) 100%);
	z-index: 1;
}
.has-bg-image > .wrap {
	position: relative;
	z-index: 2;
}
.has-bg-image .eyebrow,
.has-bg-image .section-head h2 {
	color: var(--white) !important;
}
.has-bg-image .section-head p {
	color: var(--white) !important;
	opacity: .85;
}
@media (max-width: 768px) {
	.has-bg-image {
		background-attachment: scroll;
	}
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
}
.site-branding {
	display: flex;
	align-items: center;
}
.site-branding a {
	display: block;
}
.site-branding img {
	height: 36px;
	width: auto;
}
.site-header.is-scrolled .wrap {
	height: 68px;
}

.main-navigation {
	display: flex;
	align-items: center;
	gap: 28px;
}
.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 26px;
}
.main-navigation a {
	font-size: 15px;
	font-weight: 500;
	color: var(--grey);
	transition: color .2s;
}
.main-navigation a:hover {
	color: var(--ink);
}
.main-navigation .current-menu-item > a,
.main-navigation a[aria-current="page"] {
	color: var(--cyan-dark);
	font-weight: 600;
}
.header-cta {
	flex: none;
}
.header-cta .btn,
.header-cta .btn:hover {
	color: var(--white);
}
.mobile-nav-logo {
	display: none;
}

/* Burger mobile */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	border-radius: var(--radius-field);
}
.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ink);
	transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
	.menu-toggle {
		display: flex;
		position: relative;
		z-index: 160;
	}
	.main-navigation {
		position: fixed;
		inset: 0;
		width: 100vw;
		height: 100vh;
		background: var(--white);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 16px var(--container-pad) 24px;
		gap: 0;
		transform: translateX(100%);
		transition: transform .3s ease;
		overflow-y: auto;
		z-index: 150;
	}
	.main-navigation.is-open {
		transform: translateX(0);
	}
	.mobile-nav-logo {
		display: block;
		margin-bottom: 20px;
	}
	.mobile-nav-logo img {
		height: 40px;
		width: auto;
	}
	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}
	/* Item accueil identifié par JS (initMobileNavHomeItem) : le logo fait déjà office de lien accueil */
	.nav-home-item {
		display: none;
	}
	.main-navigation ul li {
		border-bottom: 1px solid var(--line);
	}
	.main-navigation ul a {
		display: block;
		padding: 20px 4px;
		font-size: 18px;
	}
	.header-cta {
		margin-top: 32px;
	}
	.header-cta .btn {
		display: flex;
		justify-content: center;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--ink);
	color: #AEB9C2;
	padding: 56px 0 30px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	margin-bottom: 36px;
}
.footer-col h5 {
	font-family: var(--font-title);
	color: var(--white);
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.footer-col a {
	display: block;
	color: #AEB9C2;
	font-size: 14.5px;
	margin-bottom: 9px;
	transition: color .2s;
}
.footer-col a:hover {
	color: var(--cyan);
}
.footer-logo {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.footer-logo img {
	height: 32px;
	width: auto;
}
.footer-tagline {
	max-width: 280px;
	font-size: 14px;
}
.footer-agences {
	font-size: 13.5px;
	line-height: 1.6;
}
.footer-agences li {
	margin-bottom: 10px;
}
.footer-agences .agence-region {
	color: var(--white);
	font-weight: 600;
}
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding-top: 22px;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.footer-bottom a {
	color: #AEB9C2;
}
.footer-bottom a:hover {
	color: var(--cyan);
}

@media (max-width: 980px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 680px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Styles par page
   (sections uniques uniquement, ajoutées au fil de la production)
   ========================================================================== */

/* ---- Page Accueil ---- */

.hero-stats {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
	margin-top: 46px;
	position: relative;
	z-index: 2;
}
.hero-stat .n {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: clamp(28px, 3vw, 40px);
	color: var(--cyan);
	line-height: 1;
}
.hero-stat .l {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 12px;
	color: var(--white);
	margin-top: 4px;
}

/* Section Transition énergétique - Marquee */

.transition-section {
	background: var(--white);
	padding: 6rem 0 4rem;
	overflow: hidden;
}
.transition-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 5rem;
	padding: 0 2rem;
}
.marquee-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	width: 120px;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}
.marquee-wrapper::before {
	left: 0;
	background: linear-gradient(to right, var(--white), transparent);
}
.marquee-wrapper::after {
	right: 0;
	background: linear-gradient(to left, var(--white), transparent);
}
.marquee-track {
	display: flex;
	gap: 0;
	width: max-content;
	animation: transition-marquee 60s linear infinite;
}
.marquee-track:hover {
	animation-play-state: paused;
}
@keyframes transition-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.marquee-slide {
	flex-shrink: 0;
	width: 33vw;
	min-width: 380px;
	max-width: 520px;
	padding: 3rem;
	text-align: center;
	cursor: pointer;
	transition: transform .4s ease;
}
.marquee-slide:hover {
	transform: translateY(-6px);
}
.marquee-slide .slide-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--cyan-dark);
	margin-bottom: 1.5rem;
}
.marquee-slide .slide-chiffre {
	font-family: var(--font-title);
	font-size: clamp(63px, 5.6vw, 98px);
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -2px;
	margin-bottom: 2rem;
	transition: transform .4s ease;
}
.marquee-slide:hover .slide-chiffre {
	transform: scale(1.03);
}
.marquee-slide .slide-contexte {
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
	margin-bottom: 1rem;
	line-height: 1.5;
}
.marquee-slide .slide-engagement {
	font-size: 14px;
	color: var(--grey);
	line-height: 1.6;
	margin-bottom: 1rem;
}
.marquee-slide .slide-source {
	font-size: 11px;
	color: var(--grey);
	font-style: italic;
}
@media (max-width: 768px) {
	.marquee-slide {
		width: 85vw;
		min-width: 280px;
		padding: 2rem;
	}
	.marquee-wrapper::before,
	.marquee-wrapper::after {
		width: 40px;
	}
	.transition-section {
		padding: 4rem 0 3rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.marquee-track {
		animation-play-state: paused;
	}
}

.certband {
	background: var(--bg-soft);
}
.cert-groups {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
.cert-col h3 {
	font-size: 15px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--cyan-dark);
	margin-bottom: 18px;
	font-family: var(--font-title);
	font-weight: 700;
}
.cert-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}
.badge {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-block);
	padding: 20px 16px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 170px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.badge:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: var(--cyan);
}
.badge .badge-icon {
	width: 50px;
	height: 50px;
	margin: 0 auto 12px;
	border-radius: 13px;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .25s;
}
.badge:hover .badge-icon {
	background: var(--cyan);
}
.badge .badge-icon svg {
	width: 26px;
	height: 26px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
	transition: stroke .25s;
}
.badge:hover .badge-icon svg {
	stroke: var(--white);
}
.badge .badge-name {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.1;
}
.badge .badge-sub {
	font-size: 12px;
	color: var(--grey);
	margin-top: 3px;
}
.cert-grid-logos {
	grid-template-columns: repeat(4, 1fr);
}
.badge-logo {
	height: 190px;
}
.badge .badge-logo-img {
	width: 100%;
	height: 92px;
	margin: 0 auto 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.badge .badge-logo-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.cta-row {
	text-align: center;
	margin-top: 40px;
}

.serv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.serv {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-block);
	color: var(--white);
	box-shadow: var(--shadow);
	background-size: cover;
	background-position: center;
	padding: 52px;
	min-height: 338px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transition: transform .4s ease, box-shadow .4s ease;
}
.serv::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(2, 116, 155, .85) 0%, rgba(19, 32, 43, .92) 100%);
	z-index: 1;
}
.serv:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 44px rgba(2, 73, 106, .3);
}
.serv-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
	font-family: var(--font-body);
	font-size: 11.5px;
	font-weight: 600;
	color: var(--white);
	background: rgba(255, 255, 255, .18);
	padding: 5px 12px;
	border-radius: 30px;
}
.serv .serv-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .18);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	margin-bottom: 6.5px;
	transition: background .3s ease;
}
.serv:hover .serv-icon {
	background: rgba(255, 255, 255, .3);
}
.serv .serv-icon svg {
	width: 30px;
	height: 30px;
	stroke: var(--white);
	fill: none;
	stroke-width: 2;
	transition: transform .4s ease;
}
.serv:hover .serv-icon svg {
	transform: rotate(10deg);
}
.serv h3 {
	color: var(--white);
	font-size: 30px;
	position: relative;
	z-index: 2;
}
.serv p {
	color: #E7F6FC;
	font-size: 15px;
	margin: 8px 0 18px;
	position: relative;
	z-index: 2;
	max-width: 400px;
}
.serv .serv-link {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	font-weight: 600;
}
.serv .serv-link svg {
	width: 18px;
	height: 18px;
	stroke: var(--white);
	fill: none;
	stroke-width: 2.4;
	transition: transform .2s;
}
.serv:hover .serv-link svg {
	transform: translateX(4px);
}

.clients {
	background: var(--bg-soft);
}
.logos-marquee {
	overflow: hidden;
	width: 100%;
	margin-bottom: 50px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-track {
	display: flex;
	align-items: center;
	width: max-content;
	gap: 64px;
	animation: logos-scroll 28s linear infinite;
}
.logos-marquee:hover .logos-track {
	animation-play-state: paused;
}
.logo-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 70px;
}
.logo-item img {
	height: 100%;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}
@keyframes logos-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.logos-track {
		animation: none;
	}
}
.testis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.testi {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-block);
	padding: 26px;
	transition: transform .4s ease, box-shadow .4s ease;
}
.testi:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
}
.testi .testi-stars {
	color: var(--alerte);
	font-size: 15px;
	letter-spacing: 2px;
	margin-bottom: 10px;
}
.testi p {
	font-size: 14.5px;
	color: var(--ink);
	font-style: italic;
	margin-bottom: 12px;
}
.testi .testi-who {
	font-weight: 600;
	color: var(--grey);
	font-size: 13.5px;
}

.cta-section {
	padding: 90px 0;
	text-align: center;
}
.cta-section h2 {
	margin-bottom: 12px;
}
.cta-section p {
	color: var(--grey);
	font-size: 18px;
	margin-bottom: 26px;
}
/* Variante sombre du CTA final (page d'accueil) */
.cta-section-dark {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--cyan-dark), var(--ink) 85%);
}
.cta-section-dark::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--grid-pattern);
	background-size: var(--grid-pattern-size);
	mask-image: radial-gradient(circle at 20% 20%, #000, transparent 70%);
	opacity: .5;
	pointer-events: none;
}
.cta-section-dark .wrap {
	position: relative;
	z-index: 2;
}
.cta-section-dark .eyebrow {
	color: #BFE9F7;
}
.cta-section-dark h2 {
	color: var(--white);
}
.cta-section-dark p {
	color: #E7F6FC;
}

/* Animations "reveal" (déclenchées en JS via IntersectionObserver) */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
	opacity: 1;
	transform: none;
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (max-width: 980px) {
	.cert-groups, .serv-grid { grid-template-columns: 1fr; }
	.cert-grid, .testis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.cert-grid, .testis { grid-template-columns: 1fr; }
	.logos-track { gap: 40px; }
	.logo-item { height: 50px; }
}

/* ---- Pages Photovoltaïque & Bornes IRVE (structure commune) ---- */

.hero-stats {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	margin-top: 44px;
	position: relative;
	z-index: 2;
}
.hero-stats .stat-mini .n {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 34px;
	line-height: 1;
}
.hero-stats .stat-mini .l {
	color: #BFE9F7;
	font-size: 13.5px;
	margin-top: 4px;
	letter-spacing: .3px;
}

.tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 30px;
}
.tab {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	text-align: left;
	background: var(--white);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-card);
	padding: 20px;
	transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
	width: 100%;
}
.tab:hover {
	border-color: var(--cyan);
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}
.tab .tab-icon {
	width: 46px;
	height: 46px;
	border-radius: 11px;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .25s;
}
.tab .tab-icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
	transition: stroke .25s;
}
.tab .tab-name {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 22px;
	color: var(--ink);
	line-height: 1;
}
.tab .tab-kw {
	font-size: 13px;
	color: var(--grey);
}
.tab.active {
	background: linear-gradient(140deg, var(--cyan-deep), var(--cyan-dark) 75%, var(--cyan));
	border-color: transparent;
	box-shadow: var(--shadow);
	transform: translateY(-3px);
}
.tab.active .tab-name {
	color: var(--white);
}
.tab.active .tab-kw {
	color: #CFEEFA;
}
.tab.active .tab-icon {
	background: rgba(255, 255, 255, .18);
}
.tab.active .tab-icon svg {
	stroke: var(--white);
}

.panel {
	display: none;
}
.panel.active {
	display: block;
	animation: fadeUp .5s ease;
}
.prow {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 44px;
	align-items: center;
	background: var(--bg-soft);
	border-radius: var(--radius-block);
	padding: 42px;
}
.pcontent .eyebrow {
	margin-bottom: 6px;
}
.pcontent h3 {
	font-size: 32px;
	margin-bottom: 12px;
}
.pcontent .lead {
	color: var(--grey);
	font-size: 16.5px;
	margin-bottom: 26px;
	max-width: 520px;
}
.benefits {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px 26px;
	margin-bottom: 26px;
}
.benefit {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.benefit .benefit-icon {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: var(--white);
	border: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: center;
}
.benefit .benefit-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
}
.benefit h4 {
	font-family: var(--font-body);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.3;
}
.benefit p {
	color: var(--grey);
	font-size: 13.5px;
	line-height: 1.4;
}
.more-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--cyan-dark);
	font-weight: 600;
	font-size: 15px;
}
.more-link svg {
	width: 16px;
	height: 16px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2.4;
	transition: transform .2s;
}
.more-link:hover svg {
	transform: translateX(3px);
}
.pvisual .vcard {
	padding: 38px 34px;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.pvisual .vcard-icon {
	width: 66px;
	height: 66px;
	border-radius: 15px;
	background: rgba(255, 255, 255, .15);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 2;
}
.pvisual .vcard-icon svg {
	width: 36px;
	height: 36px;
	stroke: var(--white);
	fill: none;
	stroke-width: 2;
}
.pvisual .vpromise {
	position: relative;
	z-index: 2;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 25px;
	line-height: 1.15;
}
.pvisual .vsub {
	position: relative;
	z-index: 2;
	color: #CFEEFA;
	font-size: 14.5px;
	margin-top: 8px;
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.sol-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.sol {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 26px 22px;
	transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.sol:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
}
.sol .sol-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.sol .sol-icon svg {
	width: 24px;
	height: 24px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
}
.sol h3 {
	font-size: 20px;
	margin-bottom: 8px;
}
.sol p {
	color: var(--grey);
	font-size: 14px;
}

.aides {
	background: var(--bg-soft);
}
.aides-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.aide {
	display: flex;
	gap: 16px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 22px 24px;
	transition: transform .4s ease, box-shadow .4s ease;
}
.aide:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
}
.aide .aide-icon {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 11px;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
}
.aide .aide-icon svg {
	width: 23px;
	height: 23px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
}
.aide h4 {
	font-family: var(--font-title);
	letter-spacing: .3px;
	margin-bottom: 4px;
}
.aide p {
	color: var(--grey);
	font-size: 14px;
	line-height: 1.5;
}

.process {
	background: var(--ink);
	color: var(--white);
}
.process .section-head .eyebrow {
	color: #4CC3EA;
}
.process .section-head h2 {
	color: var(--white);
}
.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.step .step-num {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 26px;
	color: var(--cyan);
	border: 2px solid rgba(79, 176, 224, .5);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}
.step h4 {
	color: var(--white);
	margin-bottom: 6px;
}
.step p {
	color: #AEB9C2;
	font-size: 16px;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.trust-item {
	text-align: center;
	transition: transform .4s ease;
}
.trust-item:hover {
	transform: translateY(-6px);
}
.trust-item:hover .trust-circle {
	background: var(--cyan-tint-strong);
}
.trust-item .trust-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	transition: background .4s ease;
}
.trust-item .trust-circle svg {
	width: 28px;
	height: 28px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
}
.trust-item h4 {
	margin-bottom: 6px;
}
.trust-item p {
	color: var(--grey);
	font-size: 13.5px;
}

.zones {
	padding: 20px 0 84px;
}
.zones-inner {
	padding: 48px 46px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 34px;
	flex-wrap: wrap;
}
.zones-inner .zones-text {
	position: relative;
	z-index: 2;
	max-width: 560px;
}
.zones-inner .eyebrow {
	color: #BFE9F7;
}
.zones-inner h2 {
	color: var(--white);
	margin: 8px 0 8px;
}
.zones-inner p {
	color: #E7F6FC;
	font-size: 16px;
}
.zones-inner .znum {
	position: relative;
	z-index: 2;
	text-align: center;
}
.zones-inner .znum .znum-big {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 88px;
	line-height: .9;
}
.zones-inner .znum .znum-cap {
	color: #BFE9F7;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 13px;
}

.faq-wrap {
	max-width: 860px;
	margin: 0 auto;
}

@media (max-width: 980px) {
	.tabs { grid-template-columns: 1fr 1fr; }
	.prow { grid-template-columns: 1fr; gap: 28px; }
	.pvisual { order: -1; }
	.sol-grid, .trust-grid, .steps { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
	.aides-grid { grid-template-columns: 1fr; }
	.zones-inner { justify-content: center; text-align: center; }
}
@media (max-width: 680px) {
	.tabs, .benefits, .sol-grid, .trust-grid, .steps { grid-template-columns: 1fr; }
	.hero-stats { gap: 26px; }
}

/* ---- Page À propos ---- */

.about-intro .lead-grid {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 50px;
	align-items: center;
}
.about-intro h2 {
	font-size: 34px;
	margin-bottom: 16px;
}
.about-intro p {
	color: var(--grey);
	font-size: 16px;
	margin-bottom: 14px;
}
.about-visual {
	border-radius: var(--radius-block);
	min-height: 280px;
	background: linear-gradient(140deg, var(--cyan-deep), var(--cyan));
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.about-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--grid-pattern);
	background-size: 36px 36px;
	mask-image: radial-gradient(circle at 70% 30%, #000, transparent 72%);
}
.about-visual .about-year {
	position: relative;
	z-index: 2;
	text-align: center;
	color: var(--white);
}
.about-visual .about-year b {
	font-family: var(--font-title);
	font-weight: 800;
	font-size: 72px;
	display: block;
	line-height: 1;
}
.about-visual .about-year span {
	color: #BFE9F7;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 13px;
}

.val-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.val {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-block);
	padding: 26px;
	transition: transform .25s, box-shadow .25s;
}
.val:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.val h4 {
	font-size: 20px;
	margin-bottom: 6px;
}
.val p {
	color: var(--grey);
	font-size: 14px;
}

.certs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.cert-card {
	position: relative;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-block);
	padding: 30px 26px;
	cursor: pointer;
	transition: transform .28s, box-shadow .28s, border-color .28s;
	overflow: hidden;
	width: 100%;
	text-align: left;
}
.cert-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--cyan);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}
.cert-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: var(--cyan);
}
.cert-card:hover::before {
	transform: scaleX(1);
}
.cert-card .cert-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	transition: background .28s;
}
.cert-card:hover .cert-icon {
	background: var(--cyan);
}
.cert-card .cert-icon svg {
	width: 30px;
	height: 30px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
	transition: stroke .28s;
}
.cert-card:hover .cert-icon svg {
	stroke: var(--white);
}
.cert-card .cert-logo-img {
	width: 100%;
	max-width: 180px;
	height: 76px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.cert-card .cert-logo-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.cert-card .cert-cat {
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--cyan-dark);
	font-weight: 600;
}
.cert-card h4 {
	font-size: 23px;
	margin: 4px 0 8px;
}
.cert-card p {
	color: var(--grey);
	font-size: 14px;
}
.cert-detail {
	display: none;
}

.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(19, 32, 43, .55);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
	z-index: 200;
}
.modal-overlay.open {
	opacity: 1;
	visibility: visible;
}
.modal-card {
	background: var(--white);
	border-radius: 20px;
	max-width: 520px;
	width: 100%;
	padding: 40px;
	position: relative;
	transform: translateY(20px) scale(.96);
	transition: transform .32s cubic-bezier(.2, .8, .2, 1);
	box-shadow: 0 30px 70px rgba(2, 73, 106, .28);
}
.modal-overlay.open .modal-card {
	transform: none;
}
.modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	background: var(--bg-soft);
	color: var(--grey);
	font-size: 20px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, color .2s;
}
.modal-close:hover {
	background: var(--cyan);
	color: var(--white);
}
.modal-icon {
	width: 66px;
	height: 66px;
	border-radius: 16px;
	background: linear-gradient(140deg, var(--cyan-deep), var(--cyan));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.modal-icon svg {
	width: 34px;
	height: 34px;
	stroke: var(--white);
	fill: none;
	stroke-width: 2;
}
.modal-cat {
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--cyan-dark);
	font-weight: 600;
}
.modal-card h3 {
	font-size: 28px;
	margin: 4px 0 14px;
}
.modal-detail {
	color: var(--grey);
	font-size: 15px;
	line-height: 1.7;
}

.rse {
	background: var(--bg-soft);
}
.rse-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.rse-item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-block);
	padding: 30px 26px;
	transition: transform .25s, box-shadow .25s;
}
.rse-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.rse-item .rse-icon {
	width: 52px;
	height: 52px;
	border-radius: 13px;
	background: rgba(28, 140, 125, .12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.rse-item .rse-icon svg {
	width: 26px;
	height: 26px;
	stroke: var(--validation);
	fill: none;
	stroke-width: 2;
}
.rse-item h4 {
	font-size: 21px;
	margin-bottom: 10px;
}
.rse-item li {
	color: var(--grey);
	font-size: 14px;
	padding-left: 20px;
	position: relative;
	margin-bottom: 8px;
}
.rse-item li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--validation);
}

.zones-chips {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	position: relative;
	z-index: 2;
}
.zones-chips span {
	background: rgba(255, 255, 255, .15);
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--white);
}

@media (max-width: 980px) {
	.about-intro .lead-grid { grid-template-columns: 1fr; }
	.val-grid, .rse-grid, .certs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.val-grid, .rse-grid, .certs-grid { grid-template-columns: 1fr; }
}

/* ---- Page Recrutement ---- */

.perks-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 40px;
}
.perk {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.perk .perk-check {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--cyan-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}
.perk .perk-check svg {
	width: 14px;
	height: 14px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 3;
}
.perk h4 {
	font-size: 17px;
	font-weight: 600;
	font-family: var(--font-body);
}
.perk p {
	color: var(--grey);
	font-size: 14.5px;
}

.gallery {
	background: var(--bg-soft);
}
.gal-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 200px;
	gap: 18px;
}
.tile {
	border-radius: var(--radius-card);
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
	display: flex;
	align-items: flex-end;
	border: 1px solid var(--line);
}
.tile.tall {
	grid-row: span 2;
}
.tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	transition: transform .4s ease;
}
.tile:hover img {
	transform: scale(1.05);
}

.filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 30px;
	align-items: center;
}
.filters .filters-label {
	font-family: var(--font-title);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 13px;
	color: var(--grey);
	margin-right: 4px;
}

.jobs {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.job {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 22px 26px;
	transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
	background: var(--white);
}
.job:hover {
	border-color: var(--cyan);
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
	transform: translateY(-4px);
}
.job-main {
	flex: 1;
	min-width: 0;
}
.job h3 {
	font-size: 21px;
	margin-bottom: 7px;
}
.job-meta {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	color: var(--grey);
	font-size: 14.5px;
}
.job-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.job-meta svg {
	width: 15px;
	height: 15px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
}
.job .btn {
	flex: none;
}
.no-result {
	display: none;
	text-align: center;
	color: var(--grey);
	padding: 40px;
	font-size: 16px;
}
.no-result.visible {
	display: block;
}

.apply {
	color: var(--white);
	background: linear-gradient(120deg, var(--cyan-deep), var(--cyan-dark));
}
.apply .section-head h2 {
	color: var(--white);
}
.apply .section-head p {
	color: #D6EEFA;
}
.apply .eyebrow {
	color: #BFE9F7;
}
.apply-email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--white);
	font-weight: 600;
	margin-top: 6px;
}
.apply-email:hover {
	text-decoration: underline;
}
.form-card {
	background: var(--white);
	border-radius: var(--radius-block);
	padding: 40px;
	max-width: 860px;
	margin: 0 auto;
	color: var(--ink);
}
.file-drop {
	border: 1.5px dashed var(--cyan);
	border-radius: var(--radius-field);
	padding: 18px;
	text-align: center;
	color: var(--cyan-dark);
	font-size: 14.5px;
	background: rgba(79, 176, 224, .05);
	cursor: pointer;
	display: block;
}
.form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 8px;
	flex-wrap: wrap;
}
.form-foot small {
	color: var(--grey);
	max-width: 420px;
}
.confirm-message {
	display: none;
	background: var(--cyan-tint);
	border: 1px solid var(--cyan);
	color: var(--cyan-dark);
	border-radius: var(--radius-field);
	padding: 16px;
	margin-top: 18px;
	font-weight: 600;
}
.confirm-message.visible {
	display: block;
}

@media (max-width: 980px) {
	.perks-list { grid-template-columns: 1fr; }
	.gal-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.form-row { grid-template-columns: 1fr; }
	.job { flex-direction: column; align-items: flex-start; }
	.gal-grid { grid-template-columns: 1fr; }
}

/* ---- Page Contact ---- */

.faq-soft-bg {
	background: var(--bg-soft);
}
.contact-grid {
	display: grid;
	grid-template-columns: 1.3fr .8fr;
	gap: 50px;
	align-items: start;
}
.contact-form-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 36px;
}
.contact-form-card h2 {
	font-size: 26px;
	margin-bottom: 24px;
}
.pill-group {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1.5px solid var(--line);
	background: var(--white);
	color: var(--grey);
	font-size: 14px;
	font-weight: 500;
	padding: 9px 16px;
	border-radius: 30px;
	transition: all .18s;
}
.pill .pill-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--grey);
}
.pill:hover {
	border-color: var(--cyan);
}
.pill.active {
	border-color: var(--cyan);
	background: var(--cyan-tint);
	color: var(--ink);
	font-weight: 600;
}

.sidebar-card {
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 28px;
	margin-bottom: 20px;
}
.sidebar-card h4 {
	font-size: 19px;
	margin-bottom: 18px;
}
.sidebar-row {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 14.5px;
	color: var(--grey);
}
.sidebar-row:last-child {
	margin-bottom: 0;
}
.sidebar-row svg {
	flex: none;
	width: 20px;
	height: 20px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 2;
	margin-top: 2px;
}
.sidebar-urgence {
	padding: 28px;
	color: var(--white);
	background: linear-gradient(120deg, var(--cyan-deep) 0%, var(--cyan-dark) 55%, var(--cyan) 100%);
}
.sidebar-urgence h4 {
	color: var(--white);
	font-size: 19px;
	margin-bottom: 8px;
}
.sidebar-urgence p {
	font-size: 14px;
	color: #E7F6FC;
	margin-bottom: 18px;
}
.sidebar-urgence .btn-ghost {
	color: var(--white);
	border-color: rgba(255, 255, 255, .7);
}
.sidebar-urgence .btn-ghost:hover {
	background: var(--white);
	color: var(--cyan-dark);
}

.implantations-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: stretch;
}
.implantations-map {
	background: var(--bg-soft);
	border-radius: var(--radius-card);
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.implantations-map img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}
.implantations-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
@media (max-width: 860px) {
	.implantations-layout {
		grid-template-columns: 1fr;
	}
}
.agency-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 14px 18px;
	transition: border-color .2s, box-shadow .2s;
}
.agency-card:hover {
	border-color: var(--cyan);
	box-shadow: var(--shadow);
}
.agency-card.is-upcoming {
	background: var(--bg-soft);
	border-style: dashed;
}
.agency-card h3 {
	font-size: 18px;
	margin-bottom: 3px;
}
.agency-card p {
	color: var(--grey);
	font-size: 14px;
	line-height: 1.4;
}
.agency-card .agency-phone {
	color: var(--cyan-dark);
	font-weight: 600;
	margin-top: 3px;
	display: block;
}
.agency-card .agency-departements {
	color: var(--grey);
	font-size: 12px;
	margin-top: 8px;
}
.agency-card.is-highlighted {
	border-color: var(--cyan);
	box-shadow: var(--shadow);
	transform: translateY(-2px);
}
.agency-note {
	padding: 8px 18px;
	font-size: 12.5px;
	color: var(--grey);
	background: var(--bg-soft);
	border-radius: var(--radius-card);
	opacity: .7;
}

/* ==========================================================================
   Section Nos implantations - Carte SVG + interconnexion cards
   ========================================================================== */

.implantations-svg {
	width: 100%;
	height: auto;
	display: block;
}
.dept-fill-outside {
	fill: var(--line);
	stroke: var(--bg-soft);
	stroke-width: .3;
}
.map-zone {
	cursor: pointer;
	transform-box: fill-box;
	transform-origin: center;
	transition: transform .3s ease, filter .3s ease;
	outline: none;
	/* Fait office de bordure extérieure (1.5px) de la zone : le filtre trace
	   le contour de la silhouette combinée du groupe (les bordures internes
	   entre départements d'une même couleur ne créent pas de rupture de
	   contraste et ne sont donc pas concernées par l'effet). */
	filter: drop-shadow(0 0 .75px var(--cyan-dark));
}
.map-zone .dept-fill {
	fill: var(--cyan);
	stroke: var(--cyan-dark);
	stroke-width: .5;
	transition: fill .3s ease;
}
.map-zone:hover,
.map-zone:focus-visible,
.map-zone.is-active {
	transform: scale(1.01);
	filter: drop-shadow(0 0 1.1px var(--cyan-dark)) drop-shadow(0 0 1.1px var(--cyan-dark));
}
.map-zone:hover .dept-fill,
.map-zone:focus-visible .dept-fill,
.map-zone.is-active .dept-fill {
	fill: var(--cyan-dark);
}
.map-zone:focus-visible {
	outline: 2.5px solid var(--cyan-dark);
	outline-offset: 3px;
}
.map-marker {
	fill: var(--cyan-dark);
	stroke: var(--white);
	stroke-width: 2;
	r: 7;
	transform-box: fill-box;
	transform-origin: center;
	animation: map-marker-pulse 3s ease-in-out infinite;
}
.map-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	fill: var(--ink);
	paint-order: stroke;
	stroke: var(--white);
	stroke-width: 3px;
	stroke-linejoin: round;
}
.map-zone.reveal-zone {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .5s ease, transform .5s ease;
}
.map-zone.reveal-zone.visible {
	opacity: 1;
	transform: translateY(0);
}
@keyframes map-marker-pulse {
	0%, 100% { transform: scale(1); opacity: .9; }
	50% { transform: scale(1.15); opacity: 1; }
}

/* Zones en ouverture 2027 (Nouvelle-Aquitaine, Hauts-de-France) - pas d'interconnexion avec les cards */
.dept-fill-upcoming {
	fill: var(--grey);
	stroke: var(--ink);
	stroke-width: .5;
}
.map-zone-upcoming {
	cursor: default;
	filter: drop-shadow(0 0 .75px var(--ink));
}
.map-zone-upcoming:hover,
.map-zone-upcoming:focus-visible {
	transform: scale(1.01);
	filter: drop-shadow(0 0 1.1px var(--ink)) drop-shadow(0 0 1.1px var(--ink));
}
.map-zone-upcoming:focus-visible {
	outline: 2.5px solid var(--ink);
	outline-offset: 3px;
}
.map-marker-upcoming {
	fill: var(--grey);
	stroke: var(--white);
	stroke-width: 2;
	r: 5;
}
.map-badge-bg {
	fill: var(--grey);
}
.map-badge-label {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 11px;
	fill: var(--white);
	text-anchor: middle;
}
@media (max-width: 767px) {
	.map-marker {
		r: 6;
	}
	.map-label {
		font-size: 12px;
	}
	.map-marker-upcoming {
		r: 4;
	}
}

@media (max-width: 980px) {
	.contact-grid { grid-template-columns: 1fr; }
	.agency-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.agency-grid { grid-template-columns: 1fr; }
}

/* ---- Page Réalisations ---- */

.case-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.case-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-field);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .4s ease, box-shadow .4s ease;
}
.case-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
}
.case-card:hover .case-photo img {
	transform: scale(1.03);
}
.case-card--paysage {
	grid-column: span 2;
}
.case-card--portrait {
	grid-column: span 1;
}
.case-photo {
	height: 320px;
	overflow: hidden;
	flex-shrink: 0;
}
.case-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.case-body {
	padding: 24px 26px 26px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.case-tags {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}
.tag.tag-secteur {
	color: var(--grey);
	background: var(--bg-soft);
}
.case-body h3 {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 24px;
	margin-bottom: 4px;
}
.case-client {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 15px;
	color: var(--cyan-dark);
	margin-bottom: 18px;
}
.case-prestations {
	margin-bottom: 4px;
}
.case-prestations-label {
	font-family: var(--font-body);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	color: var(--grey);
	margin-bottom: 8px;
}
.case-prestations ul {
	list-style: disc;
	padding-left: 18px;
	margin: 0;
}
.case-prestations li {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink);
}
.case-stats {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(79, 176, 224, .35);
}
.case-stats .cn {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 32px;
	color: var(--cyan-dark);
	line-height: 1;
}
.case-stats .cl {
	font-size: 13px;
	color: var(--grey);
	margin-top: 3px;
}

@media (max-width: 980px) {
	.case-grid { grid-template-columns: 1fr 1fr; }
	.case-card--paysage,
	.case-card--portrait {
		grid-column: span 1;
	}
	.case-photo {
		height: 240px;
	}
}
@media (max-width: 680px) {
	.case-grid { grid-template-columns: 1fr; }
	.case-photo {
		height: 220px;
	}
}

.cta-dark {
	color: var(--white);
	text-align: center;
	background: linear-gradient(120deg, var(--cyan-deep), var(--cyan-dark));
}
.cta-dark h2 {
	color: var(--white);
	margin-bottom: 12px;
}
.cta-dark p {
	color: rgba(255, 255, 255, .85);
	margin-bottom: 26px;
}

/* ---- Pages Ressources (archive) & Article (single) ---- */

.page-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--cyan-tint);
	border: 1px solid var(--cyan-tint-strong);
	color: var(--cyan-dark);
	font-family: var(--font-title);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 5px 12px;
	border-radius: 3px;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.filters-bar {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 84px;
	z-index: 40;
}
.filters-bar .wrap {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
}
.filter-tab {
	padding: 16px 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--grey);
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.filter-tab:hover {
	color: var(--ink);
}
.filter-tab.active {
	color: var(--cyan-dark);
	border-bottom-color: var(--cyan);
	font-weight: 600;
}

.articles-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.article-card {
	border: 1px solid var(--line);
	border-radius: var(--radius-field);
	overflow: hidden;
	background: var(--white);
	transition: box-shadow .4s ease, border-color .4s ease, transform .4s ease;
	display: flex;
	flex-direction: column;
}
.article-card:hover {
	box-shadow: 0 22px 40px rgba(2, 73, 106, .16);
	border-color: var(--cyan);
	transform: translateY(-6px);
}
.article-card .article-img {
	height: 170px;
	background: var(--bg-soft);
	overflow: hidden;
}
.article-card .article-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.article-card:hover .article-img img {
	transform: scale(1.05);
}
.article-img-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cyan-tint);
}
.article-img-fallback svg {
	width: 40px;
	height: 40px;
	stroke: var(--cyan-dark);
	fill: none;
	stroke-width: 1.6;
}
.article-card-body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.article-card-body .article-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 8px;
	line-height: 1.4;
}
.article-card-body .article-desc {
	font-size: 14px;
	color: var(--grey);
	line-height: 1.6;
	flex: 1;
	margin-bottom: 16px;
}
.article-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--grey);
}
.article-footer .article-read {
	font-weight: 600;
	color: var(--cyan-dark);
}

.pagination-nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}
.pagination-nav a,
.pagination-nav span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: var(--radius-field);
	border: 1px solid var(--line);
	font-size: 14px;
	color: var(--grey);
}
.pagination-nav a:hover {
	border-color: var(--cyan);
	color: var(--cyan-dark);
}
.pagination-nav .current {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--white);
	font-weight: 600;
}

/* Article (single.php) */
.article-header {
	position: relative;
	overflow: hidden;
	padding: 76px 0 46px;
	color: var(--white);
	background: linear-gradient(120deg, var(--cyan-deep) 0%, var(--cyan-dark) 55%, var(--cyan) 100%);
}
.article-header::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--grid-pattern);
	background-size: var(--grid-pattern-size);
	mask-image: radial-gradient(circle at 78% 30%, #000, transparent 70%);
	opacity: .6;
}
.article-header .wrap {
	position: relative;
	z-index: 2;
}
.article-header .tag {
	color: var(--white);
	background: rgba(255, 255, 255, .16);
}
.article-header h1 {
	font-size: 42px;
	max-width: 820px;
	margin: 14px 0 18px;
	color: var(--white);
}
.article-meta-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
	color: #E7F6FC;
	font-size: 14px;
}
.article-featured-img {
	max-width: var(--container-max);
	margin: 50px auto 0;
	padding: 0 var(--container-pad);
}
.article-featured-img img {
	width: 100%;
	border-radius: var(--radius-block);
	box-shadow: var(--shadow);
}
.entry-content {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 60px var(--container-pad);
	font-size: 17px;
	line-height: 1.75;
	color: var(--ink);
}
.entry-content h2 {
	font-size: 30px;
	margin: 40px 0 16px;
}
.entry-content h3 {
	font-size: 22px;
	margin: 32px 0 12px;
}
.entry-content p {
	margin-bottom: 20px;
}
.entry-content ul,
.entry-content ol {
	margin: 0 0 20px 0;
	padding-left: 22px;
	list-style: revert;
}
.entry-content a {
	color: var(--cyan-dark);
	text-decoration: underline;
}
.entry-content blockquote {
	border-left: 3px solid var(--cyan);
	padding-left: 20px;
	margin: 28px 0;
	color: var(--grey);
	font-style: italic;
}
.entry-content img {
	border-radius: var(--radius-card);
	margin: 20px 0;
}
.related-articles {
	background: var(--bg-soft);
}

@media (max-width: 980px) {
	.articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.articles-grid { grid-template-columns: 1fr; }
	.filters-bar { position: static; }
	.article-header h1 { font-size: 30px; }
	.entry-content { padding: 40px var(--container-pad); }
}

/* ---- Page Demande de devis ---- */

.quote-section {
	padding: 56px 0 88px;
}
.quote-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 32px;
}
.quote-tab {
	flex: 1;
	max-width: 260px;
	background: var(--white);
	border: 1.5px solid var(--line);
	color: var(--grey);
	font-family: var(--font-title);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .3px;
	padding: 16px 20px;
	border-radius: var(--radius-field);
	text-align: center;
	transition: all .2s;
}
.quote-tab:hover {
	border-color: var(--cyan);
	color: var(--ink);
}
.quote-tab.active {
	background: var(--cyan);
	border-color: var(--cyan);
	color: var(--white);
}
.quote-panel-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	padding: 40px;
	max-width: var(--container-max);
	width: 100%;
	margin: 0 auto;
}
.quote-panel {
	display: none;
}
.quote-panel.active {
	display: block;
}
.quote-title {
	font-size: 26px;
	margin-bottom: 28px;
}

/* Barre de progression (formulaire Photovoltaïque) */
.quote-progress {
	margin-bottom: 28px;
}
.quote-progress-track {
	height: 6px;
	background: var(--bg-soft);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 10px;
}
.quote-progress-fill {
	height: 100%;
	width: 8.33%;
	background: var(--cyan);
	border-radius: 10px;
	transition: width .3s ease;
}
.quote-progress-label {
	font-size: 13px;
	color: var(--grey);
	font-weight: 600;
}

.quote-step {
	display: none;
}
.quote-step.active {
	display: block;
	animation: quote-step-in .25s ease;
}
@keyframes quote-step-in {
	from { opacity: 0; transform: translateX(8px); }
	to { opacity: 1; transform: translateX(0); }
}
.quote-question {
	display: block;
	font-family: var(--font-title);
	font-size: 20px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 18px;
}
.quote-step select,
.quote-step input {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-field);
	padding: 13px 16px;
	background: var(--white);
	width: 100%;
	max-width: 420px;
	transition: border-color .2s;
}
.quote-step select:focus,
.quote-step input:focus {
	outline: none;
	border-color: var(--cyan);
}
.quote-radio-group {
	display: flex;
	gap: 12px;
}
.quote-radio {
	position: relative;
}
.quote-radio input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.quote-radio span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 14px 24px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-field);
	font-weight: 600;
	color: var(--grey);
	transition: all .2s;
}
.quote-radio input:checked + span {
	border-color: var(--cyan);
	background: var(--cyan-tint);
	color: var(--cyan-dark);
}
.quote-radio input:focus-visible + span {
	outline: 2px solid var(--cyan);
	outline-offset: 2px;
}
.quote-field-group {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 420px;
}

.quote-nav {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}
.quote-nav .btn:disabled {
	opacity: .4;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}
.quote-nav .btn:disabled:hover {
	background: var(--cyan);
	transform: none;
	box-shadow: none;
}
.quote-nav .btn-ghost:disabled:hover {
	background: transparent;
	color: var(--cyan-dark);
}

/* Formulaire IRVE (page unique) */
.quote-photos-intro {
	margin-bottom: 16px;
}
.quote-photos-intro p {
	font-size: 13.5px;
	color: var(--grey);
	font-style: italic;
}
.field input[type="file"] {
	padding: 10px 12px;
	font-size: 13.5px;
}

.quote-confirm {
	background: var(--cyan-tint);
	border: 1px solid var(--cyan-tint-strong);
	border-radius: var(--radius-card);
	padding: 28px;
	color: var(--cyan-dark);
	font-weight: 600;
}

@media (max-width: 680px) {
	.quote-panel-wrap {
		padding: 26px 20px;
	}
	.quote-tabs {
		gap: 8px;
	}
	.quote-tab {
		font-size: 13.5px;
		padding: 14px 10px;
	}
	.quote-radio-group {
		flex-direction: column;
	}
	.quote-radio span {
		min-width: 0;
		width: 100%;
	}
	.quote-nav {
		flex-wrap: wrap;
	}
	.quote-nav .btn {
		flex: 1;
	}
}

/* ==========================================================================
   Harmonisation Fluent Forms
   Formulaires concernés : Contact (id=3), Recrutement (id=6),
   Devis Photovoltaïque conversationnel (id=5), Devis IRVE conversationnel (id=4).
   Cible les classes standards du plugin pour reprendre la charte du site
   (cyan, Barlow, boutons cohérents). Les classes du mode conversationnel
   peuvent varier légèrement selon la version du plugin : à vérifier
   visuellement une fois les formulaires publiés avec du contenu réel.
   ========================================================================== */

/* Formulaires classiques (Contact, Recrutement) */
.fluentform {
	font-family: var(--font-body);
	color: var(--ink);
	max-width: 100%;
}
.fluentform .ff-el-group {
	margin-bottom: 18px;
}
.fluentform label,
.fluentform .ff-el-input--label label {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 7px;
}
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform input[type="number"],
.fluentform input[type="url"],
.fluentform textarea,
.fluentform select,
.fluentform .ff-el-form-control {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-field);
	padding: 12px 14px;
	background: var(--white);
	transition: border-color .2s, box-shadow .2s;
}
.fluentform textarea {
	resize: vertical;
	min-height: 110px;
}
.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus,
.fluentform .ff-el-form-control:focus {
	outline: none;
	border-color: var(--cyan);
	box-shadow: 0 0 0 3px var(--cyan-tint);
}
.fluentform .ff-btn-submit,
.fluentform button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--white);
	background: var(--cyan);
	border: none;
	border-radius: var(--radius-btn);
	padding: 12px 24px;
	cursor: pointer;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.fluentform .ff-btn-submit:hover,
.fluentform button[type="submit"]:hover {
	background: var(--cyan-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.fluentform .error,
.fluentform .text-danger,
.fluentform .ff-el-is-error .ff-el-form-control {
	color: var(--alerte);
	border-color: var(--alerte);
}

/* Formulaires conversationnels (Devis Photovoltaïque, Devis IRVE) */
.ff_conv_container,
.ff_conv_form_wrap {
	font-family: var(--font-body);
	color: var(--ink);
	background: transparent;
}
.ff_conv_question_title,
.ff_conv_input_label {
	font-family: var(--font-title);
	color: var(--ink);
}
.ff_conv_input input,
.ff_conv_input textarea,
.ff_conv_input select {
	font-family: var(--font-body);
	color: var(--ink);
	border: none;
	border-bottom: 2px solid var(--line);
	background: transparent;
}
.ff_conv_input input:focus,
.ff_conv_input textarea:focus,
.ff_conv_input select:focus {
	outline: none;
	border-color: var(--cyan);
}
.ff_conv_btn,
.ff_conv_btn_submit,
.ff_conv_next_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--white);
	background: var(--cyan);
	border: none;
	border-radius: var(--radius-btn);
	padding: 12px 24px;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.ff_conv_btn:hover,
.ff_conv_btn_submit:hover,
.ff_conv_next_btn:hover {
	background: var(--cyan-dark);
	transform: translateY(-2px);
}
.ff_progress_bar_fill,
.ff_conv_progress_bar_fill {
	background: var(--cyan);
}

/* ==========================================================================
   Styles Gutenberg - Contenu éditable des pages
   Zones concernées : .entry-content (single.php, Mentions légales, Politique
   de confidentialité) et .postes-content (page Recrutement, offres d'emploi
   gérées en Gutenberg par Lilia). Reprend la charte du site pour les blocs
   natifs (paragraphes, titres, listes, citations, séparateurs, boutons,
   images, accordéon Details).
   ========================================================================== */

.entry-content p,
.entry-content .wp-block-paragraph,
.postes-content p,
.postes-content .wp-block-paragraph {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	margin-bottom: 1rem;
}

.entry-content h2,
.postes-content h2 {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: clamp(28px, 3vw, 36px);
	color: var(--ink);
	margin-bottom: 1rem;
}
.entry-content h3,
.postes-content h3 {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 22px;
	color: var(--ink);
	margin-top: 1.5rem;
	margin-bottom: .75rem;
}
.entry-content h4,
.postes-content h4 {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 18px;
	color: var(--ink);
	margin-bottom: .5rem;
}

.entry-content ul,
.entry-content .wp-block-list,
.postes-content ul,
.postes-content .wp-block-list {
	list-style-type: disc;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}
.entry-content ol,
.postes-content ol {
	list-style-type: decimal;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}
.entry-content li,
.postes-content li {
	padding-bottom: .25rem;
	line-height: 1.6;
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--cyan);
	color: var(--white);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 14px;
	padding: 12px 24px;
	border-radius: var(--radius-btn);
	border: none;
	transition: background .2s, transform .2s, box-shadow .2s;
}
.wp-block-button__link:hover {
	background: var(--cyan-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.wp-block-separator {
	border: none;
	border-top: 2px solid var(--cyan);
	width: 60px;
	margin: 2.5rem auto;
}

.wp-block-quote {
	border-left: 3px solid var(--cyan);
	padding: 1rem;
	font-style: italic;
	background: var(--bg-soft);
	margin: 1.5rem 0;
}

.wp-block-image {
	margin: 1.5rem 0;
}
.wp-block-image img {
	border-radius: var(--radius-field);
	max-width: 100%;
	height: auto;
}

/* Bloc Details : accordéon des offres d'emploi (page Recrutement) */
.wp-block-details {
	background: var(--white);
	border-left: 4px solid var(--cyan);
	border-radius: var(--radius-card);
	padding: 2rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--shadow);
}
.wp-block-details > :last-child {
	margin-bottom: 0;
}
.wp-block-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 20px;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
	transition: color .2s ease;
}
.wp-block-details summary::-webkit-details-marker {
	display: none;
}
.wp-block-details summary::after {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--cyan-dark);
	border-bottom: 2px solid var(--cyan-dark);
	transform: rotate(45deg);
	transition: transform .25s ease;
}
.wp-block-details[open] summary::after {
	transform: rotate(-135deg);
}
.wp-block-details summary:hover {
	color: var(--cyan-dark);
}
.wp-block-details[open] summary {
	margin-bottom: 1rem;
}
