:root {
  /* Official colors - style guide */
  --afp-blue: #325aff;
  --afp-black: #000;
  --afp-white: #fff;
  
  /* sub main colors */
  --afp-pink: #FF6E6E;
  --afp-yellow: #FFD223;
  --afp-orange: #FFA050;
  --afp-turquoise: #7DFAAF;
  --afp-purple: #cd73fa;
  --afp-light-blue: #87EBFA;
  --afp-darker-white: #F5F5F7;
  
  /* secondary colors */
  --afp-secondary-grey-100: #9B9187;
  --afp-secondary-grey-80: #AFA79F;
  --afp-secondary-grey-60: #C3BDB7;
  --afp-secondary-grey-40: #D7D3CF;
  --afp-secondary-grey-20: #EBE9E7;
  --afp-secondary-grey-10: #F5F4F3;
  
  
  /* Additional colors - custom */
  --afp-light-green: #7DFAAF;
  --afp-darker-green: #65ce8f;
  --afp-lighter-bleu: #E8F8EB;
  --afp-darker-orange: #e06f12;
  --afp-darker-pink: #d96e6e;
  --afp-blue-darker: #2544bf;
  --extremely-light-gray: rgba(0, 0, 0, 0.1);
  /* Others */
  --max-height-landing-presentation-container: 1280px;
  --min-height-landing-presentation-container: min(
    var(--max-height-landing-presentation-container),
    min(100vh, 100vw)
  );
  }
  
/* BASE CSS */
html {
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  height: 100%;
}
body {
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#main-container a {
  color: inherit;
  text-decoration: none !important;
}
#main-container {
  margin: auto;
  width: 100%;
  background-color: var(--afp-white);
}

/* Landing Container */
#landing-container {
  min-height: 82vh;    
  background-image: url("/sites/default/files/api-bg-landing-2.jpg");
  background-size: cover;
  background-position-x: center ;
  background-position-y: 70%;
  color: var(--afp-white);
}
.black-filter {
  min-height: 82vh;
  background-color: rgba(0,0,0,0.3);

}
.b0-content {
  min-height: 82vh;    
  padding: 2rem 10px;
  max-width: 1280px;
  margin: auto;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 82px;
}
.b0-text, .b0-illustration {
  flex: 1 1 0px;
}
.b0-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}
.h2-landing {
  font-size: 2rem;
  font-weight: 700;
}
.landing-text {
  max-width: 700px;
  font-size: 1rem;
  font-weight: 400;
}

.page-node-type-afp-produit h2, .page-node-type-afp-produit h3.afp0623-swapcard__title {
    color: black ;
}

.page-node-type-afp-produit .h2-b3 {
    color: white ;
}

.page-node-type-afp-produit .h2-landing {
  color: white ;
}
@media screen and (min-width: 768px) {
  .h2-landing {
      font-size: 48px;
  }
  .landing-text {
      font-size: 24px;
  }
}
@media screen and (min-width: 992px) {
  .h2-landing {
      font-size: 5rem;
  }
}
@media screen and (min-width: 1400px) {
  .h2-landing {
      font-size: 6rem;
  }
}
.landing-button {
  background: var(--afp-blue);
  padding: 8px 16px;
  width: fit-content;
  width: -moz-fit-content;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
}
.landing-button:hover {
  background: var(--afp-blue-darker);
}

.b0-illustration {
  align-self: center;
}
.b0-img {
  width: 70%;
  margin: auto;
}
.key-number {
  display: flex;
  gap: 4px;
  font-size: 12px;
  font-weight: 300;
  text-align: center;
  justify-content: space-between;
}
.bold-number {
  font-size: 46px;
  font-weight: 800;
}
@media screen and (max-width: 1400px) {
  .bold-number {
      font-size: 40px;
  }
}
@media screen and (max-width: 1230px) {
  .bold-number {
      font-size: 22px;
  }
}
@media screen and (max-width: 992px) {
  .b0-content {
      flex-direction: column;
  }
  .b0-img {
      width: 95%;
  }
  .bold-number {
      font-size: 20px;
  }
  .key-number {
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
  }
}

/* Section 1 */
#section-1 {
  padding: 3rem 0;
}
.overflow-container {
  margin: 2em 0em;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.separator {
  height: 5px;
  animation: animateBg 5s linear infinite;
  background-image: linear-gradient(0deg,var(--afp-pink),var(--afp-yellow));
  background-size: 100% 1100%;
  border: none;  
}
@keyframes animateBg {
  0% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}
.slide-bloc {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
width: fit-content;
width: -moz-fit-content;
gap: 2rem;
}
.slide-bloc img {
  /* min-width: 320px; */
  border-radius: 10px;
}
.slide-right {
  margin-left: -30rem;
}
.slide-left {
  margin-left: -30rem;
}
@media screen and (max-width: 768px) {
  .slide-bloc img {
      min-width: 200px;
  }
}

/* Section 2 */
#section-2{
  background-color: var(--afp-darker-white);
  padding: 3rem 1rem;
  position: relative;
}
.b2-h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  max-width: 548px;
  margin: 3rem auto 51px;
}
.b2-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 4rem auto 2rem;
  position: relative;
  top: 0;
  z-index: 1;
}
.b2-mini-bloc {
  padding: 3rem 2rem 1rem;
  border-radius: 25px;
  width: 29%;
  min-width: 255px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--afp-white);
  text-align: left;
  font-size: 16px;
  gap: 22px;
  margin-bottom: 1rem;
}
.bold {
  font-weight: 900;
}
.bg-circle {
  background-color: var(--afp-blue);
  padding: 16px;
  border-radius: 50%;
  width: 55px;
  height: 55px;
}
.b2-mini-bloc img {
  margin: auto !important;
}
.align-arrow {
  display: flex;
  flex-direction: column;
  height: 310px;
  justify-content: center;
  align-items: center;
}
.align-arrow img {
  width: 55%;
}
@media screen and (max-width: 1100px) {
  .align-arrow {
    display: none;
  }
  .b1-content {
    justify-content: center;
  }
  .b1-mini-bloc {
    margin: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .b2-mini-bloc {
      margin: auto;
  }
  .b2-content {
      flex-direction: column;
  }
  .align-arrow {
    display: block;
    height: fit-content;
    height: -moz-fit-content;
    margin: auto;
  }
  .align-arrow img {
      width: 30px;
      transform: rotate(90deg);
  }
}
@media screen and (max-width: 768px) {
  .b2-h2 {
      font-size: 2rem;
  }
  .b2-mini-bloc {
      text-align: center;
  }
  .bg-circle {
      margin: auto;
  }
}

/* Section 3 */

#section-3 {
  padding: 3rem 1rem;
}
.para-b3 {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  max-width: 768px;
  margin: 50px auto 54px;
}
.b3-content {
  display: flex;
  flex-direction: row;
  width: auto;
  flex-wrap: wrap;
  margin: 3rem auto;
  justify-content: center;
  gap: 2rem;
  max-width: 1280px;
}
.b3-mini-bloc {
  flex-basis: 33.333333%;
  font-size: 16px;
  min-width: 280px;
  max-width: 400px;
  text-align: left;
  min-height: 210px;
  font-weight: 600;
}
.black-circle {
  background-color: var(--afp-black);
  padding: 16px;
  border-radius: 50%;
  width: 55px;
  height: 55px;
}
.b3-img-bg img {
  margin: auto;
}
.b3-text {
  padding-top: 15px;
  max-width: 250px;
}
.b3-subtitle {
  font-weight: 900;
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .b3-mini-bloc, .para-b3 {
      font-size: 1rem;
  }
  .b3-subtitle {
      font-size: 20px;
  }
  .b3-mini-bloc {
      min-height: 200px;
      text-align: center;
  }
  .black-circle, .b3-text {
      margin: auto;
  }
}

/* Section 3 */
#section-4 {
  padding: 3rem 3rem; /*NEW*/
  background-color: var(--afp-darker-white);
}
.b4-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3rem; /*NEW*/
  margin: 100px auto;
  max-width: 1280px;
}
.b4-text {
  max-width: 40%;
}
.b4-illustration {
  width: 55%;
  position: relative;
}
.b4-img-border {
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
  border-radius: 8px;
  overflow: hidden;
}
.b4-img-vector {
  position: absolute;
  right: -6%;
  bottom: -3%;
}
.b4-h3 {
  font-size: 36px !important;
  font-weight: 900 !important;
  margin-bottom: 2rem !important;
  text-transform: uppercase !important;
}
.b4-h4 {
  font-weight: 700 !important;
  font-size: 32px !important;
  max-width: 400px !important;
  margin-bottom: 2rem !important;
  text-transform: initial !important;
  letter-spacing: normal !important;
}
.b4-text p {
  font-size: 16px; /*NEW*/
  font-weight: 400;
  max-width: 400px;
  line-height: 1.5; /*NEW*/
}
.light-bold {
  font-weight: 700;
}
.button-general {
  background: var(--afp-blue);
  color: var(--afp-white);
  padding: 8px 16px;
  width: fit-content;
  width: -moz-fit-content;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  margin: 3rem 0;
}

.button-general:hover{
  background-color: var(--afp-blue-darker);
}
@media screen and (max-width: 992px) {
  .b4-content {
      flex-direction: column;
  }
  .b4-illustration {
      width: fit-content;
      width: -moz-fit-content;
      margin: auto;
  }
  .b4-text, .b4-text p, .b4-text ul li, .b4-h4 {
      width: 100%;
      max-width: 100%;
  } 
  .b4-text {
      order: -1;
  }
  #section-4 {
      padding: 3rem 1rem; /*NEW*/
  }
}
@media screen and (max-width: 768px) {
  .b4-h3 {
      font-size: 2rem;
  }
  .b4-h4 {
      font-size: 1.5rem;
  }
  .button-general {
      font-size: 18px;
  }
  .b4-img-vector {
      right: -12%;
      bottom: -8%;
  }
  .b4-img-vector img {
      width: 60%;
  }
}

/* Section 5 */
#section-5 {
  padding: 3rem 3rem; /*NEW*/
}
.b5-content {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  justify-content: center;
  max-width: 1280px;
  margin: auto;
  align-items: center; /*NEW*/
}
.b5-text, .b5-illustration {
  flex: 1 1 0px;
}
.b5-text p, .b5-text ul li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.b5-text .b5-bigger {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.b5-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin-top: 2rem;
  gap: 1rem;
}
.link-qa {
  font-weight: 600;
  font-size: 16px; /*NEW*/
  text-decoration-line: underline;
}
.link-qa:hover {
  color: var(--afp-secondary-grey-100);
}
@media screen and (max-width: 1180px) {
  .b5-link {
      flex-direction: column;
  }
  .link-qa {
      margin: 2rem auto;
  }
}
@media screen and (max-width: 992px) {
  .b5-content {
      flex-direction: column;
  }
  #section-5 {
      padding: 3rem 1rem; /*NEW*/
  }
}

/* Section 6 */
#section-6 {
  padding: 3rem 1rem;
}
.b6-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 2rem;
  max-width: 1280px;
  margin: 5rem auto 2rem;
}
.offer-border {
  width: 31%;
  padding: 2px;
  /* box-shadow: 1px 3px 4px 9px rgba(0, 0, 0, 0.11); */
  border-radius: 11px;
}
.offer-column {
  background-color: var(--afp-white);
  /* border-radius: 11px; */
  height: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  padding: 2rem 10px;
}
.b6-h4 {
  font-weight: 900 !important;
  font-size: 32px !important;
  text-transform: initial !important;
  letter-spacing: normal !important;
}
.price-b6 {
  font-weight: 600;
  font-size: 24px;
  color: var(--afp-blue);
  margin-top: 2rem;
}
.offer-column hr {
  border: none;
  background-color: rgba(77, 77, 77, 1);
  height: 1px;
  width: 22%;
  margin: 2rem auto;
}
.offer-column .button-general {
  margin: 2rem auto;
}
@media screen and (max-width: 992px) {
  .b6-content {
      flex-direction: column;
  }
  .offer-border {
      width: 100%;
      margin: auto;
  }
}

/* Section 7 */
#section-7 {
  padding: 3rem 1rem;
}
.b7-content {
  max-width: 1280px;
  margin: 2rem auto;
}
.b7-mini-bloc {
  background-color: var(--afp-white);
  padding: 30px 55px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  font-size: 20px; /*NEW*/
  cursor: default;
  line-height: 1.5;
}
.b7-icone img {
  height: 30px !important;
}
.b7-testimony {
  margin: auto;
  text-align: center;
}
.bloc-persona {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.b7-img img{
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
.b7-name {
  font-weight: 900;
}
@media screen and (max-width: 992px) {
  .b7-content {
      flex-direction: column;
  }
  .b7-mini-bloc {
      width: 100%;
      margin: auto;
  }
}
@media screen and (max-width: 768px) {
  .b7-mini-bloc {
      font-size: 1rem;
  }
}
/* carrousel */
.wrapper {
  max-width: 1280px;
  margin: 3rem auto;
  position: relative;

}

.wrapper input {
  display: none;
}

.inner {
  width: 400%;
  line-height: 0;
}

/* article {
  width: 25%;
  float: left;
  position: relative;
} */

/*---- SET UP CONTROL ----*/
.slider-dot-control {
  width: 100%;
  bottom: 0;
  text-align: center;
  margin-top: 15px;
}
.slider-dot-control label {
  cursor: pointer;
  border-radius: 50%;
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  background: #fff;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  margin: 5px;
}
.slider-dot-control label:hover {
  background: #ccc;
  border-color: #ccc;
}

/* Slider Styling */
.slider-wrapper {
  width: 100%;
  overflow: hidden;
  /* border-radius: 5px;
  box-shadow: 1px 1px 4px #666; */
  background: #fff;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
}
.slider-wrapper .inner {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  -moz-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
}

/*---- SET POSITION FOR SLIDE ----*/

#slide5:checked ~ .slider-dot-control label:nth-child(5), #slide4:checked ~ .slider-dot-control label:nth-child(4), #slide3:checked ~ .slider-dot-control label:nth-child(3), #slide2:checked ~ .slider-dot-control label:nth-child(2), #slide1:checked ~ .slider-dot-control label:nth-child(1) {
  background: var(--afp-blue);
}

#slide5:checked ~ .slider-wrapper article:nth-child(5) .info, #slide4:checked ~ .slider-wrapper article:nth-child(4) .info, #slide3:checked ~ .slider-wrapper article:nth-child(3) .info, #slide2:checked ~ .slider-wrapper article:nth-child(2) .info, #slide1:checked ~ .slider-wrapper article:nth-child(1) .info {
  opacity: 1;
}

#slide1:checked ~ .slider-wrapper .inner {
  margin-left: 0%;
}
#slide2:checked ~ .slider-wrapper .inner {
  margin-left: -100%;
}
#slide3:checked ~ .slider-wrapper .inner {
  margin-left: -200%;
}
/*---- TABLET ----*/
@media only screen and (max-width: 850px) and (min-width: 450px) {
  .slider-wrapper {
    border-radius: 0;
  }
}
/*---- MOBILE----*/
@media only screen and (max-width: 450px) {
  .slider-wrapper {
    border-radius: 0;
  }

  .slider-wrapper .info {
    opacity: 0;
  }
}
  /* end carrousel */

/* Section 8 */
#section-8 {
  padding: 3rem 1rem;
  scroll-margin-top: 140px;
}
.b8-content {
  max-width: 900px; /*NEW*/
  margin: 2rem auto;
}
.b8-h3 {
  font-size: 3rem;
  padding: 15px;
  font-weight: 700;
  background-color: var(--afp-black);
  color: var(--afp-white);
  margin-bottom: 2rem;
  text-transform: uppercase;
}
#main-container details {
  position: relative;
}
#section-8 summary {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
#section-8 summary span {
  font-size: 2.5rem;
  margin-right: 1rem;
}
#main-container details .open {
  display: none;
}
#main-container details[open] .open {
  display: block;
}
#main-container details[open] .close {
  display: none;
}
#section-8 summary::marker {
  content: ' ';
}
.inside {
  font-size: 22px;
  margin: 2rem auto;
  line-height: 40px;
}
#section-8 hr {
  margin: 1rem;
  border: none;
  background-color: #d9d9d9;
  height: 1px;
}
@media screen and (max-width: 768px) {
  .b8-h3 {
      font-size: 2rem;
  }
  #section-8 summary {
      font-size: 1.1rem;
  }
  #section-8 summary span {
      font-size: 2rem;
  }
  .inside {
      font-size: 1rem;
      line-height: 30px;
  }
}
@media screen and (max-width: 430px) {
  .b8-h3 {
      font-size: 1.5rem;
  }
}

/* Section 9 form */
#section-9 {
  padding: 3rem 1rem;
  background-color : #000;
}
/* form */
#form-container-double {
  scroll-margin-top: 140px;
}
.hide {
  display: none;
}

/* drupal adpatation */
.node-type-afp-produit .panel-pane.pane-entity-view.pane-node .line.mb1.bgblue.line.relative.mb2.pt1.pb2.pa0m, .info_social.mb2, #breadcrumb.line.hidem, #navbar-administration.navbar-oriented .navbar-tray-vertical > .navbar-lining:before {
  display: none;
}
body.not-logged-in.section-produits-services {
  padding-top: 65px !important;
}
#main-container .img_margin {
  margin: auto !important;
}
#main-container .b7-icone img {
  margin-bottom: 2rem !important;
}
.dark-form input[type=radio]:hover {
  background-color: #D7D3CF;
}
.b7-content article {
  width: 25%;
  float: left;
  position: relative;
}

main h3:not(.h3-title), main .h3:not(.h3-title) {
  line-height: unset;
}

em {
  font-style: italic;
}

.key-number div p:nth-of-type(2) {
  font-size: 12px;
}