﻿    :root {
      --graphite: #1b1a18;
      --graphite-dark: #0f0f0e;
      --gold: #b48a4e;
      --text: #202020;
      --muted: #6d675f;
      --line: #e3e3e3;
      --paper: #ffffff;
      --soft: #f5f5f5;
      --white: #ffffff;
      --serif: "Cormorant Garamond", Georgia, serif;
      --sans: "Inter", Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 104px;
    }

    body {
      margin: 0;
      background: var(--graphite-dark);
      color: var(--text);
      font-family: var(--sans);
      font-size: 16px;
      font-weight: 300;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    ::selection {
      background: rgba(180, 138, 78, 0.22);
      color: var(--graphite);
    }

    :focus-visible {
      outline: 1px solid var(--gold);
      outline-offset: 2px;
    }

    img {
      display: block;
      width: 100%;
      height: auto;
    }

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

    h1,
    h2,
    h3 {
      margin: 0;
      color: var(--graphite);
      font-family: var(--serif);
      font-weight: 500;
      line-height: 1.15;
      letter-spacing: 0;
      font-feature-settings: "liga" 1, "kern" 1;
    }

    p {
      margin: 0;
    }

    .wrap {
      width: min(100%, 1140px);
      margin: 0 auto;
      padding: 0 28px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 620ms ease, transform 620ms ease;
      transition-delay: var(--reveal-delay, 0ms);
    }

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

    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      color: #f4f0e8;
      background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.78), rgba(8, 8, 8, 0.86)),
        url("assets/bg-consulta.png") center / cover no-repeat;
    }

    .footer {
      position: relative;
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      padding: 28px 0;
      border-bottom: 1px solid rgba(244, 240, 232, 0.16);
      background: rgba(15, 15, 14, 0.98);
    }

    .site-header.is-scrolled {
      border-bottom-color: rgba(180, 138, 78, 0.35);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: grid;
      gap: 2px;
      color: var(--white);
    }

    .brand strong {
      font-family: var(--serif);
      font-size: 25px;
      font-weight: 500;
      line-height: 1.05;
    }

    .brand span {
      color: rgba(244, 240, 232, 0.72);
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .menu-toggle {
      display: none;
      width: 42px;
      height: 42px;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(244, 240, 232, 0.36);
      border-radius: 4px;
      background: rgba(12, 12, 12, 0.18);
      color: var(--white);
      cursor: pointer;
    }

    .menu-toggle span,
    .menu-toggle span::before,
    .menu-toggle span::after {
      display: block;
      width: 18px;
      height: 1px;
      background: currentColor;
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle span {
      position: relative;
    }

    .menu-toggle span::before,
    .menu-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
    }

    .menu-toggle span::before {
      transform: translateY(-6px);
    }

    .menu-toggle span::after {
      transform: translateY(6px);
    }

    .site-header.is-open .menu-toggle span {
      background: transparent;
    }

    .site-header.is-open .menu-toggle span::before {
      background: var(--white);
      transform: rotate(45deg);
    }

    .site-header.is-open .menu-toggle span::after {
      background: var(--white);
      transform: rotate(-45deg);
    }

    .primary-nav {
      display: flex;
      align-items: center;
      gap: 22px;
      color: rgba(244, 240, 232, 0.84);
      font-size: 13.5px;
      font-weight: 400;
    }

    .primary-nav a {
      position: relative;
      padding-bottom: 6px;
    }

    .primary-nav a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 1px;
      background: rgba(244, 240, 232, 0.86);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .primary-nav a:hover {
      color: var(--white);
    }

    .primary-nav a:hover::after {
      transform: scaleX(1);
    }

    .hero-center {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 170px 28px 96px;
      text-align: center;
    }

    .hero-content {
      max-width: 790px;
      animation: hero-reveal 720ms ease-out both;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 18px;
      padding: 7px 18px;
      border: 1px solid rgba(180, 138, 78, 0.45);
      border-radius: 100px;
      background: rgba(15, 15, 14, 0.70);
      color: rgba(244, 240, 232, 0.88);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      line-height: 1;
    }

    .hero-badge::before {
      content: "";
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--gold);
    }

    @keyframes hero-reveal {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero h1 {
      color: var(--white);
      font-size: clamp(40px, 5vw, 62px);
      line-height: 1.1;
    }

    .hero p {
      max-width: 610px;
      margin: 22px auto 34px;
      color: rgba(244, 240, 232, 0.84);
      font-size: 18px;
      line-height: 1.6;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 48px;
      padding: 14px 32px;
      border: 1px solid transparent;
      border-radius: 4px;
      background: var(--gold);
      color: var(--white);
      font-size: 14px;
      font-weight: 500;
      line-height: 1.2;
      transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
    }

    .btn-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      opacity: 0.92;
    }

    .btn:hover {
      background: #7f603a;
      transform: translateY(-1px);
    }

    .btn.outline {
      border-color: var(--graphite);
      background: transparent;
      color: var(--graphite);
    }

    .btn.outline:hover {
      border-color: var(--gold);
      color: var(--gold);
    }

    .section {
      padding: 96px 0;
      background: var(--white);
      scroll-margin-top: 104px;
    }

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

    .section-head {
      max-width: 700px;
      margin: 0 auto 58px;
      text-align: center;
    }

    .kicker {
      margin-bottom: 14px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .section h2 {
      font-size: clamp(32px, 3.6vw, 44px);
    }

    .section-head h2::after {
      content: "";
      display: block;
      width: 46px;
      height: 1px;
      margin: 18px auto 0;
      background: var(--gold);
    }

    .section-head p {
      margin-top: 16px;
      color: var(--muted);
    }

    .cred-strip {
      border-bottom: 1px solid var(--line);
      background: var(--graphite-dark);
      border-color: rgba(180, 138, 78, 0.24);
    }

    .cred-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      padding: 30px 0;
    }

    .cred-item {
      text-align: center;
    }

    .cred-item strong {
      display: block;
      color: var(--white);
      font-family: var(--serif);
      font-size: 25px;
      font-weight: 500;
      line-height: 1.15;
    }

    .cred-item span {
      display: block;
      margin-top: 6px;
      color: rgba(244, 240, 232, 0.68);
      font-size: 14px;
      line-height: 1.45;
    }

    .areas-grid,
    .principles-grid,
    .process-grid,
    .publication-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .card {
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--white);
      box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.03),
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 8px 16px rgba(0, 0, 0, 0.02);
      transition: border-color 180ms ease, transform 180ms ease, box-shadow 300ms ease;
    }

    .card:hover {
      border-color: rgba(150, 115, 69, 0.52);
      transform: translateY(-2px);
      box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 16px 32px rgba(0, 0, 0, 0.03);
    }

    .area {
      min-height: 198px;
      padding: 30px;
    }

    .area h3 {
      font-size: clamp(22px, 2.8vw, 27px);
    }

    .area p {
      margin-top: 13px;
      color: var(--muted);
    }

    .more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 22px;
      color: var(--gold);
      font-size: 14px;
      font-weight: 500;
      transition: color 180ms ease;
    }

    .more::after {
      content: "\203A";
      transition: transform 300ms ease;
    }

    .more:hover {
      color: var(--graphite);
    }

    .more:hover::after {
      transform: translateX(4px);
    }

    .icon {
      display: inline-block;
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      stroke-width: 1.3;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
      vertical-align: middle;
    }

    .icon-light {
      color: rgba(244, 240, 232, 0.72);
    }

    .icon-dark {
      color: var(--muted);
    }

    .cred-item .icon {
      width: 20px;
      height: 20px;
      margin-bottom: 8px;
      opacity: 0.7;
    }

    .area .icon {
      width: 24px;
      height: 24px;
      margin-bottom: 14px;
      color: var(--gold);
      opacity: 0.85;
    }

    details summary::after {
      content: "";
      position: absolute;
      right: 0;
      top: 24px;
      width: 18px;
      height: 18px;
      color: var(--gold);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b48a4e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      transition: transform 200ms ease;
    }

    details[open] summary::after {
      content: "";
      transform: rotate(180deg);
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
      gap: 62px;
      align-items: center;
    }

    .about-image {
      overflow: hidden;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fbfaf7;
    }

    .about-image img {
      aspect-ratio: 4 / 5;
      border-radius: 3px;
      object-fit: cover;
      object-position: 50% 26%;
    }

    .about-text p {
      margin-top: 20px;
      color: var(--muted);
    }

    .process-step {
      padding: 32px;
      text-align: center;
    }

    .process-step .step-number {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      margin: 0 auto 18px;
      border: 1px solid rgba(150, 115, 69, 0.45);
      border-radius: 50%;
      color: var(--gold);
      font-family: var(--serif);
      font-size: 22px;
      line-height: 1;
    }

    .process-step h3 {
      font-size: 26px;
    }

    .process-step p {
      margin-top: 12px;
      color: var(--muted);
    }

    .profile {
      text-align: center;
    }

    .profile-photo {
      overflow: hidden;
      margin-bottom: 22px;
      padding: 8px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fbfaf7;
    }

    .profile-photo img {
      aspect-ratio: 4 / 5;
      border-radius: 3px;
      object-fit: cover;
      object-position: 50% 28%;
    }

    .profile h3 {
      font-size: 31px;
    }

    .role,
    .oab {
      margin-top: 6px;
      color: var(--muted);
      font-size: 14px;
    }

    .oab {
      color: var(--gold);
      font-weight: 500;
    }

    .principle {
      padding: 30px;
    }

    .principle blockquote {
      position: relative;
      margin: 0;
      padding-top: 18px;
      color: var(--graphite);
      font-family: var(--serif);
      font-size: 30px;
      font-weight: 500;
      line-height: 1.18;
    }

    .principle blockquote::before {
      content: "\201C";
      position: absolute;
      top: -14px;
      left: -6px;
      color: var(--gold);
      font-size: 72px;
      line-height: 1;
      opacity: 0.08;
      pointer-events: none;
    }

    .principle .author {
      margin-top: 22px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    .principle strong {
      display: block;
      color: var(--gold);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .principle span {
      display: block;
      margin-top: 7px;
      color: var(--muted);
      font-size: 14px;
    }

    .faq-list {
      max-width: 880px;
      margin: 0 auto;
      border-top: 1px solid var(--line);
    }

    details {
      border-bottom: 1px solid var(--line);
    }

    summary {
      position: relative;
      padding: 22px 42px 22px 0;
      color: var(--graphite);
      font-family: var(--serif);
      font-size: 24px;
      cursor: pointer;
      list-style: none;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary::after {
      content: "+";
      position: absolute;
      right: 0;
      top: 20px;
      color: var(--gold);
      font-family: var(--sans);
      font-size: 22px;
    }

    details[open] summary::after {
      content: "-";
    }

    details p {
      max-width: 760px;
      padding: 0 0 22px;
      color: var(--muted);
    }

    .publication {
      overflow: hidden;
    }

    .publication img {
      aspect-ratio: 1.55 / 1;
      object-fit: cover;
    }

    .publication-body {
      padding: 24px;
    }

    .publication-meta {
      color: var(--gold);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .publication h3 {
      margin-top: 12px;
      font-size: 27px;
    }

    .publication p {
      margin-top: 12px;
      color: var(--muted);
    }

    .center-action {
      margin-top: 38px;
      text-align: center;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--line);
      border-radius: 6px;
      background: var(--white);
    }

    .contact-item {
      min-height: 168px;
      padding: 28px;
      border-right: 1px solid var(--line);
    }

    .contact-item:last-child {
      border-right: 0;
    }

    .label {
      color: var(--gold);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .value {
      margin-top: 12px;
      color: var(--text);
      font-family: var(--serif);
      font-size: 24px;
      line-height: 1.15;
    }

    .value.small {
      font-family: var(--sans);
      font-size: 14px;
      line-height: 1.55;
      color: var(--muted);
    }

    .map-section iframe {
      display: block;
      width: 100%;
      height: 360px;
      border: 0;
    }

    .footer {
      padding: 64px 0 30px;
      background:
        linear-gradient(180deg, rgba(15, 15, 14, 0.96), rgba(15, 15, 14, 0.98)),
        url("assets/bg-madeira-escura.jpg") center / cover;
      color: rgba(244, 240, 232, 0.76);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.7fr 0.8fr;
      gap: 54px;
      padding-bottom: 44px;
      border-bottom: 1px solid rgba(244, 240, 232, 0.14);
    }

    .footer h3,
    .footer h4 {
      color: var(--white);
      font-family: var(--serif);
      font-size: 25px;
      font-weight: 500;
      margin: 0 0 18px;
    }

    .footer p,
    .footer li,
    .copy,
    .footer-links {
      color: rgba(244, 240, 232, 0.64);
      font-size: 14px;
    }

    .footer ul {
      display: grid;
      gap: 9px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .copy {
      margin-top: 26px;
    }

    .footer-links {
      display: flex;
      gap: 18px;
      margin-top: 12px;
    }

    .footer a {
      color: rgba(244, 240, 232, 0.64);
      transition: color 200ms ease;
    }

    .footer a:hover {
      color: var(--gold);
    }

    .floating-contact {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 40;
      display: grid;
      place-items: center;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background: var(--gold);
      color: var(--white);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
      transition: transform 200ms ease, box-shadow 200ms ease;
    }

    .floating-contact:hover {
      transform: scale(1.06);
      box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
    }

    .reading-progress {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 101;
      width: 100%;
      height: 2px;
      background: transparent;
      pointer-events: none;
    }

    .reading-progress-bar {
      height: 100%;
      background: var(--gold);
      transform-origin: left;
      transform: scaleX(0);
      transition: transform 100ms linear;
    }

    .back-to-top {
      position: fixed;
      left: 22px;
      bottom: 22px;
      z-index: 40;
      display: grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(180, 138, 78, 0.4);
      border-radius: 50%;
      background: rgba(15, 15, 14, 0.96);
      color: var(--gold);
      opacity: 0;
      transform: translateY(12px);
      transition: opacity 300ms ease, transform 300ms ease, border-color 200ms ease;
      pointer-events: none;
      cursor: pointer;
    }

    .back-to-top.is-visible {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .back-to-top:hover {
      border-color: var(--gold);
      color: var(--white);
    }

    .back-to-top svg {
      width: 18px;
      height: 18px;
      stroke-width: 1.6;
    }

    .floating-contact svg {
      width: 25px;
      height: 25px;
      stroke-width: 1.8;
    }

    .page-hero {
      padding: 132px 0 46px;
      color: var(--white);
      background: var(--graphite-dark);
    }

    .page-hero > .wrap {
      max-width: min(100%, 1100px);
      padding: 0 28px;
    }

    .breadcrumb {
      display: inline-block;
      margin-bottom: 18px;
      color: rgba(244, 240, 232, 0.72);
      font-size: 14px;
    }

    .page-hero h1 {
      color: var(--white);
      font-size: clamp(34px, 4.2vw, 52px);
    }

    .page-hero p {
      max-width: 720px;
      margin-top: 18px;
      color: rgba(244, 240, 232, 0.78);
      font-size: 17px;
    }

    .article-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 46px;
      align-items: start;
    }

    .article h2 {
      margin-top: 0;
      font-size: clamp(31px, 3vw, 42px);
    }

    .article h3 {
      margin-top: 34px;
      font-size: 29px;
    }

    .article p,
    .article li {
      color: var(--muted);
    }

    .article p {
      margin-top: 16px;
    }

    .article ul {
      display: grid;
      gap: 9px;
      margin: 16px 0 0;
      padding-left: 20px;
    }

    .side-card {
      position: sticky;
      top: 124px;
      padding: 28px;
      border: 1px solid rgba(180, 138, 78, 0.28);
      border-radius: 6px;
      background: var(--graphite);
      color: rgba(244, 240, 232, 0.76);
    }

    .side-card h2 {
      color: var(--white);
      font-size: 31px;
    }

    .side-card p {
      margin: 14px 0 24px;
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal,
      .hero-content {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
      }
    }

    /* Mobile performance: lighter animations */
    @media (max-width: 680px) {
      .reveal {
        transition-duration: 400ms;
      }
      .hero-content {
        animation-duration: 400ms;
      }
    }

    @media (max-width: 980px) {
      .menu-toggle {
        display: flex;
      }

      .primary-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 28px;
        right: 28px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        border: 1px solid rgba(244, 240, 232, 0.18);
        background: rgba(23, 22, 21, 0.98);
      }

      .site-header.is-open .primary-nav {
        display: flex;
      }

      .primary-nav a {
        padding: 12px;
      }

      .cred-grid,
      .contact-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .areas-grid,
      .principles-grid,
      .process-grid,
      .publication-grid {
        grid-template-columns: repeat(2, 1fr);
      }

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

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

      .side-card {
        position: static;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
    }

    @media (max-width: 680px) {
      .wrap {
        padding: 0 22px;
      }

      .site-header {
        padding: 18px 0;
      }

      .brand strong {
        font-size: 21px;
      }

      .brand span {
        font-size: 10.5px;
      }

      .hero {
        min-height: 720px;
      }

      .hero-center {
        padding: 132px 22px 70px;
      }

      .hero h1 {
        font-size: 38px;
      }

      .hero p {
        font-size: 16px;
      }

      .section {
        padding: 72px 0;
      }

      .page-hero {
        padding: 112px 0 42px;
      }

      .page-hero h1 {
        font-size: 36px;
      }

      .page-hero p {
        font-size: 16px;
      }

      .cred-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 18px 0;
      }

      .cred-item strong {
        font-size: 18px;
      }

      .cred-item span {
        font-size: 12px;
        margin-top: 2px;
      }

      .cred-item .icon {
        width: 16px;
        height: 16px;
        margin-bottom: 4px;
      }

      .areas-grid,
      .principles-grid,
      .process-grid,
      .publication-grid,
      .contact-grid {
        grid-template-columns: 1fr;
      }

      .card {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
      }

      .card:hover {
        transform: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
      }

      .contact-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .contact-item:last-child {
        border-bottom: 0;
      }

      .footer-links {
        flex-wrap: wrap;
      }

      .floating-contact {
        width: 52px;
        height: 52px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
      }

      .floating-contact:hover {
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
      }
    }
