/* CORES
Vermelho    #CE5567
Verde       #37A0AE
Azul escuro #0C2443
 */

body {

}

main {
  justify-content: center;
}

main p {
  text-align: center;
}

h2, h3 {
  text-align: center;
  font-family: 'Barlow', serif;
  text-transform: uppercase;
  font-weight: 700;
}

/* INÍCIO */
h2 {
  font-size: 5rem;
  color: #ff6600;
  margin-top: 3rem;
  margin-bottom: 2rem;
}
@media (max-width: 1000px) {
  h2 {
    max-width: 30rem;
  }
}
@media (max-width: 767.98px) {
  h2 {
    font-size: 4.5rem;
  }
}

@media (max-width: 499px) {
    h2 {
      font-size: 3rem;
      max-width: 20rem;
    }
}
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.intro p {
  max-width: 800px;
}
.abordagens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 0;
  width: 100%;
  margin-bottom: 2rem;
  justify-items: center;
}
.abordagens>div{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  text-align: center;
  position: relative;
}
.abordagens>div:nth-child(13) {
  grid-column: 2;
}
.abordagens>div:nth-child(14) {
  grid-column: 3;
}
.abordagens svg,
.abordagens object {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  stroke: #ffffff;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.abordagens>div::before {
  content: '';
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  background-color: #ff6600;
  border-radius: 50%;
  z-index: 1;
}
.abordagens img {
  width: 160px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .abordagens {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 0;
  }
  .abordagens svg,
  .abordagens object {
    width: 44px;
    height: 44px;
  }
  .abordagens>div::before {
    width: 78px;
    height: 78px;
    top: -17px;
  }
}

@media (max-width: 480px) {
  .abordagens {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 0;
  }
  .abordagens svg,
  .abordagens object {
    width: 38px;
    height: 38px;
  }
  .abordagens>div::before {
    width: 70px;
    height: 70px;
    top: -16px;
  }
}
.instrucoes {
  background-color: #EFEFEF;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* INSTRUÇõES */
.instrucoes h3 {
  color: #FF6600;
  font-size: 3rem;
  margin-bottom: 2rem;
}
.instrucoes .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
ol {
  padding: 0;
  counter-reset: item;
}
ol > li {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.5em;
  list-style-type: none;
  counter-increment: item;
}
ol > li:before {
  position: absolute;
  left: 0px;
  display: inline-block;
  width: 1em;
  padding-right: 0.5em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}

/* RESULTADOS */
.resultado {
  background-color: #993300; /* Marrom igual às cartas */
  color: #fff; /* Texto branco */
  /* padding-top: 2.5rem;
  padding-bottom: 2.5rem; */
  transition: .7s;
}
.resultado h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.resultado p:last-child {
  margin-bottom: 0;
}
.resultado * {
  max-width: 600px;
}
.resultado .container {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.resultado a {
  color: #fff; /* Links em branco para contrastar com fundo marrom */
  font-weight: 700;
  font-style: italic;
}

/* CONCLUSÃO */
.divisoria {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 500px;
  max-width: 80%;
  z-index: -1;
}
.divisoria>div {
  position: absolute;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.divisoria>div>div {
  width: 100%;
  border-bottom: 3px solid #993300;
}
.divisoria img {
  width: 22px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.conclusao p {
  max-width: 750px;
}
.conclusao p:last-of-type {
  margin-bottom: 0;
}

/* Ícones SVG nas cartas - mesmo estilo da seção Abordagens */
.back svg,
.back object {
  width: 52px;
  height: 52px;
  margin-bottom: 0.8rem;
  stroke: #ffffff;
  pointer-events: none;
}

@media (max-width: 768px) {
  .back svg,
  .back object {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .back svg,
  .back object {
    width: 38px;
    height: 38px;
  }
}

/* Estilos específicos para ícones SVG em elementos object */
.icon-svg {
  color: white;
  pointer-events: none;
}

/* Estilos para ícones SVG */
.icon-svg {
  filter: brightness(0) invert(1);
  pointer-events: none;
  display: inline-block;
  vertical-align: middle;
}

/* Garantir que os elementos de ícones funcionem corretamente */
.abordagens .icon-svg,
.back .icon-svg {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.back .icon-svg {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .abordagens .icon-svg,
  .back .icon-svg {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .abordagens .icon-svg,
  .back .icon-svg {
    width: 38px;
    height: 38px;
  }
}
