:root {
    --color-primary: #070A48;
    --color-secondary: #FFBC21;
    --azul-gradient: linear-gradient(86deg, #03518a 0%, #01002E 100%);

    /*Color card */
    --brand-color: #FFBC21;
    --black: hsl(0, 0%, 0%);
    --white: hsl(0, 0%, 100%);
}

.bg-dom{
    background-image: url(../img/bg-dom-hero.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
}
.secao-hero-texto{
    top: 30%;
    left: 2em;
}
.texto-header {
    font-size: 3em !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}
.subtexto-dom{
    color: #fff;
    font-weight: 900;
}
.undernline-dom{
    text-decoration: underline;
    text-decoration-color: #FFBC21;
}
.navbar{
    backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.6);
}

.navbar-cor, .navbar-cor:hover{
    color: var(--color-primary);
}

.nav-link:focus, .nav-link:hover {
  color: var(--color-primary) !important; 
}

.nav-item {
    position: relative;
}

.nav-item::before{
    content: '';
    position: absolute;
    left: 2px;
    bottom: -2px;
    width: 90%;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 4px;
    scale: 0 1;
    transform-origin: left;
    transition:scale 0.35s;
}

.nav-item:hover::before{
    scale: 1;
}

/*Card segmentos*/

.bg-segmentos{
    background-image: url(../img/bg-segmento.svg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}

h2 {
    font-size: 2.25rem;
    color: var(--white);
    line-height: 1.1;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white);
  }
  
  .flow > * + * {
    margin-top: var(--flow-space, 1em);
  }

.cardd {
    display: grid;
    place-items: center;
    width: 100%;
    height: 28.125rem;
    overflow: hidden;
    border-radius: 2em;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
  }
  
  .cardd > * {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  
  .card__background {
    object-fit: cover;
    max-width: 100%;
    height: 100%;
  }
  
  .card__content {
    --flow-space: 0.9375rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12% 1.25rem 1.875rem;
    background: linear-gradient(
      180deg,
      hsla(0, 0%, 0%, 0) 0%,
      hsla(0, 0%, 0%, 0.3) 10%,
      hsl(0, 0%, 0%) 100%
    );
  }
  
  .card__content--container {
    --flow-space: 1.25rem;
  }
  
  .card__title {
    position: relative;
    width: fit-content;
    width: -moz-fit-content;
    font-weight: 900;
    font-size: 2.5em;
  }
  
  .card__title::after {
    content: "";
    position: absolute;
    height: 0.3125rem;
    width: calc(100% + 1.25rem);
    bottom: calc((1.25rem - 0.5rem) * -1);
    left: -1.25rem;
    background-color: var(--brand-color);
  }

  .btn-witdh{
    width: 35%;
  }

  /*Atividade*/

  .swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
    border-top-right-radius: 2em;
    border-top-left-radius: 2em;    
}

.mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding-top: 10px;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.card-atividade{
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    top: 60%;
    height: 100%;
    text-align: left;
}

.titulo-atividade{
    font-weight: 900;
    font-size: 2.5em;
    color: #fffafa;
    padding: .5em 0  .2em 0;
}

.mySwiper>.swiper-wrapper>.swiper-slide> img{
    height: 300px;
} 
  
  
  @media (any-hover: hover) and (any-pointer: fine) {
    .card__content {
      transform: translateY(62%);
      transition: transform 500ms ease-out;
      transition-delay: 500ms;
    }
  
    .card__title::after {
      opacity: 0;
      transform: scaleX(0);
      transition: opacity 1000ms ease-in, transform 500ms ease-out;
      transition-delay: 500ms;
      transform-origin: right;
    }
  
    .card__background {
      transition: transform 500ms ease-in;
    }
  
    .card__content--container > :not(.card__title),
    .card__button {
      opacity: 0;
      transition: transform 500ms ease-out, opacity 500ms ease-out;
    }
  
    .cardd:hover,
    .cardd:focus-within {
      transform: scale(1.05);
      transition: transform 500ms ease-in;
    }
  
    .cardd:hover .card__content,
    .cardd:focus-within .card__content {
      transform: translateY(0);
      transition: transform 500ms ease-in;
    }
  
    .cardd:focus-within .card__content {
      transition-duration: 0ms;
    }
  
    .cardd:hover .card__background,
    .cardd:focus-within .card__background {
      transform: scale(1.3);
    }
  
    .cardd:hover .card__content--container > :not(.card__title),
    .cardd:hover .card__button,
    .cardd:focus-within .card__content--container > :not(.card__title),
    .cardd:focus-within .card__button {
      opacity: 1;
      transition: opacity 500ms ease-in;
      transition-delay: 1000ms;
    }
  
    .cardd:hover .card__title::after,
    .cardd:focus-within .card__title::after {
      opacity: 1;
      transform: scaleX(1);
      transform-origin: left;
      transition: opacity 500ms ease-in, transform 500ms ease-in;
      transition-delay: 500ms;
    }
  }

@media screen and (min-width:992px) and (max-width:1199px) {
    .secao-hero-texto{
        top: 15%;
    }
}

@media screen and (min-width:576px) and (max-width:991px) {
    .secao-hero-texto{
        top: 10%;
    }
}

@media screen and (min-width:425px) and (max-width:575px) {
    .texto-header {
        font-size: 2em !important;
    }
    .secao-hero-texto{
        left: 1em;
        backdrop-filter: blur(2px);
    }
}