[data-composant="ressources"]{
	&
	{
		width: var(--maxWidth);
		margin: auto;
		padding: 20px 0;
	}	
	
	ul{
		margin: 0; padding: 0;
	}
	
	li{
		list-style: none;
	}
	
	a{
		text-decoration: none;
		color: initial;
	}
	
	article{
		&{
			display: grid;
			grid-template-columns: 300px 1fr;
			gap: 1em;
			background: white;
			border-radius: var(--borderRadius);
			box-shadow: var(--boxShadow);
			overflow: hidden;
			
		}
		
		@media (max-width: 760px) {
			&{
				grid-template-columns: 1fr;
			}
		}
		
		
		.media{
			&{
				background: #ccc;
				width: 100%;
				aspect-ratio: 1/1;
			}
			
			img{
				width: 100%;
				height: 100%;
				object-fit: cover;
				display: block;
			}
		}
		.txts
		{
			padding: 10px;
			display: flex;
			flex-direction: column;
			justify-content: center;
		}
	}
}

[data-composant="footer"]
{
	&{
		background: var(--couleurDegrader1);
		color: white;
		padding: 20px;
		padding-top:40px;
		position: sticky;
		bottom: 0;
		margin-top: -20px;
		
	}
	
	@media (max-width: 820px)
	{
		h2, h3{
			font-size: 1.5em!important;
		}
	}
	
	& > div {
		display: flex;
		justify-content: space-between;
		gap: 1em;
	}
	
	@media (max-width: 720px)
	{
		& > div {
			display: block;
		}
	}
	
	
	@media (max-width: 820px)
	{
		& > div > div{
			max-width: 350px;
		}
	}
	
	.txt{
		max-width: 500px;
	}
	#menus{
		display: flex;
		gap: 1em;
	}
	
	@media (max-width: 720px)
	{
		nav {
			font-size: .8em;
		}
	}
	
	
	ul{
		padding-left: 0;
	}
	li{
		list-style: none;
		padding-left: 0;
	}
	
	h2, h3, h4{
		color: white !important;
	}
	
	
	a{
		color: white;
	}
	
	li a{
		text-decoration: none;
	}
	
	[data-composant="bouton"]
	{
		color: initial;
	}
	
	
	#copyright
	{
		&{
			font-size: .8em;
			
		}
		
		p{
		}
	}
	
	
}

[data-outil]
{
	.atelier 
	{
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0;
		align-items: stretch;
		min-height: 100dvh;
		padding: 0;
	}
	
	.atelier:not(:has(#configs))
	{
		display: block;
		max-width: 800px;
		margin: auto;
	}
	
	#demo 
	{
		position: sticky;
		top: 0;
		min-width: 0;
		display: grid;
		min-height: 100dvh;
		align-items: center;
		justify-items: stretch;
		padding-inline: clamp(24px, 4vw, 64px);
		background: var(--couleurClaire1);
		box-shadow: var(--boxShadow);

	}
	
	.atelier:not(:has(#configs)) #demo
	{
		box-shadow: none;
	}
	
	&:not(:has(#configs)) .retour-outils{
		display: none
	}
	
	
	
	#configs 
	{
		position: relative;
		display: grid;
		grid-template-rows: auto minmax(0, 1fr);
		overflow: hidden;
		border-radius: 0;
		background: #fff;
		border: 0;
		box-shadow: inset 1px 0 0 rgb(28 55 46 / .14);
		height: 100dvh;
		scrollbar-gutter: stable;
		box-shadow: var(--boxShadow);


		[for="configs-input"], #configs-input
		{
			display: none;
			
			z-index: 10;
		}
		
		
	}
	
	@media (max-width: 760px) 
	{
		#configs
		{
			&
			{
				position: absolute;
				top: 0;
				right: 0;
				width: 80%;
				transition:translate .5s ease;
				overflow: visible;
			}
			
			&:has(#configs-input:checked)
			{
				translate: 100%;
			}
			
			[for="configs-input"]
			{
				position: absolute;
				top: 20px;
				left: 0;
				width: 60px;
				translate: -100%;
				display: grid;
				place-content: center;
				aspect-ratio: 1/1;
				border-radius: var(--borderRadius);
				border-top-right-radius: 0;
				border-bottom-right-radius: 0;
				background: var(--couleurBTN2);
				cursor: pointer;
			}
		}
		
		
	}
	
}

table {
	&
	{
		display: table;
		width: 100%;
		margin: 34px auto 60px;
		overflow: hidden;
		border: 1px solid rgb(from var(--couleurTitre) r g b / .14);
		border-spacing: 0;
		border-radius: var(--borderRadiusS);
		background: #fff;
		font-size: .94em;
		line-height: 1.5;
	}
	
	th, td 
	{
		padding: 16px 18px;
		border-right: 1px solid rgb(from var(--couleurTitre) r g b / .14);
		border-bottom: 1px solid rgb(from var(--couleurTitre) r g b / .14);
		text-align: left;
		vertical-align: top;
		transition: box-shadow .5s ease, translate .5s ease;
		
	}
	
	tr:hover :where(th, td)
	{
		translate: 0 -5px;
		box-shadow: var(--boxShadow);
	}
	
	th {
		background: var(--couleur1);
		color: var(--couleurTexte);
		font-family: var(--fontBold);
	}
	
	tbody tr:nth-child(even) {
		background: var(--couleurClaire2);
	}
	
	tr > :last-child {
		border-right: 0;
	}
	
	tbody tr:last-child td {
		border-bottom: 0;
	}
	
	@media (max-width: 760px) {
		& {
			display: block;
			overflow-x: auto;
			white-space: normal;
		}
	
		th,td {
			min-width: 180px;
			padding: 13px 14px;
		}
	}
}


#cta-outil
{
	margin-top: 50px;
}


blockquote 
{
	&{
		max-width: 900px;
		margin: 38px auto 58px;
		padding: clamp(22px, 4vw, 36px);
		border: 0;
		border-left: 10px solid var(--couleurBTN2);
		border-radius: var(--borderRadiusS) ;
		background: white;
		color: var(--couleurTitre);
		font-size: 1.12em;
		position: relative;
		transition: box-shadow .5s ease, translate .5s ease;
	}
	
	&:hover
	{
		translate: 0 -5px;
		box-shadow: var(--boxShadow);
		
	}
	p {
		margin: 0;
	}
}



.article-blog
{
	
	li::marker {
		color: var(--couleurBTN2);
	}
}





.balise
{
	&{
		background: white;
		padding: 5px 30px;
		border-radius: var(--borderRadiusS);
		width: fit-content;
		font-size: .8em;
		position: relative;
		padding-right: 20px;
		margin-bottom: 20px
	}
	
	&:before
	{
		content: " ";
		aspect-ratio: 1/1;
		width: 10px;
		background: var(--couleurTexte);
		border-radius: 50%;
		position: absolute;
		left: 10px;
		top: 50%;
		transform: translateY(-50%);
	}
}

