:root {
  --navy: #12284c;
  --navy-deep: #020b16;
  --navy-mid: #3a5074;
  --gold: #c8a977;
  --gold-soft: #d4bc9a;
  --ivory: #fcf9f4;
  --stone: #cbcac6;
  --ink: #8a93a3;
  --display: "Italiana", "Iowan Old Style", Palatino, serif;
  --body: "Alexandria", ui-sans-serif, system-ui, sans-serif;
  --hero-scrim: linear-gradient(
    90deg,
    rgb(2 11 22 / 0.88) 0%,
    rgb(18 40 76 / 0.72) 48%,
    rgb(18 40 76 / 0.28) 100%
  );
  --header-h: 5rem;
  --wrap: 72rem;
}

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

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: var(--navy-deep);
  color: var(--ivory);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy-deep);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  outline: 1px solid rgb(252 249 244 / 0.08);
  outline-offset: -1px;
}

a {
  color: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--navy-deep);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 400;
  line-height: 1.2;
}

p {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.5rem 0.75rem;
  font-family: var(--body);
  text-decoration: none;
}

.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 4rem, var(--wrap));
  }
}

.kicker {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.display {
  font-family: var(--display);
}

.surface-ivory {
  background: var(--ivory);
  color: var(--navy);
}

.surface-ivory .kicker {
  color: var(--navy-mid);
}

.scroll-mt {
  scroll-margin-top: 6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--navy-deep);
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.btn:hover {
  background: var(--gold-soft);
}

.btn:active {
  transform: scale(0.96);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: rgb(200 169 119 / 0.1);
}

.btn-ink {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ink:hover {
  background: rgb(18 40 76 / 0.06);
}

.btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .btn-row {
    flex-direction: row;
    align-items: center;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgb(200 169 119 / 0.22);
}

.site-header.is-open {
  bottom: 0;
  z-index: 200;
  overflow: auto;
}

.site-header-bar {
  display: flex;
  height: var(--header-h);
  max-width: var(--wrap);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1.25rem;
  background: var(--navy);
}

@media (min-width: 768px) {
  .site-header-bar {
    padding-inline: 2rem;
  }
}

.wordmark {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  text-decoration: none;
}

.wordmark-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  object-fit: contain;
}

.wordmark-lockup {
  display: block;
  width: auto;
  height: 1.55rem;
  max-width: min(52vw, 13.5rem);
  object-fit: contain;
}

@media (min-width: 640px) {
  .wordmark-mark {
    width: 2.5rem;
    height: 2.5rem;
  }
  .wordmark-lockup {
    height: 1.85rem;
    max-width: 16rem;
  }
}

@media (min-width: 1024px) {
  .wordmark-lockup {
    height: 2rem;
    max-width: 17.5rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop a.is-current {
  color: var(--ivory);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--gold);
  padding: 0;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.site-header-panel {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  min-height: calc(100dvh - var(--header-h));
  padding: 2rem 1.25rem 3rem;
  background: var(--navy);
}

.site-header.is-open .site-header-panel {
  display: flex;
}

.site-header-panel a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  font-family: var(--display);
  font-size: 1.875rem;
  color: var(--gold);
  text-decoration: none;
}

.site-header-panel .btn {
  margin-top: 2rem;
  align-self: flex-start;
}

.site-main {
  padding-top: var(--header-h);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--header-h));
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: calc(100dvh - var(--header-h));
  max-width: var(--wrap);
  margin-inline: auto;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.25rem;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 6rem 2rem;
  }
}

.hero h1 {
  margin: 2rem 0 0;
  max-width: 48rem;
  font-family: var(--display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.hero h1 .gold,
.text-gold {
  color: var(--gold);
}

.hero h1 span.line {
  display: block;
  margin-top: 0.15em;
}

.hero-lead {
  margin: 2rem 0 0;
  max-width: 28rem;
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.hero-link:hover {
  color: var(--gold-soft);
}

/* Método */
.metodo {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .metodo {
    padding: 7rem 0;
  }
}

.metodo h2,
.ivory-title {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.metodo-grid {
  display: grid;
  gap: 2.5rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .metodo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .metodo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metodo-grid li {
  border-top: 1px solid rgb(200 169 119 / 0.4);
  padding-top: 1.25rem;
}

.metodo-grid h3 {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--navy);
}

.metodo-grid p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--navy-mid);
}

.metodo-figure {
  margin: 0 auto;
  padding: 0 1.25rem 5rem;
  max-width: var(--wrap);
}

@media (min-width: 768px) {
  .metodo-figure {
    padding-inline: 2rem;
  }
}

.metodo-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.caption {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.surface-ivory .caption {
  color: var(--navy-mid);
}

/* ICPs */
.icp-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgb(200 169 119 / 0.2);
  max-width: var(--wrap);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .icp-index {
    grid-template-columns: repeat(4, 1fr);
  }
}

.icp-index a {
  display: flex;
  min-height: 6rem;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  background: var(--navy);
  text-decoration: none;
}

.icp-index a:hover {
  background: rgb(58 80 116 / 0.35);
}

.icp-index span {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.icp-index strong {
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ivory);
}

.icp-section {
  border-top: 1px solid rgb(200 169 119 / 0.15);
  background: var(--navy);
}

.icp-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .icp-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-block: 7rem;
  }
  .icp-grid.is-reverse figure {
    order: 2;
  }
}

.icp-grid img {
  width: 100%;
  object-fit: cover;
}

.icp-grid img.is-portrait {
  aspect-ratio: 3 / 4;
  max-height: 36rem;
}

.icp-grid img.is-landscape {
  aspect-ratio: 3 / 2;
}

.icp-grid h2 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ivory);
}

.icp-lead {
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ivory);
}

.icp-body {
  margin: 1rem 0 0;
  color: var(--stone);
  line-height: 1.7;
}

.icp-notes {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.icp-notes li {
  border-left: 1px solid var(--gold);
  padding-left: 1rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
}

/* Trabalhos teaser / empty */
.band {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .band {
    padding-block: 7rem;
  }
}

.band-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .band-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.panel {
  margin-top: 3rem;
  border: 1px solid rgb(200 169 119 / 0.35);
  padding: 3.5rem 1.5rem;
}

@media (min-width: 768px) {
  .panel {
    padding: 3.5rem 2.5rem;
  }
}

.panel p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.7;
}

.surface-ivory .panel p {
  color: var(--navy-mid);
}

/* Final CTA */
.final-cta {
  border-top: 1px solid rgb(200 169 119 / 0.15);
  background: var(--navy);
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .final-cta {
    padding-block: 7rem;
  }
}

.final-cta h2 {
  margin: 1rem 0 0;
  max-width: 48rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  color: var(--ivory);
}

.final-cta p {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--stone);
}

/* Page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgb(200 169 119 / 0.15);
  min-height: 22rem;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: rgb(18 40 76 / 0.75);
}

.page-hero-inner {
  position: relative;
  padding-block: 6rem;
}

.page-hero h1 {
  margin: 1rem 0 0;
  max-width: 48rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--ivory);
}

.page-hero p {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--stone);
}

/* Contato */
.contato-grid {
  display: grid;
  gap: 4rem;
  padding-block: 5rem;
  background: var(--navy);
}

@media (min-width: 1024px) {
  .contato-grid {
    grid-template-columns: 0.85fr 1.15fr;
    padding-block: 7rem;
  }
}

.contato-grid h1 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  color: var(--ivory);
}

.contato-grid .lead {
  margin: 1.5rem 0 0;
  color: var(--stone);
}

.contact-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 1rem;
}

.contact-list span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-list a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--ivory);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold);
}

/* Form */
.form-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--navy-mid);
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--gold);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.notice {
  border: 1px solid rgb(200 169 119 / 0.3);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ivory);
}

.notice.is-ok {
  color: var(--gold);
}

/* Trabalhos grid */
.trabalho-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .trabalho-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .trabalho-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.trabalho-card {
  text-decoration: none;
  color: inherit;
}

.trabalho-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.trabalho-card h2 {
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--navy);
}

.trabalho-card p {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgb(200 169 119 / 0.2);
  background: var(--navy-deep);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
}

.footer-brand svg {
  width: 2.5rem;
  height: 2.5rem;
}

.footer-brand p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-scope {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-copy {
  border-top: 1px solid rgb(200 169 119 / 0.15);
}

.footer-copy p {
  margin: 0 auto;
  max-width: var(--wrap);
  padding: 1.25rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 768px) {
  .footer-copy p {
    padding-inline: 2rem;
  }
}

.metodo-grid .kicker {
  color: var(--gold);
}

.icp-index-wrap {
  background: var(--navy);
  border-top: 1px solid rgb(200 169 119 / 0.2);
}

.panel-lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1.7;
}

.prose-navy {
  color: var(--navy);
}

.page-generic {
  color: var(--ivory);
}

.page-generic h1 {
  color: var(--ivory);
  margin-top: 1rem;
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Em breve */
body.is-coming-soon {
  background: var(--navy-deep);
}

.coming-soon {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--navy-deep);
}

.coming-soon-inner {
  position: relative;
  display: flex;
  min-height: 100dvh;
  max-width: var(--wrap);
  margin-inline: auto;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 1.25rem;
}

@media (min-width: 768px) {
  .coming-soon-inner {
    padding: 3.5rem 2rem;
  }
}

.coming-soon-brand {
  gap: 0.9rem;
}

.coming-soon-brand .wordmark-mark {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
}

.coming-soon-brand .wordmark-lockup {
  height: 2.35rem;
  max-width: min(78vw, 22rem);
}

@media (min-width: 768px) {
  .coming-soon-brand .wordmark-mark {
    width: 3.75rem;
    height: 3.75rem;
  }
  .coming-soon-brand .wordmark-lockup {
    height: 2.75rem;
    max-width: 26rem;
  }
}

.coming-soon-copy {
  max-width: 48rem;
  padding-block: 4rem;
}

.coming-soon-copy h1 {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.coming-soon-copy h1 .gold {
  color: var(--gold);
}

.coming-soon-copy h1 .line {
  display: block;
  margin-top: 0.12em;
}

.coming-soon-place {
  margin-top: 1.5rem;
}

.coming-soon-mail {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

