:root {
  --bg: #fbfaf7;
  --bg-soft: #f2eee6;
  --surface: #ffffff;
  --surface-strong: #11141b;
  --text: #181a20;
  --muted: #666b76;
  --border: rgba(17, 20, 27, 0.12);
  --gold: #d5a73c;
  --gold-strong: #b98618;
  --dark: #11141b;
  --dark-2: #1e2430;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(17, 20, 27, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-height: 78px;
}

.theme-dark {
  --bg: #0e1117;
  --bg-soft: #151a23;
  --surface: #141922;
  --surface-strong: #f7f1e3;
  --text: #f7f1e3;
  --muted: #b8bdc7;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background 0.25s ease, color 0.25s ease;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 999;
}

.skip-link:focus {
  left: 18px;
}

.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.topbar__content {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand__logo {
  width: 158px;
  max-height: 58px;
  object-fit: contain;
}

.brand__logo--light,
.theme-dark .brand__logo--dark,
.hero-card__logo--light,
.theme-dark .hero-card__logo--dark {
  display: none;
}

.theme-dark .brand__logo--light,
.theme-dark .hero-card__logo--light {
  display: block;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(213, 167, 60, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(17, 20, 27, 0.05);
}

.lang-btn,
.theme-toggle,
.nav-toggle {
  border: 0;
  cursor: pointer;
}

.lang-btn {
  min-height: 36px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(213, 167, 60, 0.12);
}

.lang-btn.active {
  background: var(--gold);
  color: #111;
  box-shadow: 0 8px 18px rgba(213, 167, 60, 0.24);
}

.flag-icon {
  width: 22px;
  height: 15px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(17, 20, 27, 0.16);
  flex: 0 0 auto;
}

.lang-btn.active .flag-icon {
  transform: scale(1.04);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #f0d07a);
  color: #14110b;
  box-shadow: 0 14px 30px rgba(213, 167, 60, 0.24);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
}

.btn--small {
  min-height: 38px;
  padding: 9px 13px;
  font-size: 0.78rem;
}

.btn--full {
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section--dark {
  background: linear-gradient(135deg, #11141b, #1e2430);
  color: #ffffff;
  overflow: hidden;
}

.section--dark .eyebrow,
.section--dark .practice-card span {
  color: #f0d07a;
}

.section--dark .section-heading p,
.section--dark .practice-card p {
  color: rgba(255, 255, 255, 0.72);
}

.hero {
  min-height: calc(100vh - 124px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(213, 167, 60, 0.19), transparent 32%),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
}

.hero__ornament {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.12;
  pointer-events: none;
}

.hero__ornament--one {
  right: -120px;
  top: 110px;
  background: var(--gold);
}

.hero__ornament--two {
  left: -160px;
  bottom: -90px;
  border: 70px solid var(--gold);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.79rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 5.45rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.25;
}

.hero__lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.hero__trust div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: 0 8px 20px rgba(17, 20, 27, 0.06);
}

.hero__trust strong,
.hero__trust span {
  display: block;
}

.hero__trust strong {
  font-size: 1.1rem;
}

.hero__trust span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(213, 167, 60, 0.18), transparent 38%);
  pointer-events: none;
}

.hero-card__logo-wrap {
  min-height: 210px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.hero-card__logo {
  width: min(390px, 90%);
  object-fit: contain;
}

.hero-card__body,
.check-list {
  position: relative;
  z-index: 1;
}

.hero-card__body p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--gold-strong);
  font-weight: 900;
}

.feature-grid,
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.practice-card,
.mission-box,
.contact-form,
.client-area,
.contact-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 34px rgba(17, 20, 27, 0.08);
}

.feature-card {
  padding: 28px;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(213, 167, 60, 0.16);
  color: var(--gold-strong);
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.feature-card p,
.section-copy p,
.section-heading p {
  color: var(--muted);
}

.split-grid,
.lawyer-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.section-copy {
  max-width: 640px;
}

.mission-box {
  margin-top: 28px;
  padding: 24px;
  border-left: 6px solid var(--gold);
}

.media-card,
.lawyer-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--border);
}

.media-card img,
.lawyer-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.media-card img {
  height: 520px;
  object-position: center;
}

.lawyer-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 18px);
}

.lawyer-photo--full-body {
  width: min(100%, 560px);
  margin-inline: auto;
  background:
    linear-gradient(180deg, rgba(213, 167, 60, 0.10), transparent 34%),
    var(--surface);
}

.lawyer-photo img {
  width: 100%;
  height: auto !important;
  max-height: none;
  object-fit: contain !important;
  object-position: center center;
  border-radius: calc(var(--radius-lg) - 10px);
}

.lawyer-photo--full-body img {
  aspect-ratio: auto;
}

.media-card__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(17, 20, 27, 0.82);
  color: #fff;
  backdrop-filter: blur(14px);
}

.media-card__caption strong,
.media-card__caption span {
  display: block;
}

.media-card__caption span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.practice-card {
  position: relative;
  isolation: isolate;
  padding: 28px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: none;
  overflow: hidden;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(213, 167, 60, 0.34), transparent 45%, rgba(240, 208, 122, 0.24));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.28s ease;
}

.practice-card:hover,
.practice-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(240, 208, 122, 0.95);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(240, 208, 122, 0.28),
    0 0 28px rgba(213, 167, 60, 0.18);
}

.practice-card:hover::before,
.practice-card:focus-within::before {
  opacity: 1;
}

.practice-card span {
  display: inline-block;
  margin-bottom: 44px;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition: color 0.28s ease;
}

.practice-card:hover span,
.practice-card:focus-within span {
  color: #fff2b8;
}

.lawyer-photo__tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  border: 1px solid rgba(213, 167, 60, 0.45);
  font-weight: 900;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.info-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.info-list strong {
  color: var(--gold-strong);
}

.client-area {
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.client-area__content {
  max-width: 680px;
}

.client-area__content p {
  color: var(--muted);
}

.client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(213, 167, 60, 0.5);
}

.contact-card span:first-child {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(213, 167, 60, 0.16);
  color: var(--gold-strong);
}

.contact-card strong,
.contact-card small {
  display: block;
}

.contact-card small {
  color: var(--muted);
  word-break: break-word;
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(213, 167, 60, 0.16);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.map-wrap {
  margin-top: 44px;
}

.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius-lg);
  filter: grayscale(0.25);
  box-shadow: var(--shadow);
}

.site-footer {
  background: #0b0e13;
  color: #ffffff;
  padding: 70px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 40px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
}

.site-footer p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer h3 {
  color: #f0d07a;
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-verse {
  margin-top: 42px;
  padding: 30px 28px;
  border-top: 1px solid rgba(240, 208, 122, 0.28);
  border-bottom: 1px solid rgba(240, 208, 122, 0.18);
  text-align: center;
}

.footer-verse p {
  max-width: 940px;
  margin: 0 auto;
  color: #f4e3ad;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.02rem, 2vw, 1.38rem);
  font-style: italic;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #06160b;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.26);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

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

@media (max-width: 1180px) {
  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    left: 20px;
    right: 20px;
    top: calc(38px + var(--header-height) + 12px);
    display: grid;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.24s ease;
  }

  .nav-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-links {
    align-items: stretch;
    gap: 6px;
  }

  .nav-links a {
    display: inline-flex;
    font-size: 0.82rem;
    padding: 9px 10px;
  }


  .hero__grid,
  .split-grid,
  .lawyer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

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

  .client-area,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .topbar__content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 8px 0;
  }

  .brand__logo {
    width: 132px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero__trust,
  .practice-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .contact-form,
  .client-area {
    padding: 22px;
  }

  .hero-card__logo-wrap {
    min-height: 170px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .media-card img {
    height: 360px;
  }

  .lawyer-photo--full-body {
    width: min(100%, 500px);
  }

  .media-card__caption {
    position: static;
    border-radius: 0;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
  }
}


@media (max-width: 480px) {
  .nav-panel {
    left: 14px;
    right: 14px;
    padding: 16px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.76rem;
    padding: 9px 7px;
  }

  .nav-actions {
    width: 100%;
  }

  .language-switcher {
    flex: 1 1 auto;
    justify-content: center;
  }

  .btn--small {
    flex: 1 1 100%;
  }

  .media-card img {
    height: 300px;
  }

  .lawyer-photo--full-body {
    width: min(100%, 430px);
  }
}

/* Relatos de Clientes */
.section--testimonials {
  background:
    radial-gradient(circle at 12% 18%, rgba(213, 167, 60, 0.10), transparent 28%),
    var(--bg);
}

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

.testimonial-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(17, 20, 27, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 167, 60, 0.62);
  box-shadow: 0 22px 52px rgba(17, 20, 27, 0.14);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(213, 167, 60, 0.12);
  pointer-events: none;
}

.testimonial-card__quote {
  display: block;
  height: 38px;
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.7;
  margin-bottom: 12px;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.testimonial-card strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .testimonial-card {
    min-height: auto;
    padding: 24px;
  }
}


/* Página/Seção Profissional - conteúdo conforme referência enviada */
.professional-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) 0;
  background:
    radial-gradient(circle at 88% 22%, rgba(213, 167, 60, 0.16), transparent 28%),
    radial-gradient(circle at 0% 0%, rgba(213, 167, 60, 0.20), transparent 26%),
    linear-gradient(135deg, #171a20 0%, #0c1016 100%);
  color: #ffffff;
}

.professional-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 36px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(213, 167, 60, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.professional-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumb a {
  color: #f0d07a;
  font-weight: 900;
}

.professional-hero h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.professional-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.professional-bio-section {
  background: var(--bg);
}

.professional-card {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: 0.88fr 1.35fr;
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(17, 20, 27, 0.12);
}

.professional-card__photo {
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-soft);
}

.professional-card__photo img {
  width: 100%;
  min-height: 520px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.professional-card__content {
  color: var(--text);
}

.professional-card__content h2 {
  margin-bottom: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.professional-card__content p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.professional-card__content h3 {
  margin: 22px 0 18px;
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.professional-card__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.professional-card__eyebrow::before,
.professional-heading .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.professional-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.professional-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(213, 167, 60, 0.15);
  color: var(--gold-strong);
  font-size: 0.74rem;
  font-weight: 900;
}

.professional-heading {
  max-width: 980px;
  margin: 0 auto 28px;
}

.professional-heading h2 {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.professional-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.professional-timeline {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: stretch;
  gap: 18px;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 44px;
  bottom: -16px;
  width: 1px;
  background: rgba(213, 167, 60, 0.36);
}

.timeline-year {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 44px;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 14px;
  background: #06080c;
  color: #f0d07a;
  border: 1px solid rgba(213, 167, 60, 0.25);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

.timeline-content {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(17, 20, 27, 0.08);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 900;
}

.education-grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.education-card {
  min-height: 118px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(17, 20, 27, 0.08);
}

.education-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-strong);
  font-size: 0.92rem;
  font-weight: 950;
}

.education-card p {
  margin: 0;
  color: var(--muted);
}

.footer-grid--expanded {
  grid-template-columns: 1.25fr 0.75fr 0.75fr 0.95fr;
  align-items: start;
}

.footer-about p {
  max-width: 310px;
}

.footer-bottom--centered {
  justify-content: center;
  text-align: center;
}

@media (max-width: 1180px) {
  .professional-card,
  .education-grid,
  .professional-timeline,
  .professional-heading {
    width: min(100%, 900px);
  }

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

@media (max-width: 820px) {
  .professional-card {
    grid-template-columns: 1fr;
  }

  .professional-card__photo img {
    min-height: auto;
    max-height: 560px;
    object-fit: contain;
    background: var(--bg-soft);
  }

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

@media (max-width: 720px) {
  .professional-hero {
    padding: 64px 0;
  }

  .professional-card {
    border-radius: 24px;
  }

  .timeline-item {
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .timeline-year {
    width: 44px;
    height: 42px;
    font-size: 0.55rem;
  }

  .timeline-item:not(:last-child)::before {
    left: 22px;
  }

  .timeline-content {
    padding: 14px 16px;
    font-size: 0.84rem;
  }

  .footer-grid--expanded {
    grid-template-columns: 1fr;
  }
}
