@import url('fonts/fonts.css');
@import url('fonts/fontello.css');

:root{
  --bleue:rgba(84, 129, 158,1);
  --marron:rgb(124,67,47);
}

body{
  font-family : 'ralewayregular', arial;
  background-color: rgb(242,242,242);
}
h1,h2,h3,h4,h5{
  font-family : 'ralewaybold', arial;
  font-weight: normal;
}
.blanc{
  background-color: white;
  height: 8em;
}
.topo{
  position:relative;
  max-width: 80em;
  margin: 0 auto;
  padding-bottom: .2em;
  background-color:white;
}
.topo ul.langues{
  position: absolute;
  right:5vw;
  top:-20px;
  z-index: 200;
}

.topo ul.langues li{
  display: inline;
  font-size: .8em;
}
.topo ul.langues li a{
  color:var(--bleue);
  text-shadow: 1px 1px 1px white;
  text-decoration: none;
}
/* menu */
/* lists */
ul.list-auto{
  position: absolute;
  right:0;
  margin: 0;
}
ul.list-auto li{
  display:inline;
}
ul.list-auto li a{
  font-family : 'ralewayregular', arial;
  text-decoration: none;
  text-transform: uppercase;
  color:var(--bleue);
  font-size:.9em;
}
ul.list-auto li a.selectionne{
  font-family : 'ralewaybold', arial;

}

ul.list-auto li:hover{
  background-color:rgba(84, 129, 158);
  background-color:var(--bleue) ;

}

ul.list-auto li:hover a{
  color:white;
}

.list-full li,
.list-auto li{
    width: 7em;
    height: 5em;
    float: left;
    position: relative;
    text-align: center;
    padding-top: 3em;

   }
/* floats */
.alinhaLeft {
	float: left;
  margin: 0;
}

.alinhaRight {
	float: right;
}
h1.alinhaLeft a.logotext{
  display: none;
}

.topo input {
	visibility: hidden;
	position: absolute;
	left: -9999px;
	opacity: 0;
}
.home{
  width: 100%;
  background-color: rgb(242,242,242);
  color:var(--bleue);
  margin: 0 auto;
  max-width: 80em;
  display:grid;
  grid-column-gap: 1.875em;
  grid-row-gap: 1.875em;
  grid-template-columns: 1fr 1fr 1fr;
  /*grid-template-rows: 5em 10em 5em;*/
  grid-template-areas: "bandeau bandeau bandeau "
                        "text1 text1 home"
                        "bandeau2 bandeau2 bandeau2 "
                        "conseil management gestion"
                        "bandeau3 bandeau3 bandeau3";
}

.interieur{
  grid-template-columns: 1fr 2fr;
  /*grid-template-rows: 5em 10em 5em;*/
  grid-template-areas: "bandeau bandeau"
                        "illust text-inter "
                        "... text2-inter";
}
.actu{
  grid-template-columns: 1fr 2fr;
  /*grid-template-rows: 5em 10em 5em;*/
  grid-template-areas: "bandeau bandeau"
                       "listactu listactu ";
}
.bandeau{
  grid-area: bandeau;
  background-color: white;
  background-image: url("../img/bandeau1.jpg");
  padding: 3em 0 2em 1.5em;
  background-size: cover;
  background-origin: padding-box;
  text-transform: uppercase;
  color: Gainsboro;
  text-shadow: .2em .2em .3em black;
  font-size :1.5em;
}
.bandeau mark{
  text-shadow: .3em .3em .3em black;
  background-color: transparent;
  color: white;
}
.text1{
  grid-area: text1;
  background-color: white;
  padding : 2em;
  font-size: 1.5em;
}
img.home{
  grid-area: home;
}
.bandeau2{
  grid-area: bandeau2;
  background-color: white;
}
.bandeau2 h3{
  text-align: center;
  font-size: 2.25em;
}
.bandeau3{
  grid-area: bandeau3;
  background-color: white;
  padding : 4em;
}
.bandeau3 h3{
  text-align: center;
  font-size: 2.25em;
  font-weight:normal;
  font-family : 'ralewayregular', arial;
}
aside h4 i {
  font-size: 2.2em;
}
aside h4 {
  font-size: 1.3em;
}
aside.conseil{
  grid-area: conseil;
  color: white;
  text-transform: uppercase;
  font-family : 'ralewayregular', arial;
  text-align: center;
  background-image: url("../img/home-conseil.jpg");
  background-size: 100% 100%;
  padding: 3.5em 0 2em 0;

}
aside.management{
  grid-area: management;
  color: white;
  text-transform: uppercase;
  font-family : 'ralewayregular', arial;
  text-align: center;
  background-image: url("../img/home-manage.jpg");
  background-size: cover;
  padding: 3.5em 0 2em 0;
}
aside.gestion{
  grid-area: gestion;
  color: white;
  text-transform: uppercase;
  font-family : 'ralewayregular', arial;
  text-align: center;
  background-image: url("../img/home-gestion.jpg");
  background-size: cover;
  padding: 3.5em 0 2em 0;
}
footer.bas{
  background-color: rgb(124,67,47);
  background-color: var(--marron);
  margin-top: 1.875em;

}
nav.pied{
  display:flex;
  justify-content: space-between;
  max-width: 80em;
  margin: 0 auto;
}
aside.spied{
  padding: 1.5em 0;
  color:white;
}

aside.spied ul li{
  display :inline;
}
aside.spied ul li a{
  color:white;
}

aside.reseaux{
  padding : 2em;
}
aside.reseaux a i.icon-linkedin-circled{
  font-size:2em;
  color:white;
}

/* pages secondaires */
.missions{
  background-image:url('../img/missions.jpeg');
  background-size: cover;
}
.experiences,.partenaires{
  background-image:url('../img/bandeau2.jpg');
  background-size: cover;
}
.illust{
  grid-area: illust;
}
.illust img{
  margin-bottom: 1.875em; ;
}
.illust address{
  font-style: normal;
  background-color: white;
  margin-bottom: 1.875em;
  color: black;
  padding: 1.5em;
}
.illust address h5{
  font-style: normal;
  margin: 0;
}
.illust address a{
  font-style: normal;
  text-decoration: none;
  color: black;
}
.illust address a:before{
  font-family: "fontello";
  content: '\e804 ';
}

.text-inter{
  grid-area: text-inter;
  background-color:white;
  color: black;
  padding:1.5em 0  0 2em;
}

.text2-inter{
  grid-area: text2-inter;
  background-color:white;
  color: black;
  padding:1.5em 0  0 2em;
}

.text2-inter h3{
  color: var(--bleue);
  margin: 0;
  font-size: 1.6em;
  font-family : 'ralewayregular', arial;
}
.text2-inter i{
  color: rgb(238,225,219);
  margin-left: 40%;
  font-size: 2em;
  }

.list-actu{
  grid-area: listactu;
  padding:1.5em 0  0 2em;
}
.item-actu img{
  float:left;
  margin: 1em 0 .3em 0;
}
.item-actu{
  min-height:7.750em ;

}
.item-actu h3{
  padding:0 0  0 6em;
  margin: .2em 0 0 0;

}
.item-actu p{
  padding:0 0  0 7em;
  margin: 0 0 0 0;
  color: black;
}
.item-actu a{
  padding:0 0  0 1.3em;
  color:var(--marron);
  text-decoration: none;
}

.item-actu hr{
  margin:.5em 0  0 1.3em;
  width:80%;
}
.item-actu a::after{
  content :' >';
  color:var(--marron);
}

a i.marron{
  text-decoration: none;
  color: var(--marron);

}
/* formulaires contact */
.masquee{
  width : 0.063em;
  height : 0.063em;
  padding : 0;
  margin : -0.063em;
  overflow : hidden;
  clip : rect (0 0 0 0);
  border: 0;
  }

.contact div{
  width: 45%;
  float: left;
}
form.contact div:nth-child(7){
  width: 100%;
  float: left;
}
.contact div mark{
  color:black;
  font-size: .5em;
  background-color: transparent;
}
.input, textarea {
	position: relative;
	z-index: 1;
	display: inline-block;
	margin: 1em;
	max-width: 350px;
	width: calc(100% - 2em);
	vertical-align: top;
}

.input__field {
	position: relative;
	display: block;
	float: right;
	padding: 0.8em;
	width: 60%;
	border: none;
	border-radius: 0;
	color: #aaa;
	font-weight: bold;
	-webkit-appearance: none; /* for box shadows to show on iOS */
}

.input__field:focus {
	outline: none;
}

.input__label {
	display: inline-block;
	float: right;
	padding: 0 1em;
	width: 40%;
	color: #6a7989;
	font-weight: bold;
	font-size: 70.25%;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	user-select: none;
}

.input__label-content {
	position: relative;
	display: block;
	padding: 1.6em 0;
	width: 100%;
  background-color: transparent;
}
.input--ichiro {
	margin-top: 2em;
}

.input__field--ichiro {
	position: absolute;
	top: 4px;
	left: 4px;
	z-index: 100;
	display: block;
	padding: 0 0.55em;
	width: calc(100% - 32px);
	height: calc(100% - 8px);
	background: #f0f0f0;
	color: #7F8994;
	opacity: 0;
	-webkit-transform: scale3d(1, 0, 1);
	transform: scale3d(1, 0, 1);
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
}

.input__label--ichiro {
	width: 100%;
	text-align: left;
	cursor: text;
}

.input__label--ichiro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.input__label-content--ichiro {
	-webkit-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
	-webkit-transition: -webkit-transform 0.3s;
	transition: all 0.3s;
}

.input__field--ichiro:focus,
.input--filled .input__field--ichiro {
	opacity: 1;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}

.input__field--ichiro:focus + .input__label--ichiro,
.input--filled .input__label--ichiro {
	cursor: default;
	pointer-events: none;

}

.input__field--ichiro:focus + .input__label--ichiro::before,
.input--filled .input__label--ichiro::before {
	-webkit-transform: scale3d(1, 1.5, 1);
	transform: scale3d(1, 1.5, 1);
}

.input__field--ichiro:focus + .input__label--ichiro .input__label-content--ichiro,
.input--filled .input__label-content--ichiro {
	-webkit-transform: translate3d(0, -3.15em, 0) scale3d(0.8, 0.8, 1);
	transform: translate3d(0, -3.15em, 0) scale3d(0.8, 0.8, 1) translateZ(1px);
  background-color: transparent;
}
form input[type="radio"] { display: none;}
/* modale */
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  opacity: 0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modal-content {
  background: rgb(238,225,219);
  color: var(--bleue);
  width: 80vw;
  height: 80vh;
  position: relative;
  margin: 5% auto;
  padding: 5px 20px 13px 20px;
  border-radius: 5px;
  text-align: center;
  font-family: 'arimoregular';
}

.modal:target {
  opacity: 1;
  pointer-events: auto;
}

#close {
  display: none;
}
.closebtn{
  width: 140px;
  height: 25px;
  display:inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  padding-top: 1em;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  }

.btn:hover {
  background-color: var(--marron);
  box-shadow: 0px 15px 20px rgba(119, 29, 0, 0.73);
  color: #fff;
  transform: translateY(-7px);
}
/* fin modale */
@media screen and (max-width: 37.5em) {
  .topo{
    position:sticky;
    top:0;

  }
	header nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: 15.625em;
		border-left: 1px solid #ccc;
		background: #fff;
		overflow-x: auto;
		z-index: 200;
		-webkit-transition: all 500ms ease;
		transition: all 500ms ease;
		-webkit-transform: translate(100%, 0);
		-ms-transform: translate(100%, 0);
		transform: translate(100%, 0);
	}

	header ul.list-auto {
		padding: 0;
		text-shadow: 0px 0px 0px;
    z-index: 400;
	}

	header ul.list-auto li {
		width: 100%;
		border: solid #ccc;
		border-width: 0 0 1px;
	}

	.list-auto li:hover a{
		font-family: (bold);
	}
	header li a {
		padding: 15px 10px;}

	.control-nav { /* label icon */
		position: absolute;
		right: 20px;
		top: 20px;
		display: block;
		width: 30px;
		padding: 5px 0;
		border: solid #333;
		border-width: 3px 0;
		z-index: 2;
		cursor: pointer;
	}
	.control-nav:before {
		content: "";
		display: block;
		height: 3px;
		background: #333;
	}
	.control-nav-close {
		position: fixed; /* label layer */
		right: 0;
		top: 0;
		bottom: 0;
		left: 0;
		display: block;
		z-index: 1;
		background: rgba(0,0,0,0.4);
		-webkit-transition: all 500ms ease;
		transition: all 500ms ease;
		-webkit-transform: translate(100%, 0);
		-ms-transform: translate(100%, 0);
		transform: translate(100%, 0);
	}
		/* checked nav */
	input#control-nav {
		display: block;
	}
	input#control-nav:focus ~ .control-nav {
		border-color: #000;
		box-shadow: 0px 0px 9px rgba(0,0,0,0.3);
	}
	input#control-nav:focus ~ .control-nav:before {
		background: #000;
	}
	input#control-nav:checked ~ nav,
	input#control-nav:checked ~ .control-nav-close {
		-webkit-transform: translate(0, 0);
		-ms-transform: translate(0, 0);
		transform: translate(0, 0);
	}

  .home{
    width: 100%;
    display:grid;
    grid-row-gap: 1em;
    grid-template-columns: 1fr;
    /*grid-template-rows: 5em 10em 5em;*/
    grid-template-areas: "bandeau"
                          "text1"
                          "bandeau2"
                          "conseil"
                          "management"
                          "gestion"
                          "bandeau3";
  }
  .interieur{
    grid-template-columns: 1fr;
    /*grid-template-rows: 5em 10em 5em;*/
    grid-template-areas: "bandeau"
                          "illust"
                          "text-inter "
                          "text2-inter";
  }
  .actu{
    grid-template-columns: 1fr;
    /*grid-template-rows: 5em 10em 5em;*/
    grid-template-areas: "bandeau"
                         "listactu";
  }

  img.home{
    display:none;
  }
  .contact div{
    width: 95%;

  }
}
