:root{
    --tinta: #15141A;
    --casca: #FBF9F4;
    --polpa: #E8DEC7;
    --semente: #4A2E1C;
    --ambar: #C98A3E;
    --fronde: #3E5240;

    --line: rgba(251, 249, 244, 0.14);
    --line-dark: rgba(21, 20, 26, 0.14);

    --soft-dark: rgba(21, 20, 26, 0.64);
    --soft-light: rgba(251, 249, 244, 0.72);

    --header-height: 70px;
}


/* =========================================================
   RESET
   ========================================================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    min-height: 100vh;

    background-color: var(--tinta);
    color: var(--casca);

    font-family: "Inter", Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    overflow-x: hidden;
}

img,
svg{
    max-width: 100%;
}

a{
    color: inherit;
}

button,
input,
textarea,
select{
    font: inherit;
}

:focus-visible{
    outline: 1.5px solid var(--ambar);
    outline-offset: 3px;
}

h1,
h2,
h3,
.brand-font{
    font-family: "Newsreader", Georgia, serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}


/* =========================================================
   SEÇÕES / CORES
   ========================================================= */

.section-dark{
    background-color: var(--tinta);
    color: var(--casca);
}

.section-light{
    background-color: var(--casca);
    color: var(--tinta);
}


/* =========================================================
   HEADER
   ========================================================= */

header{
    position: fixed;
    top: 0;
    left: 0;

    z-index: 100;

    width: 100%;
    height: var(--header-height);

    background-color: var(--tinta);

    border-bottom: 1px solid var(--line);
}

nav{
    width: 100%;
    max-width: 1200px;
    height: 100%;

    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(28px, 4vw, 56px);
}

nav ul{
    list-style: none;

    display: flex;
    align-items: center;

    gap: clamp(28px, 4vw, 56px);
}

.nav-left{
    justify-content: flex-end;
}

.nav-right{
    justify-content: flex-start;
}

.brand-mark{
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    line-height: 0;
    cursor: default;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-mark:hover{
    opacity: 0.7;
    transform: scale(1.05);
}

.brand-mark img{
    width: 34px;
    height: auto;

    display: block;
}

nav a{
    position: relative;

    display: inline-block;

    padding-bottom: 5px;

    color: var(--casca);
    text-decoration: none;

    font-family: "Inter", sans-serif;
    font-size: 14px;
    letter-spacing: 0.02em;

    opacity: 0.78;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

nav a::after{
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background-color: var(--ambar);

    transition: width 0.25s ease;
}

nav a:hover,
nav a.is-active{
    opacity: 1;
}

nav a:hover::after,
nav a.is-active::after{
    width: 100%;
}


/* =========================================================
   INTRO / ABERTURA
   ========================================================= */

.intro{
    position: relative;

    min-height: 100vh;

    padding-top: var(--header-height);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.intro-stage{
    position: relative;

    width: min(900px, 90vw);
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-wordmark{
    position: absolute;

    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(100px, 20vw, 240px);
    line-height: 0.8;
    letter-spacing: -0.05em;

    color: var(--casca);

    opacity: 0.96;
}

.intro-eye{
    position: absolute;

    width: min(320px, 28vw);

    left: 50%;
    top: 52%;

    transform: translate(-50%, -50%);

    z-index: 2;
    filter: drop-shadow(0 0 22px rgba(21, 20, 26, 0.85));
}

.eye-draw{
    width: 100%;
    height: auto;

    display: block;

    fill: none;
    stroke: var(--ambar);
    stroke-width: 1.15;

    overflow: visible;
}

.eye-draw path{
    fill: none;

    stroke: var(--ambar);
    stroke-width: 1.35;

    stroke-dasharray: 620;
    stroke-dashoffset: 620;

    animation:
        draw-eye 2.4s 0.3s cubic-bezier(.4, 0, .2, 1)
        forwards;
}

@keyframes draw-eye{
    to{
        stroke-dashoffset: 0;
    }
}

.intro-caption{
    position: absolute;

    left: 50%;
    bottom: 95px;

    transform: translateX(-50%);

    width: min(900px, calc(100% - 48px));

    display: flex;
    align-items: baseline;
    justify-content: space-between;

    gap: 30px;
}

.intro-caption .eyebrow{
    margin-bottom: 0;
}

.intro-tagline{
    font-family: "Newsreader", Georgia, serif;
    font-size: 15px;
    font-style: italic;

    color: var(--soft-light);
}

.scroll-cue{
    position: absolute;
    left: 50%;
    bottom: 28px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: lowercase;

    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

.scroll-cue::before{
    content: "";

    width: 1px;
    height: 28px;

    background-color: var(--line);
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow{
    margin-bottom: 18px;

    font-family: "Newsreader", Georgia, serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;

    color: var(--ambar);
}


/* =========================================================
   HOME / HERO
   ========================================================= */

main.hero{
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    scroll-margin-top: var(--header-height);
}

.hero-grid{
    position: relative;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 130px 40px 100px;

    display: flex;
    align-items: center;
}

.hero-copy{
    position: relative;

    width: min(100%, 900px);

    margin: 0 auto;
}

.hero-heading{
    position: relative;
}

.hero-heading .eyebrow{
    margin-bottom: 16px;

    font-size: 14px;
}

.hero-copy h1{
    margin: 0;

    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(90px, 12vw, 170px);
    line-height: 0.78;
    letter-spacing: -0.045em;
    font-weight: 500;

    color: var(--casca);
}

.hero-copy .tagline{
    margin-top: 38px;
    margin-bottom: 22px;

    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(21px, 2.3vw, 28px);
    font-style: italic;
    font-weight: 400;

    line-height: 1.2;

    color: var(--soft-light);
}

.hero-desc{
    max-width: 580px;

    margin-bottom: 32px;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.7;

    color: var(--polpa);
}

.text-link{
    position: relative;

    display: inline-block;

    padding-bottom: 6px;

    color: var(--ambar);

    font-family: "Inter", sans-serif;
    font-size: 15px;
    letter-spacing: 0.01em;

    text-decoration: none;
}

.text-link::after{
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background-color: currentColor;

    opacity: 0.45;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.text-link:hover::after{
    opacity: 1;
    transform: translateY(2px);
}


/* =========================================================
   PILARES DA HOME
   ========================================================= */

.hero-pillars{
    list-style: none;

    width: 100%;

    margin-top: 78px;
    padding-top: 24px;

    border-top: 1px solid var(--line);

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 0;
}

.hero-pillars li{
    min-height: 64px;

    padding: 0 30px;

    display: grid;

    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;

    column-gap: 12px;
    align-content: start;
}

.hero-pillars li:first-child{
    padding-left: 0;
}

.hero-pillars li + li{
    border-left: 1px solid var(--line);
}

.hero-pillars span{
    grid-row: 1 / 3;

    padding-top: 2px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;

    color: var(--ambar);
}

.hero-pillars strong{
    display: block;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;

    color: var(--casca);
}

.hero-pillars em{
    display: block;

    margin-top: 4px;

    font-family: "Newsreader", Georgia, serif;
    font-size: 14px;
    font-style: italic;

    color: var(--soft-light);
}


/* =========================================================
   DECORAÇÃO SUTIL DA HOME
   ========================================================= */

.hero-grid::before{
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -270px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(201, 138, 62, 0.08);
    border-radius: 50%;

    pointer-events: none;
}

.hero-grid::after{
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -195px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(251, 249, 244, 0.045);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */

.page{
    padding: 120px 0 140px;

    scroll-margin-top: var(--header-height);
}

.wrap{
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 0 32px;
}

.page h1{
    margin-bottom: 24px;

    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.015em;
}

.page p.lead{
    max-width: 560px;

    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.7;

    color: var(--polpa);
}


/* =========================================================
   OUR BRAND
   ========================================================= */

.wrap--split{
    max-width: 1080px;

    display: grid;

    grid-template-columns:
        minmax(320px, 1fr)
        minmax(260px, 340px);

    gap: 64px;

    align-items: start;
}

.value-list{
    list-style: none;

    margin-top: 48px;
}

.value-list li{
    padding: 22px 0;

    border-top: 1px solid var(--line-dark);
}

.value-list li:last-child{
    border-bottom: 1px solid var(--line-dark);
}

.value-list h3{
    margin-bottom: 8px;

    font-family: "Newsreader", Georgia, serif;
    font-size: 19px;
    font-weight: 500;

    color: var(--tinta);
}

.value-list p{
    max-width: 460px;

    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;

    color: var(--soft-dark);
}

.col-diagram{
    position: sticky;
    top: 110px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;
}

.anatomia{
    width: 100%;
    max-width: 280px;
}

.anatomia .anel-casca{
    fill: var(--casca);
    stroke: var(--line-dark);
    stroke-width: 1;
}

.anatomia .anel-polpa{
    fill: var(--polpa);
}

.anatomia .anel-semente{
    fill: var(--semente);
}

.legenda{
    list-style: none;

    display: flex;
    gap: 22px;

    font-family: "Inter", sans-serif;
    font-size: 13px;

    color: var(--soft-dark);
}

.legenda li{
    display: flex;
    align-items: center;

    gap: 7px;
}

.ponto{
    width: 9px;
    height: 9px;

    display: inline-block;

    border-radius: 50%;
}

.ponto--casca{
    background-color: var(--casca);
    border: 1px solid var(--line-dark);
}

.ponto--polpa{
    background-color: var(--polpa);
}

.ponto--semente{
    background-color: var(--semente);
}


/* =========================================================
   SERVIÇOS
   ========================================================= */

.service-list{
    list-style: none;

    margin-top: 56px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 56px;
}

.service-list li{
    display: flex;

    gap: 18px;

    padding: 28px 0;

    border-top: 1px solid var(--line);
}

.service-list li:nth-last-child(-n+2){
    border-bottom: 1px solid var(--line);
}

.service-list li::before{
    content: "";

    flex: 0 0 auto;

    width: 13px;
    height: 13px;

    margin-top: 6px;

    border: 1.2px solid var(--ambar);
    border-radius: 50%;
}

.service-list h3{
    margin-bottom: 8px;

    font-family: "Newsreader", Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;

    color: var(--casca);
}

.service-list p{
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;

    color: var(--polpa);
}


/* =========================================================
   COMO TRABALHAMOS
   ========================================================= */

.steps-list{
    list-style: none;

    counter-reset: etapa;

    margin-top: 56px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 40px;
}

.steps-list li{
    counter-increment: etapa;

    padding-top: 26px;

    border-top: 1px solid var(--line-dark);
}

.steps-list li::before{
    content: counter(etapa, decimal-leading-zero);

    display: block;

    margin-bottom: 14px;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;

    color: var(--semente);
}

.steps-list h3{
    margin-bottom: 10px;

    font-family: "Newsreader", Georgia, serif;
    font-size: 21px;
    font-weight: 500;

    color: var(--tinta);
}

.steps-list p{
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;

    color: var(--soft-dark);
}


/* =========================================================
   CONTATO
   ========================================================= */

.page--contact{
    text-align: left;
}

.contact-email{
    display: inline-block;

    margin-top: 36px;
    padding-bottom: 10px;

    border-bottom: 1px solid var(--line);

    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 500;

    color: var(--casca);

    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.contact-email:hover{
    color: var(--ambar);
    border-color: var(--ambar);
}


/* =========================================================
   SEÇÃO CLARA
   ========================================================= */

.section-light .eyebrow{
    color: var(--semente);
}

.section-light h1{
    color: var(--tinta);
}

.section-light p.lead{
    color: var(--soft-dark);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
    padding: 64px 32px 32px;

    background-color: var(--casca);
    color: var(--soft-dark);

    border-top: 1px solid var(--line-dark);

    font-size: 13px;
}

.footer-top{
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding-bottom: 40px;

    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.footer-top .brand-mark img{
    width: 26px;
    height: auto;

    opacity: 0.8;
}

.footer-links{
    list-style: none;

    display: flex;
    flex-wrap: wrap;

    gap: 24px;

    font-family: "Inter", sans-serif;
}

.footer-links a{
    color: var(--soft-dark);

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-links a:hover{
    color: var(--semente);
}

.footer-email{
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;

    color: var(--semente);

    text-decoration: none;
}

.footer-copy{
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding-top: 24px;

    border-top: 1px solid var(--line-dark);

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px){

    .hero-grid{
        padding: 120px 32px 100px;
    }

    .hero-copy{
        width: min(100%, 760px);
    }

    .hero-copy h1{
        font-size: clamp(78px, 13vw, 130px);
    }

    .hero-pillars{
        margin-top: 64px;
    }

    .hero-grid::before{
        right: -300px;
    }

    .hero-grid::after{
        right: -220px;
    }

    .wrap--split{
        grid-template-columns: 1fr;

        gap: 48px;
    }

    .col-diagram{
        position: static;

        align-items: flex-start;
    }

    .service-list{
        grid-template-columns: 1fr;
    }

    .service-list li:nth-last-child(-n+2){
        border-bottom: none;
    }

    .service-list li:last-child{
        border-bottom: 1px solid var(--line);
    }

    .steps-list{
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .footer-top{
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px){

    :root{
        --header-height: 64px;
    }

    header{
        background-color: var(--tinta);
    }

    nav{
        padding: 0 18px;

        gap: 20px;
    }

    nav ul{
        gap: 18px;
    }

    nav a{
        font-size: 12px;
    }

    .brand-mark img{
        width: 28px;
    }


    /* Intro */

    .intro{
        min-height: 100svh;
    }

    .intro-stage{
        height: 220px;
    }

    .intro-wordmark{
        font-size: 22vw;
    }

    .intro-eye{
        width: 36vw;
        top: 50%;
    }

    .intro-caption{
        bottom: 78px;

        width: calc(100% - 40px);

        flex-direction: column;
        align-items: flex-start;

        gap: 6px;
    }

    .intro-tagline{
        font-size: 14px;
    }


    /* Home */

    main.hero{
        min-height: 100svh;
    }

    .hero-grid{
        padding: 110px 24px 90px;
    }

    .hero-copy{
        width: 100%;
    }

    .hero-heading .eyebrow{
        font-size: 13px;
        margin-bottom: 14px;
    }

    .hero-copy h1{
        font-size: clamp(68px, 21vw, 105px);
        line-height: 0.82;
    }

    .hero-copy .tagline{
        margin-top: 28px;
        margin-bottom: 18px;

        font-size: 20px;
    }

    .hero-desc{
        max-width: 100%;

        font-size: 14px;
        line-height: 1.7;
    }

    .hero-pillars{
        margin-top: 58px;

        grid-template-columns: 1fr;
    }

    .hero-pillars li,
    .hero-pillars li:first-child{
        min-height: 0;

        padding: 18px 0;
    }

    .hero-pillars li + li{
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .hero-grid::before,
    .hero-grid::after{
        display: none;
    }

    .scroll-cue{
        display: none;
    }


    /* Páginas */

    .page{
        padding: 90px 0 100px;
    }

    .wrap{
        padding: 0 24px;
    }

    .page h1{
        font-size: clamp(40px, 12vw, 56px);
    }

    .page p.lead{
        font-size: 15px;
    }

    .value-list{
        margin-top: 36px;
    }

    .legenda{
        flex-wrap: wrap;

        row-gap: 8px;
    }


    /* Serviços */

    .service-list{
        margin-top: 40px;
    }


    /* Steps */

    .steps-list{
        margin-top: 40px;
    }


    /* Contato */

    .contact-email{
        font-size: clamp(25px, 8vw, 38px);

        word-break: break-word;
    }


    /* Footer */

    .site-footer{
        padding: 50px 24px 28px;
    }

    .footer-links{
        gap: 16px 20px;
    }
}


/* =========================================================
   TELAS MUITO PEQUENAS
   ========================================================= */

@media (max-width: 400px){

    nav{
        gap: 14px;
    }

    nav ul{
        gap: 13px;
    }

    nav a{
        font-size: 11px;
    }

    .brand-mark img{
        width: 25px;
    }

    .hero-grid{
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-copy h1{
        font-size: 66px;
    }

    .hero-pillars strong{
        font-size: 12px;
    }

    .hero-pillars em{
        font-size: 13px;
    }
}


/* =========================================================
   ACESSIBILIDADE / REDUÇÃO DE MOVIMENTO
   ========================================================= */

@media (prefers-reduced-motion: reduce){

    html{
        scroll-behavior: auto;
    }

    .eye-draw path{
        animation: none;

        stroke-dashoffset: 0;
    }

    nav a::after,
    .text-link::after,
    .contact-email{
        transition: none;
    }
}