/* ## helpers ########################################################## */
.orange {
  color: #eb3300;
}

/* ## HEADER ############################################################# */
  .sectionHeader {
    background: url(../images/deco/bg-header-desktop-v2025.jpg) no-repeat right center;
    padding: 0.7em 0 1.2em 0;
    margin-bottom: 1.2em;
  }
  .sectionHeader-title {
    max-width: 490px;
    text-transform: uppercase;
    font-family: var(--font-title);
    font-size: 1em;
    font-weight: 800;
    line-height: 1.1;
    padding: 0;
    margin: 0;
  }
  .sectionHeader-title-label {
    font-weight: 700;
    display: block;
    font-size: 1.3em;
    margin-bottom: 0.2em;
  }
  .sectionHeader-title-productName {
    display: block;
    font-size: 1.7em;
  }
  .sectionHeader-title-logo {
    display: block;
    width: 322px;
    height: 51px;
    overflow: hidden;
    position: relative;
  }
  .sectionHeader-title-logo:after {
    display: block;
    content: "";
    background: #FFF url(../images/pictos/ami-electric-desktop.png) no-repeat 0 0;
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }

  .sectionHeader-main {
    width: 57.5%;
    margin-top: 1em;
  }
  .sectionHeader-main-content {
    border: 2px solid #eb3300;
    border-radius: 8px;
    background-color: #FFF;
    line-height: 1.3;
    padding: 1em;
    margin: 0
  }
  .sectionHeader-main p:not(:first-child) {
    margin: 1em 0 0 0;
  }
  .sectionHeader-main p:first-child {
    margin: 0;
  }
  .sectionHeader-main p.partner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }


/* ## Slider ############################################################# */
  .wrapper-slider {
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
  }
  .slick-dots li.slick-active button {
    /* = pager du slider */
    background-color: #eb3300;
  }
  .slick-prev:before,
  .slick-next:before {
    border-color: #eb3300;
  }

/* ## MAIN ############################################################### */
  .logo-ami {
    display: inline-block;
    font-size: 0.6111111111111em;
    width: 4.909091em;
    height: 2em;
    line-height: 2;
    text-align: center;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
  }
  .logo-ami:after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url(../images/pictos/picto-ami.png) no-repeat 0 0;
    background-size: 100%;
  }

/* ##### Structure des Thematiques (partie supérieure)  */
  .sectionDecouverte {
    display: flex;
    justify-content: space-between;
    margin: 1em auto;
  }
  .modelChoice {
    width: 5%;
  }
  .sectionDecouverte-modelesWrapper {
    width: 40%;
    position: relative;
  }
  .sectionDecouverte-modele {
    display: none;
  }
  .sectionDecouverte-buybox {
    width: 40%;
    /*overflow:hidden;*/
  }

/* ##### blocs specifiques  */
  /* NAV choix du modèle */
    .modelChoice {
      list-style-type: none;
      padding: 0.5em 0 0 0;
      margin: 0;
    }
    .modelChoice-trigger {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 4px solid #EFEFEF;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 34px 34px;
      text-indent: -5000px;
      cursor: pointer;
    }
    .modelChoice-trigger:not(:first-child) {
      margin-top: 9px;
    }
    .modelChoice-trigger.active {
      border-color: #6b757e;
    }
    .modelChoice-trigger:hover {
      border-color: #D2DCE4;
    }
    .modelChoice-trigger#spicy {
      background-color: #F9423A;
    }
    .modelChoice-trigger#darkside {
      background-color: #252527;
    }
    .modelChoice-trigger#buggy {
      background-image: url(../images/control-buttons/control_buggy.png);
    }
    .modelChoice-trigger#palmeira {
      background-color: #DBE442;
    }
    .modelChoice-trigger#ami {
      background-color: #696158;
    }


  /* nav-galerie*/
    .blkModeleMobile {
      display: none;
    }

    .blkModele-tabNav {
      display: none;
      max-width: 480px;
      margin: 0 auto;
    }
    .blkModele-tabNav-title {
      font-size: 1em;
      font-weight: normal;
      text-align: center;
      color: #e53100;
      margin: 0;
    }
    .blkModele-tabNav-subtitle {
      font-size: 1em;
      text-align: center;
      margin: 0;
    }
    .tab-nav ul {
      margin: 0.5em 0 0 0;
      padding: 0;
      list-style: none;
    }
    .tab-nav li {
      display: block;
      float: left;
      width: 20%;
    }
    .tab-nav li:not(:first-child) {
      padding-left: 3px;
    }
    .tab-nav a {
      display: inline-block;
      border: 3px solid transparent
    }
    .tab-nav li.active a {
      border: 3px solid #eb3300;
    }
    .tab-nav li img {
      display: block;
      max-width: 100%;
      margin: 0;
      opacity: 0.8;
    }
    .tab-nav a:hover img {
      opacity: 1;
    }
    .tab-nav .active img {
      box-shadow: inset 0 0 0 3px #eb3300;
      opacity: 1;
    }
    .tab-pane {
      display: none;
    }
    .tab-pane.active {
      display: block;
    }
    .tab-pane img {
      display: block;
      max-width: 100%;
      margin: 0 auto;
    }

  /* slogan */
    .slogan {
      font-size: 1em !important;
      line-height: 1.2;
      color: #6b757e;
      margin: 0 !important;
    }
  /* encart avantages */
    .blkBuybox {
      border: 2px solid #eb3300;
      border-radius: 8px;
      padding: 1.2em;
      margin: 0;
    }
    .blkBuybox-title {
      font-weight: 800;
      font-size: 1.2em;
      line-height: 1.2;
      margin: 0;
    }
    .blkBuybox p {
      margin-top: 0.8em;
      margin-bottom: 0;
    }
    .blkBuybox-pricer {
      line-height: 1.2;
    }
    .blkBuybox-pricer span,
    .blkBuybox-pricer strong,
    .blkBuybox-pricer em {
      display: block;
      font-style: normal;
    }
    .blkBuybox-pricer span,
    .blkBuybox-pricer strong {
      color: #eb3300;
      font-weight: 800;
    }
    .blkBuybox-pricer span,
    .blkBuybox-pricer em {
      font-size: 0.8em;
    }
    .blkBuybox-pricer strong {
      font-size: 1.5em;
    }
    .blkBuybox-pricer strong b {
      font-size: 1.6em;
    }
    .blkBuybox-legal {
      font-size: 0.6em !important;
      line-height: 1.2;
    }
    .blkBuybox-action {
      text-align: right;
      margin-top: 0.5em;
    }

  /* Caracteristiques*/
    .sectionCaracter {
      display: flex;
      justify-content: space-between;
      list-style-type: none;
      padding: 0;
      margin: 0 0 1em 0;
    }
    .blkCaracter {
      flex-basis: calc((100% - 2em) / 3);
      background-color: var(--lightgrey);
      border-radius: 8px;
      padding: 1em 1em 4em 1em;
      margin: 0;
      position: relative;
    }
    .blkCaracter-title {
      font-weight: 800;
      font-size: 1em;
      margin: 0 0 0.3em 0;
    }
    .blkCaracter-visuel {
      margin: 3px 0 1em 0;
      text-align: center;
    }
    .blkCaracter-visuel img {
      max-width: 100%;
      margin: 0 auto;
    }
    .blkCaracter-video {
      position: absolute;
      bottom: 1em;
      left: 0;
      right: 0;
      text-align: center;
      margin: 0;
    }

    .globalLink {
      margin: 0;
      text-align: center;
    }

  /* liste simple */
    .dotList {
      list-style-type: none;
      padding: 0;
      margin: 0;
    }
    .dotList-item {
      line-height: 1.2;
      padding-left: 18px;
      position: relative;
    }
    .sectionCaracter .dotList-item {
      font-size: 0.7em;
    }
    .sectionTesting .dotList-item {
      font-size: 1em;
    }
    .dotList-item:not(:first-child) {
      margin-top: 0.5em;
    }
    .dotList-item:before {
      position: absolute;
      top: 0;
      left: 0;
      display: inline-block;
      content: "\2022";
      font-size: 20px;
      color: #eb3300;
    }
    .sectionCaracter .dotList-item:before {
      line-height: 0.9;
    }
    .sectionTesting .dotList-item:before {
      line-height: 1.3;
    }
    .dotList-item-link {
      color: #000;
      text-decoration: none;
    }
    .dotList-item-link:hover {
      text-decoration: underline;
    }
  /* Section Test en magasin */
    .sectionTesting {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
    .sectionTesting-visuel {
      flex-basis: 53%;
    }
    .sectionTesting-blkMag {
      flex-basis: 46.5%;
      border: 2px solid #eb3300;
      border-radius: 8px;
      padding: 1.25em;
      margin: 1.5em 0 0 0;
    }
    .sectionTesting-blkMag-title {
      font-weight: normal;
      font-size: 1.2em;
      margin: 0 0 1em 0;
    }


  /* Video*/
    .sectionVideo {
      display: flex;
      justify-content: space-between;
    }
    .blkVideo {
      width: 49%;
      height: 0;
      position: relative;
      margin: 0 auto;
      padding: 0 0 27.75% 0;
    }
    .blkVideo iframe {
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      border: none;
    }



/* ##### Bandeau/Vignette promo  */
  .sectionBanner {
    margin: 2em auto;
  }
  .sectionHeader + .sectionBanner {
    margin-top: 1em;
  }
  .sectionTitle + .sectionBanner {
    margin-top: 0;
  }
  .sectionBanner--withBorders {
    border: 1px solid #f2f2f2;
    border-width: 2px 0;
  }
  .sectionBanner a {
    display: block;
  }
  .sectionBanner a:hover {
    opacity: 0.8;
  }
  .sectionBanner img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }
  .sectionBanner--two {
    display: flex;
    justify-content: space-between;
  }
  .sectionBanner--two a {
    flex-basis: calc((100% - 1em) / 2);
  }


/* ============================================================================================*/
/* ==== RESPONSIVE behaviour ==================================================================*/
/* ============================================================================================*/

@media (max-width: 767px) {

  .sectionHeader {
    max-width: 640px;
    min-height: unset;
    padding: 1em 0 0 0;
    background: none;
    margin-left: auto;
    margin-right: auto;
  }
  .sectionHeader-title {
    max-width: unset;
  }
  .sectionHeader-main {
    width: auto;
    background: #FFF url(../images/deco/bg-header-mobile-v2025.jpg) no-repeat top center;
    background-size: 100%;
    padding: 69% 0 0 0;
    margin: 1em auto 0 auto;
  }
  .sectionHeader-main-content {
    width: auto;
    margin: 0 auto;
  }
  .partner img {
    width: 100px;
    height: auto;
  }
  .sectionDecouverte {
    flex-wrap: wrap;
  }
  .modelChoice {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5em;
  }
  .modelChoice-trigger,
  .modelChoice-trigger:not(:first-child) {
    display: inline-block;
    margin: 0 0.3em;
  }
  .sectionDecouverte-modelesWrapper {
    width: 52%;
  }
  .sectionDecouverte-buybox {
    width: 46%;
  }
  .blkBuybox-action {
    margin-top: 1em;
  }
  .sectionVideo {
    display: block;
    justify-content: space-between;
  }
  .blkVideo {
    width: 100%;
    padding: 0 0 54% 0;
  }
  .blkVideo + .blkVideo {
    margin-top: 1em;
  }


}

@media (max-width: 640px) {

  .sectionDecouverte {
    display: block;
    margin-bottom: 1em;
  }
  .sectionDecouverte-modelesWrapper {
    width: auto;
    max-width: unset;
    margin-bottom: 1em;
  }
  .sectionDecouverte-buybox {
    width: auto;
    padding-top: 0;
  }
  .blkBuybox {
    margin-top: 1em;
  }
  .blkBuybox-list-item {
    font-size: 1em;
  }
  .blkBuybox-action {
    text-align: center;
  }
  .slogan {
    font-size: 1em;
  }
  .sectionCaracter,
  .sectionTesting {
    display: block;
  }
  .blkCaracter:not(first-child) {
    margin-top: 1em;
  }
  .blkCaracter .ftlShowDesk {
    display: none !important;
  }
  .blkCaracter .ftlShowMob {
    display: block !important;
  }
  .sectionTesting-visuel {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {

  .sectionHeader-main p.partner {
    width: auto;
  }
  .modelChoice-trigger {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #EFEFEF;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 27px 27px;
    text-indent: -5000px;
    cursor: pointer;
  }
  /*.blkModeleMobile{
        display:block;
    }
    .blkModele{
        display:none;
    }*/
  .blkBuybox {
    padding: 1em;
  }
  /**/

}