@font-face {
    font-family: 'Gilroy-Regular';
    src: url('../fonts/GILROY-REGULAR.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GILROY-SEMIBOLD';
    src: url('../fonts/GILROY-SEMIBOLD.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #0d6063;
    font-family: 'Gilroy-Regular', sans-serif;
    color: #05393c;
}

.container {
    max-height: 756px;
    max-width: 425px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

header {
    display: grid;
    grid-template-columns: 140px 125px;
    padding: 20px 40px;
    justify-content: space-between;
    align-items: center;
}

header div:first-child > img {
    max-width: 100%;
}

header div:last-child {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 12px;
}

header div:last-child > p {
    font-size: .8rem;
    font-family: Gilroy-Semibold, sans-serif;
    line-height: 1.1em;
}

main {
    height: 590px;
}

.card {
    padding-top: 350px;
    overflow-x: clip;
}

.card div:first-child {
    position: relative;
}

.card div:first-child img {
    position: absolute;
    width: 65px;
    height: auto;
    right: 40px;
    bottom: 215px;
}

.diagonal {
    display: grid;
    grid-template: 1fr auto / 1fr 1fr;
    transform: rotate(-45deg);
    align-items: flex-end;
    width: 500px;
}

.diagonal div:first-child {
    padding-bottom: 45px;
}

h2 {
    font-family: Gilroy-Semibold, sans-serif;
    font-size: 2.3rem;
    color: #1fe7b5;
}

.diagonal p {
    color: white;
}

.icones, .diagonal div:first-child {
    grid-column: 1 / 3;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-end;
}

.icones {
    transform: translateX(10px);
}

.icones a {
    width: 80px;
    height: 80px;
    display: block;
    transform: rotate(45deg);
}

.icones a img {
    max-width: 100%;
    height: auto;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px 20px;
    position: relative;
    z-index: 5;
}

footer div:first-child {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
}

footer a {
    width: 45px;
    height: 45px;

}

footer div:last-child {
    text-align: center;
}

footer div:last-child img {
    max-width: 15%;
    margin-bottom: 5px;
}

footer p {
    font-size: 0.8rem;
    color: white;
    margin-bottom: 5px;
}

/* Classes auxiliares para carregamento */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.erro {
    color: #ff6b6b;
    text-align: center;
}
