/* ============================================================
   Law Offices of Gabriella Bonfim Moraes — attorneygabriella.com
   Single-page site · GBM brand system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --gold: #C5A55A;
  --gold-dark: #8B7340;
  --gold-text: #8B7340;          /* WCAG-safe gold on light grounds */
  --cream: #F7F4EE;
  --cream-deep: #EFEAE0;
  --champagne: #E8DCC8;
  --navy: #1A1A2E;
  --midnight: #12121F;
  --navy-soft: #2D2D44;
  --charcoal: #4A4A5A;
  --ink-secondary: #3A3A52;
  --white: #FFFFFF;

  --hairline-dark: rgba(197, 165, 90, 0.30);   /* on navy */
  --hairline-light: rgba(26, 26, 46, 0.14);    /* on cream */

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-pad: clamp(5rem, 13vh, 9rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1100;
  background: var(--navy);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  transition: top 200ms ease;
}

.skip-link:focus { top: 1rem; }

#practice-areas, #about, #faq, #contact { scroll-margin-top: 64px; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: inline-flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
  flex: none;
  margin-top: 0.8em;
}

.on-dark .eyebrow,
.eyebrow--dark { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.125rem, 4.5vw, 3.375rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--navy);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

/* ---------- Grain on dark sections ---------- */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Loader
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

html.js .loader { display: flex; }

html.intro-done .loader { display: none; }

.loader__mark {
  width: min(180px, 40vw);
  opacity: 0;
  transform-origin: center;
}

html.intro-full .loader__mark { transform: scale(0.45); }

.loader__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream);
  opacity: 0;
  transform: translateY(22px);
}

.loader__line {
  width: min(300px, 62vw);
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.7;
}

.loader__title {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(16px);
}

/* Full intro */
html.intro-full .loader__mark {
  animation: loaderMark 1000ms var(--ease-out) 150ms forwards;
}
html.intro-full .loader__name {
  animation: loaderRise 800ms var(--ease-out) 650ms forwards;
}
html.intro-full .loader__line {
  animation: loaderLine 700ms var(--ease-out) 1000ms forwards;
}
html.intro-full .loader__title {
  animation: loaderRise 700ms var(--ease-out) 1200ms forwards;
}
html.intro-full.intro-exit .loader {
  animation: loaderExit 800ms var(--ease-curtain) forwards;
}

/* Short intro (repeat visit in session) */
html.intro-short .loader__mark,
html.intro-short .loader__name,
html.intro-short .loader__title {
  animation: loaderMarkShort 350ms ease-out forwards;
  transform: none;
}
html.intro-short .loader__line { transform: scaleX(1); opacity: 0; animation: loaderMarkShort 350ms ease-out forwards; }
html.intro-short.intro-exit .loader { animation: loaderFade 350ms ease forwards; }

@keyframes loaderMark {
  0%   { opacity: 0; transform: scale(0.45); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes loaderMarkShort {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes loaderLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes loaderRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loaderExit {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

@keyframes loaderFade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Lock scroll while intro plays */
html.intro-lock body { overflow: hidden; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 930;
  transition: background 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
  border-bottom: 1px solid rgba(197, 165, 90, 0.14);
}

.nav.is-scrolled {
  background: rgba(26, 26, 46, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline-dark);
}

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: height 400ms ease;
}

.nav.is-scrolled .nav__inner { height: 66px; }

.nav__brand {
  display: flex;
  align-items: center;
  flex: none;
}

.nav__brand img {
  height: 52px;
  width: auto;
  transition: height 400ms ease;
}

.nav.is-scrolled .nav__brand img { height: 42px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  list-style: none;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.82);
  padding: 0.5rem 0;
  position: relative;
  transition: color 250ms ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 250ms var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active { color: var(--gold); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.75rem 1.375rem;
  white-space: nowrap;
  transition: background 250ms ease, color 250ms ease;
}

.nav__cta:hover { background: var(--gold); color: var(--navy); }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  z-index: 950;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 300ms var(--ease-out), opacity 200ms ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.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(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 920;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms ease, visibility 0s 350ms;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 350ms ease;
}

.mobile-menu__links { list-style: none; display: grid; gap: 1rem; }

.mobile-menu__link {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 8vw, 2.625rem);
  font-weight: 400;
  color: var(--cream);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out), color 250ms ease;
}

.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__links li:nth-child(1) .mobile-menu__link { transition-delay: 80ms; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(2) .mobile-menu__link { transition-delay: 150ms; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) .mobile-menu__link { transition-delay: 220ms; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(4) .mobile-menu__link { transition-delay: 290ms; }

.mobile-menu__cta {
  margin-top: 2.75rem;
  display: grid;
  justify-items: center;
  gap: 2.25rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms var(--ease-out) 380ms, transform 450ms var(--ease-out) 380ms;
}

.mobile-menu.is-open .mobile-menu__cta { opacity: 1; transform: translateY(0); }

.mobile-menu__divider {
  width: 7.5rem;
  height: 1px;
  background: var(--hairline-dark);
}

.mobile-menu__cta .btn-gold {
  width: min(320px, 78vw);
  justify-content: center;
}

html.menu-open body { overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  padding-top: 84px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.5rem, 9vh, 6rem) clamp(4rem, 10vh, 6.5rem);
}

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

.hero__figure {
  position: relative;
  margin-left: auto;
  width: 100%;
}

.hero__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(32px, 32px);
  border: 1px solid rgba(197, 165, 90, 0.55);
  pointer-events: none;
  z-index: 0;
}

.hero__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero__eyebrow { margin-bottom: 2rem; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.625rem, 5vw, 4.625rem);
  line-height: 1.06;
  letter-spacing: 0.002em;
  color: var(--cream);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero__sub {
  margin-top: 2rem;
  max-width: 50ch;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.80);
}

.hero__actions {
  margin-top: 2.75rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero__cta-note {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(247, 244, 238, 0.60);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.125rem 2rem;
  transition: background 250ms ease, transform 160ms ease;
}

.btn-gold:hover { background: #D4B76C; }
.btn-gold:active { transform: scale(0.97); }

.btn-gold svg { width: 18px; height: 18px; flex: none; }

.link-quiet {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  padding-bottom: 0.375rem;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
  transition: color 250ms ease, background-size 300ms var(--ease-out);
}

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

/* ============================================================
   Practice areas
   ============================================================ */
.practice { background: var(--cream); padding-block: var(--section-pad); }

.practice__header {
  display: grid;
  gap: 1.5rem;
  max-width: 780px;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.practice__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.practice-card {
  background: var(--white);
  border: 1px solid rgba(197, 165, 90, 0.35);
  border-radius: var(--radius-sm);
  padding: clamp(2rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  transition: border-color 300ms ease, transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .practice-card:hover { border-color: var(--gold); transform: translateY(-4px); }
}

.practice-card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  line-height: 1.18;
  color: var(--navy);
}

.practice-card__desc {
  margin-top: 1.25rem;
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.practice-card__rule {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.625rem 0;
}

.practice-card__list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.practice-card__list li {
  font-size: 0.875rem;
  color: var(--charcoal);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  line-height: 1.5;
}

.practice-card__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
  position: relative;
  top: -1px;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(4.5rem, 10vh, 7rem);
  overflow: hidden;
}

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

.cta-band__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.625rem);
  line-height: 1.2;
  color: var(--cream);
  max-width: 22ch;
}

.cta-band__title em { font-style: italic; color: var(--gold); }

/* ============================================================
   About
   ============================================================ */
.about { background: var(--cream-deep); padding-block: var(--section-pad); }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about__figure {
  position: relative;
  max-width: 380px;
  margin-top: 1rem;
}

.about__figure::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(-16px, 16px);
  border: 1px solid var(--gold);
  border-radius: 999px 999px 0 0;
  opacity: 0.55;
  pointer-events: none;
}

.about__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}

.about__content { display: grid; gap: 1.625rem; }

.about__content .section-title { max-width: 16ch; margin-bottom: 0.5rem; }

.about__content > p {
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.about__quote {
  border: none;
  border-left: 1px solid var(--gold);
  padding-left: 1.75rem;
  margin-block: 0.875rem;
}

.about__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.35;
  color: var(--gold-dark);
  max-width: 26ch;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream); padding-block: var(--section-pad); }

.faq__header {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
  margin-bottom: clamp(3rem, 7vh, 4.5rem);
}

.faq__groups {
  max-width: 800px;
  display: grid;
  gap: clamp(2.75rem, 6vh, 4rem);
}

.faq-group__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.faq-group__label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--hairline-light);
}

.faq-item { border-bottom: 1px solid var(--hairline-light); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.375rem 0;
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  transition: color 250ms ease;
}

.faq-item__q:hover { color: var(--gold-dark); }

.faq-item__icon {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
  transition: transform 300ms var(--ease-out);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--gold-text);
}

.faq-item__icon::before { left: 0; right: 0; top: 50%; height: 1px; }
.faq-item__icon::after { top: 0; bottom: 0; left: 50%; width: 1px; }

.faq-item__q[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out);
}

.faq-item__a > div { overflow: hidden; }

.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }

.faq-item__a p {
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  max-width: 62ch;
  padding-bottom: 1.5rem;
}

.faq-item__a p + p { margin-top: -0.5rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--navy);
  color: var(--cream);
  padding-block: var(--section-pad);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.06;
  color: var(--cream);
  max-width: 12ch;
  margin-top: 1.5rem;
}

.contact__title em { font-style: italic; color: var(--gold); }

.contact__lede {
  margin-top: 1.75rem;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 244, 238, 0.78);
  max-width: 52ch;
}

.contact__note {
  margin-top: 1rem;
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(247, 244, 238, 0.60);
  max-width: 52ch;
}

.contact__cta { margin-top: 2.5rem; }

.contact__channels {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--hairline-dark);
}

.contact__channel {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.contact__channel-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 4px;
  opacity: 0.9;
}

.contact__channel-body {
  flex: 1;
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
}

.contact__channel-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact__channel-value {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.4;
}

a.contact__channel-value {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size 300ms var(--ease-out), color 250ms ease;
  padding-bottom: 2px;
}

a.contact__channel-value:hover { color: var(--gold); background-size: 100% 1px; }

.contact__disclaimer {
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(247, 244, 238, 0.50);
  max-width: 44ch;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--midnight);
  color: rgba(247, 244, 238, 0.62);
  padding: clamp(3.5rem, 8vh, 5.5rem) 0 2.5rem;
}

.footer__inner {
  display: grid;
  gap: 2.5rem;
  text-align: center;
  justify-items: center;
}

.footer__logo { width: min(300px, 70vw); opacity: 0.92; }

.footer__meta {
  display: grid;
  gap: 0.375rem;
  font-size: 0.78125rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.71875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.45);
}

.footer__links a { transition: color 250ms ease; }
.footer__links a:hover { color: var(--gold); }

.footer__links li { list-style: none; display: flex; align-items: center; gap: 1.25rem; }

.footer__links li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(18, 18, 31, 0.35);
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), visibility 0s 350ms, background 250ms ease;
}

.wa-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out), background 250ms ease;
}

.wa-float:hover { background: #D4B76C; }

.wa-float svg { width: 26px; height: 26px; }

/* ============================================================
   Scroll reveals
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

html.js .reveal.is-inview { opacity: 1; transform: translateY(0); }

html.js .reveal[data-delay="1"] { transition-delay: 100ms; }
html.js .reveal[data-delay="2"] { transition-delay: 200ms; }
html.js .reveal[data-delay="3"] { transition-delay: 300ms; }

/* Hero entrance (after loader) */
html.js .hero__eyebrow,
html.js .hero__title,
html.js .hero__sub,
html.js .hero__figure,
html.js .hero__actions {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

html.js.hero-in .hero__eyebrow,
html.js.hero-in .hero__title,
html.js.hero-in .hero__sub,
html.js.hero-in .hero__figure,
html.js.hero-in .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

html.js.hero-in .hero__title    { transition-delay: 90ms; }
html.js.hero-in .hero__sub      { transition-delay: 200ms; }
html.js.hero-in .hero__figure   { transition-delay: 320ms; }
html.js.hero-in .hero__actions  { transition-delay: 380ms; }

/* ============================================================
   Legal subpages (privacy / disclaimer)
   ============================================================ */
.legal-page {
  background: var(--cream);
  min-height: 100vh;
}

.legal-header {
  background: var(--navy);
  padding: clamp(6.5rem, 16vh, 9rem) 0 clamp(2.5rem, 6vh, 4rem);
}

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

.legal-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--cream);
  margin-top: 1.25rem;
}

.legal-body { padding-block: clamp(3rem, 8vh, 5rem) var(--section-pad); }

.legal-body .container { max-width: 860px; }

.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: var(--navy);
  margin: 2.5rem 0 0.875rem;
}

.legal-body p, .legal-body li {
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  max-width: 68ch;
}

.legal-body p + p { margin-top: 0.875rem; }

.legal-body ul { padding-left: 1.25rem; margin-top: 0.75rem; display: grid; gap: 0.375rem; }

.legal-body .legal-effective {
  font-size: 0.8125rem;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 3rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  transition: color 250ms ease;
}

.legal-back:hover { color: var(--gold-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav__inner { gap: 1rem; }
  .nav__brand img { height: 44px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { margin: 2.5rem auto 0; max-width: 330px; }

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

  .about__inner { grid-template-columns: 1fr; }
  .about__figure { margin-inline: auto; margin-top: 0; }

  .contact__inner { grid-template-columns: 1fr; }
  .contact__title { margin-top: 1rem; }
}

@media (max-width: 640px) {
  .contact__channel-body { grid-template-columns: 1fr; gap: 0.25rem; }

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

  .btn-gold { width: 100%; justify-content: center; }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 200ms !important;
    transition-delay: 0ms !important;
  }

  html.js .reveal,
  html.js .hero__eyebrow,
  html.js .hero__title,
  html.js .hero__sub,
  html.js .hero__figure,
  html.js .hero__actions {
    transform: none;
  }
}
