:root {
  color-scheme: dark;
  --ink: #151513;
  --ink-deep: #10100f;
  --panel: #22211e;
  --paper: #f7f1e8;
  --muted: #c3bab0;
  --bronze: #e7b581;
  --border: #484039;
  --sand: #ece0ce;
  --text-dark: #28221d;
  --gutter: clamp(1rem, 4.8vw, 4.5rem);
  --display: "Arial", "Helvetica Neue", sans-serif;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  background: var(--ink);
  color: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
img { display: block; width: 100%; }
:focus-visible { outline: 3px solid #f0c89f; outline-offset: 5px; }
#como-funciona, #atendimentos, #contato { scroll-margin-top: 1rem; }

.wrap {
  width: min(100% - var(--gutter) * 2, 75rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 4;
  inset: .6rem auto auto .6rem;
  transform: translateY(-180%);
  background: var(--bronze);
  color: var(--ink);
  padding: .6rem .8rem;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  background: var(--ink-deep);
  border-bottom: 1px solid #332e28;
}

.header-inner {
  min-height: 4.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "process brand links";
  align-items: center;
  gap: .65rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.site-header a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
}

.site-header a:hover { color: var(--paper); }
.nav-process { grid-area: process; justify-self: start; }
.header-brand { grid-area: brand; justify-self: center; border-radius: 50%; }
.header-brand .brand-mark { width: 3.2rem; height: 3.2rem; }
.nav-links { grid-area: links; display: flex; justify-content: end; gap: clamp(.65rem, 2.2vw, 1.85rem); }

.hero {
  overflow: hidden;
  background: #121210;
  border-bottom: 1px solid #3f352b;
}

.hero-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding-block: clamp(10rem, 42vw, 13.5rem) 2.5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow {
  color: var(--bronze);
  text-transform: uppercase;
  font-weight: 650;
  font-size: .875rem;
  letter-spacing: .15em;
}

.hero .intro {
  margin-top: 1.45rem;
  color: var(--paper);
  font-size: clamp(1rem, 2.25vw, 1.42rem);
  line-height: 1.25;
}

.hero h1 {
  margin-top: .42rem;
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: clamp(2.2rem, 10vw, 6.6rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.065em;
}

.hero h1 span, .card-content h1 span {
  display: block;
  color: var(--bronze);
}

.brand-art {
  position: absolute;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 45%, #3d2d1f 3%, #1c1813 54%, #121210 83%);
}

.hero .brand-art {
  z-index: 0;
  inset: 0 calc(-1 * var(--gutter)) auto 17%;
  height: clamp(15.5rem, 65vw, 24rem);
  opacity: .27;
  mask-image: linear-gradient(100deg, transparent 4%, #000 73%);
}

.brand-art::before, .brand-art::after {
  position: absolute;
  content: "";
  width: 58%;
  height: 113%;
  border: 1px solid #ba885e65;
  transform: skewX(-17deg) rotate(-11deg);
}

.brand-art::before { left: 20%; top: -38%; }
.brand-art::after { right: 3%; bottom: -53%; border-color: #8c634d94; }

.brand-art img {
  position: relative;
  width: clamp(10rem, 43vw, 22rem);
  height: auto;
  opacity: .53;
}

.hero-portrait {
  position: absolute;
  inset: 0 calc(-1 * var(--gutter)) auto auto;
  width: min(85vw, 30rem);
  height: clamp(15.5rem, 65vw, 24rem);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 97%);
}

.hero-portrait img {
  height: 100%;
  filter: brightness(1.04);
  object-fit: cover;
  object-position: 50% 36%;
  mask-image: linear-gradient(to right, transparent, #000 21%, #000 86%, #0008);
}

.hero-description {
  max-width: 31rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-priority {
  margin-top: .45rem;
  color: var(--paper);
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 600;
}

.hero-actions { margin-top: 1.35rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .62rem;
  min-height: 3.125rem;
  border: 1px solid transparent;
  padding: .7rem 1.1rem;
  border-radius: .2rem;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.button-primary { color: #1b1510; background: var(--bronze); }
.button-primary:hover { background: #f5cda2; }
.button-dark { color: var(--paper); background: #29221c; }
.button-dark:hover { background: #46372b; }
.button-outline { color: var(--paper); border-color: #75614e; }
.button-outline:hover { background: #312920; border-color: var(--bronze); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #aa8a6d;
  text-underline-offset: .27em;
}

.text-link:hover { text-decoration-thickness: 2px; }

.location {
  margin-top: .95rem;
  color: var(--muted);
  font-size: .875rem;
}

.location .icon { margin-right: .37rem; }
.location-online { display: block; margin-left: 1.05rem; }

.section { padding-block: clamp(2.8rem, 6.5vw, 5rem); }
.section-intro { max-width: 36rem; margin-bottom: 1.6rem; }

.section h2 {
  margin-top: .48rem;
  font-family: var(--display);
  font-weight: 750;
  font-size: clamp(1.85rem, 6.4vw, 3.55rem);
  letter-spacing: -.033em;
  line-height: 1.08;
}

.process {
  background: #1b1916;
  border-bottom: 1px solid #3f352b;
}

.process-list {
  display: grid;
  gap: 1.2rem 1.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  border-top: 1px solid #8e6c50;
  padding-top: .9rem;
}

.process-list h3 { font-size: 1.18rem; line-height: 1.2; }
.process-list p { color: var(--muted); margin-top: .48rem; max-width: 32rem; }
.service-grid { display: grid; gap: .9rem; }

.service {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 1px solid #8e6c50;
}

.service-home { border-top: 2px solid #b98a60; }

.service-icon {
  display: block;
  width: 1.9rem;
  height: 1.9rem;
  margin-bottom: .8rem;
  color: var(--bronze);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); font-weight: 650; line-height: 1.2; }
.service p { color: var(--muted); max-width: 30rem; }
.service .service-meta { color: var(--bronze); margin-block: .26rem .64rem; font-size: .875rem; font-weight: 600; }

.care-options {
  margin-top: clamp(1.45rem, 4vw, 2.4rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.care-options h3 { font-size: 1.2rem; }
.care-options dl { display: grid; gap: .8rem 1rem; margin-top: .8rem; }
.care-options dl > div { padding: .85rem 1rem; border-left: 2px solid var(--border); }
.care-options .care-follow-up { border-left-color: #b98a60; background: var(--panel); }
.care-options dt { font-weight: 650; }
.care-options .care-follow-up dt { color: var(--bronze); }
.care-options dd { color: var(--muted); margin-top: .3rem; max-width: 34rem; }

.contact { background: var(--sand); color: var(--text-dark); }
.contact :focus-visible { outline-color: #6b482d; }

.contact-inner {
  display: grid;
  grid-template-areas: "label" "title" "copy" "action" "links";
  gap: .42rem 2rem;
}

.contact .eyebrow { grid-area: label; color: #6b482d; }
.contact h2 { grid-area: title; margin: 0; }
.contact-description { grid-area: copy; max-width: 29rem; }
.contact-primary { grid-area: action; justify-self: start; align-self: center; margin-top: .7rem; }
.contact-links { grid-area: links; align-self: start; display: flex; flex-wrap: wrap; column-gap: 1rem; }

.site-footer { background: var(--ink-deep); color: var(--muted); }
.footer-inner { min-height: 4.75rem; display: grid; justify-items: center; align-content: center; padding-block: .65rem; }
.footer-brand { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; }
.footer-brand img { width: 2.6rem; height: 2.6rem; }

.icon { position: relative; display: inline-block; flex: 0 0 auto; }
.icon-pin {
  width: .65rem;
  height: .65rem;
  border: 1px solid var(--bronze);
  border-radius: 55% 55% 55% 0;
  transform: rotate(-45deg);
  margin-right: .12rem;
}
.icon-pin::before { content: ""; position: absolute; inset: 27%; border-radius: 50%; background: var(--bronze); }

.card-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(.8rem, 4vw, 2rem);
  background: radial-gradient(ellipse at 50% 9%, #34281b, var(--ink-deep) 68%);
}

.digital-card {
  width: min(100%, 28rem);
  overflow: hidden;
  background: #1e1b17;
  border: 1px solid #6b533c;
  box-shadow: 0 20px 65px #0005;
}

.card-cover {
  position: relative;
  display: grid;
  place-items: end center;
  height: 8.5rem;
}

.card-art {
  inset: 0 0 1.35rem;
  border-bottom: 1px solid #6b533c;
}

.card-art img {
  width: 8.5rem;
  opacity: .29;
  justify-self: end;
  transform: translate(13%, -11%);
}

.card-brand {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  border-radius: 50%;
}

.card-portrait {
  position: relative;
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  object-position: 50% 28%;
  border: 1px solid #ad825a;
  border-radius: 50%;
  background: var(--ink);
}

.card-content {
  padding: .7rem clamp(.85rem, 5vw, 2rem) 1.2rem;
  text-align: center;
}

.card-content h1 {
  margin: .32rem 0 .4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.05rem, 8vw, 3rem);
  line-height: .99;
  letter-spacing: -.055em;
}

.card-description { color: var(--paper); }
.card-content .location { display: block; margin-block: .62rem 1.02rem; }
.card-content .location .icon { margin-right: .25rem; }
.card-actions { display: grid; gap: .6rem; }
.card-actions .text-link { justify-self: center; }
.card-brand { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; }

@media (max-width: 35rem) {
  .header-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand brand" "process links";
    gap: .18rem .65rem;
    padding-top: .42rem;
  }

  .site-header a { font-size: .8125rem; }
}

@media (min-width: 43rem) {
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid, .care-options dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { gap: 1.05rem; }
  .contact-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label ." "title action" "copy links";
  }
  .contact-primary { margin-top: 0; }
}

@media (min-width: 49rem) {
  .hero-inner {
    min-height: clamp(34rem, 52vw, 43rem);
    padding-block: 4.6rem;
  }

  .hero-copy { width: 62%; }
  .hero h1 { font-size: clamp(3.7rem, 7.6vw, 6.6rem); }
  .hero .brand-art { inset: 0 -1rem 0 39%; height: auto; opacity: .72; }
  .hero .brand-art img { width: clamp(16rem, 29vw, 25rem); }

  .hero-portrait {
    inset: 0 -1rem 0 auto;
    width: 56%;
    height: 100%;
    mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 78%, transparent 100%);
  }

  .hero-portrait img {
    object-position: 48% 45%;
    mask-image: linear-gradient(to right, transparent, #000 21%, #000 84%, transparent);
  }
}

@media (max-width: 22rem) {
  .hero .intro { margin-top: 1rem; }
  .hero-actions { margin-top: 1.12rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; }
}
