/* --- FEUILLE DE STYLE --- */

/* ////////////////////////////////////////////////////////////////////////////

	VIVRE ET HIBITER EN NORMANDIE // CSS
	NetConception 2021
	
//////////////////////////////////////////////////////////////////////////// */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: inherit;
}

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  color: #333333;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */

  -moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	-webkit-box-sizing:border-box;
  box-sizing:border-box;
	font-size: 62.5%; /* Ré-équilibrage du Rem face au Pixel pour des calculs simples / 1.0rem = 10px */
  font-weight: 300;
  font-family: 'Heebo', sans-serif;
}

body {
  color: #333;
  background: #FFF;
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /* Attention les fonctions JS scroll ne marcheront pas avec overflow-x: hidden; */
  /*overflow-x: hidden;*/
  line-height: 1.5;
  font-size: 2.0rem;
  font-size: clamp(1.4rem, 1.1vw, 2.0rem);
}

p {
  margin: 10px 0;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #E08C18;
  color: #FFF;
  text-shadow: none;
}

::selection {
  background: #E08C18;
  color: #FFF;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

a {
	text-decoration:none;
	transition: all 0.2s ease;
}

/* ==========================================================================
   Normalize
   ========================================================================== */

img {
	max-width: 100%;
}

main {
  display: block;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  outline: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

.alignleft {
	float: left;
	margin: 0 40px 20px 0;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright {
	float: right;
	margin: 0 0 20px 40px;
}

.container {
	max-width: 1200px;
	margin: auto;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h2 {
  text-align: center;
  color: #36628B;
  font-weight: 700;
  font-size: 4.0rem;
  font-size: clamp(2.0rem, 2.2vw, 4.0rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 40px 0;
  padding: clamp(2.0rem, 2.2vw, 4.0rem) 0;
  margin: 0;
}

#btn-goToTop {
  cursor: pointer;
  position: fixed;
  z-index: 100;
  right: 10px;
  bottom: 10px;
  display: block;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 100px;
  background-color: #FFF;
  background-image: url('/images/assets/marqueur.svg');
  background-position: center;
  background-size: 45%;
  background-repeat: no-repeat;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

#btn-goToTop.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.btn-menu-resp {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border: none;
  background-color: transparent;
  background-image: url('/images/assets/icon-menu.svg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/*-------------- HEADER */

header.layout {
  margin-bottom: 20px;
  margin-bottom: clamp(1.0rem, 1.1vw, 2.0rem);
}

header.layout .logobar {
  position: absolute;
  z-index: 100;
  left: 0;
  bottom: 0;
  width: 300px;
  height: 200px;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 10px;
  background-image: url('/images/assets/corner-300x200.svg');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
}

header.layout .logobar a {
  padding: 0 0 10px 0;
  border-radius: 4px;
  max-width: 100px;
}

header.layout .logobar a:first-child {
  padding-bottom: 60px;
}

header.layout .topbar {
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 40px;
  padding: clamp(20px, 2.2vw, 40px);
  background-color: transparent;
  transition: all 0.2s ease;
}

header.layout .topbar > * {
  position: relative;
  z-index: 10;
}

header.layout .topbar.nav-down,
header.layout .topbar.nav-up {
  background-color: rgba(54, 98, 139, 0.8);
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
}
/*
header.layout .topbar.nav-up {
  transform: translateY(-100%);
  box-shadow: none;
*/

header.layout .topbar.nav-down::after,
header.layout .topbar.nav-up::after {
  opacity: 1;
  visibility: visible;
}

header.layout .branding {
  position: relative;
  z-index: 1000;
  width: 380px;
  margin-right: 20px;
}
header.layout .topbar.nav-down .branding,
header.layout .topbar.nav-up .branding {
  width: 190px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav__list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

/* Correction line-height */
.main-nav__item {
  margin-top: 5px;
}

.main-nav__item + .main-nav__item {
  margin-left: 25px;
}

.main-nav__link {
  display: block;
  color: #FFF;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.8rem;
  font-size: clamp(1.4rem, 1.1vw, 1.8rem);
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.15);
}

.main-nav__link:hover {
  opacity: 0.6;
}

.list-menu-icon {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 0 0 25px;
}

.list-menu-icon li + li {
  margin-left: 10px;
}

.list-menu-icon li {
  flex: none;
}

.list-menu-icon li a {
  display: block;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.15));
}

.list-menu-icon li a:hover {
  opacity: 0.6;
}

.header-bandeau {
  height: 100vh;
  background-color:#333;
}

.header-bandeau::before {
  content:'';
  pointer-events: none;
  position: absolute;
  z-index: 100;
  left: 0;
  top: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 50%;
  max-height: 450px;
  background: rgb(54,98,139);
  background: -moz-linear-gradient(180deg, rgba(54,98,139,1) 0%, rgba(54,98,139,0) 100%);
  background: -webkit-linear-gradient(180deg, rgba(54,98,139,1) 0%, rgba(54,98,139,0) 100%);
  background: linear-gradient(180deg, rgba(54,98,139,1) 0%, rgba(54,98,139,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#36628b",endColorstr="#36628b",GradientType=1);
}

.header-bandeau .block {
  position: absolute;
  z-index: 100;
  right: 0;
  bottom: 80px;
  bottom: clamp(100px, 8.0vw, 140px);
  background-color: rgba(224, 140, 24, 0.8);
  padding: 30px;
  padding: clamp(20px, 1.6vw, 30px);
  margin: 0 40px;
  margin: 0 clamp(20px, 2.2vw, 40px);
  max-width: 550px;
}

.header-bandeau .block * {
  color: #FFF;
}

.header-bandeau .block h1 {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 2.4rem;
  font-size: clamp(1.6rem, 1.6vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 15px 0;
  padding: 0;
}

.header-bandeau .block p {
  font-weight: 300;
  font-size: 1.8rem;
  font-size: clamp(1.4rem, 1.3vw, 1.8rem);
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.go-down {
  position: absolute;
  z-index: 110;
  bottom: 40px;
  bottom: clamp(20px, 2.2vw, 40px);
  /*
  right: 0;
  left: 0;
  */
  right: calc(50% - 36px);
  margin: auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.go-down:hover {
  opacity: 0.8;
}

@supports (backdrop-filter: blur(40px)) {
  /* IF backdrop-filter IS SUPPORTED */
  .header-bandeau .block {
    backdrop-filter: blur(40px);
  }
}

.bandeau-item {
  display: block;
  width: 100%;
  height: 100%;
}

.bandeau-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bandeau-item picture img {
  display: block;
  width: 100%;
}

@supports (object-fit: cover) {
  /* IF object-fit IS SUPPORTED */
  .bandeau-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

.header-bandeau .lSSlideOuter {
  height: 100%;
}
.header-bandeau .lSSlideWrapper {
  height: 100%;
}
.header-bandeau .lightSlider {
  height: 100%!important;
  padding-bottom: 0!important;
}

.section-ancre.style-bandeau {
  position: relative;
  max-width: 100%;
  color: #FFF;
  font-weight: 400;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.33);
  background-color: #36628B;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-ancre.style-bandeau h2 {
  position: relative;
  z-index: 10;
  color: #FFF;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.33);
  background-color: rgba(54, 98, 139, 0.3);
}

@supports (backdrop-filter: blur(40px)) {
  /* IF backdrop-filter IS SUPPORTED */
  .section-ancre.style-bandeau h2 {
    background-color: transparent;
    backdrop-filter: blur(40px);
  }
}

.section-ancre.style-bandeau div[id^="ancre"]::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(54, 98, 140, 0.5);
}
.section-ancre.style-bandeau div[id^="ancre"]::after {
  content: '';
  display: block;
  width: 100%;
  height: 40px;
  height: clamp(2.0rem, 2.2vw, 4.0rem);
  background-color: rgba(54, 98, 139, 0.3);
}

@supports (backdrop-filter: blur(40px)) {
  /* IF backdrop-filter IS SUPPORTED */
  .section-ancre.style-bandeau div[id^="ancre"]::after {
    background-color: transparent;
    backdrop-filter: blur(40px);
  }
}

.container {
  max-width: 1240px;
  padding: 0 20px;
  margin: auto;
}

.content-section {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  padding: 0 20px;
  margin: 0 auto 0 auto;
  margin: 0 auto clamp(2.0rem, 2.2vw, 4.0rem) auto;
}

.content-section table,
.content-section tbody {
  display: block;
}
.content-section tr {
  display: flex;
}
.content-section tr > * {
  flex: 1;
}
.content-section tr > * + * {
  margin-left: 20px;
  margin-left: clamp(2.0rem, 2.2vw, 4.0rem);
}

.content-section ul {
  list-style: none;
}

.content-section ul li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.74 6c.267-.803.593-1.492.98-2.068H0V2.068h10.72C10.347 1.492 10.027.803 9.76 0h1.52c.827 1.106 1.733 1.947 2.72 2.523V3.5c-.987.545-1.893 1.379-2.72 2.5H9.74z' fill='%23E08C18'/%3E%3C/svg%3E");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 8px 3px 0;
}

.content-section ul > *,
.content-section ol > * {
  margin: 20px 0;
  margin: clamp(1.0rem, 1.1vw, 2.0rem) 0;
}



.go-linkedin {
  position: relative;
  text-align: center;
  color: #FFF;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 4.0rem;
  font-size: clamp(2.0rem, 2.2vw, 4.0rem);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  
}

.go-linkedin::after {
  content: '';
  position: absolute;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(54, 98, 140, 0.5);
}

.go-linkedin p::before,
.go-linkedin p::after {
  content: '';
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: clamp(2.0rem, 2.2vw, 4.0rem);
  background-color: rgba(54, 98, 140, 0.3);
}

@supports (backdrop-filter: blur(40px)) {
  /* IF backdrop-filter IS SUPPORTED */
  .go-linkedin p::before,
  .go-linkedin p::after {
    background-color: transparent;
    backdrop-filter: blur(40px);
  }
}

.go-linkedin p::before {
  top: 0;
}

.go-linkedin p::after {
  bottom: 0;
}

.go-linkedin p {
  position: relative;
  z-index: 10;
  padding: 8% 20px;
  padding: clamp(40px, 8%, 150px) 20px;
  margin: 0;
}

.go-linkedin a {
  display: block;
}

.go-linkedin a:hover {
  opacity: 0.6;
}

.go-linkedin img {
  display: block;
  margin: 10px auto 0 auto;
}

.logobar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logobar a {
  display: block;
  padding: 40px;
  padding: clamp(2.0rem, 2.2vw, 4.0rem);
}

.logobar a:hover {
  opacity: 0.8;
  filter: grayscale(50);
}

.bottombar {
  color: #FFF;
  font-weight: 300;
  font-size: 1.6rem;
  background-color: #36628B;
  padding: 20px 0;
  padding: clamp(2.0rem, 2.2vw, 4.0rem) 0;
}

.bottombar a {
  color: #FFF;
}

.bottombar a:hover {
  opacity: 0.6;
}

.bottombar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottombar .left-part {
  display: flex;
  align-items: center;
}

.bottombar .list-menu-icon {
  margin: 0 20px 0 0;
}

#popin {
  width:100%;
  height:100%;
  position:fixed;
  top:0;
  left:0;  
  background-color:rgba(255,255,255,0.9);
  display:none;
  z-index:9999;
  
}
#popin_content {
  width:800px;
  max-width:90%;
  height:auto;
  max-height:90%;
  margin:5% auto;
  z-index:9999;
  overflow-y:auto;
}

#popin_close {
  position:absolute;
  top:2%;
  left:92%;
  font-size:30px;
  cursor:pointer;
}
