/* Seções abaixo da dobra. Carregado por <link> no <head>. */

.sec { padding-block: clamp(2rem, 5vw, 2.75rem); border-bottom: 1px solid var(--border); }
.sec__title { font-size: clamp(1.15rem, 2.6vw, 1.35rem); letter-spacing: -.022em; margin: .375rem 0 1.25rem; }

.cards { display: grid; gap: .875rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.125rem;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brand); }
.card:nth-child(2)::before { background: var(--brand-2); }
.card:nth-child(3)::before { background: var(--accent); }
.card h3 { font-size: .9375rem; margin-bottom: .45rem; }
.card p { margin: 0 0 .75rem; font-size: .8125rem; color: var(--text-2); }
.card ul { display: grid; gap: .25rem; font-size: .75rem; color: var(--text-3); }
.card li::before { content: "— "; color: var(--border); }

.sec--muted { background: var(--surface-2); }
.web { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.web__text { font-size: .8125rem; color: var(--text-2); margin: .5rem 0 0; max-width: 34ch; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: .5rem .8rem; font-size: .78125rem; color: var(--text-2); }
@media (max-width: 720px) { .web { grid-template-columns: 1fr; } }

.grid { display: grid; gap: .875rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.thumb {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; color: inherit; font: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.thumb:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.thumb img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.thumb__meta { display: block; padding: .7rem .8rem; }
.thumb__meta strong { display: block; font-size: .8125rem; }
.thumb__meta small { font-size: .6875rem; color: var(--text-3); }

.case {
  width: min(52rem, 92vw); border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--text); padding: 1.75rem;
}
.case::backdrop { background: rgb(0 0 0 / .55); }
.case h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.case__roles { font-size: .75rem; color: var(--text-3); margin: 0 0 .75rem; }
.case__link { color: var(--brand-2); font-size: .8125rem; font-weight: 600; }
.case img { border-radius: 6px; margin-block: .75rem; border: 1px solid var(--border); }
.case__close { position: sticky; top: 0; display: flex; justify-content: flex-end; }
.case__close button {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px;
  width: 2rem; height: 2rem; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--text);
}

.about { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: center; }
.about__text { font-size: .875rem; color: var(--text-2); margin: .5rem 0 0; }
.stats { display: grid; gap: .75rem; grid-template-columns: repeat(3, 1fr); }
.stat { border-left: 2px solid var(--accent); padding-left: .75rem; }
.stat strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: var(--brand); line-height: 1; }
.stat span { font-size: .6875rem; color: var(--text-3); }

.contact { background: var(--brand-solid); color: #fff; padding-block: clamp(2rem, 5vw, 2.5rem); }
.contact__in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.contact__title { font-size: clamp(1.25rem, 3vw, 1.55rem); letter-spacing: -.028em; }
.contact__text { margin: .5rem 0 0; color: color-mix(in srgb, #fff 78%, var(--brand-solid)); font-size: .85rem; max-width: 46ch; }
.contact__mail { margin: 1.25rem 0 0; }
.contact__mail a { color: color-mix(in srgb, #fff 82%, var(--brand-solid)); font-family: var(--mono); font-size: .75rem; }
.contact .wrap + .contact__mail { padding-inline: var(--pad); }

.foot { background: var(--bg); }
.foot__in { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; padding-block: 1rem; font-size: .72rem; color: var(--text-3); }

@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; }
}
