/* Composants partages entre les pages. */
.ag-container {
	box-sizing: border-box;
	width: calc(100% - 64px);
	max-width: var(--ag-container);
	margin-inline: auto;
}

.ag-button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: var(--ag-radius-md);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition: background-color var(--ag-transition), color var(--ag-transition), border-color var(--ag-transition);
}

.ag-button:hover,
.ag-button:focus {
	text-decoration: none;
}

.ag-button:focus-visible {
	outline: 3px solid var(--ag-blue-dark);
	outline-offset: 3px;
}

.ag-button--primary {
	background-color: var(--ag-green);
	color: var(--ag-background);
}

.ag-button--primary:hover,
.ag-button--primary:focus {
	background-color: var(--ag-green-hover);
	color: var(--ag-background);
}

.ag-button--secondary {
	border-color: var(--ag-blue);
	background-color: var(--ag-background);
	color: var(--ag-blue);
}

.ag-button--secondary:hover,
.ag-button--secondary:focus {
	background-color: var(--ag-background-soft);
	color: var(--ag-blue-dark);
}

/* ==========================================================================
   Header Brand
   ========================================================================== */

.ag-header-brand {
	display: flex;
	flex-direction: column;

	margin-left: 12px;

	line-height: 1;
}

.ag-header-brand__name {
	color: var(--ag-blue-dark, #073a61);

	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.025em;
}

.ag-header-brand__type {
	margin-top: 5px;

	color: var(--ag-green, #4e963f);

	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}


/* Tablette et mobile : symbole seul */
@media (max-width: 1099px) {

	.ag-header-brand {
		display: none;
	}
}
/* ==========================================================================
   Header — Marque tablette / mobile
   ========================================================================== */

.ag-header-brand {
	display: none;
}


/* Tablette et mobile */
@media (max-width: 1099px) {

	.ag-header-brand {
		display: flex;
		flex-direction: column;
		justify-content: center;

		margin-left: 10px;

		line-height: 1;
		white-space: nowrap;
	}

	.ag-header-brand__name {
		color: var(--ag-blue-dark, #073a61);

		font-size: 0.875rem;
		font-weight: 700;
		line-height: 1.05;
		letter-spacing: 0.035em;
	}

	.ag-header-brand__type {
		margin-top: 5px;

		color: var(--ag-green, #4e963f);

		font-size: 0.625rem;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0.13em;
	}
}


/* Petits mobiles */
@media (max-width: 390px) {

	.ag-header-brand {
		margin-left: 8px;
	}

	.ag-header-brand__name {
		font-size: 0.8125rem;
	}

	.ag-header-brand__type {
		margin-top: 4px;

		font-size: 0.5625rem;
		letter-spacing: 0.11em;
	}
}