@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
========================================================= */

* {

--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 {
color: #ffffff;
}

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

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

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

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

margin: 0 auto;

min-height: 520px;

padding: 115px 0 110px;

display: grid;

grid-template-columns: 240px 1fr;

gap: 80px;

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

position: relative;

}

/* linha escarlate */

.cases-header::before {
content: "";

position: absolute;

left: 0;
top: 0;

width: 1px;
height: 180px;

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

}

/* =========================================================
LABELS
========================================================= */

.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 {
color: var(--scarlet);
}

/* =========================================================
CONTEÚDO DO HEADER
========================================================= */

.cases-header-content {
max-width: 950px;
}

.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: 35px;

}

.eyebrow::before {
content: "";

width: 28px;
height: 1px;

background: var(--scarlet);

}

.cases-header h1 {
font-size: clamp(70px, 9vw, 135px);

line-height: 0.84;

font-weight: 700;

letter-spacing: -7px;

margin-left: -7px;

color: #f3f3f3;

}

.cases-header h1 span {
color: var(--scarlet);
}

.header-line {
width: 100%;

height: 1px;

margin: 55px 0 28px;

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

}

.header-description {
max-width: 630px;

color: #898989;

font-size: 15px;

line-height: 1.9;

}

/* =========================================================
ARQUIVO
========================================================= */

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

margin: 0 auto;

padding: 90px 0 150px;

}

.archive-top {
display: flex;
align-items: flex-end;
justify-content: space-between;

padding-bottom: 30px;

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

margin-bottom: 25px;

}

.archive-count {
color: #555555;

font-family: "DM Mono", monospace;

font-size: 9px;

letter-spacing: 1.5px;

}

/* =========================================================
LISTA DE CASOS
========================================================= */

.cases-list {
display: flex;

flex-direction: column;

gap: 14px;

}

/* =========================================================
CARD
========================================================= */

.case-card {
min-height: 275px;

display: grid;

grid-template-columns: 90px 310px 1fr 130px;

background: var(--black-card);

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

position: relative;

overflow: hidden;

transition:
    border-color 250ms ease,
    background 250ms ease,
    transform 250ms ease;

}

.case-card {
border-color: var(--border-red);

background: #131313;

transform: translateX(5px);

}

/* =========================================================
NÚMERO
========================================================= */

.case-number {
display: flex;

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

padding-top: 27px;

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

position: relative;

z-index: 3;

}

.case-number span {
color: var(--scarlet);

font-family: "DM Mono", monospace;

font-size: 10px;

letter-spacing: 2px;

}

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

.case-image {
height: 275px;

position: relative;

overflow: hidden;

background: #0d0d0d;

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

}

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

position: absolute;

inset: 0;

background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.10),
    transparent 50%,
    rgba(0, 0, 0, 0.45)
);

pointer-events: none;

}

.case-image-photo {
width: 100%;
height: 100%;

display: block;

object-fit: cover;

object-position: center;

filter: grayscale(100%);

transition:
    filter 400ms ease,
    transform 600ms ease;

}

.case-card .case-image-photo {
filter: grayscale(0%);

transform: scale(1.05);

}

/* =========================================================
CONTEÚDO DO CASO
========================================================= */

.case-content {
padding: 35px 45px;

display: flex;

flex-direction: column;

align-items: flex-start;

justify-content: center;

}

.case-type {
color: var(--scarlet);

font-family: "DM Mono", monospace;

font-size: 8px;

letter-spacing: 1.7px;

margin-bottom: 14px;

}

.case-content h2 {
color: #eeeeee;

font-size: 30px;

line-height: 1.1;

font-weight: 600;

letter-spacing: -1px;

margin-bottom: 17px;

transition: color 200ms ease;

}

.case-card .case-content h2 {
color: var(--scarlet-light);
}

.case-content p {
max-width: 560px;

color: #777777;

font-size: 13px;

line-height: 1.8;

}

.case-link {
display: inline-flex;

align-items: center;

gap: 16px;

margin-top: 23px;

color: #aaaaaa;

font-family: "DM Mono", monospace;

font-size: 8px;

letter-spacing: 1.2px;

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

}

.case-link strong {
color: var(--scarlet);

font-size: 15px;

font-weight: 400;

}

.case-card .case-link {
color: #ffffff;

gap: 22px;

}

/* =========================================================
STATUS
========================================================= */

.case-status {
padding: 28px 22px;

display: flex;

flex-direction: column;

align-items: flex-end;

justify-content: space-between;

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

color: #444444;

font-family: "DM Mono", monospace;

font-size: 7px;

letter-spacing: 1.2px;

white-space: nowrap;

}

.case-status span {
color: var(--scarlet);
}

/* =========================================================
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 — TABLET
========================================================= */

@media (max-width: 1050px) {

.header-inner,
.cases-header,
.cases-archive,
.site-footer {
    width: min(100% - 48px, 900px);
}


.cases-header {
    grid-template-columns: 180px 1fr;

    gap: 50px;
}


.case-card {
    grid-template-columns: 70px 260px 1fr;
}


.case-status {
    display: none;
}

}

/* =========================================================
RESPONSIVIDADE — MOBILE
========================================================= */

@media (max-width: 700px) {

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


/* HEADER */

.header-inner {
    height: 72px;
}


.logo-name {
    display: none;
}


.main-nav {
    gap: 22px;
}


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


/* CABEÇALHO */

.cases-header {
    min-height: auto;

    padding: 80px 0 90px;

    grid-template-columns: 1fr;

    gap: 45px;
}


.cases-header h1 {
    font-size: clamp(62px, 18vw, 95px);

    letter-spacing: -5px;
}


.header-line {
    margin: 40px 0 25px;
}


.header-description {
    font-size: 14px;

    line-height: 1.8;
}


/* ARQUIVO */

.cases-archive {
    padding: 80px 0 100px;
}


.archive-top {
    align-items: flex-start;

    flex-direction: column;

    gap: 20px;
}


/* CARDS */

.case-card {
    display: grid;

    grid-template-columns: 55px 1fr;

    grid-template-rows: 230px auto;

    min-height: auto;
}


.case-number {
    grid-column: 1;
    grid-row: 1;

    padding-top: 22px;
}


.case-image {
    grid-column: 2;
    grid-row: 1;

    height: 230px;

    border-right: none;
}


.case-content {
    grid-column: 1 / 3;
    grid-row: 2;

    padding: 30px 25px 35px;
}


.case-content h2 {
    font-size: 26px;
}


.case-content p {
    font-size: 12px;
}


.case-link {
    margin-top: 20px;
}

}

/* =========================================================
MOBILE PEQUENO
========================================================= */

@media (max-width: 420px) {

.main-nav {
    gap: 17px;
}


.main-nav a {
    font-size: 8px;

    letter-spacing: 0.7px;
}


.cases-header h1 {
    font-size: 58px;
}


.case-card {
    grid-template-columns: 48px 1fr;
}


.case-content {
    padding: 27px 20px 32px;
}

}