body {
  margin: 0;
}

:root {
  --dm-primary: #47E57F;
  --dm-primary-hover: #84f4a5;
  --dm-dark-green: #064E3B;
  --dm-bg-card: #F4F6F7;
  --dm-bg-card-hover: #002820;
  --dm-text-main: #111827;
  --dm-text-muted: #6B7280;
  --dm-white: #FFFFFF;
}



:root {
  --default-font-family: 'AvenuePro';
  --title-font-family: 'AvenueProDisplay';
}

.font-avenue-pro {
  font-family: var(--default-font-family);
}

.font-avenue-pro-display {
  font-family: var(--title-font-family) !important;
}

@font-face {
  font-family: 'AvenuePro';
  src: url('../../fonts/AvenuePro/AvenuePro-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

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

@font-face {
  font-family: 'AvenuePro';
  src: url('../../fonts/AvenuePro/AvenuePro-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'AvenuePro';
  src: url('../../fonts/AvenuePro/AvenuePro-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'AvenuePro';
  src: url('../../fonts/AvenuePro/AvenuePro-Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'AvenuePro';
  src: url('../../fonts/AvenuePro/AvenuePro-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'AvenuePro';
  src: url('../../fonts/AvenuePro/AvenuePro-ExtraBold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-Bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'AvenueProDisplay';
  src: url('../../fonts/AvenuePro/AvenueProDisplay-ExtraBold.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

.dm-hero {
  background-color: #002820;
  background-image: url('../../img/calculadora-inflacao/hero-bg-image.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
  max-width: 1200px;
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  padding: 16px;
  margin-top: 64px; /*remover*/
}

.dm-hero-text {
  margin-left: 48px;
  max-width: 477px;
  width: 100%;
}

.dm-hero-start-mobile  {
  display: none;
}

.dm-hero-text-title {
  font-family: var(--title-font-family) !important;
  color: #FAF6F2;
  font-size: 56px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  line-height: 120%;
  font-weight: 500;
  letter-spacing: -0.75px;
  margin-top: 0;
  margin-bottom: 24px;
}

.dm-hero-tagline {
  font-family: var(--default-font-family);
  -webkit-font-smoothing: antialiased;
  color: #CBCED3;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

#dolarometro-content {
  height: 647px;
  width: 343px;
  position: relative;
  background-color: var(--dm-white);
  border-radius: 8px;
}

.dm-wrapper {
  font-family: var(--default-font-family);
  -webkit-font-smoothing: antialiased;
  max-width: 343px;
  height: 647px;
  margin: 0;
  color: var(--dm-text-main);
  box-sizing: border-box;
}

.dm-wrapper * {
  box-sizing: border-box;
}

.dm-cover-screen {
  background: var(--dm-bg-card-hover);
  height: 647px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.dm-cover-content {
  z-index: 2;
  position: relative;
}

.dm-cover-title {
  font-family: var(--default-font-family);
  -webkit-font-smoothing: antialiased;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dm-white);
  margin: 0;
  letter-spacing: -0.5px;
  padding-right: 24px;
}

.dm-cover-illustration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.dm-arcs {
  width: 100%;
  height: 100%;
  max-width: 300px;
}

.dm-cover-screen .dm-btn-next {
  z-index: 2;
  position: relative;
  margin-top: 0;
  cursor: pointer;
}

.fade-in {
  animation: fadeIn .3s ease;
}

.dm-cover-content-desktop {
  display: block;
}

.dm-cover-content-mobile {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dm-progress-bar {
  display: flex;
  gap: 8px;
  padding: 24px;
}

.dm-progress-pill {
  height: 2px;
  flex: 1;
  background-color: #DDDDDD;
  transition: background-color 0.3s ease;
}

.dm-progress-pill.active {
  background-color: var(--dm-primary);
}

.dm-header {
  -webkit-font-smoothing: antialiased;
  margin-bottom: 16px;
}

.dm-category-title {
  font-family: var(--default-font-family);
  font-size: 14px!important;
  color: #205934;
  margin: 16px 24px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.dm-question-text {
  font-family: var(--default-font-family);
  font-size: 14px!important;
  line-height: 18px;
  letter-spacing: 0;
  font-weight: 400;
  color: #45565C;
  margin: 0;
  padding: 0 24px;
}

.dm-options-grid {
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .dm-options-grid {
      grid-template-columns: repeat(1, 1fr);
  }
  .dm-category-title {
      font-size: 14px;
  }
  .dm-question-text {
      font-size: 14px;
  }
}

.dm-card-label {
  position: relative;
  display: block;
  height: 100%;
}

.dm-card-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dm-card-inner {
  height: auto;
  max-height: 119px;
  background-color: var(--dm-bg-card);
  border: 1px solid var(--dm-bg-card);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dm-card-inner * {
  cursor: pointer;
}

.dm-card-inner:hover {
  background-color: var(--dm-bg-card);
  border: 1px solid #A3B1B7;
}

.dm-card-label input:checked + .dm-card-inner {
  border-color: #002820;
  background-color: #002820;

}
.dm-card-label input:checked + .dm-card-inner .dm-option-text {
  color: var(--dm-white);
}

.dm-card-label input:checked + .dm-card-inner .dm-logo-circle {
  background-color: var(--dm-primary);
}

.dm-option-text {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.80);
  font-family: var(--default-font-family);
  display: block;
  line-height: 160%;
  font-weight: 400;
}

.dm-logos-wrapper {
  margin-top: 16px;
  width: 100%;
  display: flex;
  justify-content: start;
  gap: 16px;
  flex-wrap: wrap;
}

.dm-logo-circle {
  width: 48px;
  height: 48px;
  background-color: #FEFEFE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 8px; */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.dm-logo-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  letter-spacing: 0.05em;
}

.dm-logo-circle img {
  max-width: 100%;
  height: auto;
  display: block;
}

.dm-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dm-btn-reload,
.dm-btn-open-account {
  margin: 0!important;
}

.dm-btn-reload {
  background-color: transparent!important;
  border: 1px solid #A3B1B7!important;
  color: #FAF6F2!important;
  transition: all 100 linear;
}

.dm-btn-reload:hover {
  background-color: #F4F6F7!important;
  color: #002820!important;
}

.dm-btn-next,
.dm-btn-start {
  -webkit-font-smoothing: antialiased;
  background-color: #47E57F;
  border: 1px solid #47E57F;
  padding: 16px;
  border-radius: 100px;
  color: #0C2028;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--default-font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.25px;
  transition: background-color 100ms linear;
  width: 100%;
  cursor: pointer;
}

.text-lg {
  color: #002820;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.25px
}

.dm-btn-next:hover {
  background-color: var(--dm-primary-hover);
  border: 1px solid var(--dm-primary-hover);
}

.dm-result-container {
  text-align: center;
  padding: 24px;
  background: var(--dm-bg-card-hover);
  height: 647px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dm-result-content {
  color: #FAF6F2;
}

.dm-result-title {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 20px 0;
  letter-spacing: 0;
  text-align: left;
}

.dm-big-score {
  font-family: var(--title-font-family) !important;
  font-size: 88px;
  -webkit-font-smoothing: antialiased;
  color: var(--dm-bg-card-hover);
  text-align: center;
  font-weight: 700;
  line-height: 110%;
  padding: 8px 0;
  background-color: #36C665;
  width: 100%;
}

.dm-result-tagline {
  font-family: var(--default-font-family);
  -webkit-font-smoothing: antialiased;
  color: #FAF6F2;
  margin-top: 20px;
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  padding: 0 24px;
}

.dm-result-text {
  margin: 0;
  color: #FAF6F2;
  font-family: var(--default-font-family);
  -webkit-font-smoothing: antialiased;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
}

.dm-result-link {
  margin-top: 32px;
  margin-bottom: 0;
  color: #FAF6F2;
  font-family: var(--default-font-family);
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0;
}

.dm-result-link a {
  color: #2BAB5E;
  text-decoration: underline;
}

.dm-continue-button {
  padding: 0 24px;
  position: absolute;
  bottom: 24px;
  width: 100%;
  cursor: pointer;
}

.dm-back-button {
  padding-left: 24px;
  cursor: pointer;
}

.dm-btn-back {
  -webkit-font-smoothing: antialiased;
  background-color: transparent;
  border: none;
  display: block;
  text-align: left;
  color: #0B2521;
  font-size: 16px;
  font-family: var(--default-font-family);
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  text-decoration: underline;
  user-select: none;
  background-image: url('data:image/svg+xml,<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.95605 8.21564L9.57979 12.9918L10.6575 11.9485L7.04379 8.21564L10.6575 4.48277L9.57979 3.43945L4.95605 8.21564Z" fill="%230F262F"/></svg>');
  background-repeat: no-repeat;
  background-position: center left;
  padding-left: 16px;
  cursor: pointer;
}

#card-q10-a1 > .dm-logos-wrapper{
  margin-top: 4px;
}

#card-q10-a1 > .dm-option-text{
  line-height: 120%;
}

@media (max-width: 767px) {
  #dolarometro-content {
    width: 100%;
    border: 1px solid #F1F5F8;
  }
  .dm-hero {
    flex-direction: column;
    background-image: none!important;
    background-color: transparent;
    padding: 0;
    max-width: 100%;
  }
  
  .dm-hero-text{
    display: none;
  }
  .dm-hero-start-mobile {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 24px;
    margin-bottom: 24px;
  }

  .dm-hero-start-mobile-title {
    font-family: var(--title-font-family) !important;
    font-size: 32px;
    -webkit-font-smoothing: antialiased;
    line-height: 40px;
    letter-spacing: 0;
    font-weight: 500;
  }
  
  .dm-hero-calculadora {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .dm-hero-start-mobile-subtitle {
    -webkit-font-smoothing: antialiased;
    font-family: var(--default-font-family);
    font-size: 18px;
    line-height: 24px;
    font-weight: 24px;
    color: #566972;
    letter-spacing: 0;
  }
  
  .dm-wrapper {
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }
  .dm-cover-content-desktop {
    display: none;
  }
  .dm-cover-content-mobile {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: end;
    justify-content: end;
    gap: 16px;
    margin-bottom: 54px;
  }
  .dm-cover-title-mobile{
    -webkit-font-smoothing: antialiased;
    font-family: var(--default-font-family);
    font-size: 32px;
    color: #FAF6F2;
    line-height: 40px;
    font-weight: 500;
    letter-spacing: 0;
    padding: 0;
  }
  .dm-cover-text-mobile {
    -webkit-font-smoothing: antialiased;
    font-family: var(--default-font-family);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0;
    color: #FAF6F2;
  }
}