:root {
  --primary: #ff6d49;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F0EFF8;
  color: #000;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

@media screen and (min-width: 1024px) {
  .section {
    padding: 60px;
  }
  .section.section-medium {
    padding: 80px 60px;
  }
}

.containersmall {
  max-width: 840px;
  margin: 0 auto;
}

.grid1 {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 24px;

  @media (max-width: 750px) {
    grid-template-columns: 1fr;
  }
}

.title.is-1 {
  font-weight: bold;
  font-size: 48px;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 40px;

  @media (max-width: 750px) {
    font-size: 26px;
  }
}
.title del, .title span {
  color: #9391BA;
}
.title.is-3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;

  @media (max-width: 750px) {
    font-size: 18px;
  }
}

.largetext {
  font-size: 20px;
  margin-bottom: 40px;
  font-weight: 500;

  @media (max-width: 750px) {
    font-size: 14px;
  }
}

.button {
  font-size: 16px;
  font-weight: 400;
  padding: .5em 1.5em;
  height: 3.2em;
  background-color: transparent;
  border-color: #D9D7E9;
}
.button.is-primary {
  background-color: #5B54F8;
  font-weight: 600;
}
.button.is-primary:hover {
  background-color: #F17851;
}

.card, .box {
  background-color: #EBEAF5;
  border: 1px solid #D9D7E9;
  border-radius: 16px;
  box-shadow: none;
}
.card.is-white {
  background-color: #fff;
  border: none;
}

.box {
  padding: 40px;

  @media (max-width: 750px) {
    padding: 20px;
  }
}

.headmessage {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #FFF;
  background-color: #F17851;
  padding: .8em;

  @media (max-width: 750px) {
    font-size: 13px;
  }
}

/* Add this CSS to your main stylesheet or in a <style> tag */
.feedback {
  position: fixed;
  top: 35%;
  right: 0;
  transform: translateY(-35%);
  z-index: 1000;
  background: #5B54F8;
  color: #fff;
  padding: 20px 10px;
  border-radius: 10px 0 0 10px;
  writing-mode: vertical-rl;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s;
}
.feedback:hover {
  background: #4f46e5;
  color: #fff;
  text-decoration: none;
}

.header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  border-bottom: 1px solid #D9D7E9;
  background-color: #F0EFF8;
  z-index: 6000;
}
.header-logo {
  display: flex;
  gap: 12px;
  align-items: center;
  line-height: 1;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}
.header-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 750px) {
  .header {
    position: static;
    flex-direction: column;
    gap: 30px;
    padding: 20px 30px;
  }
}

.avis {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  font-size: 16px;
  font-weight: 500;
  color: #9391BA;
  text-wrap: balance;
}
.avis-stars {
  margin-bottom: 8px;
}
.avis-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avis-footer-avatar {
  width: 41px;
  height: 41px;
  flex-shrink: 0;
}
.avis-footer-avatar img {
  width: 100%;
}

.comparatif {
  width: 100%;
  border-collapse: collapse;
}
.comparatif td, .comparatif th {
  padding: 24px;
  border: 1px solid #D9D7E9;
  vertical-align: middle;
}
.comparatif th {
  font-size: 20px;
}
.comparatif b {
  font-weight: 600;
}
.comparatif .cellhighligh {
  background-color: #EBEAF5;
}

@media (max-width: 750px) {
  .comparatif {
    font-size: 12px;
  }
  .comparatif td, .comparatif th {
    padding: 10px;
  }
  .comparatif th {
    font-size: 14px;
  }
}

.formule {
  text-align: center;
}
.formule-title {
  font-weight: 600;
  font-size: 20px;
}
.formule p {
  margin-bottom: 42px;
}

.footer2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
  padding: 40px 60px;
  border-top: 1px solid #D9D7E9;
  color: #9391BA;
  font-size: 14px;
}
.footer-right {
  display: flex;
  gap: 16px;
}
.footer2 a {
  color: #9391BA;
}
.footer2 a:hover {
  color: #000;
}

@media (max-width: 960px) {
  .footer2 {
    padding: 40px 30px;
    flex-direction: column;
    gap: 30px;
  }
  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.label {
  font-weight: normal;
  font-size: 14px;
}
.label:not(:last-child) {
  margin-bottom: 0.3em;
}
.oblig {
  color: #5B54F8;
}

.login {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}
.login-form {
  max-width: 400px;
  padding: 32px 24px;
  background-color: #fff;
  border: 1px solid #D9D7E9;
  border-radius: 16px;
}
.login-text {
  margin-bottom: 16px;
  line-height: 1.1;
}
.login-text a {
  color: #5B54F8;
  font-weight: 600;
}
.login-legal {
  font-size: 14px;
  color: #9391BA;
  line-height: 1.1;
}
.login-legal a {
  color: #9391BA;
  text-decoration: underline;
}

.backlink {
  color: #5B54F8;
  font-weight: 600;
}

.field:not(:last-child) {
  margin-bottom: 24px;
}
.facult {
  color: #9391BA;
}
.fields {
  margin-bottom: 24px;
}
.select, .select select, .input {
  width: 100%;
  font-size: 14px;
  height: 3em;
}
.input::placehoder, select option[value=""] {
  color: #9CA0A9;
  opacity: 1;
}
.select:not(.is-multiple) {
  height: 3em;
}
.form-hr {
  border-top: 1px solid #D9D7E9;
  margin: 24px 0;
}
.form-erase {
  font-size: 16px;
  color: #000000;
  background: none;
  border: none;
  margin-top: 16px;
  cursor: pointer;
}
.input.resultat {
  min-height: 94px;
  height: auto;
}

@media (min-width: 750px) {
  .fields {
    display: flex;
    gap: 8px;
  }
  .fields > * {
    flex: 1;
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }
}

.selectboxes {
  position: relative;
  height: auto !important;
}
.selectboxes-selector {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0 10px;
  width: 100%;
  font-size: 14px;
  height: 3em;
  background-color: #fff;
  border:  1px solid #dbdbdb;
  border-radius: 4px;
  color: #363636;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.selectboxes.is-active .selectboxes-body {
  display: block;
}
.selectboxes-body {
  display: none;
  position: absolute;
  padding: 8px 0;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #EEEEF0;
  z-index: 9000;
}
.selectboxes-body .checkbox {
  padding: 7px 12px;
  display: flex;
  gap: 8px;
}
input[type=checkbox], input[type=radio] {
  position: relative;
  appearance: none;
  background-color: #fff;
  border: 1px solid #E3E3E3;
  border-radius: 4px;
  width: 16px;
  height: 16px;
}
input[type=radio] {
  border-radius: 50%;
}
input[type=checkbox]:checked, input[type=radio]:checked {
  border: none;
  background-color: #5B54F8;
  background-image: url(images/check.svg);
  background-position: center;
  background-repeat: no-repeat;
}
.control.is-vertical {
  display: flex;
  flex-direction: column;
}
.control.is-vertical .radio {
  margin: 0 !important;
  display: flex;
  align-items: center;
  padding: 3px 0;
  gap: 8px;
  font-size: 14px;
}

.popup {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  padding: 20px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.2);
  z-index: 9000;
}
.popup-inner {
  padding: 32px 24px;
  background-color: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  line-height: 1.1;
}