/* ---------- PAGE HISTOIRE ---------- */


/* ---------- Page hero (bannière photo) ---------- */
.page-hero {
	position: relative;
	height: 580px;
	overflow: hidden;
	color: var(--white);
	display: flex;
	align-items: flex-end;
}
.page-hero .ph-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: saturate(.85);
}
.page-hero .ph-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26, 26, 26, .4) 0%, rgba(26, 26, 26, .82) 100%);
}
.page-hero-inner {
	position: relative;
	padding-bottom: 72px;
}
.breadcrumb {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-tertiary);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 28px;
}

.breadcrumb a { color: rgba(255, 255, 255, .6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--red); }
.breadcrumb .here { color: var(--white); font-weight: 600; }
.page-hero h1 { color: var(--white); font-size: var(--font-size-5xl, 64px); font-weight: 800; letter-spacing: -.035em; line-height: .92; }
.page-hero .ph-sub {
	margin-top: 24px;
	font-size: 19px;
	color: rgba(255, 255, 255, .85);
	max-width: 620px;
	font-family: var(--font-primary);
	font-weight: 500;
	line-height: 1.5;
}

/* ---------- Récit + photos ---------- */
.wp-main img, .wp-second img {
	height: inherit;
}

.story-grid { 
    margin-bottom: 96px;

}
.story-grid .lead {
    margin-top: 0;
    font-size:26px;
    font-weight:bold;
}
.story-grid .body { 
    margin-top: 20px; max-width: 560px; 
}

.story-photos {
    position: relative;
    height: 540px;
}

.sp-main {
    position: absolute;
    top: 0;
    right: 0;

    width: 380px;
    height: calc(380px * 624 / 608);

    overflow: hidden;

    background-color: var(--grey, #ddd);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    filter: saturate(.9);
}

.sp-second {
    position: absolute; bottom: 0;
	left: 0;
	width: 54%;
	height: 260px; 
	background-size: cover; 
	background-position: center;
	border: 8px solid var(--white);
	filter: saturate(.85); 
}
.sp-stamp {
	position: absolute;
	top: 24px;
	left: 24px;
	background: var(--red);
	color: var(--white);
	width: 128px;
	height: 128px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--font-primary); font-weight: 800;
	transform: rotate(-8deg); z-index: 3;
	box-shadow: 0 12px 32px rgba(217, 48, 37, .35);
}
.sp-stamp .y {
    font-size: 40px; line-height: 1; 
}
.sp-stamp .l {
    font-size: 9px;
	letter-spacing: .16em;
	text-transform: uppercase;
	margin-top: 6px;
	font-weight: 600; 
}

/* ---------- Frise chronologique ---------- */
.timeline { display: flex; flex-direction: column; border-top: 2px solid var(--anthracite); }
.tl-item {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 56px;
	padding: 40px 0;
	border-bottom: 1px solid var(--line);
	align-items: baseline;
}
.tl-year { font-family: var(--font-primary); font-weight: 900; font-size: 52px; color: var(--red); letter-spacing: -.03em; line-height: 1; }
.tl-body h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
h2 { font-size: 54px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.01em; line-height: 1.2; }
.tl-body p { font-size: 15px; color: var(--body); max-width: 640px; line-height: 1.7; }

/* ---------- Nos valeurs (bande noire) ---------- */
#sec-nos-valeurs.section-dark {
    background: var(--anthracite);
    color: var(--white);
    padding: 120px 0;
}
#sec-nos-valeurs .sec-head .lede {
    color: rgba(255, 255, 255, 0.7);
}
#sec-nos-valeurs h2 {
    color: var(--white);
}

#sec-nos-valeurs .valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid var(--white);
    gap: 0;
    margin-top: 64px;
}
#sec-nos-valeurs .val {
    padding: 56px 0px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
#sec-nos-valeurs .val:last-child {
    border-right: none;
}
#sec-nos-valeurs .val .vi {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    margin-bottom: 28px;
}
#sec-nos-valeurs .val h3 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
#sec-nos-valeurs .val p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.7;
    font-family: var(--font-secondary);
}

@media (max-width: 1100px) {
    #sec-nos-valeurs .valeurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
	#sec-nos-valeurs .valeurs-grid > .val:nth-last-child(-n + 2) {
		padding-left: 30px;
		box-sizing: border-box;
	}
}


@media (max-width: 640px) {
    #sec-nos-valeurs .valeurs-grid {
        grid-template-columns: 1fr;
    }
    #sec-nos-valeurs .val {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    #sec-nos-valeurs .val:last-child {
        border-bottom: none;
    }
}
/* ---------- Équipe ---------- */
.member { cursor: default; }
.member-img { position: relative; height: 540px; overflow: hidden; background: var(--grey, #ddd); border-radius: 2px; }
.member-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .6s ease; }
.member:hover .member-img img { filter: grayscale(0); transform: scale(1.04); }

/* ---------- Bandeau CTA --------- */
.final::before{
	background:var(--paper);
}

/* ==================================================================
   RESPONSIVE — adaptations mobiles uniquement. UIkit gère déjà
   l'empilement des grilles (uk-width-*@m, uk-child-width-*@m).
================================================================== */
@media (max-width: 959px) {
	.page-hero { height: auto; padding-top: 64px; padding-bottom: 40px; }
	.page-hero h1 { font-size: 56px; }
	.story-grid { margin-bottom: 56px; }
	.story-photos { height: 380px; margin-top: 40px; }
	.tl-item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
	.tl-year { font-size: 40px; }
	.val { border-right: none; }
}

@media (max-width: 639px) {
	.page-hero h1 { font-size: 40px; }
	.page-hero .ph-sub { font-size: 16px; }
	.sp-main, .sp-second { position: static; width: 100%; height: 220px; margin-bottom: 16px; }
	.story-photos { height: auto; }
	.sp-stamp { position: absolute; }
	.val { padding: 32px 24px; }
}