/* globals */
:root {
	--blanc: #fff;
	--noir: #000;
	--rouge: #e30613;
	--jaune: #fcd100;
	--bleu: #005BA4;

	--font-family: "Open Sans", sans-serif;
	--font-size: 15px;
	--font-weight: 600;
}

.blanc {
	color: var(--blanc);
}

.noir {
	color: var(--noir);
}

.rouge {
	color: var(--rouge);
}

.jaune {
	color: var(--jaune);
}

.bleu {
	color: var(--bleu);
}


body {
	background: var(--bleu);
	font-family: var(--font-family);
	font-size: var(--font-size);
	font-weight: var(--font-weight);
	color: var(--blanc);
	font-optical-sizing: auto;
}


.normal {
	font-weight: 500;
}

.semibold {
	font-weight: 600;
}

.bold {
	font-weight: 700;
}

.extrabold {
	font-weight: 900;
}


/* layout */
.container {
	padding-top: 0px;
}

.chapo {
	font-size: 22px;
	font-weight: 600;
}

#section-header .container,
#cookieconsent .container {
	padding-top: 0px
}

/* bootstrap */
.rounded {
	border-radius: 1rem !important;
}

.form-control {
	height: calc(1.5em + .4rem + 2px);
	padding: .2rem .2rem;
	font-size: 100%;
}

.form-control.small {
	height: calc(1.5em + 0rem + 2px);
	padding: 0rem .2rem;
	font-size: 100%;
}

input[type="text"].form-control::placeholder { color: #aaa; }
/* *** */

label.jm-menu-btn {
	color: var(--blanc);
	text-align: center;
	font-size: 3.5rem;
	margin: 0;
	padding: 0;
}

@media (max-width: 768px) {
	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse {
		z-index: 99;
		position: absolute;
		background: var(--bleu);
		color: var(--blanc);
		left: 0;
		right: 0;
		padding: 4rem 2rem;
		border-top: 4px solid var(--bleu);
		border-bottom: 4px solid var(--bleu);
	}

	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse a {
		color: inherit;
		font-size: 2rem;
		line-height: 4rem;
	}

	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse li {
		border: none;
	}

	input[type="checkbox"]:checked.jm-menu-btn~.jm-collapse li:not(:first-child) {
		border-top: 1px solid var(--bleu);
	}

	#section-intro {
		padding-bottom: 85%;
	}

	#section-intro .container {
		max-width: 100%;
		margin-left: 0px
	}

}

#section-footer .jmenu .nav-link {
	padding: 0 10px;
}


.bouton {
	display: inline-block;
	color: var(--jaune);
	background-color: var(--bleu);
	border-radius: 2.8rem;
	border: 13px solid var(--blanc);
	padding: 1.3rem 2rem;
	margin: 1rem auto;
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 1;
	text-decoration: none;
}
.bouton:hover {
	color: var(--jaune);
	background-color: var(--bleu);
	text-decoration: none;
}

.bouton.inverse {
	color: var(--bleu);
	background-color: var(--jaune);
}
.bouton.inverse:hover {
	color: var(--bleu);
	background-color: var(--jaune);
}

/* --- */

/* header */
body.home #section-header {
	background: url('/custom/images/intro.jpg') no-repeat center -15px;
	height: 94px;
}

#section-banniere {
	background: url('/custom/images/bg-body.webp') repeat-x center top;
}

#section-banniere .text-content {
	height: 735px;
	margin-top: 40px;
}

#section-banniere .banniere {
	background: url('/custom/images/intro.jpg') no-repeat center -109px;
}

@media (max-width: 1200px) {
	body.home #section-header {
		background: none;
		height: auto;
	}
	
	#section-banniere {
		background: none;
	}
	#section-banniere .banniere {
		display: block;
		aspect-ratio: 2000/122;
		background: url('/custom/images/intro-mobile.webp') no-repeat bottom center var(--jaune);
		margin-top: 2rem;
		padding-bottom: 70px;
	}

	#section-banniere .text-content {
		background: url('/custom/images/femme.png') no-repeat bottom center;
		padding-bottom: 420px !important;
		height: auto;
		max-width: none;
		margin-top: 40px;
	}
}


#section-banniere .text-content h1 {
	font-size: 70px;
	line-height: 1em;
	margin: 1rem 0;
}

#section-banniere .text-content p {
	font-size: 30px;
	line-height: 1em;
	margin: 1rem 0;
}

#section-modalites .text-content h2 {
	font-size: 70px;
	line-height: 1em;
	margin: 1.2rem 0;
}

#section-inscription .text-content h2 {
	background: url('/custom/images/femme.png') no-repeat top center;
	padding-top: 315px;
}

#section-modalites .text-content h2 .small {
	font-size: 67px;
}

#section-modalites .text-content h3 {
	font-size: 28px;
	line-height: 1.2em;
	margin: 1.2rem 0;
}

#section-modalites .text-content p {
	font-size: 24px;
	line-height: 1.2em;
	margin: 1rem 0;
}

#section-modalites .text-content ol {
	font-size: 24px;
	line-height: 1.4em;
	margin: 1rem 0;
}

#section-modalites .pack {
	background: url('/custom/images/pack.png') no-repeat center bottom;
	max-width: 1425px;
	margin: 0 auto;
	padding-top: 30px;
	padding-bottom: 360px;
	background-size: 300px;
}

@media (min-width: 1200px) {
	#section-modalites .pack {
		background: url('/custom/images/pack.png') no-repeat right top;
		padding-top: 30px;
		padding-bottom: 0;
		background-size: auto;
	}
}

#section-inscription .text-content h2 {
	font-size: 67px;
	line-height: 1em;
	margin: 1.2rem 0;
}

#section-inscription .text-content h2 .small {
	font-size: 60px;
}

#section-inscription .text-content p {
	font-size: 24px;
	line-height: 1.2em;
	margin: 1rem 0;
}

@media (max-width: 769px) {
	#section-banniere .text-content h1 {
		font-size: 45px;
	}
	#section-banniere .text-content p {
		font-size: 25px;
	}
	#section-modalites .text-content h2 {
		font-size: 45px;
	}
	#section-modalites .text-content h2 .small {
		font-size: 40px;
	}
	#section-modalites .text-content h3 {
		font-size: 25px;
	}
	#section-modalites .text-content p {
		font-size: 18px;
	}
	#section-modalites .text-content ol {
		font-size: 18px;
	}
	#section-inscription .text-content h2 {
		font-size: 45px;
	}
	#section-inscription .text-content h2 .small {
		font-size: 40px;
	}
	#section-inscription .text-content p {
		font-size: 18px;
	}
}

#section-intro {
	background-color: var(--bleu);
}

#section-intro strong {
	font-weight: 900
}


@media (min-width: 768px) {

	input[type="checkbox"].jm-menu-btn .jm-collapse,
	.jm-collapse {
		display: flex !important;
	}

	.jmenu.saintantonin {
		padding: 0px !important;
		z-index: 2;
	}
	
	.jmenu.saintantonin .jm-collapse {
		display: flex;
		justify-content: space-around;
		align-items: center;
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.jmenu.saintantonin .nav-item {
		display: flex;
		align-items: center;
	}
}

/* --- */

/* formulaire */
#section-inscription {
	background: url('/custom/images/bg-bottom-bleu-repeat.webp') repeat-x top center var(--jaune);
}

#section-inscription > .wrapper {
	background: url('/custom/images/bg-bottom-bleu.webp') no-repeat top center;
	padding-top: 150px;
}

#section-inscription .container {
	max-width: 780px;
}

/* --- */

/* page texte */
.page-wrapper {
	background-color: var(--blanc);
	color: var(--bleu);
	padding: 1rem 2rem;
	border-radius: 15px;
}

.page-wrapper h1 {
	text-align: center;
	color: inherit;
}

.page-wrapper p {
	color: inherit;
}

/* footer */
#section-footer {
	padding-bottom: 4rem;
}

#cookieconsent .container {
	max-width: 1530px;
}

#cookieconsent,
#cookieconsent-nojs {
	padding: 0.5rem;
	position: fixed;
	z-index: 80;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--blanc);
	border-top: 5px solid var(--noir);
	color: var(--bleu);
	font-weight: bold;
	;
}

.cookieconsent-toogle {
	border: none;
	padding: 1rem 2rem;
	border-radius: 10px;
	background: var(--blanc);
	color: var(--bleu);
	font-weight: bold;
	;
}

#footer-cookieconsent-toogle {
	position: fixed;
	z-index: 90;
	bottom: 0;
	right: 1rem;
	padding: 0.5rem 1rem;
	border: 1px solid #fff;
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	transition: 0.2s linear;
	height: 2rem;
}

@media (max-width: 768px) {
	#footer-cookieconsent-toogle {
		left: 5rem;
		right: 5rem;
	}
}

#cookieconsent .text {
	padding: 0.5rem;
}

#cookieconsent .buttons {
	display: flex;
	gap: 1rem;
	width: fit-content;
	white-space: nowrap;
}

/* --- */

/* --- */
html,
body {
	font-family: var(--font-family);
	font-size: var(--font-size);
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	width: 100%;
	margin: auto;
	font-size: 1.1rem;
	min-height: 100% !important;
}

/* balises */
a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	color: inherit;
}

img {
	object-fit: cover;
}

img {
	object-fit: cover;
}

h1 {
	line-height: 2.4rem;
	font-size: 2.4rem;
	margin: 2rem 0;
}

h2 {
	line-height: 1.8rem;
	font-size: 1.8rem;
	margin: 1.8rem auto;
}

h3 {
	line-height: 1.6rem;
	font-size: 1.6rem;
}

h4 {
	line-height: 1.4rem;
	font-size: 1.4rem;
}

p {
	line-height: 1.2em;
}

form label {
	cursor: pointer;
}

form sup {
	color: var(--bleu);
}

.form-inline.form-group {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
}

/* --- */

@media (max-width: 768px) {
	.jmenu {
		padding: 30px 0px 0 0;
	}
}

/* responsive */
@media (max-width: 768px) {

	.jmenu a {
		padding: 0px 1rem;
	}

	#cookieconsent>div {
		flex-direction: column;
	}
}
