:root {
    --bg: #081328;
    --panel: #101e34;
    --red: #FF4F5B;
    --hot: #FF4F5B;
    --blue: #4e99bd;
    --white: #f6f8fb;
    --muted: #b4bfce;
    --line: #26334a
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font: 400 16px/1.7 Manrope,Arial,sans-serif
}

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

a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 6px
}

.wrap {
    width: min(1220px,calc(100% - 64px));
    margin: auto
}
.aviso{
    background: #913238;
    padding: 20px;
    border-radius: 14px;
    letter-spacing: 1.4px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    }
header {
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.wordmark {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: .12em;
}

.wordmark:after {
    content: '.';
    color: var(--red);
    font-size: 44px
}

nav {
    display: flex;
    gap: 32px;
    font-weight: 600;
    font-size: 14px
}

nav a:hover {
    color: var(--red)
}

.header-contact {
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 11px 22px;
    font-size: 14px
}

.header-contact span {
    margin-left: 15px;
    color: var(--red)
}

.hero {
    position: relative;
    min-height: 735px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,rgba(8,19,40,.26),rgba(8,19,40,0)),url('assets/hero-technology-blue.png') center/cover no-repeat;
    border: 0;
    padding: 76px 0 92px
}

.hero:after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 100px;
    background: linear-gradient(transparent,var(--bg));
    pointer-events: none
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 690px
}

.eyebrow,.section-label {
    font: 700 13px/1.6 Manrope,Arial,sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 20px
}

.hero h1 {
    font-size: clamp(42px,4.6vw,68px);
    line-height: 1.12;
    letter-spacing: -.045em;
    margin: 0 0 28px;
    font-weight: 800
}

.hero h1 em {
    color: var(--red);
    font-style: normal
}

.hero-copy>p:not(.eyebrow) {
    color: #d2d9e3;
    font-size: 17px;
    max-width: 555px;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 34px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    min-height: 54px;
    padding: 14px 28px;
    border-radius: 30px;
    transition: transform .2s,background .2s
}

.button.primary {
    background: var(--hot);
    color: #fff;
    box-shadow: 0 8px 28px #4e99bd30
}

.button.primary:after {
    content: '↗';
    font-size: 20px;
    margin-left: 24px
}

.button.primary:hover {
    background: var(--red);
    transform: translateY(-3px)
}

.button.text {
    padding-inline:0;border-bottom: 1px solid var(--blue);
    border-radius: 0
}

section {
    padding: 108px 0
}

.grid-label {
    display: block
}

.section-label {
    text-align: center
}

.section-title {
    font-size: clamp(32px,3.7vw,50px);
    line-height: 1.18;
    letter-spacing: -.035em;
    margin: 0 auto 23px;
    max-width: 780px;
    text-align: center
}

.section-intro {
    color: var(--muted);
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
    font-size: 17px
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-top: 48px
}

.capability {
    position: relative;
    padding: 38px 30px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .2s,border-color .2s
}

.capability:hover {
    transform: translateY(-6px);
    border-color: var(--red)
}

.num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid #ff4f5b55;
    border-radius: 50%;
    color: var(--red);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px
}

.capability h3 {
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 15px;
    letter-spacing: -.03em
}

.capability p {
    margin: 0;
    color: var(--muted)
}

.founder-notes {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 46px;
    margin-top: 76px;
    padding-top: 58px;
    border-top: 1px solid var(--line)
}

.founder-note {
    position: relative;
    padding-left: 24px;
    border-left: 3px solid var(--blue)
}

.founder-note:before {
    content: '“';
    font-size: 72px;
    color: var(--red);
    line-height: 1;
    font-family: Georgia,serif;
    display: block;
    height: 54px
}

.founder-note p {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    color: #d9e1ec
}

.founder-note em {
    color: #fff;
    font-weight: 700;
    font-style: normal
}

.founder-note a {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
    color: var(--red)
}

.projects {
    background: #0b182e;
    border-block:1px solid var(--line)}

.project-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-top: 50px;
    counter-reset: project
}

.project {
    counter-increment: project;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 30px;
    background: linear-gradient(150deg,#17263d,#0b182e);
    position: relative;
    overflow: hidden
}

.project:before {
    content: '0' counter(project);
    font-size: 72px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--blue);
    font-weight: 800;
    display: block;
    margin-bottom: 38px
}

.project:after {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    width: 44px;
    height: 3px;
    background: var(--red)
}

.project-name {
    font-size: 26px;
    letter-spacing: -.04em;
    font-weight: 800;
    margin-bottom: 18px
}

.project-desc {
    color: var(--muted);
    margin: 0
}

.history .grid-label>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 64px
}

.history .section-label {
    text-align: left
}

.history .section-title {
    text-align: left;
    grid-column: 1;
    margin: 0 0 24px
}

.history .section-intro {
    text-align: left;
    grid-column: 1;
    font-size: 17px
}

.quote {
    grid-column: 2;
    grid-row: 1/4;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    padding: 42px;
    align-self: center
}

.quote:before {
    content: '“';
    font-size: 100px;
    color: var(--red);
    font-family: Georgia,serif;
    line-height: .8;
    display: block;
    height: 65px
}

blockquote {
    margin: 0;
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: -.025em
}

cite {
    display: block;
    margin-top: 28px;
    font-size: 14px;
    color: var(--red);
    font-style: normal
}

.video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    font-size: 14px
}

.play {
    display: grid;
    place-items: center;
    background: var(--hot);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 12px
}

.contact {
    background: #101e34;
    border-top: 1px solid var(--line)
}

.contact .section-title {
    max-width: 700px;
    font-size: clamp(38px,5vw,68px)
}

.contact .hero-actions {
    justify-content: center
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 30px;
    font-size: 14px;
    color: #c4d2dd
}

.notice {
    padding: 24px 0;
    font-size: 13px;
    color: var(--muted);
  }

.notice span {
    color: var(--red);
    font-weight: 700
}

footer {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    color: #9caabd;
    font-size: 12px
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 25px
}

@media(max-width: 900px) {
    header {
        height:90px
    }

    nav {
        gap: 18px
    }

    .header-contact {
        display: none
    }

    .hero {
        background-position: 60% center
    }

    .hero-copy {
        max-width: 620px
    }

    .hero:before {
        content: '';
        position: absolute;
        inset: 0;
        background: #08132844
    }

    .capabilities,.project-list {
        gap: 16px
    }

    .capability,.project {
        padding: 28px 22px
    }

    .history .grid-label>div {
        column-gap: 30px
    }

    .quote {
        padding: 28px
    }

    .founder-notes {
        gap: 28px
    }
}

@media(max-width: 640px) {
    .wrap {
        width:calc(100% - 36px)
    }

    header {
        height: 90px;
        flex-wrap: wrap;
        gap: 0;
        padding: 12px 0
    }

    .wordmark {
        font-size: 25px
    }

    nav {
        gap: 17px;
        font-size: 12px;
        width: 100%;
        justify-content: space-between
    }

    .hero {
        min-height: 750px;
        padding: 64px 0 85px;
        background-position: 65% center
    }

    .hero:before {
        background: linear-gradient(90deg,#081328f0,#08132890)
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -.04em
    }

    .hero-copy>p:not(.eyebrow) {
        font-size: 16px
    }

    .eyebrow {
        font-size: 11px
    }

    .hero-actions {
        gap: 12px
    }

    .button {
        padding: 13px 22px
    }

    section {
        padding: 72px 0
    }

    .capabilities,.project-list,.founder-notes {
        grid-template-columns: 1fr
    }

    .section-title {
        font-size: 34px
    }

    .section-intro {
        font-size: 16px
    }

    .capability {
        padding: 28px
    }

    .project {
        padding: 30px
    }

    .project:before {
        font-size: 54px;
        margin-bottom: 25px
    }

    .founder-notes {
        margin-top: 48px;
        padding-top: 38px
    }

    .founder-note p {
        font-size: 18px
    }

    .history .grid-label>div {
        display: block
    }

    .history .section-label {
        text-align: center
    }

    .history .section-title,.history .section-intro {
        text-align: left
    }

    .quote {
        margin-top: 36px;
        padding: 30px
    }

    blockquote {
        font-size: 21px
    }

    .contact .section-title {
        font-size: 40px
    }

    footer .wrap {
        flex-direction: column;
        gap: 8px
    }

    .notice {
        font-size: 12px
    }

    .contact-links {
        gap: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none!important
    }
}

/* Balanced blue details and light editorial section */
.button.primary {
    background: var(--blue);
    color: var(--bg);
    box-shadow: 0 8px 28px #4e99bd25
}

.button.primary:hover {
    background: #76a2b3;
    color: var(--bg)
}

.header-contact {
    background: var(--blue);
    color: var(--bg);
    border-color: var(--blue)
}

.header-contact span {
    color: var(--bg)
}

.eyebrow,.section-label,cite,.notice span {
    color: var(--blue)
}

.button.text {
    color: #9dbfce
}

.contact-links a:hover,nav a:hover {
    color: #9dbfce
}

.play {
    background: var(--blue);
    color: var(--bg)
}

#atuacao {
    background: #fff;
    color: var(--bg)
}

#atuacao .section-intro,#atuacao .capability p {
    color: #465568
}

#atuacao .section-label {
    color: var(--blue)
}

#atuacao .capability {
    background: #f4f7f9;
    border-color: #d7e2e7
}

#atuacao .capability:hover {
    border-color: var(--blue)
}

#atuacao .num {
    color: var(--bg);
    background: var(--blue);
    border-color: var(--blue)
}

#atuacao .founder-notes {
    border-top-color: #d7e2e7
}

#atuacao .founder-note p {
    color: #465568
}

#atuacao .founder-note em {
    color: var(--bg)
}

#atuacao .founder-note a {
    color: var(--red)
}

.header-contact,.header-contact span {
    color: #fff
}

/* Floating navigation and footer */
header.wrap {
    position: relative;
    z-index: 5;
    width: min(1280px,calc(100% - 40px));
    height: 64px;
    margin: 20px auto 0;
    padding: 0 28px;
    background: #fff;
    color: #081328;
    border: 1px solid #e2e7ed;
    border-radius: 12px;
    /* box-shadow:0 12px 36px #00000024; */
    4}

header .wordmark {
    color: #081328
}

header nav a {
    color: #314456
}

header nav a:hover {
    color: var(--red)
}

header .header-contact {
    color: #fff;
    background: var(--blue)
}

.hero {
    margin-top: -108px;
    padding-top: 190px;
    min-height: 840px
}

.notice {  
    color: #f4f8fb;
    padding: 28px 0;
    font-size: 14px;
    line-height: 1.8
}

.notice span {
    color: #fff;
    font-weight: 800
}

footer {
    border-top: 0;
    padding: 28px 0;
    font-size: 13px;
    line-height: 1.8
}

footer .wrap {
    align-items: center;
    flex-wrap: wrap
}

footer p {
    margin: 0
}

footer strong {
    color: #f6f8fb;
    font-weight: 700
}

footer a {
    color: #f6f8fb;
    font-weight: 700
}

footer a:hover {
    color: var(--blue)
}

@media(max-width: 900px) {
    header.wrap {
        padding:0 22px
    }

    .hero {
        padding-top: 175px
    }
}

@media(max-width: 640px) {
    header.wrap {
        width:calc(100% - 24px);
        height: auto;
        min-height: 100px;
        margin-top: 12px;
        padding: 12px 18px;
        row-gap: 8px;
        border-radius: 10px
    }

    header nav {
        gap: 12px;
        font-size: 12px
    }

    .hero {
        margin-top: -112px;
        padding-top: 170px;
        min-height: 800px
    }

    footer .wrap {
        align-items: flex-start
    }

    .notice {
        font-size: 13px;
        padding: 24px 0
    }
}
