/* -------------------------
   Base
------------------------- */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background-color: #aba699;
    color: #4e4942;
    font-family: Arial, sans-serif;
}


/* -------------------------
   Página inicial
------------------------- */

.home {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;
}

.home::before {
    content: "";

    position: absolute;

    top: 40px;
    bottom: 40px;
    left: calc(50% - 260px);

    width: 520px;

    background-color: #cbcfd8;

    border-radius: 20px;

    z-index: 0;
}
.identity,
.navigation {
    position: relative;
    z-index: 1;
}
/* -------------------------
   Identidade
------------------------- */

.identity {
    text-align: center;
    margin-bottom: 56px;
}

.identity h1 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.identity p {
    margin-top: 10px;

    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.7;
}


/* -------------------------
   Navegação
------------------------- */

.navigation {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 22px;
}

.navigation a {
    display: block;

    color: inherit;
    text-decoration: none;

    font-size: 1.15rem;
    font-weight: 400;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.navigation a:hover,
.navigation a:focus-visible {
    opacity: 0.55;
    transform: translateY(-2px);
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* -------------------------
   Páginas internas
------------------------- */

.page {
    min-height: 100vh;
    max-width: 760px;

    margin: 0 auto;
    padding: 48px 24px 80px;
}


/* -------------------------
   Cabeçalho da página
------------------------- */

.page-header {
    margin-bottom: 64px;
}

.back {
    display: inline-block;

    margin-bottom: 48px;

    color: inherit;
    text-decoration: none;

    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.55;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.back:hover,
.back:focus-visible {
    opacity: 1;
    transform: translateX(-3px);
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}


/* -------------------------
   Conteúdo
------------------------- */

.content {
    max-width: 620px;
}

.content h2 {
    font-size: 1.35rem;
    font-weight: 400;

    margin-bottom: 8px;
}

.content p {
    line-height: 1.7;
    margin-bottom: 24px;
}

.content .profession {
    margin-top: -4px;
    margin-bottom: 32px;

    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.7;
}
.contact-link {
    display: inline-block;

    margin-top: 12px;

    color: inherit;
    text-decoration: none;

    font-size: 1.1rem;

    border-bottom: 1px solid rgba(78, 73, 66, 0.35);

    padding-bottom: 4px;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: translateX(3px);
    color: #6f8f72;
    border-bottom-color: #6f8f72;
    text-shadow: 0 1px 3px rgba(78, 73, 66, 0.25);
}

/* -------------------------
   Quem sou eu
------------------------- */

.eyebrow {
    margin-bottom: 18px;

    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.6;
}

.intro {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;

    align-items: start;
    justify-content: center;
}

.intro-text h1 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.intro-description {
    max-width: 500px;

    margin-top: 42px;

    font-size: 1.15rem;
    line-height: 1.7;
}

.intro-description p {
    margin-bottom: 24px;
}

.intro-photo {
    width: 245px;
    transform: translate(-30px, 135px);
}

.intro-photo img {
    display: block;

    width: 100%;
    aspect-ratio: 3 / 4;

    object-fit: cover;

    border-radius: 20px;
}

.photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(78, 73, 66, 0.25);

    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    opacity: 0.6;
}


/* -------------------------
   Seções
------------------------- */

.content-section {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;

    padding: 64px 0;

    border-top: 1px solid rgba(78, 73, 66, 0.2);
}

.content-section h2 {
    font-size: 1.25rem;
    font-weight: 400;
}

.section-text {
    max-width: 520px;
}

.section-text p {
    line-height: 1.8;
    margin-bottom: 24px;
}

.intro-symbol {
    font-size: 7rem;
    font-weight: 300;
    line-height: 1;

    opacity: 0.18;

    margin-top: 225px;
}


/* -------------------------
   Responsivo
------------------------- */

@media (max-width: 700px) {

    .home::before {
        left: 10%;
        width: 80%;
    }

   .intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

   .intro-photo {
        width: 180px;
        transform: none;
        margin: 0 auto;
    }

    .content-section {
        grid-template-columns: 36px 1fr;
        gap: 16px;
    }

    .content-section h2 {
        grid-column: 2;
    }

    .section-text {
        grid-column: 2;
    }

   .intro-symbol {
        margin: 0 auto;
    }
}
