/* Prium Partners — feuille de style unique */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
	--red-dark: #be2504;
	--red: #e44725;
	--gradient: linear-gradient(120deg, var(--red-dark) 0%, var(--red) 70%);
	--ink: #1d1d1f;
	--ink-soft: #55565b;
	--line: #e7e5e2;
	--bg-soft: #f6f4f2;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(29, 29, 31, .08);
	--max: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
	margin: 0;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

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

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 12px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* Boutons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--white { background: var(--white); color: var(--red-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn--ghost { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--red { background: var(--gradient); color: var(--white); box-shadow: 0 8px 20px rgba(190, 37, 4, .25); }

/* En-tête */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--gradient);
	color: var(--white);
	transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.site-header .logo img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .9; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav .btn { opacity: 1; padding: 10px 20px; }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 8px;
	color: var(--white);
	cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--gradient);
	color: var(--white);
	padding: 72px 0 120px;
}
.hero::after {
	/* rappel du grand « P » du logo, en filigrane */
	content: "";
	position: absolute;
	right: -120px;
	top: -80px;
	width: 560px;
	height: 560px;
	border-radius: 50%;
	border: 90px solid rgba(255, 255, 255, .07);
	pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -.01em; }
.hero p { font-size: 18px; opacity: .92; max-width: 540px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); aspect-ratio: 5 / 4; width: 100%; height: auto; object-fit: cover; }
.hero-badge {
	position: absolute;
	left: -28px;
	bottom: 28px;
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	padding: 16px 20px;
	box-shadow: var(--shadow);
	font-size: 14px;
	line-height: 1.4;
}
.hero-badge strong { display: block; font-size: 28px; color: var(--red-dark); }

/* Métiers */
.metiers { margin-top: -64px; position: relative; z-index: 2; padding-top: 0; }
.metiers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.metier {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.metier img { height: 220px; width: 100%; object-fit: cover; }
.metier-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.metier h2 { font-size: 24px; font-weight: 700; }
.metier p { color: var(--ink-soft); }
.metier .links { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 20px; }
.link-arrow { color: var(--red-dark); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg { width: 16px; height: 16px; }

/* Domaines d'expertise */
.domaines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.domaine {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 0 24px 24px;
	display: flex;
	flex-direction: column;
	transition: box-shadow .25s, transform .25s;
}
.domaine:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.domaine img { width: 160px; height: 160px; object-fit: cover; margin: 24px auto 8px; border-radius: 50%; }
.domaine h3 { font-size: 20px; font-weight: 600; text-align: center; }
.domaine h3::after { content: ""; display: block; width: 36px; height: 3px; background: var(--gradient); margin: 14px auto 0; border-radius: 2px; }
.domaine p { font-size: 15px; color: var(--ink-soft); }
.domaine details { margin-top: auto; }
.domaine summary {
	cursor: pointer;
	list-style: none;
	color: var(--red-dark);
	font-weight: 600;
	font-size: 14px;
	padding-top: 4px;
}
.domaine summary::-webkit-details-marker { display: none; }
.domaine summary::after { content: " +"; }
.domaine details[open] summary { margin-bottom: 12px; }
.domaine details[open] summary::after { content: " –"; }

/* Témoignages */
.temoignages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.temoignage {
	position: relative;
	margin: 0;
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 40px 36px 32px;
	display: flex;
	flex-direction: column;
}
.temoignage::before {
	content: "\201C";
	position: absolute;
	top: 6px;
	left: 28px;
	font-size: 96px;
	line-height: 1;
	font-weight: 700;
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.temoignage blockquote { margin: 24px 0 24px; font-size: 16px; color: var(--ink-soft); font-style: italic; }
.temoignage figcaption { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.temoignage figcaption strong { font-size: 17px; }
.temoignage figcaption img { height: 72px; width: auto; }

/* Références (défilement continu) */
.references { padding: 64px 0; border-top: 1px solid var(--line); }
.references h2 { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 32px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: defile 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 64px; width: auto; margin: 0 28px; opacity: .75; transition: opacity .2s; }
.marquee-track img:hover { opacity: 1; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Bandeau contact */
.cta {
	background: var(--gradient);
	color: var(--white);
	border-radius: 24px;
	padding: 56px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.cta h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; margin-bottom: 8px; }
.cta p { margin: 0; opacity: .9; }
.cta .phone { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; }
.cta .phone svg { width: 32px; height: 32px; }

/* Pied de page */
.site-footer { background: #17171a; color: #c9c9cf; padding: 64px 0 28px; font-size: 15px; }
.site-footer .container > .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 20px; }
.site-footer h3 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.socials a:hover { background: var(--red); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; font-size: 13px; color: #8a8a92; }

/* Pages de contenu (mentions, confidentialité) */
.page-hero { background: var(--gradient); color: var(--white); padding: 64px 0; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 700; margin: 0; }
.prose { max-width: 780px; padding: 64px 24px 96px; }
.prose h2 { font-size: 22px; font-weight: 600; margin-top: 2em; color: var(--red-dark); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--red-dark); }
.prose ul { padding-left: 1.2em; }

/* Responsive */
@media (max-width: 1024px) {
	.domaines-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--red-dark);
		padding: 8px 24px 24px;
		display: none;
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; padding: 14px; }

	.hero { padding: 48px 0 112px; }
	.hero .container { grid-template-columns: 1fr; }
	.hero-figure { display: none; }
	.metiers-grid, .temoignages-grid { grid-template-columns: 1fr; }
	.site-footer .container > .cols { grid-template-columns: 1fr; }
	.section { padding: 72px 0; }
	.cta { padding: 40px 28px; }
}

@media (max-width: 540px) {
	.container { padding: 0 16px; }
	.site-header .logo img { height: 40px; }
	.domaines-grid { grid-template-columns: 1fr; }
	.metier-body, .temoignage { padding: 28px 22px; }
	.marquee-track img { height: 48px; margin: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee-track img[aria-hidden="true"] { display: none; }
	.btn, .domaine { transition: none; }
}
