:root {
    --red: #c8001b;
    --red-dark: #9e0015;
    --red-soft: #fbeaec;
    --ink: #1c1c1e;
    --ink-soft: #5f6065;
    --paper: #ffffff;
    --cloud: #f4f3f1;
    --line: #deddda;
    --dark: #171719;
    --container: 1180px;
    --shadow: 0 24px 70px rgba(23, 23, 25, 0.12);
    --radius: 4px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--red);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    color: #fff;
    background: var(--dark);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar p {
    margin: 0;
    color: #b9b9bd;
}

.topbar p span {
    margin-inline: 6px;
    color: var(--red);
}

.topbar a {
    transition: color 180ms ease;
}

.topbar a:hover,
.topbar a:focus-visible {
    color: #ff788a;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(222, 221, 218, 0.9);
    transition: box-shadow 220ms ease;
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
    box-shadow: 0 12px 30px rgba(23, 23, 25, 0.07);
}

.header__inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

.brand img {
    width: 186px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 650;
}

.main-nav > a:not(.button) {
    position: relative;
    padding-block: 8px;
}

.main-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 13px 20px;
    color: #fff;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    color: #fff;
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

.button--small {
    min-height: 42px;
    padding: 10px 16px;
    gap: 12px;
}

.button--light {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.button--light:hover,
.button--light:focus-visible {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
}

/* Reutiliza a seta para baixo do link vizinho e a gira para o canto superior. */
.icon-arrow-up-right {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: currentColor;
    font-family: inherit;
    font-size: 1em;
    font-weight: inherit;
    line-height: 1;
    transform: rotate(-135deg);
    transform-origin: center;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    display: block;
    margin-block: 4px;
    background: var(--ink);
    transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 710px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(244, 243, 241, 0.88) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(rgba(244, 243, 241, 0.88) 1px, transparent 1px) 0 0 / 72px 72px,
        #fff;
}

.hero::after {
    position: absolute;
    right: -80px;
    bottom: -270px;
    width: 620px;
    height: 620px;
    content: "";
    border: 1px solid rgba(200, 0, 27, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(200, 0, 27, 0.025), 0 0 0 180px rgba(200, 0, 27, 0.02);
}

.hero__glow {
    position: absolute;
    top: -230px;
    left: -200px;
    width: 560px;
    height: 560px;
    background: rgba(200, 0, 27, 0.05);
    border-radius: 50%;
    filter: blur(10px);
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    gap: clamp(48px, 7vw, 100px);
    align-items: center;
    padding-block: 88px 100px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 22px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 28px;
    height: 3px;
    display: inline-block;
    background: var(--red);
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.68);
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(48px, 5.4vw, 78px);
    font-weight: 400;
    letter-spacing: -0.058em;
    line-height: 0.99;
}

.hero h1 strong {
    color: var(--red);
    font-weight: 750;
}

.hero__lead {
    max-width: 610px;
    margin: 30px 0 0;
    color: var(--ink-soft);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 36px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-block: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--red);
    border-color: var(--red);
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.hero__tags li {
    padding: 7px 11px;
    color: #5f6065;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-map {
    position: relative;
    min-height: 500px;
    background: var(--dark);
    border: 1px solid #333337;
    box-shadow: var(--shadow);
    color: #fff;
}

.hero-map::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 36px 36px;
}

.hero-map__topline {
    position: relative;
    z-index: 3;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    color: #97979d;
    border-bottom: 1px solid #333337;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-map__topline i {
    width: 8px;
    height: 8px;
    background: #4fd18b;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(79, 209, 139, 0.1);
}

.system-node {
    position: absolute;
    z-index: 3;
    width: 174px;
    min-height: 112px;
    padding: 16px;
    background: #222225;
    border: 1px solid #3e3e43;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.system-node small,
.system-node span {
    display: block;
    color: #85858b;
    font-size: 10px;
    letter-spacing: 0.06em;
}

.system-node strong {
    display: block;
    margin-block: 3px 6px;
    font-size: 20px;
    line-height: 1.1;
}

.system-node--legacy {
    top: 112px;
    left: 26px;
}

.system-node--core {
    z-index: 4;
    top: 198px;
    left: 50%;
    width: 190px;
    min-height: 126px;
    padding: 19px;
    background: var(--red);
    border-color: #ec2d45;
    transform: translateX(-50%);
}

.system-node--core small,
.system-node--core span {
    color: rgba(255, 255, 255, 0.72);
}

.system-node--crm {
    top: 108px;
    right: 25px;
}

.system-node--mobile {
    right: 25px;
    bottom: 55px;
}

.connector {
    position: absolute;
    z-index: 2;
    height: 1px;
    background: #5c5c62;
    transform-origin: left;
}

.connector::after {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 7px;
    height: 7px;
    content: "";
    background: var(--red);
    border-radius: 50%;
}

.connector--one {
    top: 226px;
    left: 169px;
    width: 100px;
    transform: rotate(12deg);
}

.connector--two {
    top: 226px;
    left: 61%;
    width: 90px;
    transform: rotate(-22deg);
}

.connector--three {
    top: 290px;
    left: 61%;
    width: 108px;
    transform: rotate(29deg);
}

.hero-map__caption {
    position: absolute;
    z-index: 3;
    bottom: 16px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #77777e;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    text-transform: uppercase;
}

.hero-map__caption span {
    width: 6px;
    height: 6px;
    background: #4fd18b;
    border-radius: 50%;
}

.value-strip {
    color: #fff;
    background: var(--red);
}

.value-strip__inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.value-strip p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.value-strip__line {
    height: 1px;
    background: rgba(255, 255, 255, 0.32);
}

.section {
    padding-block: 120px;
}

.solutions {
    background: var(--cloud);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: clamp(50px, 10vw, 150px);
    align-items: end;
    margin-bottom: 62px;
}

.section-heading .eyebrow {
    margin-bottom: 17px;
}

.section-heading h2,
.about h2,
.sectors h2 {
    max-width: 740px;
    margin: 0;
    font-size: clamp(36px, 4.1vw, 58px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.section-heading h2 strong {
    color: var(--red);
}

.section-heading > p {
    margin: 0 0 5px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.solution-card {
    position: relative;
    min-height: 480px;
    padding: 36px 32px 34px;
    background: #fff;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.solution-card:hover {
    z-index: 2;
    box-shadow: 0 22px 55px rgba(23, 23, 25, 0.09);
    transform: translateY(-5px);
}

.solution-card--featured {
    color: #fff;
    background: var(--red);
    border-color: var(--red-dark);
}

.solution-card__number {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #9d9da1;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.solution-card--featured .solution-card__number {
    color: rgba(255, 255, 255, 0.65);
}

.solution-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--red);
    background: var(--red-soft);
    border-radius: 50%;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.solution-card--featured .solution-card__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.solution-card h3 {
    max-width: 260px;
    margin: 46px 0 15px;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.solution-card > p {
    min-height: 94px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.solution-card--featured > p {
    color: rgba(255, 255, 255, 0.78);
}

.solution-card ul {
    display: grid;
    gap: 8px;
    margin: 27px 0 0;
    padding: 23px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.solution-card--featured ul {
    border-color: rgba(255, 255, 255, 0.25);
}

.solution-card li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 650;
}

.solution-card li::before {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    content: "";
    background: var(--red);
    border-radius: 50%;
}

.solution-card--featured li::before {
    background: #fff;
}

.expertise {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--dark);
}

.expertise::before {
    position: absolute;
    top: -250px;
    right: -150px;
    width: 700px;
    height: 700px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.018), 0 0 0 180px rgba(255, 255, 255, 0.012);
}

.expertise__grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 58px 58px,
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 58px 58px;
}

.expertise__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(70px, 10vw, 150px);
    align-items: center;
}

.expertise h2 {
    max-width: 480px;
    margin: 0;
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 1;
    letter-spacing: -0.055em;
}

.expertise__copy > p:not(.eyebrow) {
    max-width: 500px;
    margin: 28px 0 36px;
    color: #aaaab0;
    font-size: 16px;
    line-height: 1.75;
}

.architecture {
    position: relative;
    display: grid;
    gap: 12px;
}

.architecture__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 1px;
    background: linear-gradient(var(--red), rgba(200, 0, 27, 0.1));
}

.architecture__item {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 24px 25px 24px 0;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: background 180ms ease, border-color 180ms ease;
}

.architecture__item:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.2);
}

.architecture__item > span {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    margin-left: -1px;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.architecture__item small {
    display: block;
    margin-bottom: 4px;
    color: #7d7d84;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.architecture__item strong {
    display: block;
    font-size: 20px;
}

.architecture__item p {
    margin: 6px 0 0;
    color: #9a9aa0;
    font-size: 13px;
}

.method {
    background: #fff;
}

.section-heading--compact {
    margin-bottom: 50px;
}

.method-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.method-list li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 28px;
    padding: 35px 15px;
    border-bottom: 1px solid var(--line);
    transition: padding-left 200ms ease, background 200ms ease;
}

.method-list li:hover {
    padding-left: 28px;
    background: var(--cloud);
}

.method-list > li > span {
    padding-top: 3px;
    color: var(--red);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.method-list div {
    display: grid;
    grid-template-columns: 0.55fr 1fr;
    gap: 40px;
}

.method-list h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.method-list p {
    max-width: 570px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

.sectors {
    padding-block: 112px 120px;
    overflow: hidden;
    background: var(--cloud);
}

.sectors__heading .eyebrow {
    margin-bottom: 17px;
}

.sectors__heading h2 {
    max-width: 860px;
}

.sectors__marquee {
    width: 100%;
    margin-block: 65px;
    padding-block: 21px 23px;
    color: #fff;
    background: var(--red);
    transform: rotate(-1.35deg) scale(1.02);
}

.sectors__track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 26px;
    padding-inline: 26px;
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 750;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.sectors__track i {
    color: rgba(255, 255, 255, 0.5);
    font-style: normal;
}

.sector-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.sector-cards article {
    min-height: 250px;
    padding: 31px;
    background: #fff;
}

.sector-cards span {
    color: var(--red);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
}

.sector-cards h3 {
    margin: 50px 0 10px;
    font-size: 23px;
    letter-spacing: -0.03em;
}

.sector-cards p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.anniversary {
    padding-block: 120px;
    background: #fff;
}

.anniversary__inner {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.anniversary__metric {
    position: relative;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    overflow: hidden;
    color: #fff;
    background: var(--red);
}

.anniversary__metric::after {
    position: absolute;
    right: -190px;
    bottom: -250px;
    width: 480px;
    height: 480px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.045), 0 0 0 140px rgba(255, 255, 255, 0.025);
}

.anniversary__metric > p,
.anniversary__metric > small,
.anniversary__metric > div {
    position: relative;
    z-index: 2;
}

.anniversary__metric > p {
    margin: 0;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.anniversary__metric > div {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.anniversary__metric strong {
    font-size: clamp(120px, 14vw, 190px);
    font-weight: 750;
    letter-spacing: -0.09em;
    line-height: 0.72;
}

.anniversary__metric span {
    padding-bottom: 2px;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.anniversary__metric small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.anniversary__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 7vw, 88px);
}

.anniversary__copy h2 {
    margin: 0;
    font-size: clamp(38px, 4.4vw, 62px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.anniversary__copy h2 strong {
    color: var(--red);
}

.anniversary__copy > p:not(.eyebrow) {
    max-width: 580px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.75;
}

.clients {
    background: var(--cloud);
}

.clients__layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: clamp(60px, 10vw, 145px);
    align-items: center;
}

.clients__intro h2 {
    margin: 0;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1.06;
}

.clients__intro > p:not(.eyebrow) {
    max-width: 480px;
    margin: 25px 0 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.clients__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    background: var(--line);
    border: 1px solid var(--line);
    list-style: none;
}

.client-card {
    min-height: 290px;
    background: #fff;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.client-card:hover {
    z-index: 2;
    box-shadow: 0 20px 45px rgba(23, 23, 25, 0.09);
    transform: translateY(-4px);
}

.client-card__link {
    min-height: 290px;
    display: grid;
    grid-template-columns: minmax(170px, 0.42fr) minmax(260px, 0.58fr);
}

.client-card__logo {
    display: grid;
    place-items: center;
    padding: 35px;
    background: #fff;
    border-right: 1px solid var(--line);
}

.client-card__logo img {
    width: auto;
    max-width: 180px;
    max-height: 82px;
    object-fit: contain;
}

.client-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 38px;
}

.client-card__type {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.client-card__content h3 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -0.035em;
}

.client-card__content > p:not(.client-card__type) {
    margin: 12px 0 22px;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.65;
}

.client-card__content > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--ink);
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 750;
    transition: color 180ms ease;
}

.client-card__link:hover .client-card__content > span,
.client-card__link:focus-visible .client-card__content > span {
    color: var(--red);
}

.about {
    background: #fff;
}

.about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(70px, 10vw, 150px);
    align-items: start;
}

.about__title {
    position: sticky;
    top: 130px;
}

.about__content {
    padding-top: 46px;
}

.about__lead {
    margin: 0 0 55px;
    font-size: clamp(22px, 2.5vw, 31px);
    letter-spacing: -0.035em;
    line-height: 1.45;
}

.about__principles {
    border-top: 1px solid var(--line);
}

.about__principles > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 25px;
    padding-block: 28px;
    border-bottom: 1px solid var(--line);
}

.about__principles span {
    color: var(--red);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about__principles p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.contact {
    padding-block: 100px;
    color: #fff;
    background: var(--red);
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: clamp(60px, 11vw, 150px);
    align-items: end;
}

.contact h2 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(42px, 5.5vw, 74px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.contact__copy > p:not(.eyebrow) {
    max-width: 600px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
}

.contact__email {
    position: relative;
    display: block;
    padding: 26px 58px 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.contact__email span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact__email strong {
    font-size: clamp(16px, 1.6vw, 21px);
}

.contact__email i {
    position: absolute;
    top: 50%;
    right: 3px;
    font-size: 30px;
    font-style: normal;
    transform: translateY(-50%) rotate(-135deg);
    transition: transform 180ms ease;
}

.contact__email:hover i,
.contact__email:focus-visible i {
    transform: translate(4px, calc(-50% - 4px)) rotate(-135deg);
}

.contact address {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-style: normal;
}

.site-footer {
    color: #d7d7da;
    background: var(--dark);
}

.footer__main {
    display: grid;
    grid-template-columns: 1.5fr 0.65fr 1fr;
    gap: 70px;
    padding-block: 80px;
}

.footer__brand img {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer__brand p {
    max-width: 360px;
    margin: 22px 0 0;
    color: #83838a;
    font-size: 14px;
}

.footer__main nav,
.footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer__main nav > span,
.footer__contact > span {
    margin-bottom: 9px;
    color: #73737a;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer__main a {
    transition: color 180ms ease;
}

.footer__main a:hover,
.footer__main a:focus-visible,
.footer__bottom a:hover,
.footer__bottom a:focus-visible {
    color: #ff6479;
}

.footer__contact p {
    margin: 0;
    color: #83838a;
}

.footer__bottom {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #696970;
    border-top: 1px solid #323236;
    font-size: 11px;
}

.footer__bottom p {
    margin: 0;
}

.footer__bottom a {
    color: #aaaab0;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero__grid {
        grid-template-columns: 1fr 420px;
        gap: 45px;
    }

    .hero h1 {
        font-size: clamp(48px, 6vw, 66px);
    }

    .system-node {
        width: 150px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        gap: 19px;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .topbar {
        display: none;
    }

    .header__inner {
        min-height: 72px;
    }

    .site-header {
        /* Evita que o backdrop-filter limite o menu fixed à altura do header. */
        backdrop-filter: none;
    }

    .menu-open .site-header {
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .menu-open .brand {
        z-index: 102;
    }

    .menu-open .brand img {
        filter: brightness(0) invert(1);
    }

    .menu-toggle {
        position: relative;
        z-index: 102;
        display: block;
    }

    .menu-toggle[aria-expanded="true"] {
        border-color: rgba(255, 255, 255, 0.35);
    }

    .menu-toggle[aria-expanded="true"] span {
        background: #fff;
    }

    .main-nav {
        position: fixed;
        z-index: 101;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        padding: calc(94px + env(safe-area-inset-top)) 36px max(34px, env(safe-area-inset-bottom));
        overflow-y: auto;
        color: #fff;
        background: #171719;
        font-size: clamp(24px, 7vw, 32px);
        opacity: 0;
        pointer-events: none;
        transform: translateX(100%);
        transition: opacity 200ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .main-nav > a:not(.button) {
        width: 100%;
        padding: 17px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        line-height: 1.15;
    }

    .main-nav > a:not(.button):first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .main-nav > a:not(.button)::after {
        display: none;
    }

    .main-nav .button {
        width: 100%;
        margin-top: 30px;
    }

    .hero {
        min-height: auto;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 65px;
        padding-block: 80px;
    }

    .hero__content {
        max-width: 690px;
    }

    .hero-map {
        width: min(100%, 580px);
        min-height: 500px;
        justify-self: center;
    }

    .value-strip__inner {
        min-height: 72px;
        display: flex;
        justify-content: center;
    }

    .value-strip p:last-child,
    .value-strip__line {
        display: none;
    }

    .section {
        padding-block: 90px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 48px;
    }

    .expertise__inner,
    .about__grid,
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .expertise__copy {
        max-width: 660px;
    }

    .method-list div {
        grid-template-columns: 0.55fr 1fr;
    }

    .sectors {
        padding-block: 90px;
    }

    .anniversary {
        padding-block: 90px;
    }

    .anniversary__inner,
    .clients__layout {
        grid-template-columns: 1fr;
    }

    .anniversary__metric {
        min-height: 390px;
    }

    .clients__layout {
        gap: 48px;
    }

    .sector-cards {
        grid-template-columns: 1fr;
    }

    .sector-cards article {
        min-height: 220px;
    }

    .about__title {
        position: static;
    }

    .about__content {
        padding-top: 0;
    }

    .footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand img {
        width: 162px;
    }

    .hero__grid {
        padding-block: 62px 68px;
    }

    .hero h1 {
        font-size: clamp(41px, 12vw, 56px);
        letter-spacing: -0.06em;
    }

    .hero__lead {
        margin-top: 24px;
        font-size: 16px;
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-top: 30px;
    }

    .hero__actions .text-link {
        justify-content: center;
    }

    .hero__tags {
        margin-top: 28px;
    }

    .hero-map {
        min-height: 530px;
    }

    .system-node {
        width: calc(50% - 33px);
        min-height: 112px;
    }

    .system-node--legacy {
        top: 93px;
        left: 18px;
    }

    .system-node--crm {
        top: 93px;
        right: 18px;
    }

    .system-node--core {
        top: 235px;
        width: calc(100% - 84px);
    }

    .system-node--mobile {
        right: 18px;
        bottom: 56px;
        width: calc(100% - 36px);
    }

    .connector--one,
    .connector--two,
    .connector--three {
        display: none;
    }

    .value-strip p {
        text-align: center;
    }

    .section {
        padding-block: 76px;
    }

    .section-heading h2,
    .about h2,
    .sectors h2 {
        font-size: 38px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
        padding: 29px 25px 30px;
    }

    .solution-card h3 {
        margin-top: 35px;
    }

    .solution-card > p {
        min-height: auto;
    }

    .expertise h2 {
        font-size: 43px;
    }

    .architecture__item {
        grid-template-columns: 44px 1fr;
        gap: 13px;
        padding: 20px 15px 20px 0;
    }

    .architecture__item > span {
        width: 43px;
        height: 43px;
    }

    .architecture__rail {
        left: 21px;
    }

    .architecture__item strong {
        font-size: 17px;
    }

    .method-list li {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        padding: 28px 5px;
    }

    .method-list li:hover {
        padding-left: 5px;
    }

    .method-list div {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .method-list h3 {
        font-size: 21px;
    }

    .sectors {
        padding-block: 76px;
    }

    .sectors__marquee {
        margin-block: 50px;
    }

    .anniversary {
        padding-block: 76px;
    }

    .anniversary__inner {
        width: calc(100% + 2px);
        margin-left: -1px;
    }

    .anniversary__metric {
        min-height: 330px;
        padding: 31px;
    }

    .anniversary__metric strong {
        font-size: clamp(112px, 40vw, 155px);
    }

    .anniversary__metric span {
        font-size: 23px;
    }

    .anniversary__copy {
        padding: 42px 28px;
    }

    .anniversary__copy h2,
    .clients__intro h2 {
        font-size: 38px;
    }

    .client-card {
        min-height: 210px;
    }

    .client-card__link {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .client-card__logo {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .client-card__content {
        padding: 30px;
    }

    .about__lead {
        font-size: 22px;
    }

    .about__principles > div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact {
        padding-block: 76px;
    }

    .contact h2 {
        font-size: 44px;
    }

    .contact__email strong {
        font-size: 15px;
    }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-block: 60px;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding-block: 22px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

:focus-visible {
    outline: 3px solid #ff6075;
    outline-offset: 3px;
}
