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

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
}
body {
    font-family :'Avenir', Arial, "sans-serif";
    font-size: 28px;
    line-height: 1.25em;
    color: #fff;
    background-color: #000;
}
sup {
  font-size: 0.5em;
  line-height: 0.7em;
}
.wrapper {
    width: 100%;
    overflow-x: hidden;
}
.section {
    width: 100%;
    padding: 2em 0;
}
.section.yellow {
    background-color: #FFED00;
}
.row {
    width: 96%;
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    z-index: 1;
    position: relative;
}
.rowVcenter {
    align-items: center;
    justify-content: center;
}
.col {
    box-sizing: border-box;
}
.col50 {
    width: 50%;
}
.col100 {
    width: 100%;
}
.colwrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}
  /*--------------------------------------*/
 /*              HEADER                  */
/*--------------------------------------*/

#header {
    padding-top: 0;
}
.block_logos {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #000;
    width: 100%;
    padding: 0 0 1em;
}
.block_logos::before, .block_logos::after  {
    position: absolute;
    content: "";
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000;
}
.block_logos::before {
    left: -100%;
}
.block_logos::after  {
    right: -100%;
}
.block_logos .mention {
    height: 100%;
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    justify-content: center;
    align-items: center;
}
.block_logos img {
    margin-right: 1em;
    margin-bottom: -90px;
}
.logotdf {
    margin: 1em 1em -2em 0;
}
.colbiker {
    text-align: center;
    margin: -5.5em 0;
}
.coltitle {
    padding-left: 4.33em;
    padding-top: 2em;
}
.row::before, .row::after {
    position: absolute;
    content: "";
    display: block;
}
.rowVcenter::before {
    top: 2.5em;
    left: -1em;
    width: 120px;
    height: 120px;
    background: url("../img/pistaches/pista1b.png") center center no-repeat;
    background-size: contain;
}
.rowVcenter::after {
    top: -1em;
    right: -1em;
    width: 320px;
    height: 320px;
    background: url("../img/pistaches/pista1.png") center center no-repeat;
    background-size: contain;
}
h1 {
    display: inline-block;
    font-size: 4.5em;
    line-height: 0.8em;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin:  0.15em 0;
}
h1 .ligne2 {
    font-size: 0.7em;
    line-height: .8em;
}
a.cta {
    display: inline-block;
    font-size: 1.07em;
    font-weight: 800;
    font-style: italic;
    line-height: 1.15em;
    padding: 0.35em 1.25em;
    border-radius: 1.5em;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    margin: 1em 0 0;
    width: 300px;
    box-sizing: border-box;
}
.img100pcvainqueur {
    width: 100%;
    max-width: 500px;
}

  /*--------------------------------------*/
 /*               GAIN                   */
/*--------------------------------------*/

#gain .row {
    align-items: flex-end;
}
#gain .row::before {
    top: 25%;
    right: -1em;
    width: 140px;
    height: 140px;
    background: url("../img/pistaches/pista2.png") center center no-repeat;
    background-size: contain;
}
.colvelo {
    padding: 0 4.33em;
}
.colgain {
    padding-right: 6.25em;
}
.gainL1 {
    font-size: 1.14em;
    line-height: 1.1em;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
}
.gainL0 {
    font-size: 1.5em;
    font-weight: 900;
}
.gainL2 {
    font-weight: 500;
    font-style: italic;
}
p.legal, p.legal a {
    font-size: 0.55em;
    line-height: 1.1em;
    font-weight: 500;
    color: #6F6F6E;
}
p.legal a {
    font-size: 1em;
}

  /*--------------------------------------*/
 /*              How to                  */
/*--------------------------------------*/

#howto {
    padding: 0;
}

#howto .col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section.green {
    background: #8DB421;
}

.col.green {
    position: relative;
    background: #8DB421;
    padding-right: 3.5em;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}
.col.green::before {
    position: absolute;
    content: "";
    top: 2em;
    right: 2em;
    width: 120px;
    height: 120px;
    background: url("../img/pistaches/pista1b.png") center center no-repeat;
    background-size: contain;
}
.col.green::after {
    position: absolute;
    content: "";
    bottom: 2em;
    right: 25%;
    width: 80px;
    height: 80px;
    background: url("../img/pistaches/pista3.png") center center no-repeat;
    background-size: contain;
}
h2 {
    font-size: 2em;
    line-height: 1.1em;
    text-transform: uppercase;
    font-weight: 900;
    font-style: italic;
    margin: 0.9em 0;
}
#howto ul {
    margin: 0;
    padding: 0
}
#howto li {
    position: relative;
    margin: 0 0 1.2em 0;
    padding: 0 0 0 1.75em;
    list-style: none;
}
#howto li::before {
    position: absolute;
    content: "";
    width: 1.5em;
    height: 1.5em;
    display: block;
    top: 0;
    left: 0;
    background: url("../img/picto-list.svg") left no-repeat;
    background-size: cover;
}
#howto a.cta {
    background-color: #161415;
}
.colimg {
    display: flex;
    max-height: 700px;
}

  /*--------------------------------------*/
 /*           Parteciper               */
/*--------------------------------------*/

#partecipare .row {
    flex-direction: column;
    align-items: flex-start;
    counter-reset: question;
}
#partecipare h2 {
    color:#8DB421;
    margin: 0.5em 0 0.25em;
    width: 100%;
    text-align: center;
}
.rowVcenter::before {
    top: 2.5em;
    left: -1em;
    width: 120px;
    height: 120px;
    background: url("../img/pistaches/pista1b.png") center center no-repeat;
    background-size: contain;
}
#partecipare .row::before {
    top: 2em;
    right: -1em;
    width: 120px;
    height: 120px;
    background: url("../img/pistaches/pista1b.png") center center no-repeat;
    background-size: contain;
}

h3 {
    font-size: 1.25em;
    line-height: 1.15em;
    margin: 0.25em 0;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
}
h4 {
    font-size: 1em;
    line-height: 1.15em;
    margin: 0.25em 0;
    text-transform: uppercase;
    font-weight: 600;
    font-style: italic;
}
#choixgamme {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
#partecipare ul li {
    list-style: none;
    padding-left: 1em;
    padding-bottom: 0.25em;
}
#partecipare label {
    color: #FFF;
    font-size: 1.25em;
    line-height: 1.15em;
    font-weight: 700;
    font-style: italic;
    
}
/* Style du SVG coche */
.coche {
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 30px;
    height: 30px;
    border: 2px solid #ffffff;
    border-radius: 5px;
    background-color: #000000;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 1em;
}
input[type="radio"].coche:checked::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 5px;
    width: 25px;
    height: 12px; 
    border-style: solid;
    border-width: 4px 4px 0 0; 
    border-color: #00ff00; 
    transform: rotate(135deg);
}
h3.question {
    text-align: left;
    padding-left: 2em;
    position: relative;
}
h3.question::before {
    position: absolute;
    left: 0;
    top: -0.25em;
    counter-increment: question; /* On incrémente le compteur section */
    content: counter(question)" "; /* On affiche le compteur */
    display: inline-block;
    line-height: 1.5em;
    width: 1.5em;
    text-align: center;
    color: #000000;
    background-color: #FFF;
    border-radius: 50%;
}

  /*--------------------------------------*/
 /*               FROM                   */
/*--------------------------------------*/
#form h3 {
    font-size: 1em;
    text-transform: none;
    color: #000;
}
#form {
    position: relative;
    padding-bottom: 250px;
    background: url("../img/curve.jpg") center bottom no-repeat #FEED01;
    background-size: 100% auto;
}
#form .row::after {
    bottom: -5em;
    right: 30%;
    width: 280px;
    height: 280px;
    background: url("../img/pistaches/pista5.png") center center no-repeat;
    background-size: contain;
}
.colwrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    margin: 1em 0;
}
.colwrapper .col {
    padding-right: 1em;
}
.colwrapper .col:last-of-type {
    padding-right: 0;
    padding-left: 1em;
}
.formline {
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5em;
}
.formfield {
    width: 100%;
    padding-right: 1em;
    box-sizing: border-box;
}
input[type="text"], input[type="email"] {
    border: 0;
    width: 100%;
    padding: 0.75em 1.25em;
    box-sizing: border-box;
    font-family: 'Avenir';
    font-weight: 400;
    color: #070606;
    font-size: 0.65em;
    line-height: 1.15em;
    border-radius: 10px;
}
input.error {
    border:solid 4px red;
    margin-top: -4px;
}
label {
    font-size: 0.65em;
    line-height: 1.25em;
    font-weight: 800;
    color: #161415;
}
label.error {
    font-style: italic !important;
    padding: 0.25em 0.5em 0.25em 2em;
    position: relative;
    line-height: 1.25em !important;
    background: red;
    font-size: 0.65em !important;
    font-weight: 800 !important;
    color: #fff;
    border-radius: 10px;
    margin: 0.25em 0;
    display: inline-block;
    white-space: normal;
}
label.error::before {
    position: absolute;
    content: "";
    height: 1.25em;
    width: 1.05em;
    display: block;
    top: 0.25em;
    left: 0.5em;
    background: url("../img/warning.svg") center center no-repeat;
    background-size: contain;
}
input[type="checkbox"] + label {
    font-weight: 400;
}
input[type="submit"] {
    font-size: 1.07em;
    font-weight: 800;
    font-style: italic;
    line-height: 1.15em;
    padding: 0.35em 1.25em;
    border-radius: 1.5em;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    margin: 1em 0 0;
    border: 0;
    cursor: pointer;
}

@media only screen and (max-width: 2184px) { 
    #form {
        background: none;
        background-color: #FEED01;
    }
    #form::after {
        position: absolute;
        z-index: 0;
        content: "";
        width: 2184px;
        height: 570px;
        bottom: 0;
        left: 50%;
        margin-left: -1092px;
        background: url("../img/curve.jpg") center bottom no-repeat;
        background-size: contain;    
    }
}
#thanks {
    text-align: center;
    background: url("../img/backthanks.jpg") center center no-repeat #FFED00;
    background-size: cover;
}
#thanks .row {
    justify-content: center;
    padding: 0 6em;
    box-sizing: border-box;    
}
#thanks .row::before {
    top: 0em;
    right: -2em;
    width: 270px;
    height: 270px;
    background: url("../img/pistaches/pista5.png") center center no-repeat;
    background-size: contain;
}
#thanks .row::after {
    bottom: 0em;
    left: -2em;
    width: 120px;
    height:120px;
    background: url("../img/pistaches/pista2.png") center center no-repeat;
    background-size: contain;
}
#thanks h1 {
    font-size: 2.7em;
    text-align: center;
    font-weight: 900;
    font-style: italic;
    color: #000;
    line-height: 1em;
}
#recettes{
    background-color: #161415;
}
#recettes .row {
    justify-content: center;
}
#recettes .row::after {
    bottom: -8em;
    right: 30%;
    width: 200px;
    height: 200px;
    background: url("../img/pistaches/pista1.png") center center no-repeat;
    background-size: contain;
}
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 auto;
    width: calc(100% / 4); /* Affiche 4 images sur desktop */
    padding: 0.5em;
}
.carousel-item a {
    width: 100%;
    height: 100%;
    display: block;
}
.carousel-item a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.carousel-prev {
  left: 10px;
}
.carousel-next {
  right: 0px;
}
#gamme {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin: 1.5em auto;
}
.prodcut {
    padding: 0.5em;
    flex: 1 1 100px;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    cursor: pointer;
}
.prodcut:hover {
    -moz-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    -o-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}
.prodcut img {
    width: 100%;
}
#promo {
    text-align: center;
}
#promo h2 {
    margin: 0.65em auto;
}
#promo a {
    color: #8DB421;
    display: inline-block;
    margin: 0 auto;
    font-weight: 900;
    text-decoration: none;
    font-size: 1.36em;
    line-height: 1em;
}
#recettes {
    position: relative;
    padding-bottom: 250px;
    background: url("../img/curveblk.jpg") center bottom no-repeat #161415;
    background-size: 100% auto;
}

@media only screen and (max-width: 2184px) { 
    #recettes {
        background: none;
        background-color: #161415;
    }
    #recettes::after {
        position: absolute;
        z-index: 0;
        content: "";
        width: 2184px;
        height: 570px;
        bottom: 0;
        left: 50%;
        margin-left: -1092px;
        background: url("../img/curveblk.jpg") center bottom no-repeat #161415;
        background-size: contain;    
    }
}

  /*--------------------------------------*/
 /*               Footer                 */
/*--------------------------------------*/

#footer .row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: row;
}
.mentionslegales {
    width: 70%;
    font-size: 0.5em;
    line-height: 1.25em;
    font-weight: 500;
    box-sizing: border-box;
    margin: 0;
}
.mentionslegales a {
    color: #fff;
}
.footerlogo {
    width: 30%;
    padding-left: 3%;
    box-sizing: border-box;
    margin: 0;
}

@media only screen and (max-width: 1700px) { /*1400*/
    body {
        font-size: 22px;
    }
    .colbiker {
        margin-top: -4.5em;
    }
    img.biker {
        max-width: 520px;
    }
    #form .row::after {
      bottom: -9em;
    }
    a.cta {
        width: 380px;
        box-sizing: border-box;
    }
    #thanks .row::before {
        top: -2em;
        right: 0em;
        width: 200px;
        height: 200px;
    }
    #thanks .row::after {
        bottom: 0em;
        left: 0em;
        width: 60px;
        height: 60px;
    }
    #recettes .row::after {
        bottom: -10em;
    }
}
@media only screen and (max-width: 1399px) { /*1200*/
    .row {
        max-width: 1140px;
    }
    body {
        font-size: 20px;
    }
    h1 {
        font-size: 4em;
    }
    .logotdf {
        max-width: 150px;
    }
    .logopistachios {
        max-width: 400px;
        margin-bottom: -60px !important;
    }
    a.cta {
        width: 240px;
        box-sizing: border-box;
    }
    .coche {
        right: 5px;
    }
    #recettes .row::after {
        width: 160px;
        height: 160px;
    }
}
@media only screen and (max-width: 1199px) { /*1080*/
    .row {
        max-width: 960px;
    }
    body {
        font-size: 18px;
    }
    .logopistachios {
        max-width: 360px;
    }
    img.biker {
        max-width: 400px;
    }
    a.cta {
        width: 220px;
        box-sizing: border-box;
        line-height: 1.5em;
    }    
    .colbiker {
        margin: -3em 0;
    }
    .rowVcenter::before {
        width: 80px;
        height: 80px;
        top: 5em;
    }
    .rowVcenter::after {
        width: 220px;
        height: 220px;
    }
    .gainL0 {
      font-size: 1.4em;
    }
    .gainL1 {
      font-size: 1em;
    }
    #gain .row::before {
        width: 80px;
        height: 80px;
    }
    .col.green::before {
        width: 80px;
        height: 80px;
    }
    .col.green::after {
        width: 60px;
        height: 60px;
        right: 7%;
    }
    #partecipare .row::before {
        width: 80px;
        height: 80px;
        top: 0.5em;
         right: -2.5em;
    }
    #form {
        padding-bottom: 100px;
    }
    #form .row::after {
        width: 180px;
        height: 180px;
    }
    #form .row::after {
        bottom: -5em;
    }
}
@media only screen and (max-width: 1079px) { /*720*/
    .row {
        width: 92%;
        max-width: 700px;
        flex-direction: column;
    }
    .rowVcenter {
        flex-direction: row;
    }
    .col50 {
        width: 100%;
        text-align: center;
    }
    .rowVcenter .col50 {
        width: 50%;
    }
    h1 {
        font-size: 2.5em;
    }
    .colbiker {
        margin: -1em 0 -3em;
    }
    img.biker {
        max-width: 300px;
    }
    img.atala {
        width: 260px;
    }
    .coltitle {
        padding-left: 3em;
    }
    .logopistachios {
        max-width: 300px;
    }
    .block_logos .mention {
        width: 160px;
    }
    .colvelo {
      padding: 1em 6em 0;
    }
    #gain .row {
        flex-direction: column-reverse;
    }
    .colgain {
        padding: 0 6em;
        text-align: center;
    }
    #howto ul {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #howto li {
        display: inline-block;
    }
    .col.green {
        padding: 0 3em;
    }
    #howto a.cta {
      background-color: #000;
      margin: 1em auto 2em;
    }
    #howto .col img {
        width: 360px;
        height: 360px;
        margin: 0 auto 2em;
    }
    .pack, .pack:last-of-type {
      width: 40%;
      margin: 1em 5% 1em 5%;
    }
    .colwrapper {
        flex-direction: column;
    }
    label {
        font-size: .9em;
    }
    .colwrapper .col, .colwrapper .col:last-of-type {
        padding-left: 0;
        padding-right: 0;
    }
    .rowVcenter::before {
        width: 60px;
        height: 60px;
    }
    .rowVcenter::after {
        width: 120px;
        height: 120px;
    }
    .col.green::before {
        width: 60px;
        height: 60px;
        right: 1em;
    }
    #partecipare .row::before {
        top: 4em;
    }
    #thanks .row::before {
        top: auto;
        right: -2em;
        width: 160px;
        height: 160px;
        bottom: -2em;
    }
    #gamme {
        flex-wrap: wrap;
    }
    .prodcut {
        width: 20%;
        flex: none;
    }
}
@media only screen and (max-width: 719px) { /*640*/
    .block_logos {
        flex-wrap: wrap;
    }
    .img100pcvainqueur {
        max-width: 400px;
    }
    .mention {
        position: relative !important;
        margin: 1em auto;
        width: 100% !important;
    }
    .rowVcenter {
        flex-direction: column;
    }
    .rowVcenter .col50 {
        width: 100%;
    }
    .coltitle {
        padding-left: 0em;
    }
    .formline {
        flex-direction: column;
    }
     .colbiker {
        margin: 1em 0 -2em;
      }
    img.biker {
        max-height: 320px;
        width: auto;
    }
    .rowVcenter::before {
      top: 7em;
    }
    .rowVcenter::after {
        bottom: 2em;
        top: auto;
    }
    #gain .row::before {
        width: 60px;
        height: 60px;
        top: 5%;
    }
    .col.green::before {
        top: 4em;
    }
    #partecipare .row::before {
        top: -1em;
    }
}
@media only screen and (max-width: 639px) { /*480*/
    .row {
        max-width: 480px;
    }
    .logotdf {
        max-width: 120px;
    }
    .logopistachios {
        max-width: 280px;
    }
    .block_logos .mention {
        top: 1em;
        justify-content: flex-end;
    }
    .colgain, .col.green {
        padding: 0;
    }
    .col.green::after {
        right: 0;
    }
    h2, h3 {
        text-align: center;
    }
    #partecipare .row::before {
        top: -1em;
    }
    .formfield {
        padding-right: 0;
    }
    #thanks .row::before {
        display: none;
    }
    .prodcut {
        width: 25%;
    }
}
@media only screen and (max-width: 479px) { /*320*/
    .row {
        max-width:320px;
        width:96% ;
    }
    .logotdf {
        max-width: 90px;
    }
    .logopistachios {
        max-width: 180px;
    }
    .block_logos .mention {
        width: 50% !important;
        display: inline-block;
        text-align: right;
      }
    .colgain img {
        width: 80%;
    }
    .colvelo {
    padding: 1em 2em 0;
    }
    #howto .col img {
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }
    h2, h3 {
        text-align: center;
    }
    .pack, .pack:last-of-type {
        width: 60%;
        margin: 1em 20% 1em 20%;
    }
    #footer .row {
        flex-direction: column;
    }
    .mentionslegales {
      width: 100%;
    }
    .footerlogo {
        width: 50%;
        margin: 1em auto;
    }
    .rowVcenter::before {
        width: 40px;
        height: 40px;
        left: 0em;
        top: 0px !important;
        bottom: auto;
    }
    .rowVcenter::after {
        bottom: 6em;
        top: auto;
    }
    #gain .row::before, .col.green::before, .col.green::after,  #partecipare .row::before, #thanks .row::after {
         display: none;
    }
    #form .row::after {
        right: 0;
    }
    #thanks h1 {
      font-size: 2em;
    }
    #gamme {
        margin: 1em 0;
    }
    .prodcut {
        width: 35%;
    }
    #promo h2 {
        font-size: 1.35em
    }
    #promo a {
        font-size: 1em;
    }
}








