html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

main section[id] {
  scroll-margin-top: 6.5rem;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.22), rgba(247, 240, 227, 0.46)),
    url("assets/back_ground.png") center center / cover no-repeat;
  opacity: 0.78;
  filter: saturate(106%) contrast(1.04) blur(0.2px);
  transform: scale(1.015);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 16%, rgba(214, 176, 106, 0.16), transparent 22%),
    radial-gradient(circle at 88% 20%, rgba(214, 176, 106, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.28), rgba(250, 244, 233, 0.54));
}

h1,
h2,
h3,
.font-serif {
  font-family: "Playfair Display", serif;
}

.skip-link {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 100;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: var(--color-neutral);
  color: var(--color-neutral-content);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-280%);
}

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

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(192, 165, 120, 0.15);
  background: rgba(255, 251, 244, 0.84);
  backdrop-filter: blur(18px);
  overflow: visible;
  transition:
    background-color 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease,
    backdrop-filter 320ms ease;
}

.site-header-inner {
  position: relative;
  transition: padding-top 320ms ease, padding-bottom 320ms ease;
}

.header-logo-badge {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 4;
  display: flex;
  width: clamp(210px, 18vw, 260px);
  height: auto;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.45rem 0.4rem;
  border: 1px solid rgba(192, 165, 120, 0.24);
  border-radius: 2.1rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 238, 225, 0.94));
  box-shadow:
    0 18px 45px rgba(110, 84, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateY(-20%);
  transition:
    top 380ms cubic-bezier(0.22, 1, 0.36, 1),
    width 380ms cubic-bezier(0.22, 1, 0.36, 1),
    height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms ease,
    border-radius 320ms ease,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease;
  will-change: transform;
}

.header-logo-badge-image {
  width: 108%;
  max-width: 238px;
  height: auto;
  object-fit: contain;
  transition: opacity 220ms ease, transform 280ms ease;
}

.header-logo-badge-compact {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-inline: 1rem;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header-logo-badge-compact-image {
  width: 100%;
  max-width: 10.4rem;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.header-navbar {
  position: relative;
  min-height: 7.5rem;
  align-items: flex-end;
  padding-top: 2.9rem;
  padding-bottom: 1.15rem;
  overflow: clip;
  transition:
    min-height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 320ms ease,
    align-items 320ms ease;
}

.header-navbar .navbar-start,
.header-navbar .navbar-end {
  position: relative;
  z-index: 2;
}

.header-navbar .navbar-end {
  width: auto;
  pointer-events: none;
}

.header-navbar .navbar-end > * {
  pointer-events: auto;
}

.header-menu {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    box-shadow 320ms ease,
    background-color 320ms ease;
}

.header-menu {
  flex-wrap: nowrap;
}

.header-menu li {
  flex-shrink: 0;
}

.header-navbar .navbar-start {
  flex: 0 0 auto;
}

.header-navbar .navbar-end {
  flex: 0 0 auto;
}

.nav-link {
  border-radius: 999px;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-base-content) 74%, transparent);
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: color-mix(in oklab, var(--color-base-100) 82%, white);
  color: var(--color-neutral);
  transform: translateY(-1px);
}

body.is-scrolled .site-header {
  background: rgba(255, 251, 244, 0.93);
  border-color: rgba(192, 165, 120, 0.22);
  box-shadow: 0 14px 35px rgba(122, 92, 42, 0.08);
  backdrop-filter: blur(22px);
}

body.is-scrolled .header-navbar {
  min-height: 3.75rem;
  padding-top: 0;
  padding-bottom: 0;
  align-items: center;
}

body.is-scrolled .header-logo-badge {
  top: 50%;
  width: 13.75rem;
  height: 3.25rem;
  aspect-ratio: auto;
  gap: 0;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.92);
  box-shadow:
    0 10px 24px rgba(110, 84, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transform: translateY(-50%);
}

body.is-scrolled .header-logo-badge-image {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.92);
}

body.is-scrolled .header-logo-badge-compact {
  opacity: 1;
  transform: translateY(0);
}

body.is-scrolled .header-logo-badge-compact-image {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .site-header {
    top: 1rem;
  }

  .header-navbar {
    justify-content: flex-end;
  }

  .header-navbar .navbar-center {
    position: absolute;
    left: 50%;
    bottom: 1.35rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 4rem);
    transition:
      bottom 360ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease;
  }

  .header-navbar .navbar-start {
    width: clamp(230px, 20vw, 280px);
    min-width: 0;
  }

  .header-navbar .navbar-end {
    margin-bottom: 0.2rem;
    transition: margin-bottom 320ms ease;
  }

  .header-menu {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .header-menu .nav-link {
    white-space: nowrap;
  }

  body.is-scrolled .header-navbar {
    justify-content: flex-end;
  }

  body.is-scrolled .header-navbar .navbar-end {
    margin-bottom: 0;
  }

  body.is-scrolled .header-navbar .navbar-center {
    bottom: 50%;
    transform: translate(-50%, 50%) scale(0.985);
  }
}

.homepage-slider {
  position: relative;
  height: min(88vh, 58rem);
  min-height: 34rem;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  background: #1d1712;
  isolation: isolate;
}

.homepage-slider__viewport,
.homepage-slider__track,
.homepage-slider__slide {
  height: 100%;
}

.homepage-slider__viewport {
  position: relative;
  overflow: hidden;
}

.homepage-slider__track {
  display: flex;
  transform: translateX(0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.homepage-slider__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  overflow: hidden;
}

.homepage-slider__slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.homepage-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(24, 18, 13, 0.68), rgba(24, 18, 13, 0.52) 48%, rgba(24, 18, 13, 0.28)),
    linear-gradient(180deg, rgba(24, 18, 13, 0.18), rgba(24, 18, 13, 0.44));
}

.homepage-slider__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 80rem);
  height: 100%;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem) clamp(4.8rem, 8vw, 6.5rem);
}

.homepage-slider__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.homepage-slider__kicker::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.58);
}

.homepage-slider__title {
  max-width: 13.5ch;
  margin-top: 1.35rem;
  color: #ffffff;
  font-size: clamp(2.65rem, 5.8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  text-wrap: balance;
}

.homepage-slider__subtitle {
  max-width: 42rem;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: 0;
  line-height: 1.7;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.homepage-slider__dots {
  position: absolute;
  left: 50%;
  bottom: clamp(1.15rem, 3vw, 2.1rem);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transform: translateX(-50%);
}

.homepage-slider__dot {
  width: 0.62rem;
  height: 0.62rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition:
    width 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.homepage-slider__dot:hover,
.homepage-slider__dot:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.homepage-slider__dot.is-active {
  width: 1.85rem;
  background: #ffffff;
  border-color: #ffffff;
}

.hero-shell {
  position: relative;
}

.hero-shell > .mx-auto {
  position: relative;
  z-index: 1;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 252, 247, 0.18), rgba(255, 252, 247, 0.34)),
    url("assets/back_ground.png") center center / cover no-repeat;
  opacity: 0.68;
  filter: saturate(112%) contrast(1.05);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 252, 247, 0.18), rgba(255, 252, 247, 0.4)),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.22), transparent 22%);
  pointer-events: none;
}

.hero-brand-card {
  position: relative;
  border-radius: 2.5rem;
}

.hero-monogram {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(76%, 420px);
  transform: translate(-50%, -54%);
  opacity: 0.18;
  pointer-events: none;
}

.hero-brand-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 29rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 248, 236, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.hero-brand-image {
  width: min(100%, 26rem);
  filter: drop-shadow(0 18px 28px rgba(181, 141, 67, 0.1));
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  color: color-mix(in oklab, var(--color-primary) 84%, white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 2.3rem;
  height: 1px;
  flex: 0 0 auto;
  background: color-mix(in oklab, var(--color-primary) 55%, white);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-primary) 84%, white);
}

.section-kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: color-mix(in oklab, var(--color-primary) 55%, white);
}

.section-title {
  margin-top: 1rem;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 0.98;
  color: var(--color-neutral);
}

.trust-card,
.process-card,
.audience-card,
.insight-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.2);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 243, 232, 0.82));
  box-shadow: 0 20px 44px rgba(100, 75, 31, 0.07);
}

.trust-card {
  padding: 1.25rem 1.35rem;
}

.trust-card h2,
.process-card h3,
.audience-card h2,
.insight-card h3 {
  color: var(--color-neutral);
  line-height: 1.18;
}

.trust-card h2,
.process-card h3,
.insight-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.trust-card p,
.process-card p,
.audience-card li,
.insight-card p,
.form-note {
  color: color-mix(in oklab, var(--color-base-content) 74%, transparent);
  line-height: 1.75;
}

.trust-card p,
.process-card p,
.insight-card p {
  margin-top: 0.65rem;
}

.process-card,
.insight-card {
  padding: 1.45rem;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: color-mix(in oklab, var(--color-primary) 84%, white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.audience-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.audience-card h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.audience-card ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.audience-card li {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(188, 158, 110, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.insight-card {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.legal-modal-link {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: flex;
  gap: 0.55rem;
  padding: 0.45rem;
  border: 1px solid rgba(188, 158, 110, 0.24);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.92);
  box-shadow: 0 18px 38px rgba(100, 75, 31, 0.13);
  backdrop-filter: blur(16px);
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1rem;
  border-radius: 999px;
  color: var(--color-neutral);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.floating-contact a:hover,
.floating-contact a:focus-visible {
  background: var(--color-primary);
  color: var(--color-primary-content);
  transform: translateY(-1px);
}

.feature-box,
.service-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.22);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 243, 232, 0.82));
  box-shadow: 0 24px 50px rgba(100, 75, 31, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-grid {
  align-items: stretch;
}

#atuacao {
  overflow-x: clip;
}

.service-grid .reveal-left {
  transform: translateX(-3rem);
}

.service-grid .reveal-right {
  transform: translateX(3rem);
}

.service-grid .reveal.is-visible {
  transform: translateX(0);
}

.service-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.service-card .card-body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-cta {
  margin-top: auto;
  padding-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}

.service-card-cta-arrow {
  display: inline-block;
  transition: transform 220ms ease;
}

.service-card-link:hover .service-card-cta-arrow,
.service-card-link:focus-visible .service-card-cta-arrow {
  transform: translateX(4px);
}

.service-card-link:focus-visible {
  outline: none;
}

.service-card-link:focus-visible .service-card {
  border-color: rgba(188, 158, 110, 0.48);
  box-shadow: 0 0 0 4px rgba(214, 176, 106, 0.16), 0 30px 60px rgba(100, 75, 31, 0.14);
}

.feature-box::before,
.service-card::before,
.quote-band::before,
.contact-form-shell::before,
.map-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -2rem -2rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, rgba(214, 176, 106, 0.12), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
  pointer-events: none;
}

.feature-box:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(188, 158, 110, 0.38);
  box-shadow: 0 30px 60px rgba(100, 75, 31, 0.14);
}

.quote-band,
.map-shell,
.contact-form-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.18);
  border-radius: 2.3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(249, 243, 232, 0.8));
  box-shadow: 0 24px 60px rgba(100, 75, 31, 0.08);
}

.quote-band {
  padding: clamp(2rem, 4vw, 3rem);
}

.quote-values {
  display: grid;
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.quote-value {
  min-width: 0;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(188, 158, 110, 0.18);
}

.quote-value h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-primary) 84%, white);
}

.quote-value p {
  margin-top: 0.55rem;
  font-size: 1rem;
  line-height: 1.8;
  color: color-mix(in oklab, var(--color-base-content) 72%, transparent);
  overflow-wrap: anywhere;
}

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

.contact-panel {
  border: 1px solid rgba(188, 158, 110, 0.16);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 18px 35px rgba(100, 75, 31, 0.05);
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-neutral);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.contact-line:hover {
  color: var(--color-primary);
  transform: translateX(2px);
}

.contact-line-break {
  overflow-wrap: anywhere;
}

.contact-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-primary) 84%, white);
}

.map-shell {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.map-frame {
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.18);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 23rem;
  border: 0;
}

.contact-form-shell {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.contact-form-shell form,
.contact-form-shell form > .grid,
.form-control,
.input,
.select,
.textarea {
  max-width: 100%;
  min-width: 0;
}

.contact-form-shell form {
  grid-template-columns: minmax(0, 1fr);
}

.contact-form-shell .label.cursor-pointer {
  align-items: flex-start;
  overflow: hidden;
  white-space: normal;
}

.contact-form-shell .label.cursor-pointer .label-text {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ambient-squares {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  inline-size: 100%;
  max-inline-size: 100vw;
  contain: paint;
}

.ambient-square {
  position: absolute;
  border: 1px solid rgba(190, 154, 88, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(232, 208, 164, 0.12));
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(128, 96, 38, 0.06);
  animation: floatSquare 18s ease-in-out infinite;
}

.static-squares .ambient-square {
  animation: none;
}

.static-squares .reveal,
.static-squares .reveal-left,
.static-squares .reveal-right {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}

.ambient-square-left {
  top: 14rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 3rem;
  animation-duration: 20s;
}

.ambient-square-right {
  top: 38rem;
  right: -7rem;
  width: 20rem;
  height: 20rem;
  border-radius: 4rem;
  animation-duration: 24s;
}

.ambient-square-bottom {
  bottom: 10rem;
  left: 12%;
  width: 11rem;
  height: 11rem;
  border-radius: 2.5rem;
  animation-duration: 16s;
}

.reveal {
  opacity: 0;
  transition:
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms ease,
    filter 900ms ease;
  filter: blur(8px);
  will-change: transform, opacity;
}

.reveal-left {
  transform: translateY(1.75rem);
}

.reveal-right {
  transform: translateY(1.75rem);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

@keyframes floatSquare {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(4deg);
  }
}

@media (max-width: 1023px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(1.75rem);
  }

  .reveal.is-visible {
    transform: translateY(0);
  }

  .hero-brand-panel {
    min-height: 24rem;
  }

  .homepage-slider {
    height: 70vh;
    min-height: 31rem;
  }

  .homepage-slider__title {
    max-width: 14.5ch;
  }

  .ambient-square-right {
    right: -10rem;
  }

  .header-navbar {
    min-height: 5rem;
    align-items: center;
    padding-block: 0.65rem;
  }

  .header-navbar .navbar-start {
    width: 100%;
    justify-content: flex-end;
    align-items: center;
  }

  .dropdown .btn {
    min-height: 2.9rem;
    height: 2.9rem;
    width: 2.9rem;
  }
}

@media (min-width: 1024px) {
  .hero-shell {
    padding-top: 9.5rem;
  }

  .quote-values {
    max-width: 24rem;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 5.75rem;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    min-height: 7.05rem;
    background: rgba(255, 251, 244, 0.96);
    border-bottom: 1px solid rgba(192, 165, 120, 0.18);
    box-shadow: 0 10px 30px rgba(122, 92, 42, 0.08);
    backdrop-filter: blur(18px);
  }

  .site-header + main {
    padding-top: 6.15rem;
  }

  body::before,
  body::after {
    position: absolute;
    inset: 0;
  }

  body::before {
    opacity: 0.52;
    filter: saturate(102%) contrast(1.02);
    transform: none;
  }

  body::after {
    background:
      radial-gradient(circle at 12% 16%, rgba(214, 176, 106, 0.1), transparent 22%),
      linear-gradient(180deg, rgba(255, 252, 247, 0.42), rgba(250, 244, 233, 0.72));
  }

  main section[id] {
    scroll-margin-top: 6.55rem;
  }

  .site-header-inner {
    min-height: 7.05rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .header-logo-badge {
    left: 0.8rem;
    top: -0.02rem;
    width: 14.7rem;
    height: auto;
    aspect-ratio: auto;
    padding: 0.15rem 0.22rem 0.12rem;
    border-radius: 2.05rem;
    transform: none;
  }

  .header-logo-badge-image {
    width: 118%;
    max-width: 13.4rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .header-logo-badge-compact-image {
    max-width: 10.1rem;
  }

  .header-logo-badge-compact {
    opacity: 0;
    transform: translateY(0.35rem);
    padding-inline: 1rem;
  }

  .header-navbar {
    min-height: 7.05rem;
    padding-block: 0.35rem;
    overflow: visible;
  }

  body.is-scrolled .header-navbar {
    min-height: 4rem;
  }

  body.is-scrolled .header-logo-badge {
    top: 50%;
    width: 12.4rem;
    height: 3.05rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    transform: translateY(-50%);
  }

  body.is-scrolled .header-logo-badge-image {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.92);
  }

  body.is-scrolled .header-logo-badge-compact {
    opacity: 1;
    transform: translateY(0);
    padding-inline: 0.05rem;
  }

  .dropdown .btn svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .dropdown {
    position: relative;
    z-index: 30;
  }

  .dropdown .dropdown-content {
    right: 0;
    left: auto;
    width: min(18rem, calc(100vw - 2rem));
    border-radius: 1.35rem;
  }

  .section-title {
    line-height: 1.02;
  }

  .section-kicker::before {
    width: 1.5rem;
  }

  .homepage-slider {
    height: 68vh;
    min-height: 30rem;
  }

  .homepage-slider__content {
    padding: 3rem 1.15rem 4.6rem;
  }

  .homepage-slider__overlay {
    background:
      linear-gradient(90deg, rgba(24, 18, 13, 0.72), rgba(24, 18, 13, 0.6)),
      linear-gradient(180deg, rgba(24, 18, 13, 0.16), rgba(24, 18, 13, 0.5));
  }

  .homepage-slider__kicker {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .homepage-slider__kicker::before {
    width: 1.55rem;
  }

  .homepage-slider__title {
    max-width: 100%;
    margin-top: 1rem;
    font-size: clamp(2.15rem, 10vw, 3.2rem);
    line-height: 1.04;
  }

  .homepage-slider__subtitle {
    max-width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .homepage-slider__dots {
    bottom: 1rem;
  }

  .hero-brand-panel {
    min-height: 16rem;
    padding: 0.9rem;
  }

  .hero-shell {
    padding-top: 0;
    padding-bottom: 2.4rem;
  }

  .hero-shell .reveal-left {
    padding-top: 6.35rem;
  }

  .hero-kicker {
    display: flex;
    align-items: center;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.45;
  }

  .hero-kicker::before {
    width: 1.55rem;
  }

  .hero-shell h1 {
    margin-top: 1rem;
    font-size: 3.05rem;
    line-height: 0.98;
    text-wrap: balance;
  }

  .hero-shell p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-shell .btn {
    min-height: 3.45rem;
  }

  .feature-box .card-body,
  .service-card .card-body,
  .quote-band,
  .map-shell,
  .contact-form-shell,
  .trust-card,
  .process-card,
  .audience-card,
  .insight-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .feature-box,
  .service-card,
  .quote-band,
  .map-shell,
  .contact-form-shell,
  .trust-card,
  .process-card,
  .audience-card,
  .insight-card {
    border-radius: 1.7rem;
    box-shadow: 0 18px 36px rgba(100, 75, 31, 0.08);
  }

  .quote-band blockquote {
    font-size: 2.1rem;
  }

  .contact-stack {
    gap: 0.85rem;
  }

  .contact-panel {
    padding: 1.05rem 1.1rem;
  }

  .map-frame iframe {
    min-height: 18rem;
  }

  .input.input-lg,
  .select.select-lg,
  .textarea {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
  }

  .checkbox {
    flex: 0 0 auto;
    font-size: 16px;
  }

  .label.cursor-pointer {
    align-items: flex-start;
    overflow: hidden;
    white-space: normal;
  }

  .label.cursor-pointer .label-text {
    min-width: 0;
    white-space: normal;
  }

  #formulario {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  #formulario .section-title {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  #formulario .contact-form-shell {
    width: 100%;
    max-width: 100%;
    padding: 1.15rem 1rem;
  }

  #formulario .contact-form-shell form {
    gap: 1rem;
    margin-top: 2rem;
    overflow: hidden;
  }

  #formulario .label-text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .contact-form-shell form > .mt-2 {
    gap: 0.9rem;
  }

  footer {
    padding-bottom: 6.25rem;
  }

  .floating-contact {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    justify-content: center;
  }

  .floating-contact a {
    flex: 1 1 0;
  }

  .hero-monogram {
    display: none;
  }

  .hero-brand-image {
    width: min(100%, 19rem);
  }

  .ambient-square-left,
  .ambient-square-right {
    width: 12rem;
    height: 12rem;
  }

  .ambient-square-bottom {
    width: 8rem;
    height: 8rem;
  }
}

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

  .homepage-slider__track,
  .homepage-slider__dot {
    transition: none !important;
  }

  .homepage-slider__slide img {
    transform: none;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .ambient-square,
  .feature-box,
  .service-card,
  .nav-link,
  .contact-line,
  .header-navbar,
  .site-header,
  .header-logo-badge {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .reveal {
    opacity: 1;
  }
}

.legal-main {
  position: relative;
}

.legal-hero {
  max-width: 60rem;
  padding-top: 4.75rem;
  margin-bottom: 2.5rem;
}

.legal-updated {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-primary) 72%, white);
}

.legal-lead {
  margin-top: 1.5rem;
  max-width: 54rem;
  font-size: 1.12rem;
  line-height: 1.95;
  color: color-mix(in oklab, var(--color-base-content) 75%, transparent);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.legal-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  max-width: 60rem;
}

.legal-toc,
.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.2);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(249, 243, 232, 0.82));
  box-shadow: 0 24px 60px rgba(100, 75, 31, 0.08);
}

.legal-toc {
  padding: 1.5rem;
}

.legal-toc h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-neutral);
}

.legal-toc nav {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.legal-toc a {
  display: block;
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-base-content) 76%, transparent);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.legal-toc a:hover {
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-neutral);
  transform: translateX(2px);
}

.legal-card {
  padding: clamp(1.5rem, 3.2vw, 3rem);
}

.legal-prose section + section {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(188, 158, 110, 0.18);
}

.legal-prose h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.1;
  color: var(--color-neutral);
}

.legal-prose p,
.legal-prose li {
  font-size: 1rem;
  line-height: 1.9;
  color: color-mix(in oklab, var(--color-base-content) 78%, transparent);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.legal-prose p + p,
.legal-prose ul + p,
.legal-prose p + ul {
  margin-top: 1rem;
}

.legal-prose ul {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-prose li + li {
  margin-top: 0.55rem;
}

.legal-prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.practice-hero-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.practice-hero-panel,
.practice-note {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.2);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(249, 243, 232, 0.82));
  box-shadow: 0 18px 44px rgba(100, 75, 31, 0.07);
}

.practice-hero-panel {
  padding: 1.25rem 1.35rem;
}

.practice-hero-panel h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  color: var(--color-neutral);
}

.practice-hero-panel p,
.practice-hero-panel li,
.practice-note p {
  color: color-mix(in oklab, var(--color-base-content) 78%, transparent);
  line-height: 1.8;
}

.practice-hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.practice-hero-panel li + li {
  margin-top: 0.35rem;
}

.practice-note {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
}

.practice-note strong {
  color: var(--color-neutral);
}

/* Practice-area subpages use the full container width (the hero boxes and
   content card span the screen instead of the narrower legal reading column). */
.legal-main:has(.practice-hero-grid) .legal-hero,
.legal-main:has(.practice-hero-grid) .legal-layout {
  max-width: none;
}

@media (min-width: 768px) {
  .service-grid .service-card {
    min-height: 15.5rem;
  }

  .service-grid .service-card .card-title {
    align-items: flex-start;
    line-height: 1.12;
    min-height: calc(1.12em * 2);
  }

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

@media (min-width: 1024px) {
  .legal-hero {
    padding-top: 5.25rem;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .legal-toc {
    position: sticky;
    top: 7.25rem;
  }
}

@media (max-width: 1023px) {
  .legal-main {
    padding-top: 1.5rem;
  }
}

@media (max-width: 639px) {
  .legal-main {
    padding-top: 0.5rem;
  }

  .legal-hero {
    padding-top: 4.9rem;
    margin-bottom: 1.5rem;
  }

  .legal-lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .legal-toc,
  .legal-card {
    border-radius: 1.7rem;
    box-shadow: 0 18px 36px rgba(100, 75, 31, 0.08);
  }

  .legal-toc {
    padding: 1rem;
  }

  .legal-toc a {
    padding: 0.7rem 0.85rem;
  }

  .legal-card {
    padding: 1.15rem 1rem;
  }

  .legal-prose section + section {
    margin-top: 1.7rem;
    padding-top: 1.7rem;
  }
}

/* Logo visibility reinforcement.
   Keep the original gold from the PNG; if it still reads too pale, the ideal
   fix is replacing assets/logo-celina-videira-transparent.png with the same logo artwork
   exported in a darker gold, e.g. #B88A2E or #9C7425. */
.header-logo-badge,
.header-logo-badge-image,
.header-logo-badge-compact,
.header-logo-badge-compact-image {
  mix-blend-mode: normal !important;
}

.header-logo-badge,
.header-logo-badge-image,
.header-logo-badge-compact,
.header-logo-badge-compact-image {
  opacity: 1 !important;
}

.header-logo-badge-image,
.header-logo-badge-compact-image {
  filter: none !important;
}

body:not(.is-scrolled) .header-logo-badge-compact {
  opacity: 0 !important;
}

body.is-scrolled .header-logo-badge-image {
  opacity: 0 !important;
}

body.is-scrolled .header-logo-badge-compact {
  opacity: 1 !important;
}

/* ── Header contact button — matches nav pill height ── */
.header-contact-btn {
  min-height: 49px;
  height: 49px;
}

/* ── Mobile dropdown contact button ── */
#open-contact-modal-mobile {
  display: flex;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* ── Contact Modal ── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.8rem, 2vw, 1.5rem);
  background: rgba(22, 18, 13, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.contact-modal-overlay[hidden] {
  display: none;
}

.legal-modal-overlay[hidden] {
  display: none;
}

.contact-modal-overlay.is-open {
  opacity: 1;
}

.legal-modal-overlay.is-open {
  opacity: 1;
}

.contact-modal-panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  background: var(--color-base-100, #f7f0e3);
  border-radius: 2rem;
  border: 1px solid var(--color-base-300, #e8dcc8);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.legal-modal-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 62rem);
  max-height: min(88dvh, 54rem);
  overflow: hidden;
  border: 1px solid rgba(188, 158, 110, 0.24);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(249, 243, 232, 0.98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.2);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.legal-modal-header {
  padding: clamp(1.35rem, 3vw, 2.5rem) clamp(1.2rem, 3vw, 2.5rem) 1.1rem;
  border-bottom: 1px solid rgba(188, 158, 110, 0.18);
}

.legal-modal-header .section-title {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.legal-modal-content {
  min-height: 0;
  overflow-y: auto;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  scrollbar-gutter: stable;
}

.legal-modal-content .legal-updated,
.legal-modal-content .legal-lead {
  max-width: none;
}

.legal-modal-content .legal-lead {
  margin-bottom: 1.5rem;
}

.legal-modal-content .legal-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-modal-panel form,
.contact-modal-panel .grid,
.contact-modal-panel .grid > *,
.contact-modal-panel .form-control,
.contact-modal-panel input,
.contact-modal-panel textarea {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-modal-panel .label {
  min-width: 0;
}

.contact-modal-panel .label .label-text {
  min-width: 0;
  flex-shrink: 1;
  overflow-wrap: anywhere;
  white-space: normal;
}

.contact-modal-panel .netlify-recaptcha {
  min-height: 78px;
  max-width: 100%;
  overflow-x: auto;
}

.contact-modal-overlay.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

.legal-modal-overlay.is-open .legal-modal-panel {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-base-300, #e8dcc8);
  background: var(--color-base-100, #f7f0e3);
  color: var(--color-base-content, #2a1f0e);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.contact-modal-close:hover {
  background: var(--color-primary, #7e5b22);
  color: #fff;
  border-color: transparent;
}

@media (min-width: 640px) {
  .contact-modal-panel {
    padding: 3rem 3rem;
  }
}

@media (max-width: 639px) {
  .legal-modal-overlay {
    align-items: stretch;
    padding: 0.75rem;
  }

  .legal-modal-panel {
    max-height: calc(100dvh - 1.5rem);
    border-radius: 1.45rem;
  }

  .legal-modal-header {
    padding-right: 3.8rem;
  }

  .legal-modal-content {
    padding: 1rem;
  }
}
