/**
 * Page d'accueil du hub, aux couleurs de L'Agence Oueb.
 *
 * Reprend les teintes de la console (variables --os-*) sans charger sa
 * feuille de style complète.
 */

:root {
	--omh-teal: #1b6e72;
	--omh-teal-hover: #155a5d;
	--omh-teal-light: #26989d;
	--omh-amber: #fdbd2b;
	--omh-text-dark: #3f3e3e;
	--omh-text-body: #555;
	--omh-surface: #f7f8f9;
	--omh-border: #e8e8e8;
	--omh-white: #fff;
	--omh-radius: 12px;
	--omh-shadow: 0 2px 16px rgba(0, 0, 0, 0.09);
}

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

body.omh {
	background: var(--omh-surface);
	border-top: 4px solid var(--omh-amber);
	color: var(--omh-text-body);
	display: flex;
	flex-direction: column;
	font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	min-height: 100vh;
}

.omh-wrap {
	margin: 0 auto;
	max-width: 960px;
	padding: 0 16px;
}

/* En-tête */

.omh-header {
	background: var(--omh-white);
	border-bottom: 1px solid var(--omh-border);
}

.omh-header-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	padding-bottom: 12px;
	padding-top: 12px;
}

.omh-brand {
	color: var(--omh-text-dark);
	display: inline-block;
	font-weight: 700;
	text-decoration: none;
}

.omh-brand img {
	display: block;
	height: auto;
	width: 168px;
}

.omh-session {
	font-size: 14px;
	margin: 0;
}

.omh-session a {
	color: var(--omh-teal);
	font-weight: 600;
	margin-left: 12px;
}

/* Contenu */

.omh-main {
	flex: 1;
	padding: 64px 0;
}

.omh-kicker {
	color: var(--omh-teal);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.omh-title {
	color: var(--omh-text-dark);
	font-size: clamp(28px, 5vw, 40px);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
}

.omh-lead {
	font-size: 18px;
	margin: 0 0 40px;
	max-width: 640px;
}

.omh-notice {
	background: #fffbeb;
	border-left: 4px solid var(--omh-amber);
	border-radius: 3px;
	color: #92400e;
	margin: 0 0 32px;
	padding: 12px 16px;
}

/* Cartes d'accès */

.omh-cards {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.omh-card {
	background: var(--omh-white);
	border-radius: var(--omh-radius);
	border-top: 4px solid var(--omh-teal-light);
	box-shadow: var(--omh-shadow);
	display: flex;
	flex-direction: column;
	max-width: 560px;
	padding: 32px;
}

.omh-card--agency {
	border-top-color: var(--omh-text-dark);
}

.omh-card-title {
	color: var(--omh-text-dark);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
}

.omh-card p {
	margin: 0 0 24px;
}

.omh-card .omh-small {
	font-size: 14px;
	margin: 12px 0 0;
}

.omh-btn {
	align-self: flex-start;
	background: var(--omh-teal);
	border: 2px solid var(--omh-teal);
	border-radius: 99px;
	color: var(--omh-white);
	display: inline-block;
	font-weight: 600;
	margin-top: auto;
	padding: 10px 24px;
	text-decoration: none;
}

.omh-btn:hover {
	background: var(--omh-teal-hover);
	border-color: var(--omh-teal-hover);
}

.omh-btn--secondary {
	background: var(--omh-white);
	border-color: var(--omh-text-dark);
	color: var(--omh-text-dark);
}

.omh-btn--secondary:hover {
	background: var(--omh-text-dark);
	border-color: var(--omh-text-dark);
	color: var(--omh-white);
}

.omh-link {
	color: var(--omh-teal);
	font-size: 14px;
	font-weight: 600;
	margin-top: 12px;
}

/* Pied de page */

.omh-footer {
	border-top: 1px solid var(--omh-border);
	font-size: 14px;
	padding: 24px 0;
}

/* Focus */

.omh a:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--omh-teal-light);
	outline-offset: 3px;
}

@media (max-width: 600px) {

	.omh-main {
		padding: 40px 0;
	}

	.omh-card {
		padding: 24px;
	}
}
