/* =========================================================
   Dr. Pedro Vieira — Cirurgia Plástica
   Design system: charcoal + ivory + gold
   ========================================================= */

:root {
  --ink: #121212;
  --ink-2: #1b1917;
  --ink-3: #26221f;
  --ivory: #f6f1ea;
  --ivory-2: #efe8de;
  --paper: #ffffff;
  --gold: #c9a46b;
  --gold-2: #8a6a36;
  --gold-soft: rgba(201, 164, 107, 0.18);
  --text: #2a2623;
  --muted: #6e665d;
  --muted-on-dark: #b8b0a6;
  --line: rgba(18, 18, 18, 0.09);
  --line-on-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 50px -24px rgba(18, 18, 18, 0.35);
  --radius: 4px;
  --container: 1200px;
  --header-h: 88px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.12; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 900px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.title-xl { font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.01em; }
.title-lg { font-size: clamp(34px, 4.2vw, 54px); }
.title-md { font-size: clamp(26px, 3vw, 36px); }
.title-sm { font-size: clamp(22px, 2.2vw, 27px); }
.lead { font-size: 17.5px; line-height: 1.8; color: var(--muted); font-weight: 300; }
.text-center { text-align: center; }

.on-dark { color: #f3eee7; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fbf8f3; }
.on-dark p { color: var(--muted-on-dark); }
.on-dark strong { color: #fbf8f3; }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); font-size: 15px; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d9b67e; border-color: #d9b67e; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--ink); }
.on-dark .link-arrow { color: var(--gold); }
.on-dark .link-arrow:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0));
}
.header.is-scrolled {
  height: 72px;
  background: rgba(14, 13, 12, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header__logo img { height: 52px; width: auto; transition: height 0.4s var(--ease); }
.header.is-scrolled .header__logo img { height: 44px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: #fff; }
.nav__caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.8; }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -22px;
  min-width: 330px;
  padding: 14px 0;
  background: rgba(20, 19, 18, 0.98);
  border: 1px solid var(--line-on-dark);
  border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__item:hover > .nav__dropdown,
.nav__item.is-open > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  transition: color 0.25s, background 0.25s, padding-left 0.25s var(--ease);
}
.nav__dropdown a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.03); padding-left: 30px; }

.header__cta { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid var(--gold); border-radius: var(--radius); color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; transition: all 0.3s var(--ease); }
.header__cta:hover { background: var(--gold); color: var(--ink); }
.header__cta svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 960px);
  min-height: clamp(640px, 100svh, 960px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 38%, rgba(10, 10, 10, 0.25) 70%, rgba(10, 10, 10, 0.35) 100%),
    linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 40%);
}
.hero__inner {
  position: relative;
  padding: calc(var(--header-h) + 60px) 24px 120px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero__content { max-width: 640px; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__kicker::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.hero__title {
  color: #fbf8f3;
  font-size: clamp(56px, 8.4vw, 112px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.hero__title .thin { font-weight: 300; font-style: italic; color: #e9dcc5; }
.hero__sub {
  margin: 28px 0 44px;
  font-size: clamp(18px, 2vw, 22px);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero__scroll span:last-child {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

.hero__side {
  position: absolute;
  right: 40px;
  bottom: 48px;
  display: none;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--ink); }
.section--dark-2 { background: var(--ink-2); }
.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__head .eyebrow { margin-bottom: 18px; }
.section__head h2 { margin-bottom: 18px; }
.section__head--left { margin-left: 0; text-align: left; }

/* ---------- Pillars (home) ---------- */
.pillars { position: relative; }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.pillar {
  position: relative;
  padding: 44px 36px 48px;
  border-right: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--ivory); }
.pillar__icon { width: 44px; height: 44px; color: var(--gold-2); margin-bottom: 22px; }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar__num {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold-2);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pillar__num::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: 0.5; }
.pillar h3 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.5;
}
.pillar p { font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* ---------- Specialties (home) ---------- */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.spec-card { grid-column: span 2; }
.spec-card:nth-child(4), .spec-card:nth-child(5) { grid-column: span 3; }
.nav__mobile-cta { display: none; }
.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  overflow: hidden;
}
.spec-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.spec-card:hover::before { transform: scaleX(1); }
.spec-card__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 26px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--gold-soft);
  display: grid;
  place-items: center;
}
.spec-card__icon img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  object-position: left center;
  transform: scale(0.72);
}
.spec-card h3 { font-size: 25px; margin-bottom: 14px; line-height: 1.2; }
.spec-card p { font-size: 14.5px; line-height: 1.8; color: var(--muted); flex: 1; margin-bottom: 26px; }
.spec-card--wide { grid-column: span 1; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; overflow: hidden; }
.testimonials::before {
  content: "“";
  position: absolute;
  top: -60px;
  right: 4%;
  font-family: var(--font-display);
  font-size: 520px;
  line-height: 1;
  color: rgba(201, 164, 107, 0.06);
  pointer-events: none;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.review:hover { background: rgba(255, 255, 255, 0.055); border-color: rgba(201, 164, 107, 0.4); transform: translateY(-4px); }
.review__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.review__stars svg { width: 15px; height: 15px; fill: currentColor; }
.review__text { font-size: 14.5px; line-height: 1.85; color: #d9d2c8; flex: 1; margin-bottom: 26px; font-weight: 300; }
.review__author { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-on-dark); }
.review__name { font-family: var(--font-display); font-size: 20px; color: #fbf8f3; }
.review__source { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark); display: inline-flex; align-items: center; gap: 8px; }
.review__source img { height: 20px; width: auto; opacity: 0.9; }
.testimonials__more { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.testimonials__more img { height: 56px; width: auto; }

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  padding: 90px 0;
  background: var(--ivory);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 100% 50%, rgba(201, 164, 107, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-on-dark); position: relative; }
.footer__top { padding: 90px 0 70px; border-bottom: 1px solid var(--line-on-dark); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 56px;
}
.footer__brand img { height: 60px; width: auto; margin-bottom: 26px; }
.footer__brand p { font-size: 14px; line-height: 1.85; margin-bottom: 24px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fbf8f3;
  margin-bottom: 24px;
  padding-bottom: 14px;
  position: relative;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px; background: var(--gold); }
.footer__list li { margin-bottom: 11px; font-size: 14px; line-height: 1.55; }
.footer__list a { transition: color 0.25s, padding-left 0.3s var(--ease); display: inline-block; }
.footer__list a:hover { color: var(--gold); padding-left: 6px; }
.footer__contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; font-size: 14px; line-height: 1.6; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold); }
.footer__contact small { display: block; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 3px; }
.footer__contact strong, .footer__contact a { color: #fbf8f3; font-weight: 500; font-size: 15.5px; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { padding: 26px 0; }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: 0.02em; }
.footer__bottom a { color: var(--gold); }
.footer__bottom a:hover { color: #fff; }

/* ---------- WhatsApp float ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whats-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
.whats-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 36px -8px rgba(37, 211, 102, 0.7); }
.whats-float svg { width: 30px; height: 30px; fill: currentColor; position: relative; }
.whats-float__label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.whats-float:hover .whats-float__label { opacity: 1; }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: clamp(440px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--short { min-height: clamp(320px, 44vh, 440px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 12, 12, 0.96) 0%, rgba(12, 12, 12, 0.55) 45%, rgba(12, 12, 12, 0.35) 100%),
    linear-gradient(90deg, rgba(12, 12, 12, 0.5), transparent 60%);
}
.page-hero--plain { background: radial-gradient(80% 100% at 80% 0%, #2a2520 0%, var(--ink) 60%); }
.page-hero__inner { position: relative; width: 100%; max-width: var(--container); margin: 0 auto; padding: calc(var(--header-h) + 80px) 24px 70px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }
.page-hero h1 { color: #fbf8f3; font-size: clamp(36px, 5.6vw, 72px); max-width: 900px; text-wrap: balance; overflow-wrap: anywhere; }
.page-hero__lead { margin-top: 20px; max-width: 640px; color: rgba(255, 255, 255, 0.78); font-size: 17px; font-weight: 300; }

/* ---------- Procedure blocks ---------- */
.procedure { padding: 100px 0; border-bottom: 1px solid var(--line); }
.procedure:last-of-type { border-bottom: 0; }
.procedure__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.procedure--reverse .procedure__inner .procedure__media { order: 2; }
.procedure__media { position: relative; margin: 0; min-width: 0; }
.procedure__body { min-width: 0; }
.procedure__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.procedure__media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.6;
}
.procedure--reverse .procedure__media::before { inset: 22px 22px -22px -22px; }
.procedure__media figcaption { margin-top: 18px; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.procedure__num { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.16em; color: var(--gold-2); margin-bottom: 14px; }
.procedure h2 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 14px; }
.procedure__tagline { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--gold-2); line-height: 1.35; margin-bottom: 24px; }
.procedure__body p { color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.procedure__body h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin: 30px 0 16px; }
.procedure__body .note { margin-top: 26px; padding: 22px 26px; background: var(--ivory); border-left: 2px solid var(--gold); font-size: 15px; color: var(--text); }
.procedure__body .note p { color: var(--text); }

.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-soft);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 11px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--gold-2);
  border-bottom: 1.5px solid var(--gold-2);
  transform: rotate(45deg);
}

/* ---------- About page ---------- */
.about { padding: 110px 0; }
.about__inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 20% 20%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; opacity: 0.6; }
.about__badge {
  position: absolute;
  left: -28px;
  bottom: 44px;
  background: var(--ink);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 2px solid var(--gold);
}
.about__badge span { display: block; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.about__badge strong { font-family: var(--font-display); font-size: 22px; color: #fff; font-weight: 500; line-height: 1.2; }
.about h1 { font-size: clamp(40px, 5vw, 64px); margin: 14px 0 24px; }
.about__text p { font-size: 15.5px; line-height: 1.9; color: var(--muted); }
.credentials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.credentials li {
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-soft);
}

.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.diff {
  position: relative;
  padding: 40px 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.diff:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.diff::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin-bottom: 22px; }
.diff h3 { font-size: 26px; margin-bottom: 12px; }
.diff p { font-size: 14.5px; line-height: 1.85; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: 110px 0; }
.contact__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.contact__info { display: grid; gap: 18px; }
.info-card {
  display: flex;
  gap: 20px;
  padding: 26px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card__icon { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold-2); }
.info-card__icon svg { width: 20px; height: 20px; }
.info-card small { display: block; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-card strong, .info-card a { font-size: 16px; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.info-card > div { min-width: 0; }
.info-card a:hover { color: var(--gold-2); }
.info-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

.form-card {
  padding: 48px 46px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.form__group { margin-bottom: 20px; }
.form__group label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 9px; }
.form__group input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  outline: none;
}
.form__group input:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft); }
.form__group input::placeholder { color: #857d73; }
.form__submit { width: 100%; margin-top: 8px; }
.form__status { margin-top: 16px; font-size: 13.5px; color: var(--gold-2); min-height: 1.4em; }

/* Procedure-page CTA */
.interest { background: var(--ivory); padding: 110px 0; }
.interest__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.interest h2 { font-size: clamp(36px, 4.4vw, 58px); margin: 14px 0 20px; }
.interest p { color: var(--muted); font-size: 16px; max-width: 460px; }
.interest .form-card { box-shadow: var(--shadow); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
  .pillar:nth-last-child(-n + 2) { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .specialties__grid { grid-template-columns: repeat(2, 1fr); }
  .spec-card, .spec-card:nth-child(4), .spec-card:nth-child(5) { grid-column: span 1; }
  .spec-card:nth-child(5) { grid-column: span 2; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: rgba(14, 13, 12, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
    padding: 90px 32px 40px;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 420px; margin: 0 auto; }
  .nav__item { border-bottom: 1px solid var(--line-on-dark); }
  .nav__link { display: flex; justify-content: space-between; width: 100%; padding: 18px 0; font-size: 15px; letter-spacing: 0.14em; }
  .nav__link::after { display: none; }
  .nav__dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 12px;
    display: none;
  }
  .nav__item.is-open > .nav__dropdown { display: block; }
  .nav__dropdown a { padding: 10px 0 10px 16px; font-size: 14px; }
  .nav__dropdown a:hover { padding-left: 20px; }
  .nav__mobile-cta { display: inline-flex; margin: 32px auto 0; width: 100%; max-width: 420px; }
  .procedure__inner, .about__inner, .contact__inner, .interest__inner { grid-template-columns: 1fr; gap: 48px; }
  .procedure--reverse .procedure__inner .procedure__media { order: 0; }
  .about__media { max-width: 520px; }
  .about__badge { left: 16px; bottom: 16px; }
  .procedure { padding: 80px 0; }
  .section { padding: 88px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero__inner { padding: calc(var(--header-h) + 40px) 16px 110px; }
  .hero__media img { object-position: 60% 20%; }
  .hero__title { font-size: clamp(50px, 15vw, 72px); }
  .hero__actions .btn { width: 100%; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar, .pillar:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px 26px; }
  .pillar:last-child { border-bottom: 0; }
  .specialties__grid, .testimonials__grid, .diff-grid { grid-template-columns: 1fr; }
  .spec-card, .spec-card:nth-child(4), .spec-card:nth-child(5) { grid-column: span 1; }
  .spec-card { padding: 32px 26px; }
  .review { padding: 28px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { padding: 64px 0 50px; }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .page-hero__inner { padding: calc(var(--header-h) + 50px) 16px 48px; }
  .form-card { padding: 32px 22px; }
  .procedure__media::before, .about__media::before { display: none; }
  .section__head { margin-bottom: 44px; }
  .cta-band { padding: 70px 0; }
  .cta-band__actions .btn { width: 100%; }
  .whats-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .diff { padding: 30px 26px; }
  .testimonials::before { display: none; }
}

/* =========================================================
   Refinamentos v2
   ========================================================= */

/* Hero: grão, faixa de credenciais */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero__inner { padding-bottom: 170px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.hero__trust {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-on-dark);
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 36px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.hero__trust span {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__trust em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Pilares sobrepondo o hero */
.pillars { padding-top: 90px; }
.pillars__grid {
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.45);
  border-color: transparent;
}
.pillar__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  padding: 14px;
  margin-bottom: 24px;
}

/* Cards de especialidades com imagem */
.spec-card { padding: 0; }
.spec-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}
.spec-card__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.5s;
}
.spec-card:hover .spec-card__media > img { transform: scale(1.06); }
.spec-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, 0.55), transparent 55%);
}
.spec-card__badge {
  position: absolute;
  left: 28px;
  bottom: -28px;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--paper);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.spec-card__badge img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: left center;
  transform: scale(0.82);
}
.spec-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px 32px 34px;
}
.spec-card__body h3 { font-size: 25px; margin-bottom: 14px; line-height: 1.2; }
.spec-card__body h3 a:hover { color: var(--gold-2); }

/* Faixa deslizante de especialidades */
.ribbon {
  background: var(--ink);
  color: var(--gold);
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
  animation: ribbon 46s linear infinite;
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  letter-spacing: 0.02em;
}
.ribbon__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0.7; flex: none; }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* Prévia "O Escritório" na home */
.about-preview { background: var(--paper); }
.about-preview__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}
.about-preview__media { position: relative; }
.about-preview__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 20% 20%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-preview__media::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.6;
}
.about-preview__text h2 { margin: 14px 0 22px; }
.about-preview__actions { margin-top: 36px; }

/* Depoimentos em carrossel */
.testimonials__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 44px;
}
.testimonials__head .eyebrow { margin-bottom: 16px; }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--gold); color: var(--ink); }
.carousel__btn:active { transform: scale(0.95); }
.carousel__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 0 10px;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .review {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  position: relative;
}
.review__quote {
  display: block;
  font-family: var(--font-display);
  font-size: 84px;
  line-height: 0.55;
  height: 34px;
  color: var(--gold);
  opacity: 0.55;
}
.review__source {
  background: #fff;
  padding: 5px 10px;
  border-radius: 999px;
}
.review__source img { height: 18px; opacity: 1; }
.testimonials__more { margin-top: 44px; }
.doctoralia-pill { display: inline-block; background: #fff; padding: 12px 24px; border-radius: 999px; }
.doctoralia-pill img { height: 44px; width: auto; }

/* Ícones com contraste reforçado */
.info-card__icon { background: var(--ink); color: var(--gold); }

/* Sub-navegação das páginas de procedimentos */
.subnav {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav__inner { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.subnav__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); flex: none; }
.subnav__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.subnav__list a:hover, .subnav__list a.is-active { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-2); }
.subnav__cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); }
.subnav__cta:hover { color: var(--ink); }
.procedure { scroll-margin-top: 150px; }

/* Lema (Sobre Nós) */
.motto { background: var(--ink-2); padding: 100px 0; position: relative; overflow: hidden; }
.motto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 100%, rgba(201, 164, 107, 0.12), transparent 70%);
  pointer-events: none;
}
.motto__inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.motto__mark { display: block; font-family: var(--font-display); font-size: 140px; line-height: 0.5; color: var(--gold); opacity: 0.6; margin-bottom: 14px; }
.motto__text { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); font-style: italic; color: #fbf8f3; line-height: 1.35; margin-bottom: 28px; text-wrap: balance; }
.motto .eyebrow { justify-content: center; }
.motto .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); }

/* Responsivo (refinamentos) */
@media (max-width: 1100px) {
  .carousel__track .review { flex-basis: calc((100% - 22px) / 2); }
  .hero__trust-inner { justify-content: flex-start; }
}
@media (max-width: 960px) {
  .about-preview__inner { grid-template-columns: 1fr; gap: 48px; }
  .about-preview__media { max-width: 520px; }
  .subnav { top: 72px; }
  .subnav__label, .subnav__cta { display: none; }
}
@media (max-width: 640px) {
  .hero__inner { padding-bottom: 150px; }
  .hero__trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-top: 16px; padding-bottom: 16px; }
  .hero__trust span { font-size: 11px; }
  .carousel__track .review { flex-basis: 88%; }
  .testimonials__head { flex-direction: column; align-items: flex-start; }
  .about-preview__media::before { display: none; }
  .ribbon__track { font-size: 20px; gap: 28px; }
  .motto { padding: 70px 0; }
  .motto__mark { font-size: 100px; }
  .spec-card__body { padding: 28px 24px 30px; }
}

/* =========================================================
   Acessibilidade e contraste (revisão)
   ========================================================= */
.footer strong, .footer p strong { color: #fbf8f3; }
.footer__brand p { color: #cfc7bc; }
.footer__list li a, .footer__bottom { color: #cfc7bc; }
.muted-on-dark, .on-dark p { color: #c4bcb1; }
.review__text { color: #e2dcd3; }
.nav__dropdown a { color: rgba(255, 255, 255, 0.88); }
.hero__sub { color: rgba(255, 255, 255, 0.9); }
.page-hero__lead { color: rgba(255, 255, 255, 0.88); }
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.whats-float { background: #1fb257; }
.whats-float::before { border-color: #1fb257; }

/* Menu mobile: fundo opaco e sem backdrop-filter no header (que limitaria o menu fixo) */
@media (max-width: 960px) {
  .nav { background: #0e0d0c; }
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 13, 12, 0.97); }
}

/* Links no rodapé: dourado claro sobre fundo escuro, hover em branco */
.footer .link-arrow { color: var(--gold); }
.footer .link-arrow:hover { color: #ffffff; }
.footer a:hover { color: var(--gold); }
.footer .footer__bottom a:hover, .footer .footer__contact a:hover { color: #ffffff; }
.footer a:focus-visible { outline-color: var(--gold); }

/* Mapa em tela inteira acima do rodapé */
.map {
  position: relative;
  height: clamp(440px, 62vh, 680px);
  background: var(--ivory-2) url("../img/mapa-local.jpg") center / cover no-repeat;
  overflow: hidden;
}
.map__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}
.map__card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 380px;
  display: grid;
  gap: 6px;
  padding: 26px 28px 28px;
  background: #fff;
  color: var(--text);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map__card small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.map__card strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.map__card span { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.map__card .btn { margin-top: 14px; justify-self: start; }
@media (max-width: 640px) {
  .map { height: 520px; }
  .map__card { left: 16px; right: 16px; top: auto; bottom: 16px; max-width: none; padding: 20px 20px 22px; }
  .map__card strong { font-size: 20px; }
  .map__card .btn { width: 100%; }
}
.map__frame--static { display: block; }
.map__frame--static img { width: 100%; height: 100%; object-fit: cover; }

/* Depoimentos em fundo claro */
.testimonials--light::before { color: rgba(201, 164, 107, 0.16); }
.testimonials--light .review { background: var(--paper); border: 1px solid var(--line); }
.testimonials--light .review:hover { background: var(--paper); border-color: var(--gold); box-shadow: var(--shadow); }
.testimonials--light .review__text { color: #4a443e; }
.testimonials--light .review__name { color: var(--ink); }
.testimonials--light .review__author { border-top-color: var(--line); }
.testimonials--light .review__source { border: 1px solid var(--line); }
.testimonials--light .carousel__btn { color: var(--gold-2); border-color: var(--gold); }
.testimonials--light .carousel__btn:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.testimonials--light .doctoralia-pill { border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonials--light .link-arrow { color: var(--gold-2); }
.testimonials--light .link-arrow:hover { color: var(--ink); }

/* Chamada de contato em fundo escuro */
.cta-band--dark { background: var(--ink-2); }
.cta-band--dark::before { background: radial-gradient(60% 120% at 100% 50%, rgba(201, 164, 107, 0.18), transparent 60%); }
.cta-band--dark h2 { color: #fbf8f3; }
.cta-band--dark .lead { color: var(--muted-on-dark); }
.cta-band--dark .eyebrow { color: var(--gold); }

/* Especialidades: grade 3 + 3 com card de diferenciais */
.spec-card, .spec-card:nth-child(4), .spec-card:nth-child(5) { grid-column: span 2; }
.spec-card--tech { background: var(--ink); border-color: var(--ink); color: #f3eee7; }
.spec-card--tech::before { background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(1); }
.spec-card--tech .spec-card__body { padding-top: 40px; }
.spec-card--tech .eyebrow { color: var(--gold); margin-bottom: 14px; }
.spec-card--tech h3, .spec-card--tech h3 a { color: #fbf8f3; }
.spec-card--tech h3 a:hover { color: var(--gold); }
.spec-card--tech p { color: var(--muted-on-dark); flex: 0; margin-bottom: 20px; }
.spec-card--tech .checklist { flex: 1; margin-bottom: 26px; }
.checklist--light li { color: #e2dcd3; font-size: 14.5px; }
.checklist--light li::before { background: rgba(201, 164, 107, 0.2); }
.checklist--light li::after { border-color: var(--gold); }
.spec-card--tech .link-arrow { color: var(--gold); }
.spec-card--tech .link-arrow:hover { color: #fff; }
.spec-card--tech:hover { border-color: var(--gold); }
@media (max-width: 1100px) {
  .spec-card, .spec-card:nth-child(4), .spec-card:nth-child(5) { grid-column: span 1; }
}
.section--ivory[id="diferenciais"] { scroll-margin-top: 90px; }

/* Campo anti-robô do formulário (invisível para pessoas) */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form__submit:disabled { opacity: 0.7; cursor: wait; }
