:root {
  --burgundy: #4a0e1d;
  --burgundy-deep: #2d0812;
  --burgundy-muted: #6b1a2e;
  --gold: #c5a059;
  --gold-deep: #a88645;
  --paper: #fdfbf9;
  --white: #ffffff;
  --ink: #2f2628;
  --text: #655b5e;
  --line: #e9e1df;
  --soft: #f6f1ef;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --container: 1180px;
  --shadow: 0 18px 42px rgba(45, 8, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  color: var(--white);
  background: var(--burgundy);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--burgundy);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.wrap {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 6.5rem 0;
}

.section--white {
  background: var(--white);
}

.section--soft {
  background: var(--soft);
}

.section-heading {
  max-width: 660px;
  margin-bottom: 3.2rem;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.eyebrow--light {
  color: var(--gold);
}

.title {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
}

.title--light {
  color: var(--white);
}

.intro {
  max-width: 660px;
  margin: 1.15rem 0 0;
  font-size: 1.04rem;
}

.section-heading--center .intro {
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(74, 14, 29, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 14px rgba(45, 8, 18, 0.03);
  backdrop-filter: blur(12px);
}

.nav-bar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  flex-shrink: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.brand::after {
  color: var(--gold);
  content: ".";
  font-size: 1.8rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-list a:not(.button) {
  color: #564c4f;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 220ms ease;
}

.nav-list a:not(.button):hover,
.nav-list a:not(.button):focus-visible,
.nav-list a.is-active {
  color: var(--burgundy);
}

.button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 0.73rem 1.2rem;
  border: 1px solid var(--burgundy);
  border-radius: 2px;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.nav-toggle:focus-visible,
.faq-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.button--primary {
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 8px 18px rgba(74, 14, 29, 0.18);
}

.button--primary:hover {
  border-color: var(--burgundy-muted);
  background: var(--burgundy-muted);
}

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

.button--gold-outline:hover {
  color: var(--burgundy);
  background: var(--gold);
}

.button--light {
  border-color: var(--white);
  color: var(--burgundy);
  background: var(--white);
}

.button--light:hover {
  border-color: var(--gold);
  color: var(--white);
  background: var(--gold-deep);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--burgundy);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-menu[data-open="true"] {
  display: block;
}

.mobile-menu__inner {
  display: grid;
  gap: 0.2rem;
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
  padding: 1rem 0 1.25rem;
}

.mobile-menu a {
  padding: 0.65rem 0;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.mobile-menu .button {
  margin-top: 0.55rem;
  color: var(--white);
}

.home-hero {
  padding: clamp(3rem, 5vw, 5rem) 0 4rem;
  overflow: hidden;
}


.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.home-hero__visual {
  align-self: stretch; /* Estica para ocupar toda a altura do grid */
  display: flex;
  align-items: flex-start;
}

.home-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1.06;
}

.hero-statement {
  max-width: 600px;
  margin: 1.7rem 0 0;
  padding-left: 1.15rem;
  border-left: 2px solid var(--gold);
  color: #514749;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.52rem);
  line-height: 1.55;
}

.hero-copy {
  max-width: 600px;
  margin: 1.45rem 0 0;
  font-size: 1rem;
}

/* --- Hero Keywords (Tags Elegantes) --- */
.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.8rem 0 2.2rem;
  max-width: 650px;
}

.hero-keywords span {
  font-size: 0.82rem;
  color: var(--burgundy);
  background-color: var(--soft);
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
  font-weight: 500;
  border: 1px solid var(--line);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.hero-keywords span:hover {
  border-color: var(--gold);
  background-color: rgba(197, 160, 89, 0.08);
  transform: translateY(-1px);
}

/* Ajuste fino para mobile nas keywords */
@media (max-width: 540px) {
  .hero-keywords {
    gap: 0.4rem;
    margin: 1.5rem 0 2rem;
  }
  .hero-keywords span {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-photo {
  position: relative;
  isolation: isolate;
  width: min(100%, 440px);
  margin-left: auto;
  height: 100%; /* Ocupa toda a altura do container pai */
}

.hero-photo::before {
  position: absolute;
  z-index: -1;
  top: 28px;
  right: -25px;
  bottom: -25px;
  left: 25px;
  border: 1px solid rgba(197, 160, 89, 0.65);
  content: "";
}

.hero-photo img {
  width: 100%;
  height: 100%; /* Ocupa toda a altura do container */
  min-height: 480px; /* Altura mínima para não ficar muito pequena */
  object-fit: cover;
  object-position: 50% 20%; /* Foca no rosto/ombros */
  box-shadow: var(--shadow);
}


.photo-caption {
  position: absolute;
  right: -1rem;
  bottom: 1rem;
  max-width: 220px;
  padding: 0.8rem 1rem;
  border-left: 2px solid var(--gold);
  color: var(--burgundy);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(45, 8, 18, 0.08);
  font-family: var(--serif);
  font-size: 0.97rem;
  line-height: 1.35;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.home-profile {
  max-width: 760px;
}

.portrait-frame {
  position: relative;
  width: min(100%, 400px);
}

.portrait-frame::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 58%;
  height: 48%;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  content: "";
}

.portrait-frame img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  object-position: 50% 24%;
}

.profile-content .title {
  margin-bottom: 1.4rem;
}

.profile-content p {
  margin: 0 0 1.1rem;
}

.credentials {
  display: grid;
  /* Agora os cards se ajustam automaticamente: 3 por linha em telas grandes, 2 em médias, 1 no celular */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; /* Espaço real entre os cards, sem fundo colorido */
  margin-top: 2rem;
}

.credential {
  min-height: 126px;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line); /* Borda suave e elegante em cada card */
  border-radius: 4px; /* Leve arredondamento para ficar mais sofisticado */
}

.credential__number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.credential h3 {
  margin: 0 0 0.3rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.credential p {
  margin: 0;
  color: var(--text);
  font-size: 0.83rem;
  line-height: 1.45;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.area-card {
  display: flex;
  min-height: 252px;
  flex-direction: column;
  padding: 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  background: var(--white);
  text-decoration: none;
  transition: color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.area-card:hover {
  color: var(--white);
  background: var(--burgundy);
  transform: translateY(-5px);
}

.area-card__index {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.area-card:hover .area-card__index,
.area-card:hover .area-card__link {
  color: var(--gold);
}

.area-card h3 {
  margin: 2.2rem 0 0.8rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.33rem;
  font-weight: 500;
  line-height: 1.25;
}

.area-card:hover h3 {
  color: var(--white);
}

.area-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.area-card__link {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.feature::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.feature-grid--single {
  grid-template-columns: minmax(0, 760px);
}

.feature .intro {
  color: rgba(255, 255, 255, 0.8);
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.feature-list li::before {
  width: 7px;
  height: 7px;
  margin-top: 0.55rem;
  border: 1px solid var(--gold);
  content: "";
}

.feature-portrait {
  position: relative;
}

.feature-portrait::after {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 60%;
  height: 50%;
  border-top: 1px solid rgba(197, 160, 89, 0.7);
  border-right: 1px solid rgba(197, 160, 89, 0.7);
  content: "";
}

.feature-portrait img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.78) contrast(1.04);
}

.feature-note {
  margin: 1.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.8rem;
}

.service-approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.service-approach--single {
  grid-template-columns: minmax(0, 760px);
}

.service-approach__copy {
  max-width: 640px;
}

.service-approach__copy .title {
  margin-bottom: 1.2rem;
}

.service-approach__copy p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.45;
}

.service-approach__copy p + p {
  margin-top: 1.15rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.98rem;
  line-height: 1.75;
}

.service-approach__image {
  position: relative;
  width: min(100%, 360px);
  margin-left: auto;
}

.service-approach__image::before {
  position: absolute;
  z-index: 0;
  top: -15px;
  right: 15px;
  bottom: 15px;
  left: -15px;
  border: 1px solid rgba(197, 160, 89, 0.72);
  content: "";
}

.service-approach__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 50% 20%;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.process-step {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px solid var(--gold);
}

.process-step__number {
  display: block;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.process-step h3 {
  margin: 0.75rem 0 0.45rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.process-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.5rem;
  border-top: 1px solid var(--line);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--burgundy);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.35;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  content: "";
  transform: rotate(45deg) translateY(-3px);
  transition: transform 220ms ease;
}

.faq[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px);
}

.faq p {
  max-width: 95%;
  margin: -0.15rem 0 1.25rem;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.86fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.4rem;
  margin: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(197, 160, 89, 0.55);
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.contact-item h3 {
  margin: 0 0 0.15rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.55;
}

.contact-item a:hover {
  color: var(--burgundy);
}

.contact-location {
  position: relative;
  min-height: 410px;
  padding: 2.2rem;
  color: var(--white);
  background: var(--burgundy-deep);
}

.contact-location::before,
.contact-location::after {
  position: absolute;
  content: "";
}

.contact-location::before {
  top: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  left: 1.1rem;
  border: 1px solid rgba(197, 160, 89, 0.55);
}

.contact-location::after {
  right: 0;
  bottom: 0;
  width: 55%;
  height: 58%;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-location__content {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.contact-location h3 {
  margin: 0 0 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}

.contact-location p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-location .button {
  margin-top: 2rem;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.contact-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: 50% 23%;
  filter: saturate(0.8);
}

.site-footer {
  padding: 2.8rem 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--burgundy-deep);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-title {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.32rem;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.76rem;
  text-align: right;
}

.footer-credit {
  display: inline-block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.53);
  font-size: 0.73rem;
  text-decoration: none;
}

.footer-credit:hover {
  color: var(--gold);
}

.whatsapp-float {
  position: fixed;
  z-index: 20;
  right: 1.1rem;
  bottom: 1.1rem;
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 8px 20px rgba(45, 8, 18, 0.25);
  font-family: var(--serif);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.practice-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  color: var(--white);
  background: var(--burgundy-deep);
}

.practice-hero::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: min(50%, 700px);
  width: 1px;
  content: "";
  background: rgba(197, 160, 89, 0.48);
}

.practice-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.67fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.breadcrumb {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.practice-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.35rem);
  font-weight: 500;
  line-height: 1.08;
}

.practice-hero .intro {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.practice-hero__image {
  position: relative;
  justify-self: end;
  width: min(100%, 350px);
}

.practice-hero__image::before {
  position: absolute;
  z-index: -1;
  top: 20px;
  right: -19px;
  bottom: -20px;
  left: 19px;
  border: 1px solid rgba(197, 160, 89, 0.7);
  content: "";
}

.practice-hero__image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: 50% 23%;
  filter: saturate(0.75);
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.65fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.article-copy h2,
.article-copy h3 {
  color: var(--burgundy);
  font-family: var(--serif);
  font-weight: 500;
}

.article-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.22;
}

.article-copy h3 {
  margin: 2.15rem 0 0.65rem;
  font-size: 1.35rem;
}

.article-copy p {
  max-width: 700px;
  margin: 0 0 1rem;
}

.context-panel {
  padding: 1.7rem;
  border-top: 2px solid var(--gold);
  background: var(--soft);
}

.context-panel h2 {
  margin: 0 0 1rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
}

.context-panel p {
  margin: 0;
  font-size: 0.9rem;
}

.context-panel p + p {
  margin-top: 0.85rem;
}

.situations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.situation {
  min-height: 176px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.situation__number {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.situation h3 {
  margin: 1.1rem 0 0.55rem;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.3;
}

.situation p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.method-item {
  min-height: 196px;
  padding: 1.45rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.method-item__number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.26rem;
}

.method-item h3 {
  margin: 1.2rem 0 0.55rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.method-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.87rem;
  line-height: 1.6;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.related-link {
  display: block;
  min-height: 150px;
  padding: 1.4rem;
  color: var(--burgundy);
  background: var(--white);
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease;
}

.related-link:hover {
  color: var(--white);
  background: var(--burgundy);
}

.related-link__index {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.related-link:hover .related-link__index {
  color: var(--gold);
}

.related-link h3 {
  margin: 1.6rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.3;
}

.cta-band {
  padding: 4.7rem 0;
  color: var(--white);
  background: var(--burgundy);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 650px;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.22;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Desktop: margem negativa para subir a foto */
.hero-photo {
  margin-top: -45rem; /* Mantém o ajuste que você fez para o desktop */
}

/* Mobile: remove a margem negativa e ajusta o layout */
@media (max-width: 800px) {
  .hero-photo {
    margin-top: 2rem; /* Espaço normal entre texto e foto */
    margin-left: auto;
    margin-right: auto;
    width: min(82%, 420px);
  }
  
  .hero-photo img {
    height: min(108vw, 570px);
    min-height: 400px;
  }
  
  .photo-caption {
    right: -1.6rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 1050px) {
  .nav-list {
    gap: 1rem;
  }

  .nav-list a:not(.button) {
    font-size: 0.78rem;
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 1.5rem;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: min(calc(100% - 2.4rem), var(--container));
  }

  .section {
    padding: 4.5rem 0;
  }

  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .home-hero {
    padding: 3.6rem 0 4.6rem;
  }

  .home-hero__grid,
  .profile-grid,
  .feature-grid,
  .service-approach,
  .contact-grid,
  .practice-hero__grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    order: 1;
  }

  .home-hero__visual {
    order: 2;
  }

  .hero-photo,
  .portrait-frame,
  .service-approach__image,
  .practice-hero__image {
    margin-right: auto;
    margin-left: 0;
  }

  .hero-photo {
    width: min(82%, 420px);
  }

  .hero-photo img {
    height: min(108vw, 570px);
  }

  .photo-caption {
    right: -1.6rem;
  }

  .portrait-frame img {
    height: min(118vw, 520px);
  }

  .feature-portrait {
    width: min(88%, 480px);
  }

  .feature-portrait img {
    height: min(111vw, 470px);
  }

  .feature::before {
    width: 3px;
  }

  .service-approach__image img {
    height: min(110vw, 440px);
  }

  .faq-grid,
  .situations,
  .method-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    gap: 0;
  }

  .practice-hero::after {
    display: none;
  }

  .practice-hero__image {
    justify-self: start;
  }

  .practice-hero__image img {
    height: min(105vw, 430px);
  }

  .cta-band__inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 540px) {
  .nav-bar {
    min-height: 68px;
  }

  .brand {
    font-size: 1.24rem;
  }

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

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

  .area-card {
    min-height: 212px;
  }

  .hero-actions .button,
  .cta-band .button {
    width: 100%;
  }

  .contact-location {
    min-height: 340px;
    padding: 1.8rem;
  }

  .whatsapp-float {
    display: flex;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}

