:root {
    --cor_primaria: #AD1040;
    --cor_shadow: #00000029;
    --color_text: #ffffff;
    --background_primario: #1a1a1a;
    --background_secundario: #242424;
}

body, html, p, * {
    font-family: 'Nunito Sans';
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    color: var(--color_text);
}

a {
    text-decoration: none;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

img {
    max-width: 100%;
    object-fit: cover;
}

.page {
    position: relative;
    width: 1200px;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

body {
    overflow-x: hidden;
    background-color: var(--background_primario);
}

section {
    max-width: 100%;
}

::-webkit-scrollbar-track {
    background-color: #1a1a1a;
}
::-webkit-scrollbar {
    width: 3px;
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(100deg, #ac032a, #B4500E);
}

/** INICIO HEADER */
header {
    color: var(--color_text);
    background-color: transparent;
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
}
body.body-scrolled header {
    background-color: var(--background_primario);
}

header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  
header .logo {
    display: flex;
    align-items: center;
}
header .logo img {
    max-height: 40px;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    text-transform: uppercase;
}

header .button-1 {
    margin: 0;
}

body:not(.body-scrolled) .button-header {
    background: linear-gradient(100deg, #ac032a, #B4500E);
}

/** menu hamburguer */
.menu-hamburguer {
    position: relative;
    width: 30px;
    height: 30px;
    display: none;
    align-items: center;
    justify-content: center;
}
.hamburguer {
    position: relative;
    width: 100%;
    height: 2px;
    background: linear-gradient(100deg, #ac032a, #B4500E);
    transition: .5s ease-in-out;
}
.hamburguer::before, 
.hamburguer::after {
    content: "";
    width: 100%;
    height: 2px;
    background: linear-gradient(100deg, #ac032a, #B4500E);
    position: absolute;
    left: 0;
    transition: .5s ease-in-out;
}
.hamburguer::before {
    top: 10px;
}
.hamburguer::after {
    bottom: 10px;
}

#menu-mobile:checked ~  .menu-hamburguer .hamburguer {
    transform: rotate(45deg);
}
#menu-mobile:checked ~ .menu-hamburguer .hamburguer::before {
    transform: rotate(90deg);
    top: 0px;
}
#menu-mobile:checked ~ .menu-hamburguer .hamburguer::after {
    transform: rotate(90deg);
    bottom: 0px;
}
/** FIM HEADER */

/** INICIO BOTÕES */
.button {
    padding: 8px 25px;
    margin-top: 15px;
    display: inline-flex;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    transition: all .3s ease-in-out;
}

.button-1 {    
    background: linear-gradient(100deg, #DA1A47, #B4500E);
}
.button-1:hover {
    background: linear-gradient(-50deg, #DA1A47, #B4500E);
}

.button-2 {
    position: relative;
    padding: 12px 25px;
}
.button-2::before, .button-2::after {
    content: "";
    width: 20px;
    height: 20px;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, #DA1A47, #B4500E);
    position: absolute;
    transition: all .3s ease-in-out;
}
.button-2::before {
    border-top: 3px solid;
    border-left: 3px solid;
    top: 0;
    left: 0;
}
.button-2::after {
    border-bottom: 3px solid;
    border-right: 3px solid;
    bottom: 0;
    right: 0;
}
.button-2:hover::before, .button-2:hover::after {
    width: 100%;
    height: 100%;
}
/** FIM BOTÕES */

/** INICIO CONTAINER-GRID */
.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}
/** FIM CONTAINER GRID */


/** INÍCIO DOS TEXTOS */
.content-titulo h2 {
    background: -webkit-linear-gradient(90deg, #DA1A47, #B4500E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 30px;
    line-height: 35px;
    font-weight: 700;
}

.content-titulo span {
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 5px;
}

.legend {
    opacity: 0.5;
}

.content-titulo-2 {
    text-align: center;
    padding-bottom: 30px;
}
.content-titulo-2 h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-bottom: 10px;
}
.content-titulo-2 h2::before, .content-titulo-2 h2::after {
    content: "";
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, #DA1A47, #B4500E);
    display: inline-flex;
}

.card h3 {
    background: -webkit-linear-gradient(90deg, #DA1A47, #B4500E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 700;
    line-height: 130%
}
/** FIM DOS TEXTOS */



/** FOOTER */
footer {
    padding: 30px 0 0;
    position: relative;
    background: rgba(36, 36, 36, 0.5);
    border-top: 1px solid rgba(255, 255, 255, .05);
    max-width: 100%;
}
footer .content {
    justify-content: space-between;
    gap: 50px;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer li {
    padding-bottom: 5px;
}
footer a {
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 1px;
    transition: all .3s ease-in-out;
    opacity: 0.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
footer a:hover {
    color: var(--cor_primaria);
    border-bottom-color: var(--cor_primaria);
    opacity: 1;
}
footer span {
    font-size: 12px;
    opacity: 0.5;
}
footer .detalhe {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
}
footer .info {
    padding-bottom: 30px;
}

/* responsivo */
@media screen and (max-width: 1199px) {
    .page {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    body, html, p, * {
        font-size: 14px;
    }

    body header {
        background-color: var(--background_primario);
    }

    .content-titulo h2 {
        font-size: 26px;
        line-height: 30px;
    }

    /** MENU MOBILE */
    header .logo {
        position: relative;
        z-index: 2;
    }
    .menu-hamburguer {
        display: flex;
    }
    header nav {
        position: absolute;
        top: 50px;
        right: -100%;
        background: #1a1a1a;
        width: 50%;
        min-width: 300px;
        min-height: calc(100vh - 70px);
        height: 100%;
        transition: all .5s ease-in-out;
        align-items: flex-end !important;
        padding: 20px !important;
        justify-content: flex-start !important;
        flex-direction: column !important;
        flex-flow: column !important;
        border-radius: 0 0 0 20px;
        overflow-y: scroll;
    }
    #menu-mobile:checked ~ nav {
        right: 0;
    }
    header nav ul {
        flex-direction: column;
        align-items: flex-end;
    }

    .button {
        font-size: 16px;
    }
}
@media screen and (max-width: 575px) {
    footer .content {
        flex-direction: column;
        text-align: center;
    }
    footer .content > img {
        margin: 0 auto;
    }
}