@font-face {
  font-family: "Crimson Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/crimson-text-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins-300.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}

:root {
  --red: #cf071e;
  --dark: #2e2e2e;
  --text: #7a7a7a;
  --shell: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color: var(--dark);
  background: #fff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section-shell,
.site-shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

/* Landing page */

.landing-page {
  color: var(--dark);
  font-family: "Poppins", sans-serif;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(95vh, 925px);
  overflow: hidden;
  background: url("/assets/images/hero-soleco.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__content {
  width: min(var(--shell), calc(100% - 40px));
  min-height: 940px;
  margin: -15px auto 0;
  display: grid;
  grid-template-columns: 485px 1fr;
}

.hero__left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: 211px;
  height: 221px;
  flex: 0 0 221px;
  object-fit: contain;
  object-position: center;
}

.hero h1 {
  width: 385px;
  min-height: 126px;
  margin: 0;
  color: #fff;
  font-family: "Crimson Text", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.hero__form {
  width: 100%;
  margin-top: 29px;
}

.mobile-form-section {
  display: none;
}

.form-card {
  width: 100%;
  padding: 30px;
  border-radius: 10px;
  background: #fff;
}

.lead-form {
  position: relative;
  display: grid;
  gap: 9px;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.lead-form label {
  min-width: 0;
}

.lead-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.lead-form__status {
  margin-bottom: 2px !important;
}

.lead-form legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--dark);
  font-size: 12px;
  font-weight: 300;
}

.lead-form legend span {
  color: var(--red);
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--dark);
  cursor: pointer;
}

.radio-row input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #fff;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row--halves {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row--city {
  grid-template-columns: 250.195px minmax(0, 1fr);
}

.lead-form input:not([type="radio"]),
.lead-form textarea {
  display: block;
  width: 100%;
  color: var(--text);
  border: 1px solid #303030;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lead-form input:not([type="radio"]) {
  height: 47px;
  padding: 12px 16px;
}

.lead-form textarea {
  height: 81.1875px;
  min-height: 81.1875px;
  padding: 11px 16px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #a6a6a6;
  opacity: 1;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgb(207 7 30 / 10%);
}

.submit-button {
  width: 240px;
  height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 20px;
  color: #000;
  border: 1px solid var(--red);
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.submit-button svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-8px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-feedback {
  display: none;
  margin: 2px 0 0;
  color: #2f7a38;
  font-size: 12px;
  line-height: 1.5;
}

.form-feedback:not(:empty) {
  display: block;
}

.form-feedback.is-error {
  color: var(--red);
}

.benefits-section {
  padding-top: 100px;
}

.section-title {
  margin: 0 0 50px;
  color: #000;
  font-family: "Crimson Text", serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.benefits-section .section-title {
  width: 100%;
  min-height: 120px;
  max-width: 690px;
}

.benefits-grid {
  min-height: 185px;
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.benefit h3 {
  width: 100%;
  margin: 15px 0 0;
  color: var(--dark);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.cta-section {
  position: relative;
  isolation: isolate;
  min-height: 464px;
  color: #fff;
  background: var(--red) url("/assets/images/cta-panneaux.webp") top center / cover no-repeat;
}

.cta-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(0 0 0 / 50%);
}

.cta-section__inner {
  min-height: 464px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 35px;
  color: #fff;
  font-family: "Crimson Text", serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.external-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 15px 20px;
  color: #000;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.external-button:hover,
.external-button:focus-visible {
  transform: translateY(-3px);
}

.certifications-section {
  min-height: 430px;
  padding: 100px 0;
  background: #fff;
}

.certifications-section .section-title {
  min-height: 60px;
  margin-bottom: 20px;
}

.certification-carousel {
  --per-view: 7;
  --carousel-gap: 75px;
  position: relative;
  width: 100%;
  overflow: hidden;
  outline: 0;
  touch-action: pan-y;
}

.certification-track {
  display: flex;
  align-items: center;
  gap: var(--carousel-gap);
  will-change: transform;
}

.certification-track.is-animated {
  transition: transform 500ms ease;
}

.certification-slide {
  min-width: calc((100% - (var(--per-view) - 1) * var(--carousel-gap)) / var(--per-view));
  height: 125px;
  display: grid;
  place-items: center;
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--carousel-gap)) / var(--per-view));
}

.certification-slide img {
  width: 100%;
  height: 125px;
  object-fit: contain;
}

.js .entrance {
  opacity: 0;
  transform: translateY(100px);
}

.js .entrance.is-visible {
  animation: fade-in-up 1.25s both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Source placeholder, legal and error pages */

.standard-page {
  color: #333;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.site-header {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  background: #fff;
}

.site-header .site-shell {
  padding-top: 15px;
}

.site-brand {
  display: inline-block;
  color: #cc3366;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.site-header p {
  margin: 5px 0 0;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.site-main {
  min-height: 72px;
  padding: 8px 0 16px;
}

.site-main h1,
.legal-content > h1 {
  margin: 0;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
}

.site-main > p {
  margin: 14px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
}

.footer-widgets {
  min-height: 333px;
  background: #f6f6f6;
}

.footer-grid {
  width: min(1209.59375px, calc(100% - 40px));
  min-height: 333px;
  margin-inline: auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 302.3984375px));
  gap: 0;
  align-items: start;
}

.footer-logo {
  align-self: start;
}

.footer-logo img {
  width: 181.4375px;
  height: 113.9296875px;
  object-fit: contain;
}

.site-footer h2 {
  margin: 0 0 17px;
  color: #111;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-services li {
  margin-bottom: 7px;
}

.footer-services a {
  text-decoration: none;
}

.footer-contact li {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
}

.footer-contact svg {
  width: 14px;
  height: 16px;
  flex: 0 0 14px;
  fill: #000;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 11px;
}

.social-links a {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.social-links a:last-child {
  font-size: 11px;
  border-radius: 2px;
  color: #fff;
  background: #000;
}

.footer-bottom {
  min-height: 45px;
  padding: 4px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #333;
  background: #fff;
  font-size: 12px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 14px;
}

.footer-bottom nav a {
  color: #666;
  font-size: 10px;
  text-decoration: none;
}

.legal-content {
  padding: 8px 0 70px;
}

.legal-content > h1 {
  margin-bottom: 34px;
}

.legal-content section {
  max-width: 860px;
  margin-top: 34px;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: #222;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.3;
}

.legal-content p,
.legal-content li {
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}

.legal-content p {
  max-width: 920px;
  margin: 0 0 12px;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.message-page {
  min-height: 190px;
}

.return-link {
  display: inline-block;
  margin-top: 18px;
  color: #cc3366;
}

.not-found {
  min-height: 110px;
}

@media (max-width: 767px) {
  .section-shell,
  .site-shell {
    width: calc(100% - 20px);
  }

  .hero {
    min-height: 70vh;
    background-position: center center;
  }

  .hero__content {
    width: 100%;
    min-height: 70vh;
    margin: 0;
    display: block;
  }

  .hero__left {
    min-height: 322px;
    padding-top: calc(70vh - 456.4px);
  }

  .hero__logo {
    width: 242px;
    height: 152px;
    flex-basis: 152px;
  }

  .hero h1 {
    width: calc(100% - 50px);
    min-height: 105px;
    margin-top: 40px;
    font-size: 35px;
    line-height: 1;
  }

  .hero__form {
    display: none;
  }

  .mobile-form-section {
    min-height: 732px;
    display: block;
    padding: 30px 10px;
    background: #fff;
  }

  .mobile-form-section .form-card {
    padding: 30px;
  }

  .lead-form,
  .lead-form legend {
    font-size: 13px;
  }

  .mobile-form-section .lead-form {
    margin-top: 5px;
  }

  .mobile-form-section .lead-form__status {
    margin-bottom: 3px !important;
  }

  .mobile-form-section .lead-form textarea {
    height: 87.78125px;
    min-height: 87.78125px;
  }

  .mobile-form-section .submit-button {
    margin-top: 0;
  }

  .form-row--halves,
  .form-row--city {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .submit-button {
    width: 252px;
    font-size: 13px;
  }

  .benefits-section {
    padding-top: 100px;
  }

  .section-title {
    padding-inline: 15px;
    font-size: 35px;
  }

  .benefits-section .section-title {
    min-height: 70px;
    max-width: 100%;
  }

  .benefits-grid {
    min-height: 569px;
    margin: 0 -10px 100px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .benefit {
    min-height: 173px;
    justify-content: center;
  }

  .benefit img {
    width: 80px;
    height: 80px;
  }

  .benefit h3 {
    font-size: 15px;
  }

  .cta-section,
  .cta-section__inner {
    min-height: 473px;
  }

  .cta-section h2 {
    margin-bottom: 35px;
    padding-inline: 15px;
    font-size: 25px;
  }

  .external-button {
    font-size: 13px;
  }

  .certifications-section {
    min-height: 421px;
    padding: 100px 0;
  }

  .certifications-section .section-title {
    min-height: 70px;
    margin-bottom: 20px;
  }

  .certification-carousel {
    --per-view: 3;
    --carousel-gap: 45px;
    width: calc(100% - 50px);
    margin-inline: auto;
  }

  .certification-slide,
  .certification-slide img {
    height: 111px;
  }

  .site-header {
    min-height: 156px;
  }

  .site-header .site-shell {
    padding-top: 9px;
  }

  .site-brand {
    font-size: 28px;
  }

  .site-header p {
    max-width: 300px;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.45;
  }

  .site-main {
    min-height: 73px;
    padding-top: 7px;
  }

  .site-main h1,
  .legal-content > h1 {
    font-size: 30px;
  }

  .footer-grid {
    width: 100%;
    padding: 45px 20px 42px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "services"
      "socials"
      "contact";
    gap: 31px;
  }

  .footer-logo {
    grid-area: logo;
  }

  .footer-services {
    grid-area: services;
  }

  .footer-contact {
    grid-area: contact;
  }

  .footer-socials {
    grid-area: socials;
  }

  .footer-logo img {
    width: 150px;
    height: 94px;
  }

  .site-footer h2 {
    font-size: 17px;
  }

  .site-footer,
  .footer-contact li {
    font-size: 12px;
  }

  .legal-content {
    padding-top: 7px;
  }

  .legal-content section {
    margin-top: 28px;
  }

  .legal-content h2 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .entrance {
    opacity: 1;
    transform: none;
  }
}
