@charset "UTF-8";
/* CSS Document */

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:"wdth" 100;
}



.cormorant-garamond-light {
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

* { box-sizing: border-box; }
html, body {
    margin: 0;
    height: 100%;
    overflow: hidden; /* PAS DE SCROLL */
    background: #efede5;
    font-family: "Roboto", sans-serif;
	color: #232222;
}

h1{
	font-family: "Cormorant Garamond", serif;
	font-optical-sizing:auto;
  	font-weight: 300;
	font-size: 20px;
  	font-style: normal;
	color:#746C6C;
	letter-spacing:3px;
}
a{
	font-family: "Cormorant Garamond", serif;
	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	color: #0f191e;
	font-size: 16px;
	text-decoration: none;
	letter-spacing:5px;
}
a:hover{
	font-family: "Cormorant Garamond", serif;
	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	color: #7a2323;
	text-decoration: none;
}
a:visited{
	font-family: "Cormorant Garamond", serif;
	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	color: #0f191e;
	text-decoration: none;
}
	
.global{
    max-width: 420px;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 0;
    position: relative;
}


/* Le wrapper ne sert QU'À centrer */
.hero-wrap{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 375px;
    height: 511px;
}

/* L’intérieur porte l’image + l’animation */
.hero-frame{
    width: 100%;
    height: 100%;
    background-image: url("../img/web-mobile/hero-mobile.png");
    background-size: contain;
    background-repeat: no-repeat;
	background-position: center bottom;
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
    transform: scale(1);
    transform-origin: center bottom;
}

.hero-frame.active{
  transform: scale(1.05);
  filter: blur(2px);
  opacity: 0.55;
}
.menu-frame{
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 400px;
    z-index: 10;
}

.titre{
	margin: 15px 0 0 10px;
	display: inherit;
	width: auto;
	align-content: center;
	font-family:"Cormorant Garamond", serif;
	font-optical-sizing: auto;
  	font-weight: 100;
  	font-style: normal;
	color: #707375;
	text-decoration: none;
	font-size: 26px;
	letter-spacing: 3px;
}
.baseline{
	margin: 5px 0 0 20px;
	width: auto;
	align-content: center;
	font-family:"Roboto", sans-serif;
	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	color: #0f191e;
	text-decoration: none;
	font-size: 12px;
	letter-spacing: 0.5px;
	animation: heartbeatBlur 5s ease-in-out infinite;
}
	
	/* ===== PIXEL MATRIX (DECLENCHEUR HOVER) ===== */
.pixel-matrix{
    position: absolute;
    top: 30px;
    right: 50px;
    width: 20px;
    height: 20px;
    background-color: #0f191e;
    cursor: pointer;
    z-index: 999;
}


/* ===== MENU PANEL ===== */
.menu{
    position: absolute;
    top: 55px;
    right: -20px;
    width: 180px;
    height: 323px;
    background: #E7E7E7;
    padding: 30px 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 999;
}

.menu.active{
    transform: translateY(0);
    opacity: 0.8;
    visibility: visible;
}

/* ===== MENU ITEMS ===== */
.menu a {
    display: block;
    color: #0f191e;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 16px;
}
.menu a:last-child {
    margin-bottom: 0;
}

/*==== about section ====*/
.about-wrap {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 110px;
    bottom: 30px;
    overflow-x: auto;
	overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
}
.page-about {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 110px;
    bottom: 30px;
    z-index: 1;
}

.page-about .about-wrap h1{
    margin: 0 0 20px 0;
}

.page-about .about-text{
    padding-right: 10px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #0f191e;
}

.page-about .about-text p{
    margin: 0 0 16px 0;
}

.page-contact {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 110px;
    bottom: 30px;
    z-index: 1;
}

.page-contact .about-wrap h1{
    margin: 0 0 20px 0;
}

.page-contact .contact-text{
    padding-right: 10px;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #0f191e;
}

.page-contact .contact-text p{
    margin: 0 0 16px 0;
}


@media( min-width : 421px ){
	
  .global{
    max-width: 1024px;
    max-height: 640px;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }


/* Le wrapper ne sert QU'À centrer */
.hero-wrap{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 469px;
}

/* L’intérieur porte l’image + l’animation */
 .hero-frame{
 	width: 100%;
	height: 100%;
	background-image: url("../img/web-large/hero-large.png");
    background-size: contain;
    background-repeat: no-repeat;
	background-position: center bottom;
	transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
	transform: scale(1);
	transform-origin: center bottom;
}

.hero-frame.active{
  transform: scale(1.05);
  filter: blur(2px);
  opacity: 0.55;
}

.titre{
	margin: 15px 0 0 10px;
	display: inherit;
	position:relative;
	width: auto;
	align-content: center;
	font-family:"Cormorant Garamond", serif;
	font-optical-sizing: auto;
  	font-weight: 100;
  	font-style: normal;
	color: #707375;
	text-decoration: none;
	font-size: 26px;
	letter-spacing: 3px;
}
.baseline{
	margin: 5px 0 0 20px;
	width: auto;
	align-content: center;
	font-family:"Roboto", sans-serif;
	font-optical-sizing: auto;
  	font-weight: 300;
  	font-style: normal;
	color: #0f191e;
	text-decoration: none;
	font-size: 12px;
	letter-spacing: 0.5px;
	animation: heartbeatBlur 5s ease-in-out infinite;
}
	
	/* ===== PIXEL MATRIX (DECLENCHEUR HOVER) ===== */
    .pixel-matrix{
        position: absolute;
        top: 30px;
        right: 50px;
        width: 20px;
        height: 20px;
        background-color: #0f191e;
        cursor: pointer;
        z-index: 999;
    }

	.menu-frame{
        position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 400px;
        z-index: 10;
    }

/* ===== MENU PANEL ===== */
    .menu{
        position: absolute;
        top: 55px;
        right: 0px;
        width: 180px;
        height: 323px;
        background: #e6e5dd;
        padding: 30px 25px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(100%);
        transition: transform 0.5s ease, opacity 0.5s ease;
        z-index: 999;
    }

/* IMPORTANT :
   Le menu s'ouvre si :
   - hover sur pixel-matrix
   - hover sur menu lui-même
*/
/* état ouvert */
.menu.active {
    transform: translateY(0);
    opacity: 0.8;
    visibility: visible;
}

/* ===== MENU ITEMS ===== */
.menu a {
    display: block;
    color: #0f191e;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 16px;
}
.menu a:last-child {
    margin-bottom: 0;
}
	
	.about-wrap {
		position: absolute;
 		bottom: 0;
 		left: 50%;
 		transform: translateX(-50%);
 		width: 620px;
 		height: 469px;
		overflow-y: auto;
	}
    .page-about .about-wrap{
        left: 70px;
        top: 120px;
        max-width: 720px;
        right: auto;
        bottom: 60px;
    }

    .page-about .about-text{
        font-size: 14px;
        line-height: 1.7;
        padding-right: 18px;
    }
	
	 .page-contact .about-wrap{
        left: 70px;
        top: 120px;
        max-width: 720px;
        right: auto;
        bottom: 60px;
    }

    .page-contact .contact-text{
        font-size: 14px;
        line-height: 1.7;
        padding-right: 18px;
    }


}





/* Animation battement */
@keyframes heartbeatBlur {

    0% {
        filter: blur(1px);
        opacity: 0.3;
    }

    25% {
        filter: blur(0px);
        opacity: 1;
    }

    40% {
        filter: blur(2px);
        opacity: 0.5;
    }

    55% {
        filter: blur(0px);
        opacity: 1;
    }

    100% {
        filter: blur(1px);
        opacity: 0.3;
    }
}
