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

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,body,p,ol,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}
button,input,select{margin:0}
html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}
img,video{height:auto;max-width:100%}
iframe{border:0}
table{border-collapse:collapse;border-spacing:0}
td,th{padding:0}
a{text-decoration: none; color: #000;}


/*** FONT ***/
html {
 font-size: 100%;
 font-size: calc(1.2em * .7);
}
body {
font-family:fantasy;
font-size: 1em;
background-color: #000;
}
em {font-style: italic;}
strong {font-weight:700}
p{line-height: 1.4em;}
h1{font-size: 1.5em;margin-top: 0.5em; padding: 1em 0em; text-align: center;color: #87290c;}@media(min-width: 700px){h1 {display: none;}}
h2{font-size: 1.8em;font-weight: 200;line-height: 2em;margin-top: 1em; padding: 0em; margin-bottom: 1em;}
h3{font-family: serif; font-size: 1em; margin-top: 0.5em; color: #87290c;}
p{font-family:serif;font-size:0.9em; margin-top: 0.2em; line-height: 1.4em;}
ul{list-style-image: url("../img/bulle.svg");}
li{margin: 0.5em ; padding-left: 0.2em;}
.lien__mail{color: #000000; background-color: #6500000a; padding: 3px 10px; line-height: 30px; border-radius: 3em;}
.lien__mail:hover{background-color: #ffffff; color: #000;}
@media (max-width: 700px) {body {font-size: 1.2em;}}
@media (min-width: 900px) {body {font-size: 1.3em;}}
@media (min-width: 1000px) {body {font-size: 1.4em; }}
@media (min-width: 1100px) {body {font-size: 1.6em; }}

/*** IMG ***/
.fill {object-fit: fill;}
.blend{mix-blend-mode: darken;}
.clear{clear:both;}
.center{margin: 0 auto; text-align: center;}

/************************************************ HEADER*/
.header{ position: relative; color: #FFF;}

/******************* logo*/
.header__logo{
	display: block;	width:100%;}
@media(max-width:700px) {	.header__logo{display: none;}}

.logo__img{display: block; height: 10em; margin: 1em 0em;
  background-image: url(../img/julien-mathon-header-200.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;}
.logo__text{display:block;position: absolute; top:-600px;}

/******************* header mobile*/
.header__menu__mobile{
	display: flex;
	justify-content: right;
  position: sticky;
  background-color: #000;
  height:85px;
  top: 0;
  z-index: 1000;

}
.header__titre__mobile{
  display: flex; position: relative; width: 65%; margin: 0 auto; padding: 1em 0; z-index: 2; max-width:300px; 
  background-image: url(../img/julien-mathon-header-mobile.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;}
@media(min-width:700px) {
  .header__menu__mobile {display: none;}
    .header__titre__mobile{display: none;}
  }

/******** burger */
.header__burger{display: flex; position: absolute; z-index: 1;}
label[for="nav-trigger"] {
 /* position */
 position:relative;
 top:30px;
 /* apparence */
   z-index: 600;
   height: 40px; width: 40px;
   background-color: transparent;
   padding: 0px 0px; /*decale le burger*/
   margin:0px 0px;
   outline: 0;
   cursor: pointer;
   -webkit-tap-highlight-color:rgba(255, 255, 255, 0);
   background-repeat: no-repeat;
   background-image: url(../img/burger-center.svg);
}
label[for="nav-trigger"]::after, label[for="nav-trigger"]::before {
   content: "";
   position: absolute;
   top: 3px;
   width: 30px;
   height: 3px;
   background-color: #ffffff;
}
label[for="nav-trigger"]::before {
   top: 25px;
}
.nav-trigger:checked + label::before {
   -webkit-transform: rotate(45deg) translateZ(0);
   -ms-transform: rotate(45deg) translateZ(0);
   transform: rotate(45deg) translateZ(0);
   top: 15px;
}
.nav-trigger:checked + label::after {
   -webkit-transform: rotate(-45deg) translateZ(0);
   -ms-transform: rotate(-45deg) translateZ(0);
   transform: rotate(-45deg) translateZ(0);
   top: 15px;
}
.nav-trigger:checked + label {
   background:none;
}
.nav-trigger {
    position: absolute;
    clip: rect(0px, 0px, 0px, 0px);
}
.nav-trigger:checked + label {
 right:0px;
}
.nav-trigger:checked ~ .header__menu__nav-mobile {
display: block;
}
@media(min-width:700px) {
	label[for="nav-trigger"] {display:none;}
}

/*************************** Nav mobile */
.header__menu__nav-mobile {
	position: absolute;
	top: 0px;
	right: 0;
	padding-top:70px;
	display:none;
	width: 100vw;
	height: 100vh;
  background-color: #000;
}

.header__menu__link-mobile{
  font-family: cursive;
  font-weight: 200;
	display: block;
	width: 100%;
	text-align: center;
	padding:0.5em 0em;
	font-size:2em;  
	color:#FFF;
	border-bottom: 1px solid #ffffff;
}
.header__menu__link-mobile-active{
	color: #87290c;;
	font-weight:700;
}

  /*************************** Nav ecran */
 .section__menu{ width:100%; position: sticky; top: 0; z-index: 600; background-color:none; }
 .section__menu.sticky{background-color:#000;}
.section__menu.sticky .header__menu__link{color: #FFF; }
.section__menu.sticky .header__menu__link:hover{color: #87290c; }
 .header__menu__nav{
	display: flex;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto 0 auto;
	justify-content:center;
 }
 .header__menu__link{
  color: #000;
	align-items: center;
	padding: 1em 0.2em;
  margin: 0em 1em;
	font-size: 1em;
  line-height: 2em;
 }
 .header__menu__link:hover{
  background-color:#3131310d;
  color: #87290c;
 }
 .header__menu__link-active{
  align-items: center;
		padding: 1em 0.2em;
  margin: 0em 1em;
	font-size: 1em;
	font-weight: 700;
  color: #87290c;
  line-height: 2em;
}
@media(max-width:700px) {.header__menu__nav{display:none;}}

 /*************************** SLIDER */

#slider {
    position: relative;
    width: 100%;
    margin: 4em auto;
    display: flex;
    align-items: center;
    mix-blend-mode: darken;
}

#slide_dessous,
#slide_dessus {
    position: relative;
}

#slide_dessus {
    z-index: 1;
}

#slide_dessous {
    left: -100%;
}

#precedent,
#suivant {
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0;
    position: absolute;
    z-index: 2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
    color: rgba(220, 220, 220, 0.8);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
}

#precedent {
    left: 0;
}

#suivant {
    right: 0;
}

#slider:hover #precedent,
#slider:hover #suivant {
    opacity: 1;
}
@media(max-width:700px){#slider {margin: 0em auto;}}

 /*************************** PAGE */
 .right{ float: right; }
 .left{float: left;}

 .page{background-image: url(../img/julien-mathon-bkg.jpg); padding-bottom: 5em;}
 .section{display:block; width: 100%; max-width: 1200px; margin: 0 auto; padding: 2em 1em;}
 .section__sombre{display: block; width: 100%; background-color: rgba(0, 0, 0, 0.4); padding: 2em 0; text-align: center;}
 .section__gallery{display:block; width: 100%; margin: 0 auto; padding: 2em 0em;}

 .bloc__accueil{display: flex;flex-direction:row-reverse; align-items: bottom; justify-content: space-around; padding: 4em 0 0em 0;}
 .bloc__accueil-suite{align-items: top; padding: 0em;}
 .bloc__accueil-2{flex-direction:row;}
 .bloc__centre{display: flex; justify-content: center; align-items: center; padding-top: 4em;}

 .bloc__accueil-image{display: block; width: 40%; margin: 0em 0;}
 .bloc__accueil-image-legende{font-family: serif; font-style: italic; font-size: 0.65em; padding: 0.2em 2em; text-align: center;}
 .bloc__accueil-text{display: block; width: 50%; }
 .bloc__accueil-text p{padding: 0em 2em 1em 2em;}
 .bloc__accueil-text img{max-width: 20%; margin: 0 1em;}

.bloc__accueil-text-gd{width: 70%; }
.bloc__accueil-image-verti{width: 20%; }

.bloc__picto{
  position: relative;
  width: 100%;
  height: 5em;
  text-align: center;
}
.bloc__picto img{
  height: 100%;
  vertical-align: middle;
}
.bloc__vins{
  display: flex;
  padding: 1em 0 0 0;
  justify-content: space-around;
  text-align: center;
}
.bloc__vins-items{
  position: relative;
  padding: 2em;
}
.bloc__vins-items-image{
  position: relative;
  height: 20em;
  overflow: hidden;
}
.bloc__vins h2{
  display: block;
  height: 3em;
  mix-blend-mode: darken;
  text-indent: -4000px;
  background-size: contain;
}
.titre-toutencanon{
  background: url(../img/titre-toutencanon.jpg) no-repeat center;
}
.titre-solstice{
  background: url(../img/titre-solstice.jpg) no-repeat center;
}
.titre-manganese{
  background: url(../img/titre-manganese.jpg) no-repeat center;
}

.bouteille{
 height: 20em;
 position: absolute;
 bottom:0%; left: 50%;
 transform: translate(-50%, 0%);
 transition: all ease-in-out 1s;
}
.bloc__vins p{font-size: 0.9em; line-height: 1.3; max-width: 300px; margin: 0.5em auto; text-align: left;}
.bloc__vins-items-image:hover .bouteille{height: 50em; bottom: 0%; transform: translate(-50%, 0%);}

.yt-video iframe{aspect-ratio: 16/9; width: 50%;}
.yt-video-gallery iframe{aspect-ratio: 16/9; height: 100%;}
@media(max-width:720px) {.yt-video-gallery iframe{aspect-ratio: 16/9; max-width: 100%; }}

.gallery{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1vmin;
  padding: 0 ;
  max-width: 1400px;
  margin: 0 auto;
  }
  .gallery li{
    list-style-type: none;
    height:400px;
    flex-grow: 0;
  
  }

  .gallery img{
    height:100%;
    object-fit: contain;
  }

 @media(max-width:700px) {
    .bloc__accueil{flex-direction: column; align-content: space-around;padding: 0;}
    .bloc__accueil-image{width: 95%; margin: 2em auto ;}
    .bloc__accueil-text{width: 100%; padding: 1em 0.2em; }
    .bloc__accueil-image-verti{width: 100%; text-align: center; }
     .bloc__accueil-text img{max-width: 25%;}
     .bloc__vins{display: block;}
     .bouteille{height: 50em;}
     .bloc__vins h2{height: 5em;}
     .yt-video iframe{aspect-ratio: 16/9; width: 90%;}

  }
 
/************************************************ FOOTER*/

.footer{
	display: block;
	padding: 1em 0em 0em 0em;
	background-color: #000;
  margin: 0px;
  text-align: center;
  font-family:serif;
}
.footer__container{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	row-gap: 0.5em;
	padding: 1em;
	text-align: center;
	margin: 0 auto;
}
.logo__AB{ width:50px; margin-bottom: 1.5em;}
.mentions{font-size: 0.8em; color: #FFF; line-height: 1.8em;}
.mentions a{color: #FFF;}
.mentions__lien{text-transform:uppercase; font-weight: 700; letter-spacing: 1px; text-decoration:underline;}
.mentions__lien:hover{color: #ffdb00;}

.blk__ecoindex{display:inline-block; width:100%;color: #fff; font-size: 11px; height: 25px; line-height: 25px;}

@media(min-width:700px){
  .footer__vente{padding: 3em 0 0 0;}
  .footer p{font-size: 1em; line-height: 1.4em;}
	.footer__container__flex{display:flex; flex-direction: row; justify-content:center; align-items:stretch; column-gap: 0; max-width: 1200px; padding: 0; margin: 0 auto; }
  .footer__bloc__texte{	display: block; width: 30% ; padding: 1em;border-left: #ffffff7e 1px dotted;  }
  .footer__titre{font-size: 1em; font-weight: 100; letter-spacing: 2px; color: #ffdb00;}
  .footer__container2{	padding: 2em 1em 1em 1em;
  }
  .logo__AB{ width:80px;}
}




/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

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

 html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
	 ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
	margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
	display: block;
  }
  
  
  /* Grouping content
	 ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
	 ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
	background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
	font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
	font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
  }
  
  sub {
	bottom: -0.25em;
  }
  
  sup {
	top: -0.5em;
  }
  
  /* Embedded content
	 ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
	border-style: none;
  }
  
  /* Forms
	 ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
	overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
	text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
	-webkit-appearance: button;
	appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
	padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
	vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
	overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
	height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
	appearance: textfield;
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
  }
  
  /* Interactive
	 ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
	display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
	display: list-item;
  }
  
  /* Misc
	 ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
	display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
	display: none;
  }