[data-composant="article-aside"]
{
	&{		
		position: relative;
	}
	
	
	[data-composant="banniere-hero"]
	{
		position: sticky;
		top: 0;
	}
	
	.main{
		width: var(--maxWidth);
		margin: 0 auto;
		padding: var(--padding);
		gap: 2em;
		align-items: start;
		position: relative;
		background: var(--couleurClaire1);
		border-radius: var(--borderRadius);
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 0;
		timeline-scope: --timelineArticle
			, --timeline-section-1
			, --timeline-section-2
			, --timeline-section-3
			, --timeline-section-4
			, --timeline-section-5
			, --timeline-section-6
			, --timeline-section-7
			, --timeline-section-8
			, --timeline-section-9
			, --timeline-section-10
			
		;
	}
	
	@media (max-width: 768px)
	{
		.main{
			padding-inline: 10px;
		}
		
		.main h2{
			font-size: 2em;
		}
	}
	
	
	article
	{
		view-timeline-name: --timelineArticle;
		view-timeline-axis: block;
		counter-reset: h2;
	}
	
	article section
	{
		
		
		&:nth-of-type(1) {
			view-timeline-name: --timeline-section-1;
		}
		
		&:nth-of-type(2) {
			view-timeline-name: --timeline-section-2;
		}
		
		&:nth-of-type(3) {
			view-timeline-name: --timeline-section-3;
		}
		
		&:nth-of-type(4) {
			view-timeline-name: --timeline-section-4;
		}
		
		&:nth-of-type(5) {
			view-timeline-name: --timeline-section-5;
		}
		
		&:nth-of-type(6) {
			view-timeline-name: --timeline-section-6;
		}
		
		&:nth-of-type(7) {
			view-timeline-name: --timeline-section-7;
		}
		
		&:nth-of-type(8) {
			view-timeline-name: --timeline-section-8;
		}
		
		&:nth-of-type(9) {
			view-timeline-name: --timeline-section-9;
		}
		
		&:nth-of-type(10) {
			view-timeline-name: --timeline-section-10;
		}
		
		
		
	}
	
	
	
	
	
	
	article h2
	{
		counter-reset: h3;
	}
	
	article h2::before
	{
		counter-increment: h2;
		content: counter(h2) ". ";
		width: 
	}
	
	article h3::before
	{
		counter-increment: h3;
		content: counter(h2) "." counter(h3) ". ";
	}
	
	aside{
		position: sticky;
		top: 20px;
		align-self: start;
	}
	[data-composant="table-matiere"]
	{
		&
		{
			background: white;
			width: 100%;
			font-size: .8em;
			padding: 20px;
			border-radius: var(--borderRadiusXS);
			box-shadow: var(--boxShadow);
			counter-reset: h2;
		}
		
		ul{
			margin: 0;
			padding: 0;
		}
		
		
		li a::before
		{
			counter-increment: h2;
			content: counter(h2) ". ";
			width: 
		}
		
		li
		{
			list-style: none;
			position: relative;
			padding-top: 10px;
			&:after {
				content: "";
				border-bottom: 2px solid var(--couleurBTN2);
				position: absolute;
				bottom: -10px;
				left: 0;
				animation: soulignement linear;
				z-index: 1
			}
			
			a{
				animation: grossirTexte linear;
			}
			
			&:nth-of-type(1):after
			{	
				animation-timeline: --timeline-section-1;
			}
			
			&:nth-of-type(2):after
			{	
				animation-timeline: --timeline-section-2;
			}
			
			&:nth-of-type(3):after 
			{	
				animation-timeline: --timeline-section-3;
			}
			
			&:nth-of-type(4):after 
			{	
				animation-timeline: --timeline-section-4;
			}
			
			&:nth-of-type(5):after 
			{	
				animation-timeline: --timeline-section-5;
			}
			
			&:nth-of-type(6):after 
			{	
				animation-timeline: --timeline-section-6;
			}
			
			&:nth-of-type(7):after 
			{	
				animation-timeline: --timeline-section-7;
			}
			
			&:nth-of-type(8):after 
			{	
				animation-timeline: --timeline-section-8;
			}
			
			&:nth-of-type(9):after 
			{	
				animation-timeline: --timeline-section-9;
			}
			
			&:nth-of-type(10):after 
			{	
				animation-timeline: --timeline-section-10;
			}
			
			
			&:nth-of-type(1) a
			{	
				animation-timeline: --timeline-section-1;
			}
			
			&:nth-of-type(2) a
			{	
				animation-timeline: --timeline-section-2;
			}
			
			&:nth-of-type(3) a
			{	
				animation-timeline: --timeline-section-3;
			}
			
			&:nth-of-type(4) a
			{	
				animation-timeline: --timeline-section-4;
			}
			
			&:nth-of-type(5) a
			{	
				animation-timeline: --timeline-section-5;
			}
			
			&:nth-of-type(6) a
			{	
				animation-timeline: --timeline-section-6;
			}
			
			&:nth-of-type(7) a
			{	
				animation-timeline: --timeline-section-7;
			}
			
			&:nth-of-type(8) a
			{	
				animation-timeline: --timeline-section-8;
			}
			
			&:nth-of-type(9) a
			{	
				animation-timeline: --timeline-section-9;
			}
			
			&:nth-of-type(10) a
			{	
				animation-timeline: --timeline-section-10;
			}
			
		}
		
		
		
	
		
		li > a 
		{
			display: block;
			position: relative;
			margin-left: 10px;
			margin-bottom: 10px;
			text-decoration: none;
			font-weight: 100;
			
			z-index: 2;
			
			&:after{
				content: " ";
				display: block;
				width: 10px;
				aspect-ratio: 1/1;
				border: 1px solid #ccc;
				background: white;
				border-radius: 50%;
				position: absolute;
				top: 50%;
				left: -20px;
				z-index: 2;
				translate: 0 -50%;
			}
		}
		
		.conteneur{
			display: grid;
			grid-template-columns: 5px 1fr;
			max-height: calc(100dvh - 100px);
			overflow: hidden;
			overflow-y: auto;
			position: relative;
			padding-left: 10px;
			padding-bottom: 10px;
		}
		.path{
			width: 2px;
			height: calc(100% - 12px);
			transform-origin: top center;
			background: var(--couleurBTN2);
			height: 0;
			animation: avancementVertical linear both;
			animation-timeline: --timelineArticle;
			animation-range: entry 0% exit 100%;
			
			&:before {
				content: '';
				position: absolute;
				height: 100%;
				width: 2px;
				background: rgb(128 128 128 / 0.25);
				z-index: 1;
			}
			
			&:after {
				display: block;
				content: '';
				position: relative;
				width: 12px;
				height: 12px;
				left: 1px;
				translate: -50% 0;
				border-radius: 50%;
				top: 100%;
				background: var(--couleurBTN2);
				box-shadow: 0 0 0 4px oklch(0.985 0.004 85), 0 0 0 5px oklch(0.555 0.155 32 / 0.12);
				z-index: 3;
			}
		}
	}
	
	
	
	
	
	
}

@keyframes grossirTexte {
	
	
}

@keyframes soulignement {
	0%
	{
		width: 0;
		opacity: 0;
	}
	
	50%, 75%{
		opacity: 1;
	}
	
	100%
	{
		width: 100%;
		opacity: 0;
	}
}

@keyframes avancementHorizontal {
	to {
		width: 100%;
	}
}

@keyframes avancementVertical {
	100% {
		height: 100%;
	}
}
section[data-composant="banniere-hero"]{
	&{
		width: 100%;
		margin: auto;
		text-align: center;
		height: calc(100dvh - var(--headerHeight) - 30px);
		color: #fff;
		position:relative;
		background: var(--couleurDegrader1);
	}
	
	[data-composant="bouton"]
	{
		color: initial;
	}
	strong{
		color: var(--couleurBTN);
	}
	
	
	@media (min-width: 768px)
	{
		&{
			text-align: left;
		}
		
	}
	
	h1{
		&{
			font-size: 1.5em;
		}
		
		@media (max-width: 768px)
		{
			&{
				font-size: 1em
			}
		}
		
		strong{
			display: block;
			font-size: 2.5em;
		}
	}
}

section[data-composant="banniere-hero"][data-type="card"]{
	&{
		width: var(--maxWidth);
		margin: auto;
		border-radius: var(--borderRadius);
		overflow: hidden;
		margin-bottom: 20px;
	}
}

	
section[data-composant="banniere-hero"][data-theme="texte-media"]
{
	.slide
	{
		&
		{
			height: 100%;
			position:relative;
			display: grid;
			grid-template-columns: 1fr 1fr;
			align-items: center;
		}
		
		
		&:before
		{
			content: "";
			position: absolute;
			inset: 0;
			z-index: 2;
			top: 0;
			left: 0;
			background: linear-gradient(69deg, rgba(146, 85, 20, 0.7) 30.25%, rgba(22, 45, 35, 0.2) 40%, rgba(255, 255, 255, 0) 55.46%);
			
		}
		
		
		@media (max-width: 768px) 
		{
			&{
			}
			
			&:before{
				background: rgba(146, 85, 20, 0.6);
				
			}
			
		}
		
		
		
		
		
		
		.txts
		{
			&
			{
				padding: var(--padding);
				position:relative;
				z-index: 3;
				max-width: 700px;
			}
		
			@media (max-width: 768px)
			{
				&
				{
					padding: calc(var(--padding) / 2);		
				}
			}
		
			@media (max-width: 768px)
			{
				.btn
				{
					font-size: .8em;
				}
			}
		}
		
		.background
		{
			flex: 1;
			align-content: center;
			position: absolute;
			inset: 0;
			z-index: 1;
			top: 0;
			left: 0;
			
		}
		
		@media (max-width: 1200px)
		{
			&{
				flex-direction: column;
			}
		}
		
		
		
		
		
		img
		{
			width: 100%;
			height: 100%;
			object-fit: cover;
		}	
	}	
	
	
	.reassurances
	{
		display: flex;
		gap: 1em;
		padding-left: 0;
		font-size: .7em;
		
		--fa-primary-color: rgb(255, 255, 255);
		--fa-secondary-color: var(--couleurBTN); 
		--fa-secondary-opacity: 1;
	}
	
	@media (max-width: 768px) 
	{
		.reassurances{
			justify-content:center;
		}
	}
	
	.reassurances li
	{
		list-style: none;
	}
	
	.reassurances li i, .reassurances li svg
	{
		color:var(--couleurBTN);
	}
	
	@media (max-width: 768px)
	{
		.reassurances li
		{
			display: flex;
			flex-direction: column;
			align-items: center;
		}
		
		.reassurances li i
		{
			display: block;
		}
	}
}	

section[data-composant="banniere-hero"][data-hauteur="small"]
{
	height: auto;
}

section[data-composant="banniere-hero"][data-hauteur="full"]
{
	height: 100dvh;
}

section[data-composant="banniere-hero"][data-theme="centrer"]
{
	display: grid;
	place-content: center;
	text-align: center;
	padding: var(--padding);
}

[data-composant="banniere-cta"]
{
	&
	{
		background: var(--couleurDegrader1);
		color: white;
		display: grid;
		grid-template-columns: 2fr 1fr;
		gap: 1em;
		width: var(--maxWidth);
		margin: 0 auto;
		margin-bottom: var(--padding);
		
		padding:var(--padding);
		border-radius: var(--borderRadiusXS);
		align-items: center;
	}
	
	
	@media (max-width: 768px) 
	{
		&{
			display: block;
			padding:calc(var(--padding) / 2);
			width: 95%;
		}	
	}
	
	div:first-child{
		font-family: var(--fontBold);
		font-size: 1.2em;
	}
	div:last-child{
		text-align: right;
		display: inline-flex;
		justify-content: end;
		align-items: center;
	}
	
	[data-composant="bouton"]
	{
		color: initial;
	}
	
}
[data-composant="faq"]
{
	&
	{
		width: var(--maxWidth);
		margin: auto;
		margin-bottom: -20px;
		padding-bottom: var(--padding);
	}
	
	.intro
	{
		&
		{
			position: sticky;
			top: 20px;
			align-self: start;
		}
		
		@media (max-width: 820px) 
		{
			&{
				position: relative;
			}	
		}
		
		ul{margin-left: 0; }
		ul li{
			list-style: none;
		}
		
		
	}
	
	article
	{
		&{
			border-radius: var(--borderRadiusXS);
			background: white;
			transition: transform 0.3s cubic-bezier(0, 0, 0.5, 1);
			transform: scale(1);
			margin-bottom: 20px;
		}
		
		&:hover{
			transform: scale(1.01);
		}
		&:not(first-child)
		{
			margin-top: 10px;
		}
		
		h3
		{
			margin-bottom: 0;
			padding: 10px 0;
			font-size: 1.4rem;
		}
		
		h3 .titre, .infos
		{
			padding: 0 20px;
		}
		
		label
		{
			cursor: pointer;
			display: grid;
			grid-template-columns: 1fr 50px;
			gap: 1em;	
			padding: 10px;
			position: relative;
		}
		
		label:before
		{
			content: "";
			width: 10px;
			height: 10px;
			background: rgba(37, 75, 59, 0.1);
			position: absolute;
			border-radius: 50%;
			left: 10px;
		}
		
		
		
		input
		{
			display: none
		}
		.infos
		{
			display: grid;
			grid-template-rows: 0fr;
			transition: grid-template-rows .4s ease;
		}
		
		.iconeAccordeon
		{
			display: flex;
			align-items: center;
			justify-content: center;
			transform-origin: center;
			transition: transform .5s ease .2s;
		}
		
		&:has(input:checked) 
		{
			.infos
			{
				grid-template-rows : 1fr
			}
		
			.iconeAccordeon
			{
				transform: rotate(180deg);			
			}
		}
		
		p{transition: margin .5s ease}
		&:not(:has(input:checked)) p
		{
			margin: 0;
		}
		
		.infos-contenu
		{
			overflow: hidden;
			min-height: 0;
		}
	}
	
}
[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%);
	}
}

