:root {
  color-scheme: light;
  --white: #fffdfa;
  --paper: #f6f4f0;
  --mineral: #eae8e4;
  --ink: #25241f;
  --charcoal: #24241f;
  --deep-charcoal: #191913;
  --gold-olive: #736525;
  --gold: #c6bb61;
  --pale-gold: #e4d78c;
  --page-gutter: max(clamp(22px, 6vw, 80px), calc((100% - 1180px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 Montserrat, system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

header, main > section, footer { padding-inline: var(--page-gutter); }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 17px;
  border-bottom: 1px solid #d9d3b7;
  background: var(--white);
}
.brand {
  display: inline-grid;
  justify-items: center;
  flex: none;
  gap: 4px;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
}
.brand img { height: auto; }
.brand span { font-size: .75rem; line-height: 1.3; }
nav { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 34px); }
nav a { font-size: .875rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--pale-gold);
  color: var(--deep-charcoal);
  font: 700 .9rem/1.35 Montserrat, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover, button:hover { background: #f0e4a4; text-decoration: none; }
header .btn, .contact button {
  background: var(--gold-olive);
  color: #fff;
}
header .btn:hover, .contact button:hover { background: #60531e; }

main > section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(62px, 8vw, 111px);
}
.hero, .services, .bio {
  --accent: var(--pale-gold);
  --muted: #e6e2d8;
  --rule: #82794e;
  background-color: var(--charcoal);
  background-image:
    linear-gradient(123deg, transparent 79%, #b2a0594d 79.1%, transparent 79.27%),
    radial-gradient(ellipse 86% 100% at 101% -60%, #83785052 0 99.7%, transparent 100%),
    linear-gradient(110deg, var(--deep-charcoal), var(--charcoal) 55%, #383529);
  color: var(--white);
}
#atuacao, .method, .contact {
  --accent: var(--gold-olive);
  --muted: #47443b;
  --rule: #b6ad8b;
  background:
    linear-gradient(100deg, var(--white) 8%, #faf8f4ef 43%, #faf8f49e),
    url("zion-grafismo.webp") right center / cover no-repeat var(--mineral);
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .11em;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 700; }
h1, h2 { line-height: 1.08; letter-spacing: -.052em; }
h1 {
  margin: 16px 0 20px;
  font-size: clamp(2.75rem, 5.55vw, 5.45rem);
}
h1 em { display: block; color: var(--pale-gold); font-style: normal; }
h2 {
  max-width: 21ch;
  margin: 12px 0 29px;
  font-size: clamp(2.1rem, 4.1vw, 3.85rem);
}
h3 { font-size: clamp(1.13rem, 1.7vw, 1.45rem); line-height: 1.25; letter-spacing: -.025em; }
p { max-width: 62ch; color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 7vw, 98px);
  padding-block: clamp(60px, 7vw, 98px);
  background-image:
    linear-gradient(126deg, transparent 78%, #b2a0596b 78.12%, transparent 78.28%),
    linear-gradient(156deg, transparent 82%, #b2a05956 82.14%, transparent 82.3%),
    radial-gradient(ellipse 74% 90% at 94% -49%, #b4a46745 0 99.7%, transparent 100%),
    linear-gradient(105deg, var(--deep-charcoal) 12%, var(--charcoal) 53%, #3b3728);
}
.hero p { margin-bottom: 27px; font-size: clamp(1rem, 1.65vw, 1.16rem); }
.hero figure { justify-self: end; width: 100%; max-width: 470px; }
.hero figure img {
  width: 100%;
  height: auto;
  border-radius: 46% 46% 3px 3px / 24% 24% 3px 3px;
}
figcaption {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .875rem;
}

.grid, .split { display: grid; gap: clamp(23px, 4.2vw, 60px); }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid article { border-top: 1px solid var(--rule); padding-top: 19px; }
.grid h3 { margin-bottom: 12px; }
.grid p + p { margin-top: 12px; }
.services article { border-top: 2px solid var(--gold); }
.services a { color: var(--pale-gold); font-weight: 700; }
.services a:hover { color: var(--white); }

details { padding-block: 14px; border-bottom: 1px solid var(--rule); }
details:first-child { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 700; }
summary::marker { color: var(--accent); }
details p { margin: 9px 0 2px; }
.bio { align-items: center; }
.bio figure { max-width: 430px; }
.bio img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 27%;
  border-radius: 3px;
}

.contact { align-items: start; }
form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3.1vw, 34px);
  background: var(--white);
  border: 1px solid #d0c6a7;
  border-radius: 4px;
}
label { display: grid; gap: 5px; font-size: .9rem; font-weight: 700; }
input, textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #a59d86;
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.45 Montserrat, system-ui, sans-serif;
}
label.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
}
label.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: .2em 0 0;
  padding: 0;
  accent-color: var(--ink);
}
textarea { resize: vertical; }
form button { justify-self: start; }
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-block: 24px;
  border-top: 1px solid #938457;
  background: var(--deep-charcoal);
  color: var(--white);
  font-size: .875rem;
}
footer .brand { color: var(--white); }

@media (max-width: 900px) {
  nav a:not(.btn) { display: none; }
}
@media (max-width: 740px) {
  .hero, .split, .grid { grid-template-columns: 1fr; }
  .hero figure { justify-self: start; width: min(100%, 400px); }
  h2 { margin-bottom: 21px; }
}
@media (max-width: 410px) {
  header { gap: 12px; }
  .brand img { width: 100px; }
  .brand span { font-size: .6875rem; }
  header .btn { max-width: 128px; padding-inline: 11px; }
  footer .brand img { width: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
