@import url("brand.css");

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/sora-latin.woff2") format("woff2");
}

:root {
  --white: #ffffff;
  --line: rgba(37, 33, 34, 0.14);
  --header: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cinza);
  color: var(--grafite);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  color: var(--grafite);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.em {
  color: var(--azul);
  font-weight: 700;
}

.on-dark .em {
  color: var(--menta);
}

a {
  color: var(--grafite);
}

:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
}

::selection {
  background: #d5e4ff;
  color: var(--grafite);
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--white);
  color: var(--grafite);
}

.skip:focus {
  top: 12px;
}

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

.kicker,
.index {
  margin: 0 0 0.85rem;
  color: var(--grafite);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lede {
  max-width: 62ch;
  color: var(--grafite);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.tagline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.draft {
  padding: 10px 20px;
  background: var(--grafite);
  color: var(--cinza);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(242, 242, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grafite);
  text-decoration: none;
}

.logo__mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: none;
}

.logo__word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__name,
.logo__unit {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo__unit {
  font-weight: 400;
}

.header__contact {
  margin-left: auto;
  color: var(--grafite);
  font-weight: 600;
  text-decoration: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-left: 4px;
  padding: 0 12px;
  border: 1px solid var(--grafite);
  background: transparent;
  color: var(--grafite);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__bars {
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.nav {
  display: none;
}

.nav.is-open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 16px;
  background: var(--cinza);
  border-bottom: 1px solid var(--line);
}

.nav a {
  padding: 10px 0;
  color: var(--grafite);
  font-weight: 500;
  text-decoration: none;
}

.nav__cta {
  margin-top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--azul);
  color: var(--white);
}

.hero h1,
.hero .lede,
.hero .kicker,
.hero .systems__label,
.hero .systems li {
  color: var(--white);
}

.hero__dots {
  position: absolute;
  z-index: 0;
  top: -40px;
  right: -80px;
  width: min(520px, 62vw);
  pointer-events: none;
  user-select: none;
}

.hero__grid,
.systems {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 40px 12px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--azul);
  background: var(--azul);
  color: var(--white);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.button:hover {
  background: var(--grafite);
  border-color: var(--grafite);
}

.button--secondary {
  background: var(--menta);
  border-color: var(--menta);
  color: var(--grafite);
  font-weight: 700;
}

.button--secondary:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--grafite);
}

.hero .button:not(.button--secondary) {
  background: var(--white);
  border-color: var(--white);
  color: var(--azul);
}

.hero .button:not(.button--secondary):hover {
  background: var(--grafite);
  border-color: var(--grafite);
  color: var(--white);
}

.hero__brand {
  margin: 0;
}

.hero__brand img {
  display: block;
  width: min(100%, 380px);
  margin-inline: auto;
}

.systems {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-block: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.systems__label {
  margin: 0;
  color: var(--grafite);
  font-size: 0.78rem;
  font-weight: 600;
}

.systems ul,
.tags,
.pains,
.cards,
.models,
.slots,
.contact__prep {
  margin: 0;
  padding: 0;
  list-style: none;
}

.systems ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.systems li {
  font-weight: 600;
}

.section {
  position: relative;
  padding-block: 72px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.section--blue {
  background: var(--azul);
  color: var(--white);
  border-top-color: var(--azul);
}

.section--blue h2,
.section--blue h3,
.section--blue .lede,
.section--blue .index,
.section--blue p,
.section--blue li {
  color: var(--white);
}

.section--blue .card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section--blue .tags li {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.section__head {
  max-width: 740px;
  margin-bottom: 32px;
}

.pains,
.cards,
.models,
.slots {
  display: grid;
  gap: 16px;
}

.pains li,
.card,
.models li {
  padding: 22px 22px 18px;
  background: var(--white);
}

.pains p,
.card p,
.models p:last-child,
.slots p:last-child {
  margin-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
}

.models__step {
  margin-bottom: 0.35rem;
  color: var(--grafite);
  font-size: 0.78rem;
  font-weight: 600;
}

.about {
  display: grid;
  gap: 28px;
  align-items: start;
}

.portrait {
  display: block;
  width: min(240px, 72%);
  aspect-ratio: 1;
  background: var(--azul);
  overflow: hidden;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait--photo {
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 1px solid var(--line);
}

.placeholder,
.slots li {
  padding: 18px;
  border: 1px dashed var(--azul);
  background: var(--white);
}

.placeholder__tag {
  margin: 0 0 8px;
  color: var(--grafite);
  font-size: 0.75rem;
  font-weight: 700;
}

.slots h3,
.placeholder strong {
  font-weight: 700;
  letter-spacing: 0;
}

.about__link {
  margin-top: 1rem;
  margin-bottom: 0;
}

.prints {
  display: grid;
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.print {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.print__media {
  position: relative;
  background: var(--preto);
}

.print__media img {
  display: block;
  width: 100%;
  height: auto;
}

.selo {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 9px;
  border: 1px solid var(--grafite);
  background: var(--menta);
  color: var(--grafite);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.print figcaption {
  padding: 14px 16px 16px;
}

.print h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.print p {
  margin: 0;
}

.examples__cta {
  margin: 28px 0 0;
}

.about__link a:not([href]) {
  color: var(--grafite);
  text-decoration: none;
  border-bottom: 1px dashed var(--azul);
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 76px;
  background: var(--grafite);
  color: var(--cinza);
  scroll-margin-top: 88px;
}

.contact h2,
.contact .lede,
.contact__prep {
  color: var(--cinza);
}

.contact .index {
  color: var(--menta);
}

.contact__dots {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: min(460px, 70vw);
  pointer-events: none;
  user-select: none;
}

.contact__mark {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 16px;
}

.brand-band,
.brand-close {
  margin: 0;
}

.brand-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25vw;
  min-height: 156px;
  max-height: 360px;
  padding-inline: 24px;
  background: var(--preto);
  overflow: hidden;
}

.brand-band img {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.brand-band__slogan {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.2rem, 2.5vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-align: center;
}

.brand-close img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-close {
  display: flex;
  justify-content: center;
  padding: 72px 20px 8px;
  background: var(--cinza);
}

.brand-close img {
  width: min(420px, 100%);
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.contact__prep {
  display: grid;
  gap: 8px;
  margin-top: 1.25rem;
}

.contact__prep li {
  padding-left: 14px;
  border-left: 2px solid var(--menta);
}

.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--menta);
}

.channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid rgba(242, 242, 242, 0.35);
  color: inherit;
  text-decoration: none;
}

.channel:last-child {
  margin-bottom: 0;
}

.channel[href]:hover {
  background: rgba(255, 255, 255, 0.05);
}

.channel:not([href]) {
  border-style: dashed;
  cursor: default;
}

.channel__kicker {
  color: var(--menta);
  font-size: 0.75rem;
  font-weight: 600;
}

.channel__value {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer {
  padding-block: 40px 28px;
  background: var(--preto);
  color: var(--cinza);
  font-size: 0.96rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer__brand img {
  width: 40px;
  height: 40px;
}

.footer__name {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.footer__name span {
  display: block;
  font-weight: 400;
}

.footer__grid {
  display: grid;
  gap: 24px;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer__legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 242, 242, 0.16);
  color: #d0d0d0;
  font-size: 0.82rem;
}

.footer__legal p + p {
  margin-top: 8px;
}

.missing {
  padding-block: 88px 120px;
}

@media (max-width: 380px) {
  .header__contact {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }
}

@media (min-width: 800px) {
  .section {
    padding-block: 96px;
  }

  .pains,
  .models,
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards,
  .prints,
  .prints--pair {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    grid-template-columns: 260px 1fr;
    gap: 56px;
  }

  .portrait {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr auto;
  }
}

@media (min-width: 880px) {
  .header__contact,
  .nav-toggle {
    display: none;
  }

  .nav,
  .nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav a {
    padding: 0;
    font-weight: 500;
  }

  .nav__cta {
    margin-top: 0;
    padding: 10px 14px;
    background: var(--azul);
    color: var(--white);
    font-size: 1.1875rem;
    font-weight: 700;
  }

  .nav__cta:hover {
    background: var(--grafite);
  }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.8fr);
    gap: 40px;
    padding-block: 64px 20px;
  }

  .hero__brand img {
    width: min(100%, 420px);
  }

  .contact__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 48px;
  }
}

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