/**
 * seo-home.css — Home RESQ Supply « Trust clinique » (SEO-04, D-21).
 * Refonte 2026-08-05 (taste-skill) : aligné à gauche, casse normale, titres
 * grotesque net (Geist), base neutre froide, rouge d'urgence en accent unique.
 * Ancré métier (image DAE/secours, tuiles univers réelles). Sort du tell IA
 * serif + crème. Tokens : seo-tokens.css.
 */

#resq-homepage {
	overflow-x: clip;
	background: var(--resq-paper);
}

/* Home pleine largeur sous Blocksy (neutralise le conteneur du thème). */
.home #main .ct-container,
.home #main .entry-content,
.home #primary,
.home article.page,
.home article.type-page {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.home #main { padding: 0 !important; }
#resq-homepage { width: 100%; }

.resq-hero,
.resq-univers-section,
.resq-packs-section,
.resq-trust-section {
	width: 100%;
	margin: 0;
}

/* ============ HERO (éditorial, image métier à droite) ============ */
.resq-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(460px, 66vh, 660px);
	padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 88px);
	background: var(--resq-warm);
	overflow: hidden;
}
/* Panneau image (défibrillateur + trousse) à droite, bord adouci. */
.resq-hero::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 44%;
	background-image: var(--resq-hero-img);
	background-size: cover;
	background-position: center;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 16%);
	mask-image: linear-gradient(90deg, transparent, #000 16%);
}
.resq-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 620px;
	text-align: left;
}
.resq-hero-overline {
	display: inline-block;
	font-family: var(--resq-body);
	text-transform: uppercase;
	letter-spacing: .16em;
	font-weight: 600;
	font-size: 12px;
	color: var(--resq-red);
	margin-bottom: 22px;
}
.resq-hero h1 {
	font-family: var(--resq-display);
	font-weight: 600;
	font-size: clamp(38px, 5.4vw, 64px);
	line-height: 1.05;
	letter-spacing: -.025em;
	margin: 0 0 22px;
	color: var(--resq-ink);
}
.resq-hero-subtitle {
	font-family: var(--resq-body);
	font-size: clamp(16px, 1.5vw, 18.5px);
	line-height: 1.6;
	color: var(--resq-muted);
	max-width: 500px;
	margin: 0 0 32px;
}
.resq-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ============ CTA ============ */
.resq-cta {
	font-family: var(--resq-body);
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	letter-spacing: .01em;
	padding: 15px 24px;
	border-radius: 3px;
	border: 1.5px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.resq-cta-filled {
	background: var(--resq-red);
	color: #fff;
}
.resq-cta-filled:hover {
	background: var(--resq-red-dark);
	color: #fff;
	transform: translateY(-1px);
}
.resq-cta-outline {
	border-color: var(--resq-ink);
	color: var(--resq-ink);
	background: transparent;
}
.resq-cta-outline:hover {
	background: var(--resq-ink);
	color: #fff;
	transform: translateY(-1px);
}
.resq-cta-small {
	padding: 11px 18px;
	font-size: 14px;
}

/* ============ Titres de section (éditorial, à gauche) ============ */
.resq-section-title {
	font-family: var(--resq-display);
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.08;
	letter-spacing: -.02em;
	text-align: left;
	max-width: 1220px;
	margin: 0 auto;
	color: var(--resq-ink);
	position: relative;
	padding-top: 20px;
}
.resq-section-title::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 3px;
	background: var(--resq-red);
	border-radius: 2px;
}

/* ============ Sections ============ */
.resq-univers-section,
.resq-packs-section,
.resq-trust-section {
	padding: clamp(60px, 8vw, 100px) clamp(24px, 6vw, 88px);
}
.resq-univers-section { background: var(--resq-paper); }
.resq-packs-section { background: var(--resq-warm); }

/* ---- Univers : tuiles photo éditoriales ---- */
.resq-univers-grid {
	max-width: 1220px;
	margin: 44px auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 26px;
}
.resq-univers-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--resq-ink);
}
.resq-univers-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px;
	background: var(--resq-mist);
}
.resq-univers-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.resq-univers-card:hover .resq-univers-media img {
	transform: scale(1.045);
}
.resq-univers-card--noimg .resq-univers-media {
	display: flex;
	align-items: center;
	justify-content: center;
}
.resq-univers-icon { color: var(--resq-red); width: 44px; height: 44px; }
.resq-univers-body { padding: 16px 0 0; }
.resq-univers-name {
	display: block;
	font-family: var(--resq-display);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.15;
	letter-spacing: -.005em;
	color: var(--resq-ink);
	transition: color .18s ease;
}
.resq-univers-card:hover .resq-univers-name { color: var(--resq-red); }
.resq-univers-accroche {
	display: block;
	margin-top: 6px;
	font-family: var(--resq-body);
	font-size: 14px;
	color: var(--resq-muted);
	line-height: 1.5;
}

/* ---- Packs ---- */
.resq-packs-grid {
	max-width: 1000px;
	margin: 44px auto 32px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}
.resq-pack-card {
	background: var(--resq-paper);
	border: 1px solid var(--resq-line);
	border-radius: 5px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform .18s ease, box-shadow .18s ease;
}
.resq-pack-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(20, 22, 26, .10);
}
.resq-pack-card__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: var(--resq-ink);
}
.resq-pack-card img { width: 100%; height: auto; border-radius: 4px; background: var(--resq-mist); }
.resq-pack-card__name {
	font-family: var(--resq-display);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.2;
	color: var(--resq-ink);
}
.resq-pack-card__price { font-family: var(--resq-body); font-weight: 600; font-size: 16px; color: var(--resq-ink); }
.resq-pack-card__price del { color: var(--resq-muted); font-weight: 400; }
.resq-pack-card__price ins { color: var(--resq-red); text-decoration: none; }
.resq-packs-section > .resq-cta { display: table; margin: 0 auto; }

/* ---- Confiance : crème chaude, calme (pas de dark dramatique) ---- */
.resq-trust-section {
	background: var(--resq-mist);
	border-top: 1px solid var(--resq-line);
}
.resq-section-dark .resq-section-title,
.resq-trust-section .resq-section-title { color: var(--resq-ink); }
.resq-trust-grid {
	max-width: 1220px;
	margin: 46px auto 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 36px 30px;
}
.resq-trust-item { }
.resq-trust-icon { color: var(--resq-red); width: 28px; height: 28px; margin-bottom: 14px; }
.resq-trust-title {
	font-family: var(--resq-display);
	font-weight: 600;
	font-size: 18px;
	line-height: 1.2;
	margin: 0 0 8px;
	color: var(--resq-ink);
}
.resq-trust-body {
	font-family: var(--resq-body);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--resq-muted);
	margin: 0;
}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
	.resq-univers-grid { grid-template-columns: repeat(3, 1fr); }
	.resq-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
	.resq-hero::after {
		width: 100%;
		opacity: .16;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.resq-hero-inner { max-width: 100%; }
	.resq-univers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
	.resq-univers-grid { grid-template-columns: 1fr; }
	.resq-trust-grid { grid-template-columns: 1fr; }
	.resq-packs-grid { grid-template-columns: 1fr; }
	.resq-hero-ctas .resq-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.resq-univers-media img,
	.resq-pack-card,
	.resq-cta { transition: none; }
}
