﻿/********************************************
	* Domaine : katonah.fr
	*
	* Exploitant : Katonah Real Estate
	*
	* Rôle : Feuille de style principale 
	*
	* Auteur : Ultra-Fluide, copyright 2020
********************************************/

/**** classique  ********/
/************************/
* {margin: 0px; padding: 0px; box-sizing: border-box;}
h4, h1, h2, h3, h5{
	font-family: 'Poppins', sans-serif;
	color:#3a3a3a;
}
h2, h3{
	text-transform: uppercase;
}
p, li, table, dl, figcaption{
	font-family: 'Rubik', sans-serif;
	font-size:1rem
}
a { 
	text-decoration: none;
}
/* Pour contourner le problème des espaces entre élément inline-block*/
/* voir : https://github.com/patrickkunka/zero-width et */
/* http://www.alsacreations.com/astuce/lire/1432-display-inline-block-espaces-indesirables.html */
@font-face{ 
	font-family: 'NoSpace';
	src: url('fonts/zerowidthspaces.eot');
	src: url('fonts/zerowidthspaces.eot?#iefix') format('embedded-opentype'),
	url('fonts/zerowidthspaces.woff') format('woff'),
	url('fonts/zerowidthspaces.ttf') format('truetype'),
	url('fonts/zerowidthspaces.svg#NoSpace') format('svg');
}
@font-face {
	font-family: 'FontAwesome';
	src: url('fonts/fontawesome-webfont3295.eot?v=4.5.0');
	src: url('fonts/fontawesome-webfontd41d.eot?#iefix&v=4.5.0') format('embedded-opentype'), 
	url('fonts/fontawesome-webfont3295.html?v=4.5.0') format('woff2'), 
	url('fonts/fontawesome-webfont3295.woff?v=4.5.0') format('woff'), 
	url('fonts/fontawesome-webfont3295-2.html?v=4.5.0') format('truetype'), 
	url('fonts/fontawesome-webfont3295.svg?v=4.5.0#fontawesomeregular') format('svg');
}
/**** Global  *****************/
/*****************************/


.wrap {
	max-width: 1320px;
	padding:0 60px;
	width: 100%;
	margin: 0 auto;
	position:relative;
}
.degradejv {
	background: linear-gradient(90deg, rgba(250,114,30,1) 0%, rgba(231,40,92,1) 30%, rgba(150,0,167,1) 100%);
}
.degradevj {
	background: linear-gradient(90deg, rgba(150,0,167,1) 0%, rgba(231,40,92,1) 70%, rgba(250,114,30,1) 100%);
}
.degradejr {
	background: linear-gradient(90deg, rgba(250,114,30,1) 0%, rgba(231,40,92,1) 100%);
}
.degraderv {
	background: linear-gradient(90deg, rgba(231,40,92,1) 0%, rgba(150,0,167,1) 100%);
}
section, section > div {
	width:100%;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
}
section h2, section h3, section h4 {
	display:inline-block;
	font-size:2.6rem;
	font-weight:900;
	line-height:3.4rem;
	text-transform: uppercase;
}
section h2:after, section#mission article:first-child p:after{
	content: "-";
	display: block;
	font-size:1rem;
	line-height:7px;
	width:65px;
	margin-top:13px;
	color: white;
	background: white;
}
section strong, section span{
	color:#f43649;
}
section strong{
	font-weight:700;
}
section a {
	color:#fa721e;
	text-decoration: underline;
}
section a:hover {
	text-decoration: none;
}
/**** Header  *****************/
/*****************************/

header {
	height:130px;
	position:sticky !important;
	position: -webkit-sticky;
	top:0;
	z-index:20;
	box-shadow: 0 1px 3px 0 #222;
}
header div{
	height:100%;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}
header h1 {
	font-family: 'Rubik', sans-serif;
	font-size:1rem;
	font-weight:400;
	color:white;
}
header h1 a{
	display:block;
	margin-bottom:7px;
}
header h1 img{
	max-width:240px;
	vertical-align: middle;
}
@media screen and (max-width: 900px) {
	header h1 {
		max-width:250px;;
	}
}
/**** menu principal *********/
/*****************************/    
header ul {
	align-self: flex-end;
	height:65px;
	display: flex;
	flex-flow: row nowrap;
	list-style-type: none;
}
header ul > li {
	font-family: 'Poppins', sans-serif;
	font-size:1.2rem;
	font-weight:500;
	padding:0 10px;
	height:100%;
}
header ul > li a{
	display:block;
	text-align:right;
	padding:0 5px;
	height:100%;
	color:white;
	-webkit-transition: border-color 0.5s ease-out;
	-moz-transition: border-color 0.5s ease-out;
	-ms-transition: border-color 0.5s ease-out;
	-o-transition: border-color 0.5s ease-out;
	transition: border-color 0.5s ease-out;
}
header ul > li a.active{
	border-bottom:8px solid white;
}
header ul > li:last-child{
	padding:0 0 0 20px;
}
@media screen and (max-width: 1020px) {
	header ul > li:last-child {
		display:none;
	}
}
@media screen and (max-width: 980px) {
	header ul > li {
		padding:0 8px;
		font-size:1.1rem;
	}
}
@media screen and (max-width: 760px) {
	header ul > li {
		display:none;
	}
	header ul:before{
		content: url("images/hamburger-menu.svg");
		width:51px;
		display:block;
		float:right;
	}
	header ul{
		cursor: pointer;
		width:120px;
		display:block;
		position:absolute;
		right:10px;
	}
	header ul:hover li{
		clear: both;
		cursor: pointer;
		display:block;
		padding:0  ;
		background:#fa721e;
		height:30px;
		box-shadow: 1px 0 2px 0 #222;
	}
	header ul > li a{
		padding:0 8px 0 0;
		border-right:4px solid transparent;
	}
	header ul > li a.active{
		border-bottom:none;
		border-right:4px solid white;
	}
	header ul:hover > li:last-child {
		display:none;
	}
}
/**** contenus mission ****/
/*****************************/
section#mission {
	padding-top:60px;
	padding-bottom:140px;
}
section#mission article:first-child{
	width:44%;
	padding-top:20px;
	min-width:380px;
	max-width:530px;
}
section#mission h2:after{
	content: none;
}
section#mission h2, section#mission h3, section#mission h4 {
	padding:0 8px;
}
section#mission article:first-child p{
	font-size:1.43rem;
	padding:0 0 0 8px;
}
section#mission article:first-child p:after{
	color: #f33748;
	background: #f33748;
	margin-top:30px;
}
section#mission article:nth-child(2){
	width:56%;
	text-align:end;
	background-image: url("images/ciel-immeubles.png"), url("images/cercle-hachures.svg");
	background-size: 70% 70%, 47% 47%;
	background-position: 68% 20%, -13% 65%;
	background-repeat: no-repeat;
}
section#mission article:nth-child(2) img{
	width:94%;
}
section#mission article:nth-child(4){
	margin-top:200px;
}
section#mission article:nth-child(3), section#mission article:nth-child(5){
	width:42%;
	min-height:800px;
	padding:11px 9px 0 9px;
	margin:60px 0 100px 0;
	background-image: url("images/ombre-droite.jpg"), url("images/ombre-gauche.jpg"), url("images/ombre-top.jpg");
	background-position: 100% 11px, 0 11px, 50% 0;
	background-repeat: no-repeat;
	position:relative;
}
section#mission article:nth-child(3) > p, section#mission article:nth-child(5) > p, section#mission article:nth-child(3) > figure, section#mission article:nth-child(5) > figure{
	margin:20px 60px;
}
section#mission blockquote p{
	font-style: italic;
	color:#888888;
	font-weight:300;
	padding-left:55px;
	margin-bottom:15px;
}
section#mission blockquote:before{
	content: "\201d";
	color: #cdcdcd;
	display: block;
	position:absolute;
	font-family: 'Bevan', sans-serif;
	font-size:3.6rem;
	line-height:3.6rem;
}
section#mission article:nth-child(3) img, section#mission article:nth-child(5) img{
	width:100%;
}
section#mission h2{
	color:white;
}
section#mission h4 {
	font-size:1.6rem;
	line-height:3rem;
	padding:0 45px;
	color:white;
	position:relative;
	left:50%;
	transform: translate(-50%, -50%);
}
section#mission article:nth-child(6){
	width:42%;
	padding:11px 9px 0 9px;
	position : relative;
}
section#mission article:nth-child(6) p {
	width : 100%;
	border-radius: 10px;
	padding: 10% 11%;
	background:white;
	position:relative;
}
section#mission article:nth-child(6) p img{
	width : 100%;
}
section#mission article:nth-child(6) > img{
	position : absolute;
}
section#mission article:nth-child(6) > img:nth-child(1){
	top: 30%;
	left: -10%;
	height:110%;
}
section#mission article:nth-child(6) > img:nth-child(2){
	top : -25%;
	right : -10%;
	height:65%
}
section#mission article:nth-child(7){
	width:50%;
	padding-top:20px;
	font-size:1.9rem;
}
section#mission article:nth-child(7) p{
	font-size:1.7rem;
}
@media screen and (max-width: 1000px) {
	section#mission article:nth-child(2){
		width:40%;
	}
	section#mission article:nth-child(4){
		display:none;
	}
	section#mission article:nth-child(3), section#mission article:nth-child(5){
		width:49%;
	}
	section#mission article:nth-child(6)  {
		width : 80%;
		max-width:500px;
		margin-bottom:9vw;
	}
	section#mission article:nth-child(7)  {
		width : 90%;
	}
}
@media screen and (max-width: 770px) {
	section#mission article:nth-child(2){
		display:none;
	}
	section#mission article:nth-child(3) > p, section#mission article:nth-child(5) > p, section#mission article:nth-child(3) > figure, section#mission article:nth-child(5) > figure{
		margin:10px 20px;
	}
	section#mission blockquote p{
		padding-left:15px;
		font-size:.95rem;
	}
	section#mission blockquote:before{
		left:10px;
		font-size:2.7rem;
		line-height:2.7rem;
	}
}
}
/**** contenus valeurs    ****/
/*****************************/
section#valeurs{
	margin-bottom:95px;
}
section#valeurs article > img{
	mix-blend-mode: soft-light;
	position:absolute;
	top :0;
	right:0;
	padding-right: inherit;
	wwidth:44%;
	mmin-width:450px;
}
section#valeurs h2{
	margin: 130px 0 40px 0;
	color:white;
}
section#valeurs h4{
	display:block;
	mmargin-bottom: 12%;
	font-weight: 700;
	font-size:1.4rem;
	line-height:3rem;
	color:white;
	font-family: 'Rubik', sans-serif;
}
section#valeurs p:nth-of-type(1){
	width:60%;
	min-width:450px;
}
section#valeurs ul:nth-of-type(1){
	padding: 20px 0;
	list-style-type: none;
}
section#valeurs p, section#valeurs li{
	color:white;
	font-size:1.1rem;
}
section#valeurs ul:nth-of-type(1) li{
	padding-left:30px;
	margin-bottom:7px;
	background-image: url("images/fleche.svg");
	background-position: 0 50%;
	background-repeat: no-repeat;
}
section#valeurs p:nth-of-type(2){
	margin-bottom:9%;
}
section#valeurs ul:nth-of-type(2) {
	position:absolute;
	width:100%;
	bottom:-15%;
	left:0;
	font-family: NoSpace;
	padding: inherit;
}
section#valeurs ul:nth-of-type(2) li{
	width:25%;
	display:inline-block;
}
section#valeurs ul:nth-of-type(2) li img{
	width:100%;
	display:block;
}
@media screen and (max-width: 1050px) {
	section#valeurs ul:nth-of-type(2) {
		bottom:-12%;
	}
}
@media screen and (max-width: 850px) {
	section#valeurs ul:nth-of-type(2) {
		display:none;
	}
}
/**** contenus fondateur   ****/
/*****************************/
section#fondateur {
	padding-top:130px ;
	padding-bottom:100px;
	margin-top:100px;
	overflow:hidden;
	position: relative;
	display:block;
}
section#fondateur > img{
	mix-blend-mode: soft-light;
	position:absolute;
	top :50%;
	left:50%;
	transform: translate(-50%, -50%);
	padding: inherit;
	z-index:-10;
}
section#fondateur article{
	wwidth:63%;
	position:relative;
	z-index:0;
}
section#fondateur article > p, section#fondateur ul li{
	font-size:1.1rem;
	margin-bottom:5px;
}
section#fondateur ul li{
	padding-left:30px;
	margin-bottom:7px;
	background-image: url("images/fleche-noire.svg");
	background-position: 0 50%;
	background-repeat: no-repeat;
	list-style-type: none;
}
section#fondateur h2{
	margin: 0 0 40px 0;
	color:#f43649;
}
section#fondateur h2:after{
	color: #f43649;
	background: #f43649;
}
section#fondateur div{
	width:31%;
	min-width:270px;
	position:relative;
	text-align:right;
	float:right;
	margin:0 0 70px 10px;
}
section#fondateur div p img{
	width:76%;
	position:relative;
}
section#fondateur div > img{
	position:absolute;
}
section#fondateur div > img:nth-child(1){
	bottom: -20%;
	left: -2%;
	height:59%;
}
section#fondateur div > img:nth-child(2){
	top : -15%;
	right : -15%;
	height:46%
}

@media screen and (max-width: 1050px) {
	section#fondateur > img{
		display:none;
	}
}
@media screen and (max-width: 950px) {
	section#fondateur {
		padding-top:140px ;
		margin-top:0;
		padding-bottom:40px ;
	}
}
@media screen and (max-width: 680px) {
	section#fondateur div > img:nth-child(1), section#fondateur div > img:nth-child(2){
		display:none;
	}
	section#fondateur div p img{
		width:99%;
	}
	section#fondateur div{
		min-width:150px;
	}
}
/**** contact *********/
/**********************/
section#contact > div{
	color:white;
	padding-top:130px;
	padding-bottom:60px;
	overflow:hidden;
	position: relative;
}
section#contact article{
	width:50%;
	position:relative;
	min-width:300px;
	z-index:10
}
section#contact article:last-of-type{
	min-width:430px;
}
section#contact > div > img{
	mix-blend-mode: soft-light;
	position:absolute;
	top :50%;
	left:0;
	transform: translate(0, -50%);
	width:51.67%;
	z-index:0;
}
section#contact article h2{
	color:white;
}
section#contact article > p{
	margin:20px 0;
	font-size:1.7rem;
	font-weight:700;
	line-height:2.7rem;
}
section#contact article > p span{
	color:white;
	padding: 10px 0 10px 55px;
	background-image: url("images/picto-smartphone.svg");
	background-position: 0 30%;
	background-repeat: no-repeat;
}
/******** form ******/
section#contact form > div{
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: space-between;
}
section#contact input, section#contact textarea {
	color:white;
	padding:13px 20px;
	margin-bottom:15px;
	background-color:transparent;
	border:2px solid white;
	font-family: 'Rubik', sans-serif;
	font-size:1rem;
	font-style: italic;
}
::placeholder {
	color:#e0e0e0;
}

section#contact input, section#contact form > div > div{
	width:45%
}
section#contact textarea {
	width:100%;
	height:140px;
}
section#contact input[type="submit"] {
	border-radius: 10px;
	color:white;
	font-size:1.3rem;
	font-style: normal;
	cursor: pointer;
	width:120px;
}
/******** après envoi du formulaire uniquement dans le php ******/
section#contact > p{
	margin :50px auto;
	color:#d8101f;
}
@media screen and (max-width: 980px) {
	section#contact > div > img{
		display:none;
	}
}
/**** footer ***********/
/**********************/
footer {
	background: #292929 ;
	height:80px;
	text-align: center;
	position:relative;
	z-index:20;
}
footer ul li{
	margin-top:30px;
	display:inline-block;
	font-size:1.1rem;
}
footer ul li:first-child:after{
	content: "|";
	padding:0 10px;
	color: #dfdfdf;
}
footer a{
	color:#dfdfdf;
	cursor: pointer;
}
footer a:hover{
	color:#f0f0f0;
	text-decoration:underline;
}
footer + p{
	text-align: center;
	margin:10px 0;
	font-size:.9rem;
}
footer + p a{
	color:#d0d0d0;
}
/**** pop up mentions légales***/
/*******************************/
footer > div{
	display:none;
	position:absolute;
	border-radius: 10px;
	max-width: 500px;
	padding:30px;
	margin: 0 auto;
	bottom:80px;
	left:50%;
	transform: translate(-50%, 0);
	background:white;
	box-shadow: 0 0 15px #444;
	text-align:left;
}
footer > div > a {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
}
footer > div h2 {
	margin-bottom:15px;
}
footer > div p {
	margin-bottom:10px;
}
#winsize {
	position: fixed;
	left: 0;
	top: 100px;
	background: yellow;
	padding: 5px 10px;
}