@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700;800;900&display=swap');

body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background: #fff;

}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.1em;
}

#logo-header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding-top: 24px;
  padding-bottom: 40px;
}

#logo-header img {
  /* max-height: 70px; */
  width: 96px;
}
@media(min-width:768px) {
  #logo-header {
    justify-content: flex-start;
    padding: 16px 100px 112px;
  }
}

*,
*::after,
*::before {
  box-sizing: border-box;
}

/* img{
    display:block;
    max-width:100%;
    height:auto;
} */
.headerbanner {
  height: 25vw;
  min-height: 240px;
  max-height: 400px;
  background: url(../../dist/img/asset_solar_group/banner-questionnaire.jpg) no-repeat top/cover !important;
}

#gooptin-form .btn-primary[type="submit"] {
  margin-bottom: 30px;
}

.gender-chck {
  width: 240px;
  border-radius: 50px;
  height: 40px;
  margin: auto;
  margin-top: 0px;

  box-shadow: 0px 0px 1px 0 #828282;
}

.gender-chck>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 100%;
  position: relative;
}

.gender-chck>input:checked~div::before {
  content: '';
  display: block;
  position: absolute;
  background-color: #3B8441;
  width: 50%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 50px;
  transition: transform ease-in-out .3s
}

#gooptin-form .sub-quest {
  min-height: 190px
}

.gender-chck>input:nth-child(2):checked~div::before {
  transform: translateX(100%)
}

.gender-chck label {
  text-align: center !important;
  padding-bottom: 0 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2
}

.gender-chck>input:nth-child(1):checked~div label:first-child {
  color: #fff !important
}

.gender-chck>input:nth-child(2):checked~div label:nth-child(2) {
  color: #fff !important
}

.gender-chck input {
  position: absolute;
  left: -300vw;
}

#gooptin-form .sub-quest>label {
  text-align: center;
  font-weight: 500
}

#gooptin-form .sub-quest.type-radio .radios-quest {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
}

#gooptin-form .sub-quest.type-radio .radios-quest>.radio {
  width: auto;
  min-width: 120px;
  background-color: #3B8441;
  color: #fff;
  display: inline-block
}

#gooptin-form .sub-quest.type-radio .radio>label:not(.form-error) span {
  padding-left: 0;
  color: #fff;
  text-align: center
}

#gooptin-form .sub-quest.type-radio .radio>label:not(.form-error) span::before {
  display: none
}

.headerbanner+#quests-container {
  margin-top: -140px;
  margin-bottom: 100px;
}

.headerbanner+#thanks-section {
  margin-top: -110px;
}

#home-header {
  background-image: url('../img/usecure-banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  /* height:100vh; */
  justify-content: center;
  align-items: center;
  min-height: 360px;
  padding: 0 10px;
  text-align: center
}

#home-header p {
  color: #fff;
  text-align: center
}

#home-header>div {
  max-width: 430px;
  margin: 0 auto
}

#home-header .btn {
  margin-top: 40px;
  font-size: 16px;
  text-transform: initial;
}

@media(min-width:840px) {
  #home-header>div {
    max-width: 580px;
  }

}

.title-h1 {
  color: #000;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 24px;
}

.title-h1 b {
  color: #3B8441;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: auto
}

#quests-container,
#thanks-section {
  /* min-height:100vh; */
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

#thanks-section>div {
  max-width: 640px;
  background-color: rgb(255, 255, 255);
  text-align: center;
  padding: 20px;
  -webkit-box-shadow: 0px 1px 9px #c9c9c9;
  box-shadow: 0px 1px 9px #c9c9c9;
}

#quests-container>#gooptin-form {
  width: calc(100% - 20px);
  max-width: 600px;
  padding: 0;
  background-color: transparent;
}


.btn.btn-primary {
  padding: 20px 5vw;
  margin-top: 32px;
  max-width: 450px;
  width: 100%;
  font-size: 14px;
  color: #fff;
  background-color: #3B8441 !important;
  border-color: #3B8441 !important;
  border-radius: 14px;
  text-transform: uppercase;
  text-align: center;
  box-shadow: none !important;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  transition: background-color ease-in-out .3s;
}

.btn.btn-primary:hover {
  background-color: #46b34f !important;
  border-color: #46b34f !important;
  text-shadow: 0 0 1px #3B8441;
}

@media(min-width:540px) {
  .btn.btn-primary {
    font-size: 18px;
  }
}
@media(min-width:1000px) {
  .btn.btn-primary {
    max-width: 600px;
  }
}

button {
  border: none
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

#container-quest h1 {
  font-weight: bold;
  color: #28b7c9;
  text-align: center;
  margin-top: 30px;
}

#container-quest h3 {
  font-weight: bold;
}

#container-quest h3 span {
  color: #28b7c9
}

#container-quest h3+p {
  font-size: 10px;
  margin-top: 20px;
}

#container-quest .row:first-child>.col-12:nth-child(3),
#container-quest .row:first-child>.col-12:nth-child(2) {
  margin-top: 20px;
  margin-bottom: 40px
}

@media(min-width:1600px) {
  #container-quest .row:first-child>.col-12:nth-child(1) {
    margin-top: -80px
  }
}

#gooptin-form .sub-quest {
  background-color: #fff;
  -webkit-box-shadow: 0px 1px 9px #c9c9c9;
  box-shadow: 0px 1px 9px #c9c9c9;
}

.checkbox-optin label:not(.error) {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  text-align: left !important
}

.checkbox-optin .checkmark {
  display: inline-block;
  height: 20px;
  width: 20px;
  border: solid 1px #989898;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 6px;
}

.checkbox-optin input:checked+label .checkmark::before {
  content: "✓";
}

.checkbox-optin a {
  color: #1b77c2 !important
}

/*QUESTIONS*/
#gooptin-form .checkbox-wrapper .checkbox label:hover,
#gooptin-form .checkbox-wrapper input:checked+label {
  border-color: #28b7c9 !important
}

#quest-304 input[value="alarme"]+span {
  text-transform: uppercase;
  font-size: 22px;
}

#quest-304 input[value="no"]+span {
  font-size: 16px !important
}

#gooptin-form #quest-304 .radios-quest {
  display: block;
}

#gooptin-form #quest-304 .radios-quest .radio {
  margin: auto;
}

#gooptin-form #quest-304 .radios-quest .radio.r0 {
  max-width: 300px;
  width: 100%;
}

#gooptin-form #quest-304 .radios-quest .radio.r1 label {
  padding: 0;
  background-color: transparent;
  border: none;
}

#gooptin-form #quest-304 .radios-quest .radio.r1 label span {
  font-size: 14px !important;
}

html.thanks footer {
  /* position: fixed;
	bottom: 0;
	left: 0;
	right: 0;*/
}

#first-quest {
  display: block
}

#first-quest a {
  display: inline-block;
  background-color: #28b7c9;
  padding: 10px 15px;
  min-width: 125px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transition: background-color ease-in-out .3s;
  -o-transition: background-color ease-in-out .3s;
  transition: background-color ease-in-out .3s
}

#first-quest a:hover {
  background-color: #28b7c9;
  -webkit-transition: background-color ease-in-out .3s;
  -o-transition: background-color ease-in-out .3s;
  transition: background-color ease-in-out .3s
}

#first-quest h3 {
  font-size: 20px;
  margin-bottom: 80px;
}

/*END QUESTIONS*/
@media (min-width: 540px) {


  #gooptin-form #quest-1.sub-quest {
    padding: 0 80px 10px 80px;
  }
}

@media (min-width: 768px) {


  #first-quest h3 {
    margin-top: 40px;
    margin-bottom: 60px;
  }
}

@media (min-width: 1200px) {


  #gooptin-form h2 {
    display: none;
  }


  #gooptin-form .sub-quest {
    border-radius: 5px;
    -webkit-box-shadow: 0px 1px 3px #c9c9c9;
    box-shadow: 0px 1px 3px #c9c9c9;
  }
}


.title-h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}
.title h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  margin: 0;
}

.title-h2 b {
  color: #00AECD;
}

@media(min-width: 768px) {
  .title-h2 {
    font-size: 48px;
    line-height: 57.6px;
  }
}

p {
  font-size: 16px;
  line-height: 21px;
}

.btn.btn-prim {
  background: #33B7C7;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 16px 32px;
  font-size: 18px;
}

.btn-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 42px;
}

.btn-container p {
  margin: 0 !important;
}

.header {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 35px;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-text-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding: 0 35px;
  padding-left: 0;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.header .header-text-container .btn {
  width: 100%;
  text-align: center;
}

@media(min-width: 768px) {
  .header .header-text-container .btn {
    width: initial;
  }

}

.header .header-text-container .header-text {
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
}

.header-subtitle {
  font-size: 16px;
  font-weight: 400;
}

.header-info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.header-info .header-info-content {
  padding: 0 8px;
  border-radius: 49.5px;
  background: linear-gradient(0deg, #BDE5C1 0%, #BDE5C1 100%), #000;
  font-size: 12px;
  font-weight: 500;
}

.header-text-container .header-text h2 {
  margin-top: 0px;
  margin-bottom: 32px;
}

.header-text p {
  margin: 20px 0px;
}

.header-cover {
  position: relative;
  display: flex;
  justify-content: center;
}
.header-cover picture {
  max-width: 1240px;
  width: 100%;
}
.header-cover .desk-header-cover {
  max-width: 1240px;
  width: 100%;
  padding: 0 0 32px;
}

@media(min-width: 768px) {
  .header {
    grid-template-columns: 2fr 1fr;
  }
  .header-cover {
    order: 1;
  }

  .header-cover img {
    object-fit: contain;
  }

  .header-text-blocks {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    margin-bottom: 80px;
  }
}

@media(min-width: 768px) AND (max-width: 1000px) {
  .btn.btn-prim .btn-container {
    padding: 16px 42px;
  }

  .header-cover {
    width: 100%;
  }
}

.header-text-blocks {
  display: grid;
  padding: 0px 35px;
  margin-bottom: 16px;
}

.header-text-blocks h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
}

.header-text-blocks p {
  font-size: 18px;
  font-weight: 300;
  line-height: 32px;
}
/* 4 ETAPES + 3 BOX INFO  */
.plan-section {
  padding: 80px 35px;
}

.plan-section .plan-section-container {
  max-width: 1240px;
  margin: 0 auto;
}
.plan-section-second {
  background: url(../../dist/img/asset_solar_group/BG-1-MOBILE.jpg) no-repeat top/cover;
}
.plan-section-second .plan-section-container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.plan-section .plan-section-container .plan-section-title h3 b {
  color: #3B8441;
}

.plan-section .plan-section-container .plan-section-content {
  margin-top: 52px;
  display: grid;
  gap: 32px;
}

.plan-section-second .plan-section-container .plan-section-content {
  margin-top: 0;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card {
  border-radius: 25px;
  background: #FFF;
  box-shadow: 8px 8px 20px 0px rgba(189, 229, 193, 0.85);
  padding: 40px 36px 40px 32px;
}

.plan-section-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 24px;
}

.plan-section-card-title-second {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  margin: 0;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card .plan-section-card-title-second h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
  margin: 0;
  padding: 24px 0;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card .plan-section-card-title-second h4 b {
  font-weight: 900;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card .plan-section-card-title-number {
  width: 40px;
  height: 40px;
  background: #3B8441;
  border-radius: 50%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card .plan-section-card-title-number span {
  font-size: 32px;
  font-weight: 700;
  line-height: 150%;
  color: white;
}

.plan-section .plan-section-container .plan-section-content .plan-section-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #525252;
  margin: 0;
}


@media(min-width: 768px) {
  .plan-section {
    padding-bottom: 132px;
  }
  .plan-section .plan-section-container .plan-section-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .plan-section-second {
  background: url(../../dist/img/asset_solar_group/BG-1.jpg) no-repeat center/cover;
  }
  .plan-section-second .plan-section-container .plan-section-content .plan-section-card {
    padding: 40px 40px 86px;
  }
}

@media(min-width: 1024px) {
  .plan-section .plan-section-container .plan-section-content {
    grid-template-columns: repeat(4, 1fr);
  }
  .plan-section-second .plan-section-container .plan-section-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* UN PAS VERS INDE ENERGITIQUE START  */
.independance{
  padding: 80px 35px;
  padding-top: 0;
}
.independance .independance-container {
  max-width: 1240px;
  margin: 0 auto;
}
.independance .independance-container p {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #525252;
  margin-bottom: 40px;
}
.independance .independance-container .independance-card-wrapper {
  display: grid;
  gap: 20px;
}
.independance .independance-container .independance-card-wrapper .independance-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 8px 8px 20px 0px rgba(189, 229, 193, 0.85);
  border-radius: 16px;
}
.independance-card img {
  border-radius: 16px 16px 0 0 ;
  display: block;
  width: 100%;
}
.independance-card-text {
  width: 100%;
  padding: 24px 56px;
  text-align: center;
  font-size: 24px;
}
@media(min-width: 768px) {
  .independance {
    padding-top: 62px;
  }
  .independance .independance-container .independance-card-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* QUELQUES CHIFFRES  */
.some-numbers {
  padding: 0 35px;
  padding-top: 0;
}
.some-numbers .some-numbers-container {
  max-width: 1240px;
  margin: 0 auto;
}
.some-numbers-card-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
  gap: 19px;
}
.some-numbers-box {
  width: 100%;
  background: linear-gradient(90deg, rgba(189, 229, 193, 0.00) 0%, rgba(189, 229, 193, 0.65) 46.88%, rgba(189, 229, 193, 0.00) 100%);
  display: flex;
  padding: 0 35px;
}
.some-numbers-box:nth-of-type(2) {
  justify-content: flex-end;
}
.some-numbers-box:nth-of-type(4) {
  justify-content: center;
}
.some-numbers-card {
  width: 244px;
  padding: 32px;
  border-radius: 16px;
  background: #BDE5C1;
}
.some-numbers-card-number {
  display: block;
  margin-bottom: 20px;
  font-size: 56px;
  font-weight: 800;
  color: #3B8441;
}
.some-numbers-card-text {
  font-size: 24px;
  font-weight: 600;
}
.some-numbers-box:nth-of-type(3) .some-numbers-card {
  background : #3B8441;
}
.some-numbers-box:nth-of-type(3) .some-numbers-card-text, .some-numbers-box:nth-of-type(3) .some-numbers-card-number {
  color: white;
}
.some-numbers-btn-container {
  padding: 0 35px 80px;
  width: 100%;
  display: flex;
  justify-content: center;
}
@media(min-width: 768px) {
  .some-numbers-container-box {
    max-width: 1240px;
    margin: 0 auto;
  }
  .some-numbers-card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 48px 0 0;
    padding: 0 35px;
  }
  .some-numbers-box {
    padding: 0;
    justify-content: center;
    background: linear-gradient(180deg, rgba(189, 229, 193, 0.00) 0%, rgba(189, 229, 193, 0.65) 46.88%, rgba(189, 229, 193, 0.00) 100%);
  }
  .some-numbers-box:nth-of-type(2), .some-numbers-box:nth-of-type(4)  {
    justify-content: center;
  }
  .some-numbers-box:nth-of-type(1) {
    padding-top: 100px;
    padding-bottom: 40px;
  }
  .some-numbers-box:nth-of-type(2) {
    padding-top: 40px;
    padding-bottom: 100px;
  }
  .some-numbers-box:nth-of-type(3) {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .some-numbers-box:nth-of-type(4) {
    padding-top: 20px;
    padding-bottom: 120px;
  }
  .some-numbers-card {
    width: 100%;
  }
  .some-numbers-btn-container {
    padding-bottom: 120px;
  }
}
/* POURQUOI NOUS  */
.why-us {
  padding: 80px 0;
  background: #3B8441;
}
.why-us-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 35px;
  color: white;
}
.why-us-container h3 {
  margin-bottom: 20px;
}
.why-us-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.why-us-box {
  display: flex;
  gap: 16px;
}
.why-us-text {
  font-weight: 600;
  margin: 0;
  line-height: 150%;
}
.why-us-wrapper .btn-why-us {
  background: #BDE5C1 !important;
  color: black;
  font-weight: 700;
  font-size: 18px;
}
@media(min-width: 768px) {
  .why-us {
    background: url(../../dist/img/asset_solar_group/BG-2.jpg)no-repeat center/cover;
  }
  .why-us-container h3 {
    text-align: center;
  }
}
/* DERNIER BLOCK  */
.last-section {
    padding: 80px 35px;
    background: #f2f2f2;
}
.last-section-container {
  max-width: 1240px;
  margin: 0 auto;
}
.last-section-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.last-section-wrapper img {
  margin: 0 auto;
}
.last-section-text {
  display: flex;
  flex-direction: column;
}
.last-section-text a {
  align-self: center;
}
@media(min-width: 768px) {
  .last-section-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .last-section-text a {
    align-self: flex-start;
  }
  .last-section-text p {
    width: 70%;
  }
}

footer {
  width: 100%;
  padding: 40px 35px;
  background-color: #000;
}

footer .footer-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer .footer-container > img {
  width: 133px;
}
.footer-link {
  padding: 24px 0;
  display: flex;
  gap: 16px;
}
.footer-love {
  margin: 0;
}
.footer-love a {
  color: white;
  text-decoration: none;
}
