/*
 * boutons.css — bouton pilule plein (navy) et variante contour, utilisés sur toutes les pages.
 */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-family: var(--stb-font);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	border-radius: var(--stb-radius-pill);
	padding: 0.9em 1.9em;
	border: 2px solid var(--stb-navy);
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--plein,
.btn--pill {
	background: var(--stb-navy);
	color: var(--stb-white);
}

.btn--plein:hover,
.btn--pill:hover {
	background: var(--stb-navy-hover);
	border-color: var(--stb-navy-hover);
	color: var(--stb-white);
}

.btn--contour {
	background: transparent;
	color: var(--stb-navy);
}

.btn--contour:hover {
	background: var(--stb-navy);
	color: var(--stb-white);
}

.btn--sur-photo {
	background: var(--stb-navy);
	color: var(--stb-white);
	box-shadow: 0 4px 14px rgba(var(--stb-navy-rgb), 0.4);
}

.btn[disabled],
.btn[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.btn-rond {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5em;
	height: 2.5em;
	border-radius: 50%;
	background: var(--stb-navy);
	color: var(--stb-white);
	border: none;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	flex: none;
}

.btn-rond:hover {
	background: var(--stb-navy-hover);
}
