:root {
  /* Paleta HG: natural, sofisticada e acolhedora */
  --ink: #5e6f63;
  --ink-soft: #6b7b70;
  --forest: #b2875b;
  --forest-dark: #987147;
  --sage: #efe8de;
  --sage-light: #f4f0ea;
  --cream: #f4f0ea;
  --paper: #faf7f2;
  --sand: #d8c7b5;
  --line: rgba(94, 111, 99, 0.16);
  --shadow: 0 18px 50px rgba(94, 78, 61, 0.1);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

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

.section {
  padding: 104px 0;
}

#atendimentos {
  scroll-margin-top: 54px;
}


#processo {
  scroll-margin-top: -20px;
  padding: 47px 0;
}

#contato {
  scroll-margin-top: -70px;
}

#sobre {
  scroll-margin-top: -1px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: white;
  background: var(--forest-dark);
  border-radius: 8px;
  transform: translateY(-140%);
}

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

.eyebrow {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  background: rgba(250, 247, 242, 0.94);
  border-bottom: 1px solid rgba(94, 111, 99, 0.1);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--forest);
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  position: relative;
  padding: 31px 0 25px;
  color: var(--ink);
  font-size: 0.86rem;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 25px;
  color: white;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(178, 135, 91, 0.2);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--forest-dark);
  box-shadow: 0 12px 24px rgba(152, 113, 71, 0.25);
  transform: translateY(-2px);
}

.button-small {
  justify-self: end;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 14px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(520px, 40vw, 660px);
  overflow: hidden;
  background: var(--sand);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 247, 242, 0.08) 0%, transparent 48%);
  pointer-events: none;
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: clamp(520px, 40vw, 660px);
  padding-bottom: clamp(36px, 4vw, 66px);
}

.hero-button,
.trust-line {
  margin-left: 0;
}

.hero-button {
  min-width: 218px;
}

.trust-line {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.78rem;
}

.hero-mobile-copy {
  display: none;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 105px;
  align-items: stretch;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: 46px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.portrait-placeholder {
  position: relative;
  display: grid;
  min-height: 450px;
  overflow: hidden;
  place-items: center;
  color: var(--forest-dark);
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.75) 0 7%, transparent 8%),
    linear-gradient(145deg, var(--sage), var(--sand));
  border-radius: 42px 42px 42px 12px;
  text-align: center;
}

.portrait-placeholder.has-photo {
  background: var(--paper);
  border: 1px solid rgba(178, 135, 91, 0.16);
  box-shadow: 0 24px 55px rgba(94, 111, 99, 0.12);
}

.portrait-placeholder.has-photo::before,
.portrait-placeholder.has-photo::after {
  display: none;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  transform-origin: center 42%;
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(178, 135, 91, 0.28);
  border-radius: 50%;
}

.portrait-placeholder::before {
  right: -70px;
  bottom: -40px;
  width: 260px;
  height: 260px;
}

.portrait-placeholder::after {
  top: -55px;
  left: -80px;
  width: 220px;
  height: 220px;
}

.portrait-placeholder div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.portrait-placeholder span {
  font-family: var(--serif);
  font-size: 4rem;
}

.portrait-placeholder strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.portrait-placeholder small {
  margin-top: 5px;
  color: var(--ink-soft);
}

.about-copy {
  padding-top: 18px;
}

.about-copy h2,
.support h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.about-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.signature {
  margin-top: 34px;
  margin-bottom: 2px;
  color: var(--forest-dark);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 1.6rem;
  transform: rotate(-3deg);
}

.about-copy > small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.support {
  padding-top: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 52px 46px;
  margin-top: 42px;
}

.support-item {
  position: relative;
  padding-left: 72px;
}

.support-item .icon {
  position: absolute;
  top: -5px;
  left: 0;
  display: grid;
  width: 55px;
  height: 55px;
  overflow: hidden;
  place-items: center;
  color: var(--forest);
  background: var(--sage-light);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.support-item .icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.38);
  transform-origin: center;
}

.support-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
  line-height: 1.72;
}

.process {
  background: var(--cream);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading > p:last-child {
  color: var(--ink-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-grid article {
  min-height: 260px;
  padding: 36px;
  background: rgba(250, 247, 242, 0.92);
  border: 1px solid rgba(178, 135, 91, 0.13);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.process-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2rem;
}

.process-grid p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 98px 0 86px;
  background: var(--sage);
}

.final-cta::before {
  position: absolute;
  top: -160px;
  left: -130px;
  width: 390px;
  height: 390px;
  content: "";
  background: rgba(250, 247, 242, 0.5);
  border-radius: 50%;
}

.final-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.top-sprig {
  display: inline-grid;
  width: 82px;
  height: 28px;
  margin-bottom: 8px;
  color: var(--forest);
  opacity: 0.78;
}

.top-sprig svg {
  display: block;
  width: 100%;
  height: 100%;
}

.top-sprig path,
.botanical-left path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.final-content h2 {
  margin: 6px 0 16px;
}

.final-content p {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  color: var(--ink-soft);
}

.contact-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 25px;
  font-size: 0.82rem;
}

.contact-links a {
  text-underline-offset: 4px;
}

.psi {
  position: absolute;
  top: 48%;
  right: 8%;
  color: rgba(178, 135, 91, 0.08);
  font-family: var(--serif);
  font-size: 8.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.botanical-left {
  position: absolute;
  bottom: 36px;
  left: 5%;
  z-index: 1;
  width: 155px;
  height: auto;
  color: rgba(178, 135, 91, 0.22);
  transform: rotate(-8deg);
}

footer {
  padding: 20px 0;
  color: var(--ink-soft);
  background: var(--sage);
  border-top: 1px solid rgba(178, 135, 91, 0.2);
  font-size: 0.72rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 11px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--ink);
  }

  .main-nav.open {
    position: fixed;
    top: 88px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 18px 24px 30px;
    background: var(--paper);
    box-shadow: 0 20px 30px rgba(94, 78, 61, 0.12);
  }

  .main-nav.open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open a::after {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: minmax(230px, 0.8fr) 1fr;
    gap: 38px;
    padding-top: 60px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  #inicio,
  #atendimentos,
  #processo,
  #contato {
    scroll-margin-top: 84px;
  }

  #sobre {
    scroll-margin-top: -1px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 34px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .site-header {
    height: 76px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.82rem;
  }

  .brand-copy strong {
    font-size: 0.95rem;
  }

  .brand-copy small {
    font-size: 0.52rem;
  }

  .main-nav.open {
    top: 76px;
  }

  .hero,
  .hero-actions {
    min-height: 680px;
  }

  .hero-image {
    object-position: 73% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(250, 247, 242, 0.95) 0%, rgba(244, 240, 234, 0.74) 65%, rgba(239, 232, 222, 0.16) 100%);
  }

  .hero-actions {
    justify-content: center;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .hero-mobile-copy {
    display: block;
    max-width: 330px;
  }

  .hero-mobile-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-mobile-copy > p:last-child {
    max-width: 280px;
    margin-bottom: 26px;
    color: var(--ink-soft);
  }

  .hero-button {
    min-width: 0;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .portrait-placeholder {
    min-height: 390px;
  }

  .support-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .support-grid {
    gap: 38px;
  }

  .process-grid article {
    min-height: 0;
  }

  .process-grid span {
    margin-bottom: 24px;
  }

  .final-cta {
    padding: 78px 0 68px;
  }

  .contact-links,
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer-inner {
    text-align: center;
  }

  .psi {
    right: -18px;
    font-size: 6.5rem;
  }

  .botanical-left {
    bottom: 18px;
    left: -34px;
    width: 118px;
    opacity: 0.7;
  }

  .top-sprig {
    width: 70px;
    height: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
