/* =========================================================
   Liberty Recyclage - feuille de style principale
   ========================================================= */

:root {
	--red: #e01b22;
	--red-dark: #b8151b;
	/* Couleurs du logo officiel. */
	--navy: #023262;
	--brand-red: #b40b28;
	--ink: #0e1c26;
	--ink-2: #142833;
	--cream: #f7f4f1;
	--white: #fff;
	--grey: #5d6b74;
	--grey-light: #e3ddd7;
	--container: 1180px;
	--radius: 6px;
	--shadow: 0 18px 40px rgba(14, 28, 38, .12);
	--font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 100%; height: 100%; fill: currentColor; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px;
	width: auto; height: auto; clip: auto;
	z-index: 999; padding: 10px 18px;
	background: var(--red); color: #fff; border-radius: var(--radius);
}

/* ---------- Titres de section ---------- */
.section-eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--red);
}
.section-eyebrow--light { color: var(--red); }
.section-title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.section-title--light { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 26px;
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 600;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(224, 27, 34, .28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn__arrow { font-size: 18px; line-height: 1; }

/* ---------- Pastilles d'icones ---------- */
.icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px; height: 54px;
	padding: 14px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	flex: 0 0 auto;
}

/* =========================================================
   EN-TETE
   ========================================================= */
.site-header {
	background: var(--white);
	position: sticky;
	top: 0;
	z-index: 60;
	box-shadow: 0 1px 0 rgba(14, 28, 38, .07);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 96px;
}
.site-brand img,
.site-brand .custom-logo { max-height: 74px; width: auto; object-fit: contain; }

/* ---------- Identite : symbole + nom ---------- */
.site-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--navy);
}
.site-brand__link:hover { color: var(--navy); opacity: .85; }

.brand-mark { width: 54px; height: 54px; flex: 0 0 auto; }
/* Logo televerse utilise comme symbole, a gauche du nom. */
.brand-logo {
	height: 56px;
	width: auto;
	max-width: 90px;
	object-fit: contain;
	flex: 0 0 auto;
}
.brand-mark svg { display: block; }
.brand-mark__arc--navy { stroke: var(--navy); }
.brand-mark__arc--red { stroke: var(--brand-red); }

.brand-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	line-height: 1.1;
}
.brand-text__ar {
	font-family: 'Cairo', 'Noto Naskh Arabic', 'Amiri', 'Segoe UI', sans-serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0;
	white-space: nowrap;
}
.brand-text__latin {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .055em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Version sur fond sombre (pied de page). */
.site-brand__link--light,
.site-brand__link--light:hover { color: #fff; }
.site-brand__link--light .brand-mark__arc--navy { stroke: #fff; }
.site-brand__link--light .brand-mark__arc--red { stroke: var(--red); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: var(--radius);
	color: var(--ink);
	font-size: 15px;
	white-space: nowrap;
	font-weight: 500;
	transition: color .2s ease, background .2s ease;
}
.nav__list a:hover { color: var(--red); }
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a {
	background: var(--red);
	color: #fff;
	box-shadow: 0 8px 18px rgba(224, 27, 34, .25);
}
/* sous-menus */
.nav__list li { position: relative; }
.nav__list .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: .2s ease;
}
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Accroche a droite du menu : filet rouge, premiere ligne en bleu marine. */
.site-header__baseline {
	margin: 0;
	padding: 3px 0 3px 16px;
	border-left: 3px solid var(--red);
	flex: 0 0 auto;
	width: 178px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--grey);
	text-align: left;
}
.site-header__baseline span { display: block; }
.site-header__baseline span:first-child {
	margin-bottom: 1px;
	font-size: 14px;
	font-weight: 600;
	color: var(--navy);
	letter-spacing: .005em;
}
.site-header__baseline span:last-child {
	font-size: 12.5px;
	font-style: italic;
	letter-spacing: .01em;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 46px; height: 42px;
	padding: 10px;
	border: 0; border-radius: var(--radius);
	background: var(--red);
	cursor: pointer;
}
.nav-toggle span {
	display: block; height: 2px;
	background: #fff; border-radius: 2px;
	transition: .25s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- Barre superieure ---------- */
.topbar {
	background: var(--ink);
	color: rgba(255, 255, 255, .78);
	font-size: 13px;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 40px;
}
.topbar__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 26px;
}
.topbar__contact li { display: flex; align-items: center; gap: 8px; }
.topbar__contact a { color: rgba(255, 255, 255, .78); }
.topbar__contact a:hover { color: #fff; }
.topbar__icon { width: 14px; height: 14px; color: var(--red); flex: 0 0 auto; }
/* Plusieurs numeros : separes par un point median dans la barre. */
.topbar__phones { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.topbar__phones a + a::before {
	content: "·";
	margin-right: 10px;
	color: rgba(255, 255, 255, .35);
}

/* ---------- Selecteur de langue ---------- */
.lang-switcher {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	flex: 0 0 auto;
}
.lang-switcher__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .05em;
	line-height: 1;
	transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.lang-switcher__flag {
	width: 20px;
	height: 14px;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .18);
}

/* Variante sur fond sombre (barre superieure). */
.lang-switcher--topbar .lang-switcher__link { color: rgba(255, 255, 255, .7); }
.lang-switcher--topbar .lang-switcher__link:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switcher--topbar .lang-switcher__link:not(.is-active) .lang-switcher__flag { opacity: .55; }
.lang-switcher--topbar .lang-switcher__link.is-active { background: var(--red); color: #fff; }
.lang-switcher--topbar .lang-switcher__link.is-active .lang-switcher__flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
	position: relative;
	background-color: var(--ink);
	background-image: var(--hero-img);
	background-size: cover;
	background-position: center right;
	color: #fff;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(10, 22, 30, .97) 0%, rgba(10, 22, 30, .92) 32%, rgba(10, 22, 30, .45) 58%, rgba(10, 22, 30, .15) 100%);
}
.hero__inner { position: relative; padding: 76px 24px 74px; max-width: var(--container); }
.hero__eyebrow {
	margin: 0 0 14px;
	font-size: 13px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase;
	color: #ff5058;
}
.hero__title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; margin-bottom: 18px; }
.hero__text { max-width: 470px; color: rgba(255, 255, 255, .86); margin-bottom: 30px; }

.hero__features {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
	margin: 0 0 34px;
}
.hero__features li {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
	line-height: 1.4;
	padding-right: 22px;
	border-right: 1px solid rgba(255, 255, 255, .22);
}
.hero__features li:last-child { border-right: 0; padding-right: 0; }
.hero__cta { margin: 0; }


/* =========================================================
   BANDEAU RECONSTRUIT EN BLOCS
   ========================================================= */
.hero.hero--blocks { padding: 0; }
.hero--blocks .hero__inner { padding: 76px 24px 74px; }
.hero--blocks .wp-block-group__inner-container { max-width: none; }

/* Les trois atouts, en blocs colonnes. */
.hero__features-blocks {
	gap: 0 !important;
	margin-bottom: 34px;
	justify-content: flex-start;
}
.hero__features-blocks > .wp-block-column {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-right: 22px;
	margin-right: 22px;
	border-right: 1px solid rgba(255, 255, 255, .22);
	flex: 0 0 auto !important;
	width: auto !important;
}
.hero__features-blocks > .wp-block-column:last-child {
	border-right: 0;
	padding-right: 0;
	margin-right: 0;
}
/* Pastille rouge autour de l'icone Spectra (classe .uagb-icon-wrapper). */
.hero__features-blocks .uagb-icon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	background: var(--red);
	border-radius: 50%;
	flex: 0 0 auto;
}
.hero__features-blocks .uagb-icon-wrapper svg {
	width: 26px !important;
	height: 26px !important;
}
.hero__features-blocks p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
}
.hero--blocks .wp-block-buttons { margin: 0; }
.hero--blocks .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 26px;
	border-radius: var(--radius);
	background: var(--red);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(224, 27, 34, .28);
	transition: background .2s ease, transform .2s ease;
}
/* La fleche du bouton, ajoutee en CSS : le bloc bouton natif n'accepte
   pas de balise supplementaire dans son texte sans risque de validation. */
.hero--blocks .wp-block-button__link::after {
	content: "\2192";
	font-size: 18px;
	line-height: 1;
}
.hero--blocks .wp-block-button__link:hover { background: var(--red-dark); transform: translateY(-2px); }

@media (max-width: 860px) {
	.hero__features-blocks > .wp-block-column {
		border-right: 0;
		padding-right: 0;
		flex-basis: 100% !important;
		margin-bottom: 16px;
	}
}

/* =========================================================
   A PROPOS
   ========================================================= */
.about { background: var(--cream); padding: 56px 0; }
.about__grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr .62fr;
	gap: 44px;
	align-items: center;
}
.about__media { margin: 0; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__content p { color: var(--grey); }

.about__points {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	margin-top: 26px;
}
.about__points li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 500;
}
.point-icon { width: 30px; height: 30px; color: var(--red); flex: 0 0 auto; }

.about__aside {
	position: relative;
	padding-left: 40px;
	border-left: 1px solid var(--grey-light);
	text-align: right;
}
.about__aside-mark {
	display: block;
	width: 118px; height: 118px;
	margin: 0 0 12px auto;
	color: rgba(14, 28, 38, .09);
}
.about__aside-text { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.about__aside-text strong { display: block; }


/* =========================================================
   SECTION « NOTRE ENGAGEMENT » EN BLOCS
   ========================================================= */
/* Les blocs Groupe ajoutent un conteneur intermediaire qui casserait la
   grille : on le rend transparent pour la mise en page. */
.about--blocks .wp-block-group__inner-container { display: contents; }
.about--blocks .about__media { margin: 0; }
.about--blocks .about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.about__points-blocks {
	gap: 0 !important;
	margin-top: 26px;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.about__points-blocks > .wp-block-column {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-right: 26px;
	flex: 0 0 auto !important;
	width: auto !important;
}
.about__points-blocks .uagb-icon-wrapper { flex: 0 0 auto; line-height: 0; }
.about__points-blocks .uagb-icon-wrapper svg { width: 30px !important; height: 30px !important; }
.about__points-blocks p {
	margin: 0;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 500;
	color: var(--ink);
}

@media (max-width: 1080px) {
	.about--blocks .about__aside { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
	.about__points-blocks > .wp-block-column { flex-basis: 100% !important; margin-bottom: 14px; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
	position: relative;
	padding: 54px 0;
	background: var(--ink);
	background-image: linear-gradient(rgba(14, 28, 38, .93), rgba(14, 28, 38, .93));
	color: #fff;
}
.services__grid {
	display: grid;
	grid-template-columns: .9fr 2.2fr;
	gap: 48px;
	align-items: center;
}
.services__intro p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.services__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.service {
	padding: 6px 26px;
	text-align: center;
	border-left: 1px solid rgba(255, 255, 255, .12);
}
.service:first-child { border-left: 0; }
.service .icon-circle { margin-bottom: 16px; }
.service__title { font-size: 16px; margin-bottom: 8px; color: #fff; }
.service p { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin: 0; }


/* =========================================================
   SECTION « NOS SERVICES » EN BLOCS
   ========================================================= */
.services--blocks .wp-block-group__inner-container { display: contents; }

.services__list-blocks { gap: 0 !important; }
.services__list-blocks > .wp-block-column {
	padding: 6px 18px;
	text-align: center;
	border-left: 1px solid rgba(255, 255, 255, .12);
}
.services__list-blocks > .wp-block-column:first-child { border-left: 0; }
.services__list-blocks .uagb-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 16px;
	background: var(--red);
	border-radius: 50%;
}
.services__list-blocks .uagb-icon-wrapper svg { width: 26px !important; height: 26px !important; }
.services__list-blocks .service__title {
	font-size: 16px;
	margin-bottom: 8px;
	color: #fff;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}
.services__list-blocks p { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin: 0; }

.services--blocks .services__intro p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.services--blocks .wp-block-buttons { margin-top: 18px; }
.services--blocks .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 26px;
	border-radius: var(--radius);
	background: var(--red);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(224, 27, 34, .28);
}
.services--blocks .wp-block-button__link::after { content: "\2192"; font-size: 18px; line-height: 1; }
.services--blocks .wp-block-button__link:hover { background: var(--red-dark); }

@media (max-width: 860px) {
	.services__list-blocks > .wp-block-column { border-left: 0; flex-basis: 50% !important; margin-bottom: 26px; }
}
@media (max-width: 560px) {
	.services__list-blocks > .wp-block-column { flex-basis: 100% !important; }
}

/* =========================================================
   NOS METAUX
   ========================================================= */
.metals { padding: 54px 0; background: var(--cream); }
.metals__grid {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 40px;
	align-items: center;
	margin-top: 26px;
}
.metals__cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.metal-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	isolation: isolate;
}
.metal-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .5s ease;
}
.metal-card:hover img { transform: scale(1.06); }
.metal-card__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 34px 16px 14px;
	color: #fff;
	background: linear-gradient(to top, rgba(8, 18, 25, .92), rgba(8, 18, 25, 0));
}
.metal-card__caption h3 { font-size: 16px; margin: 0 0 2px; }
.metal-card__caption p { font-size: 12.5px; margin: 0; color: rgba(255, 255, 255, .8); }

.metals__aside { padding-left: 28px; border-left: 3px solid var(--red); }
.metals__aside h3 { font-size: 20px; }
.metals__aside p { font-size: 14px; color: var(--grey); }


/* =========================================================
   SECTION « NOS METAUX » EN BLOCS
   ========================================================= */
.metals--blocks .wp-block-group__inner-container { display: contents; }
.metals--blocks .metals__grid { margin-top: 26px; }
.metals--blocks .metals__aside h3 { font-size: 20px; }
.metals--blocks .metals__aside p { font-size: 14px; color: var(--grey); }
.metals--blocks .wp-block-buttons { margin: 0; }
.metals--blocks .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 26px;
	border-radius: var(--radius);
	background: var(--red);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(224, 27, 34, .28);
}
.metals--blocks .wp-block-button__link::after { content: "\2192"; font-size: 18px; line-height: 1; }
.metals--blocks .wp-block-button__link:hover { background: var(--red-dark); }
.metals--blocks .metal-card a { display: block; }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery { padding: 46px 0; background: var(--white); }
.gallery__grid {
	display: grid;
	grid-template-columns: 1fr 2.3fr;
	gap: 40px;
	align-items: center;
}
.gallery__intro p { color: var(--grey); font-size: 14.5px; }
.gallery__list {
	display: grid;
	/* 5 vignettes sur une ligne ; avec moins d'images, elles gardent
	   leur taille au lieu de s'etirer sur toute la largeur. */
	grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
	gap: 14px;
}
.gallery__list a { display: block; }
.gallery__list img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 4px;
	transition: transform .4s ease, box-shadow .4s ease;
}
.gallery__list img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }



/* =========================================================
   CONTENU LIBRE DE LA PAGE D'ACCUEIL (editeur de blocs)
   ========================================================= */
.home-content { padding: 56px 0; background: #fff; }
.home-content > .container > *:first-child { margin-top: 0; }
.home-content > .container > *:last-child { margin-bottom: 0; }
.home-content h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.home-content h3 { font-size: 22px; }
.home-content p { color: var(--grey); }
.home-content img { border-radius: var(--radius); }

.home-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	padding: 14px 26px;
	border-radius: var(--radius);
	background: var(--red);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(224, 27, 34, .28);
	transition: background .2s ease, transform .2s ease;
}
.home-content .wp-block-button__link:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }

.home-content .wp-block-columns { gap: 36px; }

/* Sections colorees des compositions. */
.lr-section-light { background: var(--cream); padding: 48px; border-radius: var(--radius); }
.lr-section-dark { background: var(--ink); padding: 48px; border-radius: var(--radius); color: #fff; }
.lr-section-dark h2,
.lr-section-dark h3 { color: #fff; }
.lr-section-dark p { color: rgba(255, 255, 255, .78); }

/* Largeur etendue autorisee par align-wide. */
.home-content .alignwide { width: 100%; }
.home-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 680px) {
	.home-content { padding: 40px 0; }
	.lr-section-light,
	.lr-section-dark { padding: 28px 22px; }
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
	padding: 56px 0;
	background: var(--ink);
	color: #fff;
}
.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 48px;
	align-items: start;
}
.contact__intro p { color: rgba(255, 255, 255, .75); }
.contact__details { margin-top: 26px; }
.contact__details li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
	font-size: 14.5px;
}
.contact__details .icon-circle { width: 42px; height: 42px; padding: 11px; }
.contact__details a { color: #fff; }
.contact__details li:has(.contact__phones) { align-items: flex-start; }
.contact__details .contact__phones { padding-top: 2px; }
.contact__details a:hover { color: var(--red); }

/* ---------- Formulaire ---------- */
.contact__form-wrap {
	padding: 30px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.contact-form__row { margin: 0 0 16px; }
.contact-form__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}
.contact-form .req { color: var(--red); }
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--ink);
	background: var(--cream);
	border: 1px solid var(--grey-light);
	border-radius: var(--radius);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 0;
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(224, 27, 34, .15);
}
.contact-form__actions { margin: 4px 0 0; }
.contact-form__actions .btn { border: 0; cursor: pointer; font-family: inherit; }

/* Champ piege a robots : invisible mais accessible aux robots. */
.contact-form__trap {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Messages de retour ---------- */
.form-notice {
	margin: 0 0 20px;
	padding: 13px 16px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 500;
	border-left: 4px solid;
}
.form-notice--ok {
	color: #10693a;
	background: #e7f6ec;
	border-color: #1a7f37;
}
.form-notice--error {
	color: #8e1418;
	background: #fdeaea;
	border-color: var(--red);
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.05fr 1.2fr 1.2fr .65fr;
}
/* Sans la colonne « Suivez-nous », les trois autres occupent la largeur. */
.site-footer__grid--no-social {
	grid-template-columns: 1.15fr 1fr 1.05fr;
	gap: 32px;
	padding-top: 44px;
	padding-bottom: 38px;
}
.footer-col__title { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col--brand .brand-logo { height: 58px; max-width: 92px; }
.footer-col--brand .brand-text__ar { font-size: 17px; }
.footer-col--brand .brand-text__latin { font-size: 12.5px; }

.footer-contact li {
	display: flex;
	word-break: break-word;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 13.5px;
}
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #fff; }
.footer-contact__icon { width: 16px; height: 16px; margin-top: 5px; color: var(--red); flex: 0 0 auto; }
/* Un numero par ligne dans le pied de page et la section contact. */
.footer-contact__phones,
.contact__phones { display: flex; flex-direction: column; gap: 4px; }

.footer-links { display: flex; gap: 40px; }
.site-footer__grid--no-social .footer-links { gap: 72px; }
.footer-links__list li { margin-bottom: 9px; }
.footer-links__list a { color: rgba(255, 255, 255, .8); font-size: 14px; }
.footer-links__list a:hover { color: var(--red); }

.social { display: flex; gap: 12px; }
.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	padding: 9px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	transition: transform .2s ease, background .2s ease;
}
.social a:hover { background: var(--red-dark); color: #fff; transform: translateY(-3px); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 13px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__credit { color: rgba(255, 255, 255, .6); }
.site-footer__credit a {
	color: rgba(255, 255, 255, .82);
	border-bottom: 1px solid rgba(224, 27, 34, .55);
	padding-bottom: 1px;
	transition: color .2s ease, border-color .2s ease;
}
.site-footer__credit a:hover { color: #fff; border-color: var(--red); }
.site-footer__sep { margin: 0 6px; color: rgba(255, 255, 255, .3); }
.site-footer__claim { display: flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .7); }
.site-footer__claim .dash { display: inline-block; width: 26px; height: 2px; background: var(--red); margin-right: 8px; }

/* =========================================================
   PAGES INTERIEURES / BLOG
   ========================================================= */
.page-hero {
	padding: 54px 0;
	background: var(--ink);
	color: #fff;
	text-align: center;
}
.page-hero h1 { margin: 0; font-size: clamp(26px, 4vw, 40px); }
.page-hero p { margin: 8px 0 0; color: rgba(255, 255, 255, .75); }

.content-area { padding: 54px 0; }
.content-area .container { max-width: 820px; }
.page-template-page-gallery .content-area .container,
.page-template-page-metal .content-area .container,
.page-template-page-metaux .content-area .container { max-width: var(--container); }
.gallery-page__intro { max-width: 760px; margin: 0 auto 32px; text-align: center; color: var(--grey); }
.gallery-archive__item > span { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-archive__item > span img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry { margin-bottom: 48px; }
.entry__title { font-size: 26px; }
.entry__meta { font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.entry__thumb { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; }
.entry p { color: var(--grey); }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: var(--radius);
	background: var(--cream); color: var(--ink); font-size: 14px;
}
.pagination .current, .pagination .page-numbers:hover { background: var(--red); color: #fff; }


/* ---------- Page « toute la galerie » ---------- */
.gallery-archive {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.gallery-archive__item a {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	isolation: isolate;
}
.gallery-archive__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .5s ease;
}
.gallery-archive__item a:hover img { transform: scale(1.06); }
.gallery-archive__caption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 26px 14px 12px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	background: linear-gradient(to top, rgba(8, 18, 25, .9), rgba(8, 18, 25, 0));
}


/* ---------- Visionneuse d'images (galerie) ---------- */
.gallery-archive__item a { position: relative; cursor: zoom-in; }
.gallery-archive__zoom {
	position: absolute;
	top: 12px; right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	padding: 8px;
	color: #fff;
	background: rgba(8, 18, 25, .55);
	border-radius: 50%;
	opacity: 0;
	transform: scale(.85);
	transition: opacity .25s ease, transform .25s ease;
}
.gallery-archive__item a:hover .gallery-archive__zoom,
.gallery-archive__item a:focus-visible .gallery-archive__zoom { opacity: 1; transform: none; }

body.has-lightbox { overflow: hidden; }

/* Indispensable : sans cette regle, le « display: flex » ci-dessous
   l'emporte sur le display:none par defaut de l'attribut hidden,
   et la visionneuse s'afficherait des le chargement de la page. */
.lightbox[hidden] { display: none !important; }

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 5vh 4vw;
	background: rgba(6, 14, 20, .93);
	animation: lr-fade .2s ease;
}
@keyframes lr-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}
.lightbox__img {
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	border-radius: var(--radius);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
	transition: opacity .2s ease;
}
.lightbox.is-loading .lightbox__img { opacity: .35; }
.lightbox__caption {
	max-width: 640px;
	color: rgba(255, 255, 255, .88);
	font-size: 14.5px;
	text-align: center;
}

.lightbox__close,
.lightbox__nav {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(255, 255, 255, .12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--red); transform: scale(1.06); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.lightbox__close {
	position: absolute;
	top: 18px; right: 20px;
	width: 44px; height: 44px;
	font-size: 30px;
	line-height: 1;
}
.lightbox__nav { width: 52px; height: 52px; font-size: 34px; line-height: 1; }

.lightbox__counter {
	position: absolute;
	left: 0; right: 0; bottom: 18px;
	margin: 0;
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
}

@media (max-width: 680px) {
	.lightbox { padding: 60px 12px 56px; gap: 4px; }
	.lightbox__nav { position: absolute; bottom: 44px; width: 44px; height: 44px; font-size: 28px; }
	.lightbox__nav--prev { left: 16px; }
	.lightbox__nav--next { right: 16px; }
	.lightbox__img { max-height: 66vh; }
	.lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
	.gallery-archive__zoom { opacity: 1; transform: none; }
}



/* =========================================================
   SECTIONS « GALERIE » ET « CONTACT » EN BLOCS
   ========================================================= */
.gallery--blocks .wp-block-group__inner-container,
.contact--blocks .wp-block-group__inner-container { display: contents; }

.gallery--blocks .gallery__intro p { color: var(--grey); font-size: 14.5px; }
.gallery--blocks .wp-block-buttons { margin: 0; }
.gallery--blocks .wp-block-button__link,
.contact--blocks .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 11px 20px;
	border-radius: var(--radius);
	background: var(--red);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(224, 27, 34, .28);
}
.gallery--blocks .wp-block-button__link::after { content: "\2192"; font-size: 18px; line-height: 1; }
.gallery--blocks .wp-block-button__link:hover { background: var(--red-dark); }

.contact--blocks .contact__intro p { color: rgba(255, 255, 255, .75); }

/* =========================================================
   PAGES METAUX
   ========================================================= */
.breadcrumb {
	margin-bottom: 14px;
	font-size: 13px;
	color: rgba(255, 255, 255, .62);
}
.breadcrumb a { color: rgba(255, 255, 255, .82); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .breadcrumb_last { color: #fff; font-weight: 500; }

.page-hero--metal {
	position: relative;
	background-image: var(--hero-img);
	background-size: cover;
	background-position: center;
	text-align: left;
}
.page-hero--metal::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(10, 22, 30, .95) 0%, rgba(10, 22, 30, .82) 55%, rgba(10, 22, 30, .45) 100%);
}
.page-hero--metal > .container { position: relative; }
.page-hero--metal p { max-width: 620px; }

.metal-page {
	display: grid;
	grid-template-columns: 1.9fr 1fr;
	gap: 48px;
	align-items: start;
}
.metal-page__body h2 { font-size: 26px; margin-top: 34px; }
.metal-page__body h2:first-child { margin-top: 0; }
.metal-page__body h3 { font-size: 19px; margin-top: 24px; }
.metal-page__body p,
.metal-page__body li { color: var(--grey); }
.metal-page__body ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; }
.metal-page__body li { margin-bottom: 6px; }

.metal-page__card {
	padding: 26px;
	background: var(--cream);
	border-radius: var(--radius);
	border-top: 3px solid var(--red);
}
.metal-page__card h2 { font-size: 19px; }
.metal-page__card p { font-size: 14px; color: var(--grey); }
.metal-page__contact { margin: 0 0 18px; }
.metal-page__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14.5px; }
.metal-page__contact a { color: var(--ink); font-weight: 500; }
.metal-page__contact a:hover { color: var(--red); }

.metal-page__others { margin-top: 26px; padding-left: 20px; border-left: 3px solid var(--grey-light); }
.metal-page__others h2 { font-size: 16px; }
.metal-page__others li { margin-bottom: 8px; }
.metal-page__others a { color: var(--ink); font-size: 14.5px; }
.metal-page__others a:hover { color: var(--red); }

.hub-intro { max-width: 760px; margin-bottom: 34px; }
.hub-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hub-cards .metal-card a { display: block; }
.hub-cards .metal-card__caption h2 { font-size: 19px; margin: 0 0 4px; color: #fff; }

@media (max-width: 900px) {
	.metal-page { grid-template-columns: 1fr; gap: 32px; }
	.hub-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* L'accroche cede la place au nom de l'entreprise et au menu. */
@media (max-width: 1400px) {
	.site-header__baseline { display: none; }
}

@media (max-width: 1080px) {
	.about__grid { grid-template-columns: 1fr 1fr; }
	.about__aside { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--grey-light); padding-top: 22px; text-align: left; }
	.about__aside-mark { margin-left: 0; }
	.services__grid { grid-template-columns: 1fr; gap: 30px; }
	.metals__grid { grid-template-columns: 1fr; }
	.metals__aside { padding-left: 20px; }
	.gallery__grid { grid-template-columns: 1fr; }
	.contact__grid { grid-template-columns: 1fr; gap: 32px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		box-shadow: var(--shadow);
		padding: 10px 24px 18px;
		display: none;
	}
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav__list a { padding: 12px 14px; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 12px; }
	.site-header__inner { min-height: 78px; }
	.site-brand img { max-height: 56px; }
	.site-brand__link { gap: 10px; }
	.brand-mark { width: 42px; height: 42px; }
	.brand-logo { height: 42px; max-width: 68px; }
	.brand-text__ar { font-size: 16px; }
	.brand-text__latin { font-size: 11.5px; letter-spacing: .04em; }

	.hero__inner { padding: 56px 24px; }
	.hero__features { gap: 16px; }
	.hero__features li { border-right: 0; padding-right: 0; width: 100%; }

	.about__grid { grid-template-columns: 1fr; gap: 28px; }
	.services__list { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
	.service { border-left: 0; padding: 0 14px; }
	.metals__cards { grid-template-columns: repeat(2, 1fr); }
	.gallery__list { grid-template-columns: repeat(3, 1fr); }
	.gallery-archive { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
	.topbar__inner { min-height: 0; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
	.topbar__contact { gap: 14px; font-size: 12px; }
	/* Les numeros passent sur deux lignes : le separateur laisserait
	   un point orphelin en debut de ligne, on s'en passe. */
	.topbar__phones { gap: 2px 14px; }
	.topbar__phones a + a::before { content: none; }
}

@media (max-width: 560px) {
	.services__list { grid-template-columns: 1fr; }
	.metals__cards { grid-template-columns: 1fr; }
	.gallery__list { grid-template-columns: repeat(2, 1fr); }
	.gallery-archive { grid-template-columns: 1fr; }
	.contact__form-wrap { padding: 22px 18px; }
	.contact-form__cols { grid-template-columns: 1fr; gap: 0; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.brand-text__ar { white-space: normal; }
	.footer-links { gap: 28px; }
	.site-footer__bottom-inner { flex-direction: column; }
	.site-footer__credit { display: block; margin-top: 6px; }
	.site-footer__sep { display: none; }
	.btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
	/* Sur tres petit ecran, on garde le telephone et les drapeaux. */
	.topbar__contact li:nth-child(2) { display: none; }

	/* Le nom doit tenir sur une seule ligne a cote du logo. */
	.site-brand__link { gap: 8px; }
	.brand-logo { height: 36px; max-width: 56px; }
	.brand-mark { width: 36px; height: 36px; }
	/* Le nom peut revenir a la ligne : le bouton menu doit rester visible. */
	.brand-text { min-width: 0; }
	.brand-text__ar { font-size: 12px; white-space: normal; }
	.brand-text__latin { font-size: 9px; letter-spacing: .02em; white-space: normal; }
}
