@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Manrope:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #eeeeee;
    font-family: "Manrope", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
VARIÁVEIS
========================================================= */

:root {
    --black: #080808;
    --black-soft: #0e0e0e;
    --black-card: #111111;

    --white: #eeeeee;
    --white-muted: #a7a7a7;
    --white-dark: #666666;

    --scarlet: #e21b2d;
    --scarlet-dark: #9f101e;
    --scarlet-light: #ff3346;

    --border: rgba(255, 255, 255, 0.10);
    --border-red: rgba(226, 27, 45, 0.45);
}


/* =========================================================
HEADER
========================================================= */

.site-header {
    width: 100%;

    border-bottom: 1px solid var(--border);

    background: rgba(8, 8, 8, 0.88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    width: min(1380px, calc(100% - 80px));
    height: 86px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    background: var(--scarlet);
    color: #ffffff;

    font-family: "DM Mono", monospace;
    font-size: 12px;
    font-weight: 500;

    letter-spacing: -1px;
}

.logo-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
}


/* =========================================================
NAVEGAÇÃO
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.main-nav a {
    position: relative;

    color: var(--white-muted);

    font-family: "DM Mono", monospace;
    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 1px;

    padding: 8px 0;

    transition: color 180ms ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: var(--scarlet);

    transition: width 220ms ease;
}

.main-nav a:hover {
    color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: #ffffff;
}


/* =========================================================
CONTATO
========================================================= */

.contact {
    width: min(1380px, calc(100% - 80px));

    margin: 0 auto;

    padding: 110px 0 140px;

    position: relative;
}

.contact::before {
    content: "";

    position: absolute;

    left: -1px;
    top: 0;

    width: 1px;
    height: 150px;

    background: linear-gradient(
        to bottom,
        var(--scarlet),
        transparent
    );
}


/* =========================================================
CABEÇALHO DA PÁGINA
========================================================= */

.contact-heading {
    display: grid;

    grid-template-columns: 240px 1fr;

    gap: 80px;

    padding-bottom: 80px;

    border-bottom: 1px solid var(--border);
}

.section-label {
    display: flex;
    flex-direction: column;
    gap: 9px;

    color: #555555;

    font-family: "DM Mono", monospace;
    font-size: 9px;

    letter-spacing: 1.5px;
}

.section-label span:first-child {
    color: var(--scarlet);
}


.contact-intro {
    max-width: 800px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--scarlet);

    font-family: "DM Mono", monospace;
    font-size: 10px;

    letter-spacing: 2px;
    font-weight: 500;

    margin-bottom: 30px;
}

.eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--scarlet);
}


.contact-intro h1 {
    font-size: clamp(60px, 7vw, 105px);

    line-height: 0.88;

    font-weight: 700;

    letter-spacing: -6px;

    margin-left: -5px;

    color: #f3f3f3;
}

.contact-intro h1 span {
    color: var(--scarlet);
}


.contact-line {
    width: 100%;

    height: 1px;

    margin: 45px 0 28px;

    background: linear-gradient(
        90deg,
        var(--scarlet),
        rgba(226, 27, 45, 0.12),
        transparent
    );
}

.contact-intro > p:last-child {
    max-width: 650px;

    color: #898989;

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
LISTA DE CONTATOS
========================================================= */

.contact-list {
    display: flex;
    flex-direction: column;
}


/* =========================================================
PESSOA
========================================================= */

.contact-person {
    display: grid;

    grid-template-columns: 340px 1fr;

    gap: 80px;

    padding: 75px 0;

    border-bottom: 1px solid var(--border);
}

.contact-person:last-child {
    border-bottom: none;
}


/* =========================================================
IMAGEM
========================================================= */

.person-image {
    width: 100%;
}

.image-frame {
    width: 100%;

    aspect-ratio: 1 / 1;

    padding: 10px;

    border: 1px solid var(--border);

    position: relative;
}

.image-frame::before {
    content: "";

    position: absolute;

    top: -9px;
    right: -9px;

    width: 60px;
    height: 60px;

    border-top: 1px solid var(--scarlet);
    border-right: 1px solid var(--scarlet);

    pointer-events: none;
}

.image-frame::after {
    content: "";

    position: absolute;

    bottom: -9px;
    left: -9px;

    width: 60px;
    height: 60px;

    border-bottom: 1px solid var(--scarlet);
    border-left: 1px solid var(--scarlet);

    pointer-events: none;
}

.image-placeholder {
    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            rgba(226, 27, 45, 0.10),
            transparent 45%
        ),
        linear-gradient(
            45deg,
            #151515,
            #080808
        );

    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter: grayscale(100%);

    transition:
        filter 300ms ease,
        transform 500ms ease;
}

.contact-person:hover .image-placeholder img {
    filter: grayscale(0%);
    transform: scale(1.02);
}


.image-caption {
    display: flex;
    justify-content: space-between;

    padding-top: 12px;

    color: #555555;

    font-family: "DM Mono", monospace;
    font-size: 8px;

    letter-spacing: 1px;
}


/* =========================================================
INFORMAÇÕES
========================================================= */

.person-content {
    align-self: center;

    max-width: 720px;
}

.person-meta {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 22px;
}

.person-meta span {
    color: var(--scarlet);

    font-family: "DM Mono", monospace;
    font-size: 9px;

    letter-spacing: 1.5px;
}

.person-meta span + span {
    color: var(--white-dark);

    padding-left: 18px;

    border-left: 1px solid #333333;
}


.person-content h2 {
    color: var(--white);

    font-size: clamp(36px, 4vw, 54px);

    line-height: 1;

    font-weight: 600;

    letter-spacing: -2.5px;

    margin-bottom: 14px;
}


.person-role {
    color: #777777;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    line-height: 1.7;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 32px;
}


.person-description {
    max-width: 650px;

    color: #898989;

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 18px;
}


.person-email {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    margin-top: 20px;

    padding-bottom: 9px;

    color: #eeeeee;

    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.8px;

    border-bottom: 1px solid var(--scarlet);

    transition:
        color 180ms ease,
        gap 200ms ease;
}

.person-email span {
    color: var(--scarlet);

    font-size: 15px;
}

.person-email:hover {
    color: var(--scarlet-light);

    gap: 24px;
}


/* =========================================================
FOOTER
========================================================= */

.site-footer {
    width: min(1380px, calc(100% - 80px));

    margin: 0 auto;

    padding: 0 0 50px;
}

.footer-line {
    width: 100%;
    height: 1px;

    background: #222222;
}


/* =========================================================
RESPONSIVIDADE
========================================================= */

@media (max-width: 1000px) {

    .header-inner,
    .contact,
    .site-footer {
        width: min(100% - 48px, 760px);
    }


    .contact-heading {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .contact-person {
        grid-template-columns: 260px 1fr;

        gap: 45px;
    }

}


@media (max-width: 650px) {

    .header-inner,
    .contact,
    .site-footer {
        width: calc(100% - 32px);
    }


    .header-inner {
        height: 72px;
    }


    .logo-name {
        display: none;
    }


    .main-nav {
        gap: 22px;
    }


    .main-nav a {
        font-size: 9px;
    }


    .contact {
        padding: 75px 0 100px;
    }


    .contact-heading {
        padding-bottom: 60px;
    }


    .contact-intro h1 {
        font-size: clamp(58px, 18vw, 90px);

        letter-spacing: -5px;
    }


    .contact-line {
        margin: 35px 0 25px;
    }


    .contact-intro > p:last-child {
        font-size: 14px;

        line-height: 1.8;
    }


    .contact-person {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 60px 0;
    }


    .person-image {
        width: min(100%, 330px);
    }


    .person-content h2 {
        font-size: 38px;
    }


    .person-description {
        font-size: 14px;
        line-height: 1.85;
    }


    .site-footer {
        padding-bottom: 30px;
    }

}