:root {
  --primary: #d9e100;
  --light: #ececec;
  --dark: #212529;
  --gray: #e6e6e6;
  --white: #ffffff;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis-Bold.woff2') format('woff2'),
        url('../fonts/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis-Regular.woff2') format('woff2'),
        url('../fonts/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
  margin: 0;
  font-family: "Metropolis", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-margin-top: 100px;
}

* {
  scroll-margin-top: 100px;
}


/* Generals */
.section-margin {
  margin: 100px 0;
}
.section-padding {
  padding: 100px 0;
}

.bg-light { background: var(--light); }
.bg-dark { background: var(--dark); }
.bg-primary { background: var(--primary); }

.text-light { color: var(--white); }
.text-dark { color: var(--dark); }
.text-center { text-align: center; }

h1, .h1,
h2, .h2,
h3, .h3 {
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

h1, .h1 { font-size: 64px; }
h2, .h2 { font-size: 40px; }
h3, .h3 { font-size: 28px; }

h4, .h4,
h5, .h5, 
h6, .h6 {
    font-weight: 600 !important;
}

a {
  color: var(--dark);
}

.bg-primary { background-color: var(--primary) !important; }
.bg-gray { background-color: var(--gray) !important; }
.text-primary { color: var(--primary) !important; }

.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

.custom-list li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../img/favicon.png") no-repeat center center;
  background-size: contain; 
}

b, strong {
  font-weight: bold;
}

a {
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: all 200ms ease-in-out;
}

.no-border {
  border: none !important;
}

sup  small {
  font-size: .5em;
}

.text-underline {
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* Hero */
.hero {
  background: url('../img/hero-background.jpg') bottom left no-repeat;
  background-size: cover;
  height: 100vh;
  min-height: 400px;
  display: flex;
  padding-top: 18%;
  overflow: hidden;
  position: relative;
  padding-bottom: 20px;
}
.hero-img {
  position: absolute;
  bottom: -30px;
  left: 0;
  z-index: 0;
}
.hero-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--dark);
  background: #fff;
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: rgba(217,225,0,0.1);
  border: 2px solid var(--primary);
  padding: 24px;
  border-radius: 20px 6px;
  transition: all 0.3s;
}
.card-dark {
  color: #fff;
}

/* Video */
.video-poster {
  position: relative;
  display: block;
}
.video-poster:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  transition: all 200ms ease-in-out;
}

.video-poster:hover:before {
  background: rgba(0,0,0,0.4);
  transition: all 200ms ease-in-out;
}

.video-poster .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  color: var(--primary);
  transition: all 200ms ease-in-out;
}

.video-poster:hover .icon {
  color: #fff;
  transition: all 200ms ease-in-out;
}

  /* Footer */
.footer {
  padding: 100px 0 0;
  font-size: 15px;
}
footer a {
  text-decoration-color: rgba(255,255,255,0.6);
  transition: all 200ms ease-in-out;
}
footer a:hover,
footer a:focus {
  text-decoration-color: rgba(255,255,255,1);
  transition: all 200ms ease-in-out;
}
/* Buttons */
.btn {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  padding: 14px 28px 12px;
  border-radius: 20px 6px !important;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-group { display: flex; gap: 16px; margin-top: 24px; }
.btn-primary {
  background: var(--primary);
  color: var(--dark);
  border: none;
}
.btn-primary:hover {
    background: #c4cc00;
    color: var(--dark);
 }
.btn-outline {
  border: 2px solid var(--dark);
  color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}



/* FORM */
.form-control,
.input.form-control {
  border: 1px solid rgba(217,225,0, .5) !important;
  border-radius: 12px;
  background: #fff;
}

.form-control:focus,
.input.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(217,225,0, .25);
  border-color: rgba(217,225,0, 1);
}

.form-check-label {
  font-size: 14px;
}

.form-check-input {
  border-color: rgba(217,225,0, .5);;
}

.sib-sms-select__number-input,
.sib-sms-select__title  {
  border: 1px solid rgba(217,225,0, .5);
  border-radius: 12px;
}

.sib-sms-select__phone-number {
  border-radius: 0 12px 12px 0;
}

.sib-sms-select__calling-code {
  border-right-color:  rgba(217,225,0, .5);
  border-radius: 12px 0 0 12px;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: rgba(217,225,0, 1);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(217,225,0, 0.25);
    border-color: rgba(217,225,0, 1);
}

.sib-form {
  padding: 0;
  font-family: "Metropolis", sans-serif;
}

.sib-form * {
  font-family: "Metropolis", sans-serif !important;
}

.sib-form-block {
  padding: 0;
}

#sib-container {
  padding: 0;
  background: transparent;
}

.sib-form .entry__field {
  border: none;
  background: transparent;
}

.sib-form .entry__label {
  font-weight: 400;
}

.entry__label::after {
  color: var(--dark);
}

.entry__error  {
  font-size: 13px !important;
  padding: 2px 6px !important;
}


/* CONFRONTO */
#confronto {
  background: url('../img/logo-icon.svg') center no-repeat;
  background-size: 80%;
}

#confronto .card {
  background: #fbfcea;
}


@media screen and (max-width: 991px) {

  .section-margin {
    margin: 75px 0;
  } 

  .section-padding {
    padding: 50px 0;
  }

  h1 { 
    font-size: 42px; 
  }

  h2 { 
    font-size: 32px; 
  }

  .btn {
    font-size: 14px;
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .cards-slider {
    flex-wrap: nowrap;
    overflow: scroll;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;  
  }

  .cards-slider::-webkit-scrollbar { 
      display: none;
  }

  .cards-slider > * {
    scroll-snap-align: start;
    width: 80%;
  }

  .footer {
    padding-top: 50px;
  }

  .fs-5 {
    font-size: 1.15rem !important;
  }
}


@media screen and (max-width: 767px) {

  .hero {
      padding-top: 110px;
  }

  .hero-img {
    width: 120vw;
    left: -35px;
  }
}




