/* =========================================================
   Dr. Leonardo Ariello — Redesign
   Paleta: espresso, marrom, marfim, dourado antigo, salva
   Tipos: Cormorant Garamond (display) + Manrope (corpo)
   ========================================================= */

:root {
  --ink:        #14100B;
  --ink-1:      #1B140D;
  --ink-2:      #251A10;
  --ink-3:      #322415;
  --line:       rgba(244, 236, 221, 0.12);
  --line-strong:rgba(244, 236, 221, 0.22);

  --ivory:      #F4ECDD;
  --ivory-soft: #EADFC8;
  --cream:      #E2D4B4;
  --muted:      rgba(244, 236, 221, 0.62);
  --muted-2:    rgba(244, 236, 221, 0.45);

  --gold:       #C9A86A;
  --gold-2:     #B08F50;
  --gold-soft:  #8C7547;

  --moss:       #6B7558;

  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans:  "Manrope", "Helvetica Neue", system-ui, sans-serif;

  --max:        1240px;
  --gutter:     clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ink); color: var(--ivory); }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Utilities ---------- */
.shell { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .dot { display: inline-block; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; vertical-align: middle; margin-right: 10px; transform: translateY(-2px); }

.serif { font-family: var(--serif); font-weight: 400; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.h-rule { height: 1px; background: var(--line); border: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 18px 28px;
  border: 1px solid var(--gold);
  color: var(--ivory);
  background: transparent;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, transform .35s ease;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn .arr { width: 22px; height: 1px; background: currentColor; position: relative; }
.btn .arr::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn-solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(20, 16, 11, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--serif); font-size: 16px; font-style: italic;
  letter-spacing: -0.02em;
}
.brand-text { line-height: 1; }
.brand-text .name { font-family: var(--serif); font-size: 18px; letter-spacing: 0.02em; color: var(--ivory); }
.brand-text .sub  { font-family: var(--sans); font-size: 9px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu a {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ivory); position: relative; padding: 6px 0;
  transition: color .3s ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s ease, left .4s ease;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; left: 0; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border: 1px solid var(--gold);
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--ink); }
.nav-cta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  display: inline-block;
}

@media (max-width: 760px) {
  .nav-menu { display: none; }
}
@media (max-width: 1100px) {
  .nav-menu { gap: 22px; }
  .nav-menu a { font-size: 10px; letter-spacing: 0.22em; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px; padding-bottom: 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 10% 30%, #2A1B0E 0%, transparent 60%),
    radial-gradient(800px 700px at 90% 80%, #1F1409 0%, transparent 55%),
    var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
  min-height: calc(100vh - 220px);
}
.hero-copy { max-width: 620px; }
.hero-eyebrow { margin-bottom: 36px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ivory);
}
.hero h1 .it { font-style: italic; font-weight: 300; color: var(--gold); display: block; }
.hero .lede {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ivory-soft);
  max-width: 540px;
  margin: 0 0 28px;
  letter-spacing: 0.005em;
}
.hero .body {
  font-size: 15px; line-height: 1.75;
  color: var(--muted);
  max-width: 470px;
  margin: 0 0 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta {
  margin-left: 12px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
}

.hero-portrait {
  position: relative;
  width: 100%; aspect-ratio: 4/5;
  max-width: 520px; margin-left: auto;
}
.hero-portrait .frame {
  position: absolute; inset: 0;
  border: 1px solid var(--line-strong);
  transform: translate(20px, 20px);
  pointer-events: none;
}
.hero-portrait .img {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #2a1d10 0%, #14100b 100%);
  overflow: hidden;
}
.hero-portrait .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: contrast(1.04) saturate(1.0) brightness(1.05);
  display: block;
}
.hero-portrait .img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,11,0) 55%, rgba(20,16,11,0.45) 100%);
  pointer-events: none;
}
.hero-portrait .caption {
  position: absolute; left: 0; bottom: -50px;
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted);
}
.hero-portrait .caption .sep { display: inline-block; width: 22px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 12px; }

.hero-tag {
  position: absolute; top: 140px; right: var(--gutter);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; color: var(--muted-2);
  display: flex; align-items: center; gap: 14px;
}
.hero-tag .line { width: 60px; height: 1px; background: var(--line-strong); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 460px; margin: 40px auto 0; }
  .hero-tag { display: none; }
}

/* ---------- CREDENCIAIS ---------- */
.credenciais {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-1);
  padding: 64px 0;
}
.cred-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.cred-cell {
  padding: 12px 40px;
  border-left: 1px solid var(--line);
  position: relative;
}
.cred-cell:first-child { border-left: 0; padding-left: 0; }
.cred-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 32px; color: var(--gold-2);
  margin-bottom: 14px; line-height: 1;
}
.cred-cell h3 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  margin: 0 0 10px; color: var(--ivory);
}
.cred-cell p {
  margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 32ch;
}
@media (max-width: 820px) {
  .cred-grid { grid-template-columns: 1fr; gap: 28px; }
  .cred-cell { border-left: 0; border-top: 1px solid var(--line); padding: 28px 0 0; }
  .cred-cell:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- SECTION HEADERS ---------- */
section { position: relative; }
.section-pad { padding: clamp(96px, 12vw, 160px) 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: clamp(60px, 8vw, 100px);
}
.section-head .left .eyebrow { margin-bottom: 28px; display: inline-block; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02; letter-spacing: -0.012em;
  margin: 0; color: var(--ivory);
}
.section-head h2 .it { font-style: italic; color: var(--gold); font-weight: 300; }
.section-head .right { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 460px; justify-self: end; }
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 32px; }
  .section-head .right { justify-self: start; }
}

/* ---------- SOBRE ---------- */
.sobre { background: var(--ink); }
.sobre-grid {
  display: grid; grid-template-columns: 0.95fr 1.1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.sobre-img {
  position: relative; aspect-ratio: 4/5;
  width: 100%;
  background: linear-gradient(160deg, #2a1d10, #14100b);
}
.sobre-img > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.04) saturate(1.0) brightness(1.05);
  display: block;
}
.sobre-img::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--line-strong);
  pointer-events: none;
}
.sobre-img .badge {
  position: absolute; left: -1px; bottom: -1px;
  background: var(--ink); border: 1px solid var(--line-strong);
  padding: 16px 22px; max-width: 240px;
}
.sobre-img .badge .num { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--gold); line-height: 1; }
.sobre-img .badge .lab { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

.sobre-copy h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.04;
  letter-spacing: -0.012em; margin: 0 0 32px; color: var(--ivory);
}
.sobre-copy h2 .it { font-style: italic; color: var(--gold); font-weight: 300; }
.sobre-copy .intro {
  font-family: var(--serif); font-size: 22px; font-weight: 300;
  line-height: 1.45; color: var(--ivory-soft);
  margin: 0 0 36px; max-width: 56ch;
}
.creds-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.creds-list li {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 24px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.creds-list .idx {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 18px; color: var(--gold-2);
}
.creds-list .text { font-size: 15px; line-height: 1.55; color: var(--ivory-soft); }
.creds-list .text strong { font-weight: 500; color: var(--ivory); }

@media (max-width: 920px) {
  .sobre-grid { grid-template-columns: 1fr; }
}

/* ---------- TRATAMENTOS ---------- */
.tratamentos {
  background:
    radial-gradient(700px 500px at 80% 10%, #20150B 0%, transparent 55%),
    var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.trat-card {
  padding: 44px 36px 48px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .4s ease;
  cursor: pointer;
}
.trat-card:nth-child(3n) { border-right: 0; }
.trat-card:hover { background: rgba(201, 168, 106, 0.04); }
.trat-card:hover .trat-arrow { opacity: 1; transform: translateX(0); }

.trat-card .top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
.trat-card .idx {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 16px; color: var(--gold);
  letter-spacing: 0.04em;
}
.trat-card .ico {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color .4s ease;
}
.trat-card:hover .ico { border-color: var(--gold); }

.trat-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; line-height: 1.1;
  margin: 0 0 16px; color: var(--ivory);
  letter-spacing: -0.005em;
}
.trat-card h3 .it { font-style: italic; font-weight: 300; color: var(--gold); }
.trat-card p {
  margin: 0 0 28px; font-size: 14px; line-height: 1.65;
  color: var(--muted);
}
.trat-arrow {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
  opacity: 0.55; transform: translateX(-6px);
  transition: opacity .4s ease, transform .4s ease;
}
.trat-arrow .ln { width: 18px; height: 1px; background: var(--gold); display: inline-block; }

@media (max-width: 980px) {
  .trat-grid { grid-template-columns: repeat(2, 1fr); }
  .trat-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .trat-card:nth-child(2n) { border-right: 0; }
}
@media (max-width: 620px) {
  .trat-grid { grid-template-columns: 1fr; }
  .trat-card { border-right: 0 !important; }
}

/* ---------- EXAMES ---------- */
.exames { background: var(--ink); }
.ex-list { list-style: none; margin: 0; padding: 0; }
.ex-row {
  display: grid; grid-template-columns: 80px 1.2fr 2fr 80px;
  gap: 32px; align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding .35s ease;
}
.ex-row:last-child { border-bottom: 1px solid var(--line); }
.ex-row:hover { padding-left: 12px; padding-right: 12px; }
.ex-row:hover .ex-arr { opacity: 1; transform: translateX(0); color: var(--gold); }
.ex-num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 22px; color: var(--gold-2);
}
.ex-name {
  font-family: var(--serif); font-weight: 400; font-size: 26px;
  color: var(--ivory); letter-spacing: -0.005em;
  line-height: 1.15;
}
.ex-desc { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 60ch; }
.ex-arr {
  text-align: right; opacity: 0.4; transform: translateX(-6px);
  transition: opacity .35s, transform .35s, color .35s;
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 820px) {
  .ex-row { grid-template-columns: 40px 1fr; row-gap: 6px; padding: 20px 0; }
  .ex-desc { grid-column: 2 / 3; }
  .ex-arr { display: none; }
}

/* ---------- DIFERENCIAIS ---------- */
.diferenciais {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dif-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.dif-cell {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 36px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.dif-cell .icon { color: var(--gold); width: 32px; height: 32px; }
.dif-cell h4 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  margin: 6px 0 6px; color: var(--ivory); letter-spacing: -0.005em;
}
.dif-cell p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 980px) {
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .dif-grid { grid-template-columns: 1fr; }
}

/* ---------- DEPOIMENTOS ---------- */
.depoimentos { background: var(--ink); }
.dep-stage {
  position: relative;
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.dep-quote {
  position: relative;
  padding-left: 0;
}
.dep-quote .mark {
  font-family: var(--serif); font-style: italic;
  font-size: 180px; line-height: 0.6;
  color: var(--gold); opacity: 0.35;
  position: absolute; top: -20px; left: -8px;
  pointer-events: none;
}
.dep-text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--ivory); position: relative;
  max-width: 26ch;
}
.dep-text em { font-style: italic; color: var(--gold); }
.dep-author {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
}
.dep-author .av {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #3a2a18, #1a120a);
  border: 1px solid var(--line-strong);
  font-family: var(--serif); font-style: italic;
  display: grid; place-items: center; color: var(--gold); font-size: 18px;
}
.dep-author .who .nm { font-family: var(--serif); font-size: 18px; color: var(--ivory); }
.dep-author .who .ds { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.dep-nav {
  justify-self: end;
  display: flex; flex-direction: column; gap: 28px; align-items: flex-end;
}
.dep-count { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 14px; }
.dep-count strong { color: var(--gold); font-style: normal; font-weight: 400; }
.dep-arrows { display: flex; gap: 12px; }
.dep-arrows button {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent;
  color: var(--ivory); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s, color .3s, background .3s;
}
.dep-arrows button:hover { border-color: var(--gold); color: var(--gold); }
.dep-arrows button.solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.dep-arrows button.solid:hover { background: var(--ivory); border-color: var(--ivory); }

.dep-track { display: flex; gap: 22px; margin-top: 18px; }
.dep-dot {
  flex: 1; height: 1px; background: var(--line-strong); cursor: pointer; padding: 12px 0;
  position: relative;
}
.dep-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-strong); }
.dep-dot.active::after { background: var(--gold); }

@media (max-width: 820px) {
  .dep-stage { grid-template-columns: 1fr; }
  .dep-nav { justify-self: start; align-items: flex-start; }
}

/* ---------- VISITA ---------- */
.visita {
  background:
    radial-gradient(800px 600px at 20% 90%, #25190E 0%, transparent 55%),
    var(--ink-1);
  border-top: 1px solid var(--line);
}
.vis-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.vis-left h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02;
  letter-spacing: -0.012em; margin: 28px 0 24px; color: var(--ivory);
}
.vis-left h2 .it { font-style: italic; color: var(--gold); font-weight: 300; }
.vis-left .lede {
  font-family: var(--serif); font-size: 22px; line-height: 1.5;
  color: var(--ivory-soft); margin: 0 0 36px; font-weight: 300; max-width: 50ch;
}
.vis-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.vis-card {
  border: 1px solid var(--line-strong); padding: 44px 40px;
  background: rgba(20, 16, 11, 0.4);
  position: relative;
}
.vis-card::before, .vis-card::after {
  content: ""; position: absolute; width: 14px; height: 14px;
}
.vis-card::before { top: -1px; left: -1px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.vis-card::after  { bottom: -1px; right: -1px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

.vis-card .lbl {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.vis-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 28px;
  margin: 0 0 28px; color: var(--ivory); letter-spacing: -0.005em;
}
.vis-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 14px; }
.vis-card dt { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.vis-card dd {
  margin: 0; font-family: var(--serif); font-size: 18px; color: var(--ivory-soft);
  font-weight: 300; line-height: 1.4;
}
.vis-card dd .it { font-style: italic; color: var(--gold); }

@media (max-width: 920px) {
  .vis-grid { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.foot {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 80px 0 36px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.foot-brand .brand-mark { width: 48px; height: 48px; font-size: 20px; }
.foot-brand .nm { font-family: var(--serif); font-size: 28px; margin-top: 22px; letter-spacing: -0.005em; line-height: 1.1; }
.foot-brand .nm .it { font-style: italic; color: var(--gold); font-weight: 300; }
.foot-brand p { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 36ch; margin: 18px 0 0; }

.foot-col h5 {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin: 6px 0 22px; font-weight: 500;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 12px; }
.foot-col a {
  font-family: var(--serif); font-size: 17px; font-weight: 300; color: var(--ivory-soft);
  transition: color .3s; line-height: 1.4;
}
.foot-col a:hover { color: var(--gold); }
.foot-col .mini { font-size: 13px; font-family: var(--sans); color: var(--muted); line-height: 1.65; }

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; gap: 24px; flex-wrap: wrap;
}
.foot-bottom .copy { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.foot-bottom .legals { display: flex; gap: 28px; }
.foot-bottom .legals a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); transition: color .3s; }
.foot-bottom .legals a:hover { color: var(--gold); }

@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #2a1d10; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-soft); }

/* ---------- FINE TYPOGRAPHIC POLISH ---------- */
::selection { background: var(--gold); color: var(--ink); }
