/**************************************************************
 Cassiopée Formation (www.lesclesduchangement.com)
 Copyright 2025-2025 Develop'it
 
 Version : 1.0.0
 Date    : 13/05/2025
 Fichier : css/Screen.css
**************************************************************/

@font-face {
  font-family: AvenirBook;
  font-display: swap;
  src: url('../webfonts/AvenirLTStd-Book.otf');
}
@font-face {
  font-family: AvenirBlack;
  font-display: swap;
  src: url('../webfonts/AvenirLTStd-Black.otf');
}
@font-face {
  font-family: JosefinSemiBold;
  font-display: swap;
  src: url('../webfonts/JosefinSans-SemiBold.ttf');
}
@font-face {
  font-family: JosefinBold;
  font-display: swap;
  src: url('../webfonts/JosefinSans-Bold.ttf');
}
@font-face {
  font-family: JosefinLight;
  font-display: swap;
  src: url('../webfonts/JosefinSans-Light.ttf');
}


/*************************** General ***************************/
:root {
	--clr-background:rgb(254, 254, 254);
	--clr-primary: #5FC8D4;
	--clr-secondary: #8079BE;
	--clr-alternate:#ff8154;
}
* {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	text-rendering: auto;
	box-sizing: border-box;
}
*:focus {
	outline: none;
}
html {
	scroll-behavior: smooth;
}
body {
	background-color: var(--clr-background);
	font-family: 'AvenirBook', sans-serif;
	font-size: 16px;
	color: rgba( 0, 82, 160, 1.0 );
}
::selection{
	background:rgba( 51,153,255, 1.0 );
	color:rgba( 255, 255, 255, 1.0 );
}
::-moz-selection{
	background:rgba( 51,153,255, 1.0 );
	color:rgba( 255, 255, 255, 1.0 );
}
p {
	margin-bottom: 1em;
}
a {
	text-decoration: none;
    color: rgba(51,153,255, 1.0);
	transition: all 0.3s ease;
}
a:hover,
a:focus {
  color: hsl(274, 56%, 53%);
}
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	line-height: 1em;
	margin: 0 0 1em 0;
}
h1 {
	font-family: 'JosefinLight';
	line-height: 1.2em;
	margin-top:1em;
	margin-bottom:1em;
	color: rgba( 239, 124,   0, 1.0);
	font-size: 31px;
	font-weight:normal;
}
h2 {
	font-family: 'JosefinLight';
	line-height: 1.2em;
	margin-top:1em;
	margin-bottom:1em;
	color:rgba( 229,   0 ,125, 1.0);
	font-size: 31px;
	font-weight:normal;
}
h3 {
	display:inline-block;
	font-family: 'JosefinLight';
	font-weight:normal;
	font-size: 31px;
	margin-top:1em;
	margin-bottom:1em;
	color: rgba( 239, 124,   0, 1.0);
}
ul, ol {
	list-style-type:disc;
	margin-bottom:1.5em;
}
ul li {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}
ul li ul {
	list-style-type:disc;
	list-style: '- ';
}
ul li ul li {
	font-size:0.9em;
	margin-top: 0.0em;
	margin-bottom: 0.0em;
}

@media only screen and (max-width:639px) { /* small */
	h1 {
		margin-top:0;
	}
}


/*************************** section ***************************/
section {
	margin:0;
	padding:40px 40px 90px 40px;
}

@media only screen and (max-width:1023px) { /* medium */
	section {
		padding:20px 10px 40px 10px;
	}
}

@media only screen and (max-width:639px) { /* small */
	section {
		padding:20px 10px 40px 10px;
	}
}


/*************************** section ***************************/
form .Erreur {
    border-color: #CC0000;
}
form .ErreurSaisie {
	height:13px;
	margin-bottom:4px;
    font-size: 11px;
    color: #CC0000;
}


/*************************** label ***************************/
label {
	margin-top:10px;
	margin-bottom:3px;
	font-size:14px;
	text-align:left;
	position:relative;
	width:100%;
	color: rgba( 0, 82, 160, 1.0 );
    line-height: 1.5em;
}
label.Obligatoire::after {
	content:' *';
	position:relative;
	color:rgba( 250,  100,  50, 0.8);
}
label + input {
	margin-bottom:0px;
}


/*************************** buttons ***************************/
button, input, select, textarea, a.button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button, input, optgroup, select, textarea {
    font: inherit;
    color: inherit;
	margin-bottom:0 !important;
	margin-top:0.95rem !important;
}
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, [type=button], [type=submit] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
	background:	rgba(2,81,143, 1);
	border-radius:10rem;
	padding:0.3em 1.5em;
	color: #fff;
	font-family: 'JosefinBold';
	font-weight:normal;
	font-size:17px;
	font-family: 'AvenirBook';
	font-weight:bold;
	margin-top:7px !important;
	margin-bottom:7px !important;
}
a.button {
	padding:0.4em 1.5em;
}
a.button.small {
	border-radius:10rem;
	font-size: 13px;
	padding:0.4em 1.5em;
}
button.fit, html input[type="button"].fit, input[type="reset"].fit, input[type="submit"].fit, [type=button].fit, [type=submit].fit, a.button.fit {
	width:100%;
}
button, select, a.button {
    text-transform: none;
}
button, a.button {
    overflow: visible;
    display: inline-block;
    transition: background-color 300ms ease-out;
}
button:hover, button:focus, a.button:hover, a.button:focus, [type=button]:hover, [type=button]:focus {
    background-color:rgba( 120, 120, 120, 0.1 );
    color: rgba( 0, 82, 160, 1.0);
	text-decoration:none;
}
button.FondOrange, a.button.FondOrange {	background-color:rgba( 239, 124,   0, 1.0 ); }
button.FondRose, a.button.FondRose {		background-color:rgba( 229,   0 ,125, 1.0 ); }
button.FondVert, a.button.FondVert {		background-color:rgba(  58, 199, 199, 1.0 ); }
button.FondRouge, a.button.FondRouge {		background-color:rgba( 214,  16,  82, 1.0 ); }
button.FondOrange:hover, a.button.FondOrange:hover {	background-color:rgba( 239, 124,   0, 0.2 ); }
button.FondRose:hover, a.button.FondRose:hover {		background-color:rgba( 229,   0 ,125, 0.2 ); }
button.FondVert:hover, a.button.FondVert:hover {		background-color:rgba(  58, 199, 199, 0.3 ); }
button.FondRouge:hover, a.button.FondRouge:hover {		background-color:rgba( 214,  16,  82, 0.2 ); }

a.button > .Complement {
	display:block;
	clear:both;
	color: #fff;
    font-size: 0.75em;
	line-height:0.75em;
}
input[type="checkbox"],
input[type="radio"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	-o-appearance: none;
	-ms-appearance: none;
	appearance: none;
	display: block;
	float: left;
	margin-right: -2em;
	opacity: 0;
	width: 1em;
	z-index: -1;
	background-repeat: no-repeat;
	background-position: center;
}
input[type="checkbox"] + label,
input[type="radio"] + label {
	text-decoration: none;
	color: rgba( 0, 82, 160, 1.0 );
	cursor: pointer;
	display: inline-block;
	font-size: 1.0em !important;
	font-weight: normal;
	padding-left: 2.4em;
	padding-right: 0.75em;
	position: relative;
}
input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
	background: rgba(254, 254, 254, 1.0);
	border-radius: 4px;
	border: solid 2px rgba(144, 144, 144, 0.75);
	content: '';
	display: inline-block;
	height: 1.65em;
	left: 0;
	line-height: 1.58125em;
	position: absolute;
	text-align: center;
	top: 0;
	width: 1.65em;
}
input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
	background-color: rgba( 239, 124,   0, 1.0);
	border-color: rgba( 239, 124,   0, 1.0);
	color: rgba( 254, 254,   254, 1.0);
}
input[type="checkbox"]:focus + label:before, input[type="checkbox"]:hover + label:before,
input[type="radio"]:focus + label:before, input[type="radio"]:hover + label:before {
	border-color: rgba( 239, 124,   0, 1.0);
	box-shadow: 0 0 0 1px rgba( 239, 124,   0, 1.0);
	outline: none;
}
input[type="checkbox"] + label:before {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>');
	background-size: 45%;
	border-radius: 4px;
}
input[type="radio"] + label:before {
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z" /></svg>');
	border-radius: 100%;
}


/*************************** bt personnels ********************************/
button.btOrange,
a.btOrange {
	display: inline-flex;
	border-radius: 4em;
	padding: 0.5em 2em;
	background-color: rgba(239, 124, 0, 1.0);
	color: rgb(254, 254, 254);
	font-weight: bold;
	position: relative;
	max-width: calc(90vw - 90px);
}
button.btOrange:hover,
a.btOrange:hover {
	color: rgba(0, 82, 160, 1.0);
	background-color: rgba(239, 124, 0, 0.3);
}

a.btGris {
	display: inline-flex;
	border-radius: 4em;
	padding: 0.5em 2em;
	background-color: rgba(168, 99, 165, 1.0);
	color: rgb(254, 254, 254);
	font-weight: bold;
	position: relative;
	max-width: calc(90vw - 90px);
}

a.btGris:hover {
	color: rgba(0, 82, 160, 1.0);
	background-color: rgba(168, 99, 165, 0.3);
}


/*************************** owl-carousel ********************************/
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
	position: absolute;
	aspect-ratio: 1;
	width: 60px;
	opacity: 0;
	background: none;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	transition: all 0.3s ease;
	color: #fefefe00;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
	left: 0;
	background-image: url("../image/Gauche.svg") !important;
}
.owl-carousel.owl-theme .owl-nav .owl-next {
	right: 0;
	background-image: url("../image/Droite.svg") !important;
}
.owl-carousel:hover .owl-nav .owl-prev {
	color: #fefefe00;
	left: 0px;
	opacity: 1;
}
.owl-carousel:hover .owl-nav .owl-next {
	color: #fefefe00;
	right: 0px;
	opacity: 1;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
	background-color: #8079BE00;
	opacity: 1;
	transform: scale(1.2);
}
