/* ═══════════════════════════════════════════════════════════
   CJV Advocacia — Stylesheet
   Silent Luxury · British Institutional · Old Money
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ─── Design Tokens ──────────────────────────────────────── */

:root {
  /* Backgrounds */
  --bg:          #080E08;
  --bg-alt:      #0B1409;
  --bg-panel:    #060A06;

  /* British Racing Green tones */
  --green-dark:  #102218;
  --green-mid:   #1A3A22;

  /* Satin aged gold */
  --gold:        #B8963E;
  --gold-light:  #C9A96E;
  --gold-dim:    rgba(184, 150, 62, 0.22);
  --gold-subtle: rgba(184, 150, 62, 0.07);
  --gold-muted:  #7A6330;

  /* Accent */
  --burgundy:    #5C1D2D;

  /* Text hierarchy */
  --text:        #E4DDD0;
  --text-mid:    #B8ADA2;
  --text-dim:    #938980;

  /* Borders */
  --border:      rgba(184, 150, 62, 0.23);
  --border-faint: rgba(228, 221, 208, 0.09);

  /* Typefaces */
  --font-display:  'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-heading:  'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-body:     'Crimson Pro', 'EB Garamond', Georgia, serif;

  /* Layout */
  --nav-h:     72px;
  --pad-x:     clamp(36px, 7vw, 110px);
  --pad-y:     clamp(46px, 5.8vw, 78px);

  /* Motion */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}


/* ─── Accessibility Utility ──────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Reset ──────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100dvh;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 14px;
  left: var(--pad-x);
  z-index: 10000;
  padding: 9px 16px;
  border: 1px solid var(--gold);
  background: var(--bg-panel);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ─── Selection & Scrollbar ──────────────────────────────── */

::selection {
  background: rgba(184, 150, 62, 0.18);
  color: var(--gold-light);
}

::-webkit-scrollbar          { width: 5px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: rgba(184, 150, 62, 0.25); }
::-webkit-scrollbar-thumb:hover { background: rgba(184, 150, 62, 0.45); }

/* ─── Film Grain Overlay ─────────────────────────────────── */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ─── Page Entrance ──────────────────────────────────────── */

.page-wrapper {
  animation: pageFade 700ms var(--ease) both;
  position: relative;
  z-index: 2;
}

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

/* ─── Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(8, 14, 8, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav.scrolled { border-bottom-color: rgba(184, 150, 62, 0.34); }

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 340ms var(--ease);
}

.nav-logo:hover .nav-logo-img { opacity: 0.82; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.5vw, 52px);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  transition: color 300ms var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 380ms var(--ease);
}

.nav-links a:hover       { color: var(--gold-light); }
.nav-links a.active      { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 8px;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 1px;
  background: var(--gold);
  transition: all 320ms var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-flags {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  line-height: 1;
  margin-left: 12px;
  flex-shrink: 0;
}

/* Mobile nav utility classes — hidden on desktop, activated in mobile breakpoints */
.nav-abbr       { display: none; }
.nav-br         { display: none; }

/* Language flags — always visible */
.nav-flags-item { display: flex; align-items: center; gap: 8px; list-style: none; }
.lang-btn       { display: flex; align-items: center; }
.lang-btn img   { width: 18px; height: auto; display: block; border-radius: 2px; transition: opacity .25s, transform .25s; }
.lang-btn:hover img { opacity: .8; transform: scale(1.08); }

/* Mobile overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(5, 9, 5, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 380ms var(--ease), visibility 0s linear 380ms;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition-delay: 0s;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 280ms var(--ease);
}

.nav-overlay a:hover { color: var(--gold); }

/* ─── Hero — Full Bleed Cinematic Image ──────────────────── */

.hero {
  position: relative;
  min-height: 100dvh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Image layer — extra height allows parallax without white edges */
.hero-bg {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  /* Cinematic color grading: slight desaturation, warm contrast, subtle sepia */
  filter: brightness(0.84) contrast(1.06) saturate(0.86) sepia(0.05);
  will-change: transform;
  display: block;
}

.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── Overlay: uniform darkening for centered text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Uniform dark layer — ensures centered text is always readable */
    linear-gradient(rgba(4, 8, 4, 0.62) 0%, rgba(4, 8, 4, 0.52) 50%, rgba(4, 8, 4, 0.62) 100%),
    /* Top/bottom vignette */
    linear-gradient(180deg,
      rgba(2, 5, 2, 0.54) 0%,
      transparent 22%,
      transparent 68%,
      rgba(2, 5, 2, 0.60) 100%
    ),
    /* Radial edge vignette */
    radial-gradient(ellipse 105% 105% at 50% 48%,
      transparent 38%,
      rgba(2, 4, 2, 0.30) 100%
    );
}

/* Text content — centered over the hero */
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 64px);
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero text — staggered entrance animations */
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 44px;
  animation: heroFadeUp 900ms var(--ease-out) 180ms both;
}

.hero-monogram-img {
  width: clamp(156px, 16.7vw, 240px);
  height: auto;
  object-fit: contain;
  animation: heroFadeUp 900ms var(--ease-out) 180ms both;
  display: block;
  margin: 0 auto clamp(32px, 3.2vw, 48px) auto;
}

.hero-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroFadeUp 900ms var(--ease-out) 340ms both;
}

.hero-initials {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 23px);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 15px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: clamp(0.10em, 0.55vw, 0.20em);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.58);
  white-space: nowrap;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(330px, 70%);
  margin: clamp(28px, 3.2vw, 40px) auto clamp(22px, 2.5vw, 30px);
  color: var(--gold);
}

.hero-divider::before,
.hero-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: currentColor;
  opacity: 0.55;
}

.hero-divider span {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.82;
}

.hero-practice,
.hero-scope {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-oab {
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 16px clamp(58px, 10.5vw, 148px);
  opacity: 0.90;
}

.hero-practice {
  font-size: clamp(11px, 1.4vw, 18px);
  letter-spacing: clamp(0.18em, 0.65vw, 0.32em);
  margin-bottom: clamp(18px, 2vw, 25px);
}

.hero-scope {
  font-size: clamp(8.5px, 0.95vw, 11px);
  letter-spacing: clamp(0.16em, 0.48vw, 0.28em);
  color: var(--text-mid);
}

.hero-scope span {
  color: var(--gold);
  margin: 0 10px;
}

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  margin: 30px 0;
  animation: heroFadeUp 900ms var(--ease-out) 500ms both;
}

.hero-firm {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 60px;
  animation: heroFadeUp 900ms var(--ease-out) 580ms both;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  max-width: 460px;
  margin: clamp(34px, 4vw, 46px) 0 42px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.70), 0 1px 8px rgba(0, 0, 0, 0.44);
  animation: heroFadeUp 900ms var(--ease-out) 760ms both;
}

.hero-meta {
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-mid);
  animation: heroFadeUp 900ms var(--ease-out) 960ms both;
}

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

/* ─── Home Editorial Transition ───────────────────────────── */

.home-editorial {
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1fr);
  gap: clamp(44px, 8vw, 110px);
  padding: clamp(36px, 4.8vw, 60px) var(--pad-x);
  background: linear-gradient(145deg, rgba(11, 20, 9, 0.9), rgba(8, 14, 8, 0.98));
  border-top: 1px solid var(--border);
}

.home-editorial > *,
.office-profile > *,
.service-structure > *,
.office-location > *,
.contact-editorial > * {
  min-width: 0;
}

.home-pullquote {
  max-width: 480px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 45px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
}

.home-statements {
  max-width: 540px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.home-statements p {
  color: var(--text-mid);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 300;
  line-height: 1.75;
}

.home-statements p + p {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-faint);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 34px);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.text-cta::after {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.75;
  transition: width 300ms var(--ease);
}

.text-cta:hover::after,
.text-cta:focus-visible::after { width: 48px; }

.home-differentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(184, 150, 62, 0.055), transparent 42%),
    var(--bg-panel);
}

.home-differential {
  padding: clamp(20px, 2.6vw, 34px) clamp(28px, 3.8vw, 50px);
  border-right: 1px solid var(--border-faint);
  min-height: auto;
  transition: background 380ms var(--ease);
}


.home-differential:last-child { border-right: 0; }

.home-differential:hover {
  background:
    radial-gradient(ellipse 80% 70% at 30% 30%, rgba(184, 150, 62, 0.065), transparent 55%),
    var(--bg-panel);
}

.differential-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border: 1px solid rgba(184, 150, 62, 0.36);
  color: var(--gold-light);
}

.differential-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  opacity: 0.78;
}

.home-differential h2 {
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.home-differential p {
  max-width: 330px;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.8;
}

/* ─── Áreas — Cinematic Page Hero ───────────────────────────── */

.areas-page-hero {
  position: relative;
  min-height: clamp(400px, 52vw, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.areas-page-hero-bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}

.areas-page-hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.areas-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: brightness(0.62) contrast(1.06) saturate(0.80) sepia(0.08);
  display: block;
}

.areas-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Bottom-to-top darkening — keeps text legible */
    linear-gradient(0deg,
      rgba(4, 8, 4, 0.90) 0%,
      rgba(4, 8, 4, 0.64) 18%,
      rgba(4, 8, 4, 0.24) 48%,
      rgba(4, 8, 4, 0.06) 75%,
      transparent 100%
    ),
    /* Top nav shadow */
    linear-gradient(180deg,
      rgba(4, 8, 4, 0.48) 0%,
      transparent 16%
    ),
    /* Edge vignette */
    radial-gradient(ellipse 110% 100% at 50% 50%,
      transparent 42%,
      rgba(3, 6, 3, 0.22) 100%
    );
}

.areas-page-hero-content {
  position: relative;
  z-index: 2;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  padding-bottom: clamp(56px, 7vw, 94px);
  padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 64px));
}

.areas-page-hero-content .page-eyebrow {
  margin-bottom: 20px;
}

.areas-page-hero-content .page-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.68);
}

/* ─── Interior Page Header ───────────────────────────────── */

.page-header {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 54vw, 660px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border);
}

/* ─── Shared Photo Hero layers (office-hero, page-header) ─── */

.ph-bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}

.ph-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: brightness(0.62) contrast(1.06) saturate(0.80) sepia(0.08);
  display: block;
}

.ph-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg,
      rgba(4, 8, 4, 0.90) 0%,
      rgba(4, 8, 4, 0.64) 18%,
      rgba(4, 8, 4, 0.24) 48%,
      rgba(4, 8, 4, 0.06) 75%,
      transparent 100%
    ),
    linear-gradient(180deg,
      rgba(4, 8, 4, 0.48) 0%,
      transparent 16%
    ),
    radial-gradient(ellipse 110% 100% at 50% 50%,
      transparent 42%,
      rgba(3, 6, 3, 0.22) 100%
    );
}

.ph-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + clamp(40px, 5vw, 64px)) var(--pad-x) clamp(56px, 7vw, 94px);
}

.ph-content .page-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.68);
}

.ph-content .office-hero-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.68);
}

/* ─── Per-page photo hero object-position ─────────────────── */
/* Escritório2Cesar: lower to show more environment, less ceiling */
.office-hero .ph-bg img {
  object-position: center 90%;
}
/* BAR GLOBO: lower to center globe */
.page-header--duvidas .ph-bg img {
  object-position: center 90%;
}
/* Cavalo Cesar: raised to show horse head as main element */
.page-header--contato .ph-bg img {
  object-position: center 30%;
}

.page-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

/* ─── Section Wrapper ────────────────────────────────────── */

.section {
  padding: var(--pad-y) var(--pad-x);
}

.section-rule {
  width: 38px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin-bottom: 26px;
}

/* ─── Escritório / Sobre ─────────────────────────────────── */

.office-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 54vw, 660px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border);
}


.office-hero-title {
  max-width: 730px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(46px, 6.3vw, 78px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.office-hero-text {
  max-width: 520px;
  margin-top: clamp(34px, 4vw, 46px);
  color: var(--text-mid);
  font-size: clamp(18px, 1.7vw, 21px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
}

.sobre-section {
  display: grid;
  grid-template-columns: 42fr 58fr;
  min-height: calc(100dvh - var(--nav-h));
  margin-top: var(--nav-h);
  align-items: stretch;
}

.titular-section {
  margin-top: 0;
  min-height: auto;
  border-bottom: 1px solid var(--border);
}

/* Portrait column — fills full column height */
.sobre-photo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: #060A06;
}

.sobre-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  /* Cinematic grading — preserves skin texture, natural lighting */
  filter: brightness(0.78) contrast(1.06) saturate(0.88) sepia(0.05);
  display: block;
}

.sobre-photo picture {
  display: block;
  height: 100%;
}

/* Subtle edge vignette — purely cosmetic depth */
.sobre-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%,
      transparent 50%,
      rgba(4, 8, 4, 0.26) 100%
    ),
    linear-gradient(180deg,
      rgba(4, 8, 4, 0.16) 0%,
      transparent 16%,
      transparent 76%,
      rgba(4, 8, 4, 0.36) 100%
    ),
    linear-gradient(to right,
      transparent 82%,
      rgba(4, 8, 4, 0.24) 100%
    );
}

/* Very subtle inset gold line — editorial refinement */
.sobre-photo::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184, 150, 62, 0.12);
  z-index: 2;
  pointer-events: none;
}

/* Content column — vertically centred, generous breathing room */
.sobre-content {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 5.6vw, 70px) var(--pad-x) clamp(44px, 5.6vw, 70px) clamp(42px, 5.2vw, 66px);
}

.sobre-content > :not(.logo-watermark) {
  position: relative;
  z-index: 1;
}

.sobre-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.sobre-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.58;
  margin-bottom: 22px;
}

.sobre-title,
.titular-name {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.24;
  margin-bottom: 40px;
  max-width: 440px;
}

.titular-name {
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.titular-highlight {
  max-width: 530px;
  padding: 0 0 clamp(16px, 2vw, 24px) clamp(18px, 2.2vw, 26px);
  margin-bottom: clamp(16px, 2.2vw, 26px);
  border-left: 1px solid rgba(184, 150, 62, 0.48);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.2vw, 28px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.48;
}

.sobre-text,
.editorial-copy p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}

.editorial-copy {
  max-width: 590px;
}

.editorial-copy p + p {
  margin-top: 24px;
}

.editorial-copy strong {
  color: var(--text);
  font-weight: 400;
}

.sobre-cta {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  transition: color 320ms var(--ease);
}

.sobre-cta::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  transition: width 360ms var(--ease), opacity 360ms var(--ease);
}

.sobre-cta:hover {
  color: var(--gold-light);
}

.sobre-cta:hover::after {
  width: 44px;
  opacity: 0.85;
}

.office-profile,
.service-structure,
.office-location {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(36px, 5vw, 64px);
  padding: var(--pad-y) var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.service-structure {
  padding-top: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.office-profile {
  background: var(--bg-alt);
}

.office-profile-copy {
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.atmosphere-section {
  padding: clamp(28px, 4vw, 54px) var(--pad-x);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.atmosphere-section::before {
  content: 'Ambiente do Escritório';
  display: block;
  margin-bottom: clamp(24px, 3vw, 36px);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(146px, 12.6vw, 182px);
  gap: clamp(8px, 1.2vw, 16px);
}

.atmosphere-frame {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
}

.atmosphere-frame picture,
.atmosphere-frame img {
  display: block;
  width: 100%;
  height: 100%;
}

.atmosphere-frame img {
  object-fit: cover;
  filter: brightness(0.78) contrast(1.06) saturate(0.88);
  transition: transform 850ms var(--ease), filter 850ms var(--ease);
}

.atmosphere-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 8, 4, 0.72), transparent 32%);
  pointer-events: none;
}

.atmosphere-frame:hover img {
  transform: scale(1.025);
  filter: brightness(0.82) contrast(1.06) saturate(0.9);
}

.atmosphere-frame figcaption {
  position: absolute;
  bottom: 19px;
  left: 22px;
  z-index: 1;
  color: var(--text-mid);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.atmosphere-lead { grid-column: 1 / 9; grid-row: 1 / span 3; }
.atmosphere-overview { grid-column: 9 / 13; grid-row: 1 / span 3; }
.atmosphere-globe { grid-column: 1 / 4; grid-row: 4 / span 3; }
.atmosphere-desk { grid-column: 4 / 7; grid-row: 4 / span 3; }
.atmosphere-horse { grid-column: 7 / 10; grid-row: 4 / span 3; }
.atmosphere-console { grid-column: 10 / 13; grid-row: 4 / span 3; }
.atmosphere-art { grid-column: 1 / 7; grid-row: 7 / span 4; }
.atmosphere-finishing { grid-column: 7 / 13; grid-row: 7 / span 4; }

.atmosphere-lead img { object-position: center 54%; }
.atmosphere-overview img { object-position: center 38%; }
.atmosphere-globe img { object-position: center 70%; }
.atmosphere-desk img { object-position: center center; }
.atmosphere-horse img { object-position: center 38%; }
.atmosphere-console img { object-position: center 62%; }
.atmosphere-art img { object-position: center 42%; }
.atmosphere-finishing img { object-position: center 58%; }

.service-heading,
.office-location > div:first-child {
  align-self: start;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.3vw, 14px);
}

.service-item {
  position: relative;
  padding: clamp(18px, 2.2vw, 26px) clamp(22px, 2.8vw, 32px) clamp(18px, 2.2vw, 26px) clamp(44px, 5vw, 58px);
  background: rgba(13, 25, 18, 0.55);
  border: 1px solid rgba(184, 150, 62, 0.14);
  border-left: 2px solid rgba(184, 150, 62, 0.30);
  transition: background 340ms var(--ease), border-left-color 340ms var(--ease);
}

.service-item:hover {
  background: rgba(22, 46, 30, 0.20);
  border-left-color: rgba(184, 150, 62, 0.54);
}

.service-num {
  position: absolute;
  top: clamp(18px, 2.2vw, 24px);
  left: clamp(14px, 1.6vw, 18px);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 0.14em;
  opacity: 0.80;
}

.service-item h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 300;
}

.service-item p,
.office-location-content p {
  max-width: 480px;
  color: var(--text-mid);
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 300;
  line-height: 1.75;
}

.office-location {
  background:
    linear-gradient(90deg, rgba(184, 150, 62, 0.035), transparent 38%),
    var(--bg);
}

.office-location-content {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* ─── Áreas de Atuação — Cards ───────────────────────────── */

.areas-intro {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 16px;
}

.areas-opening {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 76px);
}

.areas-opening .page-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.areas-opening-text {
  max-width: 480px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-mid);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.area-card {
  position: relative;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(36px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(184, 150, 62, 0.035), transparent 42%),
    rgba(8, 14, 8, 0.34);
  transition: background 380ms var(--ease), border-color 380ms var(--ease), transform 360ms var(--ease), box-shadow 360ms var(--ease);
}

.area-card:hover {
  background:
    linear-gradient(135deg, rgba(184, 150, 62, 0.07), transparent 45%),
    rgba(11, 20, 9, 0.78);
  border-color: rgba(184, 150, 62, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
}

.area-card-num {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--gold);
  opacity: 0.68;
  margin-bottom: 30px;
}

.area-card-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.area-card-excerpt {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  flex-grow: 1;
  margin-bottom: 36px;
}

.area-card-link {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  min-height: 44px;
  cursor: pointer;
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}

.area-card-link::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.42;
  transition: width 340ms var(--ease), opacity 340ms var(--ease);
}

.area-card:hover .area-card-link       { color: var(--gold-light); }
.area-card:hover .area-card-link::after { width: 34px; opacity: 0.78; }
.area-card-link:hover { transform: translateX(2px); }

.area-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(760px, calc(100vw - 36px));
  max-height: min(760px, calc(100dvh - 36px));
  border: 1px solid rgba(184, 150, 62, 0.36);
  background: var(--bg-panel);
  color: var(--text);
  padding: 0;
  overflow: hidden;
}

.area-modal::backdrop {
  background: rgba(2, 5, 2, 0.78);
  backdrop-filter: blur(8px);
}

.area-modal[open] { animation: modalIn 240ms var(--ease-out) both; }

.area-modal-panel {
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  overflow: auto;
  max-height: inherit;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(184, 150, 62, 0.08), transparent 42%),
    linear-gradient(145deg, rgba(11, 20, 9, 0.98), rgba(6, 10, 6, 1));
}

.area-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: rgba(8, 14, 8, 0.62);
  color: var(--gold-light);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
  transition: border-color 260ms var(--ease), background 260ms var(--ease);
}

.area-modal-close:hover {
  border-color: rgba(184, 150, 62, 0.62);
  background: var(--gold-subtle);
}

.area-modal h2 {
  max-width: 560px;
  margin: 14px 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.08;
}

.area-modal-preview,
.area-modal-full p {
  color: var(--text-mid);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.85;
}

.area-modal-full {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-faint);
}

.area-modal-full p + p { margin-top: 16px; }

.modal-expand {
  display: inline-flex;
  margin: 28px 18px 0 0;
  min-height: 44px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.area-modal .area-cta {
  margin-top: 28px;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── Área Individual (sub-página) ───────────────────────── */

.area-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 90px));
  padding-bottom: clamp(40px, 5vw, 60px);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  border-bottom: 1px solid var(--border);
}

.area-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 38px;
  transition: color 280ms var(--ease);
}

.area-back::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 300ms var(--ease);
}

.area-back:hover             { color: var(--gold); }
.area-back:hover::before     { width: 28px; }

.area-hero-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.area-hero-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 18px;
}

.area-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.06;
  max-width: 680px;
}

.area-hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 22px;
}

.area-content {
  padding: clamp(56px, 7vw, 88px) var(--pad-x);
  max-width: calc(780px + (2 * var(--pad-x)));
}

.area-intro-text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--border-faint);
}

.area-block { margin-bottom: clamp(44px, 5.5vw, 64px); }

.area-block-rule {
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.48;
  margin-bottom: 22px;
}

.area-block-title {
  font-family: var(--font-display);
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.area-block-text {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}

.area-block-list {
  list-style: none;
  margin-top: 20px;
}

.area-block-list li {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--border-faint);
  position: relative;
}

.area-block-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.area-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(44px, 5.5vw, 64px);
  padding: 14px 30px;
  border: 1px solid rgba(184, 150, 62, 0.44);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-light);
  transition: border-color 360ms var(--ease), color 360ms var(--ease), background 360ms var(--ease);
}

.area-cta::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.42;
  transition: width 340ms var(--ease), opacity 340ms var(--ease);
}

.area-cta:hover {
  border-color: rgba(184, 150, 62, 0.66);
  color: var(--gold-light);
  background: var(--gold-subtle);
}

.area-cta:hover::after { width: 34px; opacity: 0.78; }

.area-footer-nav {
  padding: clamp(32px, 4vw, 48px) var(--pad-x);
  border-top: 1px solid var(--border);
}

/* ─── Dúvidas Frequentes ─────────────────────────────────── */

.faq-intro {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

.faq-opening {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.faq-list {
  border-top: 1px solid var(--border);
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(184, 150, 62, 0.035), transparent 44%);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.9vw, 22px);
  font-weight: 300;
  color: var(--text);
  padding: 36px clamp(18px, 3vw, 36px);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  transition: color 280ms var(--ease), background 280ms var(--ease);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  opacity: 0.65;
  flex-shrink: 0;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
  line-height: 1;
  margin-top: 4px;
}

.faq-item[open] summary::after { transform: rotate(45deg); opacity: 1; }
.faq-item summary:hover {
  color: var(--gold-light);
  background: rgba(184, 150, 62, 0.035);
}

.faq-question span,
.faq-question small {
  display: block;
}

.faq-question small {
  margin-top: 8px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.35vw, 16px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  transition: opacity 260ms var(--ease);
}

.faq-item[open] .faq-question small {
  opacity: 0;
  height: 0;
  margin-top: 0;
  overflow: hidden;
}

.faq-answer {
  padding: 0 clamp(28px, 5vw, 72px) 50px clamp(18px, 3vw, 34px);
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
}

.faq-answer p + p { margin-top: 14px; }

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-item[open] .faq-answer { animation: faqOpen 260ms var(--ease) both; }

.faq-answer a {
  color: var(--gold);
  border-bottom: 1px solid rgba(184, 150, 62, 0.28);
  transition: color 280ms var(--ease), border-color 280ms var(--ease);
}
.faq-answer a:hover { color: var(--gold-light); border-color: rgba(184, 150, 62, 0.6); }

.faq-footer-note {
  margin-top: clamp(44px, 5.5vw, 60px);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
}

.faq-footer-note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(184, 150, 62, 0.28);
  font-style: normal;
  transition: color 280ms var(--ease), border-color 280ms var(--ease);
}
.faq-footer-note a:hover { color: var(--gold-light); border-color: rgba(184, 150, 62, 0.6); }

.contact-assurance {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 85% 0%, rgba(184, 150, 62, 0.045), transparent 46%),
    var(--bg-alt);
}

.contact-assurance-copy h2 {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
}

.contact-assurance-copy p {
  max-width: 560px;
  color: var(--text-mid);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.82;
}

.contact-assurance-copy p + p {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-faint);
}

.contact-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--green-dark);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: brightness(0.78) contrast(1.06) saturate(0.88);
}

.contact-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 8, 4, 0.68), transparent 36%);
}

.contact-photo figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: var(--text-mid);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ─── Office Gallery (escritorio.html) ───────────────────── */

.office-section {
  border-top: 1px solid var(--border);
  padding-top: var(--pad-y);
}

.office-section-header {
  padding: 0 var(--pad-x) clamp(36px, 4.5vw, 52px);
}

.office-label {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.office-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0B1409;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 8 / 5;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.70) contrast(1.06) saturate(0.84);
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.76) contrast(1.05) saturate(0.86);
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%,
      rgba(180, 138, 38, 0.10) 0%, transparent 65%),
    linear-gradient(165deg, #0D1C10 0%, #0B1810 50%, #08100A 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
}

.gallery-placeholder span {
  font-family: var(--font-display);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.35;
}

/* ─── Contato ────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}

.contact-editorial {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1fr);
  gap: clamp(58px, 10vw, 138px);
}

.contact-statement {
  max-width: 440px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(27px, 3vw, 38px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.34;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.contact-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(185px, 1fr));
  column-gap: clamp(30px, 4vw, 58px);
  font-style: normal;
  border-top: 1px solid var(--border);
}

.contact-block { margin-bottom: 44px; }

.contact-directory .contact-block {
  min-height: 134px;
  margin: 0;
  padding: clamp(26px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--border-faint);
  transition: background 340ms var(--ease);
}

.contact-directory .contact-block:hover {
  background: linear-gradient(90deg, rgba(184, 150, 62, 0.038), transparent 55%);
}

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-value {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.55;
}

.contact-value a { transition: color 300ms var(--ease); }
.contact-value a:hover { color: var(--gold-light); }

.contact-note {
  font-family: var(--font-body);
  font-size: 17px;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 360px;
}

/* WhatsApp CTA */
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 15px 30px;
  border: 1px solid rgba(184, 150, 62, 0.38);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: clamp(38px, 5vw, 52px);
  transition: border-color 380ms var(--ease), color 380ms var(--ease), background 380ms var(--ease);
}

.contact-directory .whatsapp-cta {
  grid-column: 1 / -1;
}

.whatsapp-cta:hover {
  border-color: rgba(184, 150, 62, 0.55);
  color: var(--gold-light);
  background: var(--gold-subtle);
}

.whatsapp-cta svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 300ms var(--ease);
}

.whatsapp-cta:hover svg { opacity: 0.9; }

/* ─── Floating Contact Button ────────────────────────────── */

.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 180;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: rgba(7, 12, 7, 0.92);
  border: 1px solid rgba(184, 150, 62, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  animation: floatAppear 600ms var(--ease) 1.6s both;
  transition: border-color 360ms var(--ease), color 360ms var(--ease), background 360ms var(--ease);
}

.floating-contact:hover {
  border-color: rgba(184, 150, 62, 0.50);
  color: var(--gold-light);
  background: rgba(12, 18, 12, 0.96);
}

.floating-contact svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  flex-shrink: 0;
}

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


/* ─── Section Stamp Watermark ───────────────────────────────── */

.contact-intro--stamped {
  position: relative;
  overflow: hidden;
}

.contact-intro--stamped > :not(.section-stamp) {
  position: relative;
  z-index: 1;
}

.section-stamp {
  position: absolute;
  width: clamp(220px, 32vw, 400px);
  height: clamp(220px, 32vw, 400px);
  object-fit: contain;
  bottom: -30px;
  right: -20px;
  opacity: 0.042;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ─── Footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: clamp(40px, 5vw, 60px) var(--pad-x);
  position: relative;
  z-index: 2;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-logo-img {
  width: 90px;
  height: auto;
  object-fit: contain;
  opacity: 0.82;
  display: block;
}

.footer-brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-brand-oab {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.72;
}

/* Watermark — extremely subtle, almost imperceptible */
.logo-watermark {
  position: absolute;
  width: clamp(200px, 28vw, 340px);
  height: clamp(200px, 28vw, 340px);
  object-fit: contain;
  right: -40px;
  bottom: -20px;
  opacity: 0.038;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-address {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  text-align: right;
  line-height: 1.7;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border-faint);
}

.footer-copy,
.footer-oab {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.86;
}

/* ─── Focus Accessibility ────────────────────────────────── */

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

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 1200px) {
  /* hero-content uses centered fixed max-width — no override needed */
}

@media (max-width: 1020px) {

  /* Sobre — stack vertically on tablet */
  .sobre-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .sobre-photo {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }
  .sobre-content {
    padding: clamp(56px, 7vw, 80px) var(--pad-x);
  }

  .home-editorial,
  .home-differentials,
  .office-profile,
  .service-structure,
  .office-location,
  .areas-opening,
  .contact-assurance,
  .contact-grid,
  .contact-editorial {
    grid-template-columns: 1fr;
  }

  .home-differential {
    border-right: 0;
    border-bottom: 1px solid var(--border-faint);
    min-height: auto;
  }

  .home-differential:last-child { border-bottom: 0; }

  .home-statements,
  .office-profile-copy,
  .office-location-content {
    padding-top: 32px;
  }

  .atmosphere-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(124px, 18vw, 175px);
  }
  .atmosphere-lead { grid-column: 1 / 7; grid-row: 1 / span 2; }
  .atmosphere-overview { grid-column: 1 / 4; grid-row: 3 / span 3; }
  .atmosphere-globe { grid-column: 4 / 7; grid-row: 3 / span 3; }
  .atmosphere-desk { grid-column: 1 / 4; grid-row: 6 / span 2; }
  .atmosphere-horse { grid-column: 4 / 7; grid-row: 6 / span 2; }
  .atmosphere-console { grid-column: 1 / 4; grid-row: 8 / span 2; }
  .atmosphere-art { grid-column: 4 / 7; grid-row: 8 / span 2; }
  .atmosphere-finishing { grid-column: 1 / 7; grid-row: 10 / span 2; }

  /* Areas — single column on tablet (legacy card grid removed) */

  /* Gallery — 2 columns on tablet */
  .office-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 7; }

  .footer-top { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-address { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (max-width: 768px) {
  /* Breathing room between sections */
  .sobre-section { padding-top: 44px; }
  /* Center CTA buttons */
  .area-cta  { display: flex; width: fit-content; margin-inline: auto; }
  .text-cta  { display: block; text-align: center; margin-inline: auto; }

  /* Single-line inline nav — no hamburger, abbreviated labels */
  :root           { --nav-h: 72px; }
  .nav            { padding: 0 10px; height: var(--nav-h); }
  .nav-toggle     { display: none; }
  .nav-links      { flex: 1; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 6px; overflow: hidden; }
  .nav-links a    { font-size: 9px; letter-spacing: 0.06em; white-space: nowrap; }
  .nav-br         { display: none; }
  .nav-full       { display: none; }
  .nav-abbr       { display: inline; }
  .nav-flags-item { gap: 5px; margin-left: 2px; flex-shrink: 0; }
  .lang-btn img   { width: 16px; }
  .nav-logo-img   { height: 34px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 28px; --pad-y: 56px; }

  .nav-links a    { font-size: 8px; letter-spacing: 0.05em; }
  .nav-links      { gap: 5px; }
  .lang-btn img   { width: 13px; }

  .hero-content {
    padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 40px);
  }

  /* Brasão mobile: 65% de 240px = 156px */
  .hero-monogram-img { width: 156px; height: auto; margin-bottom: 28px; }
  .hero-name {
    font-size: clamp(17px, 5.8vw, 26px);
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .hero-divider { margin: 22px auto 18px; }
  .hero-practice { margin-bottom: 16px; }
  .hero-scope {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 8px;
  }
  .hero-scope span { margin: 0 2px; }

  /* Disable grain overlay on mobile — too expensive */
  body::after { display: none; }

  /* Sobre — retrato centralizado no mobile */
  .sobre-photo { aspect-ratio: 3 / 4; min-height: 0; width: 84%; max-width: 320px; margin: 42px auto 52px; }
  .sobre-photo img { object-position: center top; }
  .sobre-title { font-size: clamp(24px, 7vw, 34px); }
  .office-hero-title {
    font-size: clamp(22px, 6.5vw, 30px);
    overflow-wrap: break-word;
  }
  .titular-highlight { padding-left: 18px; }

  /* Gallery — single column on mobile */
  .office-gallery { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; }

  .atmosphere-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }
  .atmosphere-frame {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
  .atmosphere-overview,
  .atmosphere-globe,
  .atmosphere-horse,
  .atmosphere-console,
  .atmosphere-art,
  .atmosphere-finishing {
    aspect-ratio: 4 / 5;
  }

  .contact-directory { grid-template-columns: 1fr; }

  .contact-photo { aspect-ratio: 4 / 3; }

  .area-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .area-modal-panel { padding: 34px 24px; }

  .areas-page-hero,
  .office-hero,
  .page-header {
    min-height: clamp(280px, 72vw, 400px);
  }

  .areas-page-hero-bg img {
    object-position: 38% 35%;
  }

  .areas-opening { margin-bottom: 42px; }

  /* On mobile: shift image right to keep chair + lamp in view */
  .hero-bg-img { object-position: 60% 32%; }

  /* Full-coverage overlay for mobile text legibility */
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(2, 5, 2, 0.72) 0%,
        rgba(2, 5, 2, 0.48) 30%,
        rgba(2, 5, 2, 0.38) 65%,
        rgba(2, 5, 2, 0.82) 100%
      ),
      linear-gradient(to right,
        rgba(3, 6, 3, 0.82) 0%,
        rgba(3, 6, 3, 0.55) 45%,
        rgba(3, 6, 3, 0.22) 100%
      );
  }

  .floating-contact .fc-label { display: none; }
  .floating-contact { padding: 12px 14px; bottom: 88px; right: 20px; }

  .whatsapp-cta {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 8px;
    letter-spacing: 0.19em;
  }

  .area-item { padding: 26px 0; }
}


/* ════════════════════════════════════════════════════════════
   CJV — Refinamento Premium (Áreas · FAQ · Contato)
   ════════════════════════════════════════════════════════════ */

/* ─── Page Background Watermark ─────────────────────────────── */

.page-bg-mark {
  position: fixed;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(500px, 66vw, 860px);
  height: clamp(500px, 66vw, 860px);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.page-bg-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.026;
  filter: blur(2.8px);
}

/* ─── Editorial Phrase Block ─────────────────────────────────── */

.editorial-phrase-block {
  margin-top: clamp(30px, 3.8vw, 44px);
  max-width: 600px;
}

.editorial-ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.editorial-ornament::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

.editorial-ornament::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.28;
}

.editorial-phrase {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(9px, 0.95vw, 11px);
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.editorial-lead {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.78;
  max-width: 560px;
}

/* Hero context — slightly brighter lead text on dark bg */
.areas-page-hero-content .editorial-lead {
  color: rgba(184, 177, 162, 0.90);
}

/* ─── Ornament Separator ─────────────────────────────────────── */

.ornament-separator {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(20px, 3vw, 32px) 0;
  color: var(--gold);
  max-width: 860px;
}

.ornament-separator > span:not(.ornament-gem) {
  display: block;
  height: 1px;
  background: currentColor;
  opacity: 0.20;
  flex: 1;
}

.ornament-gem {
  font-size: 7px;
  opacity: 0.52;
  letter-spacing: 0;
  flex-shrink: 0;
}

/* ─── FAQ Left Accent (open state) ───────────────────────────── */

.faq-item {
  border-left: 2px solid transparent;
  transition:
    border-left-color 360ms var(--ease),
    background 280ms var(--ease);
}

.faq-item[open] {
  border-left-color: rgba(184, 150, 62, 0.48);
}

/* Make the small subtitle fade on open (already handled) */
.faq-item summary .faq-question small {
  font-style: italic;
}

/* ─── Enhanced Area Cards — number decoration ────────────────── */

.area-card-num::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  opacity: 0.38;
  margin-bottom: 10px;
}

/* ─── Contact Enhancements ───────────────────────────────────── */

.contact-location-note {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.6;
}

.contact-value-sub {
  color: var(--text-mid);
}

/* ─── Contact Institutional Note ─────────────────────────────── */

.contact-institutional {
  grid-column: 1 / -1;
  padding: clamp(26px, 3vw, 36px) 0;
  border-top: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.contact-institutional-rule {
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.36;
  flex-shrink: 0;
}

.contact-institutional-text {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── Contact Page — Compact Redesign ───────────────────────── */

.contact-hero-lead {
  margin-top: clamp(16px, 2vw, 24px);
  color: var(--text-mid);
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 300;
  font-style: italic;
  max-width: 420px;
}

.contact-main {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(184, 150, 62, 0.045), transparent 46%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.contact-directory--main {
  grid-template-columns: 1fr 1fr;
}

.contact-block--wide {
  grid-column: 1 / -1;
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 640px) {
  .page-bg-mark {
    right: -22%;
    width: clamp(300px, 90vw, 480px);
    height: clamp(300px, 90vw, 480px);
  }

  .editorial-phrase-block { margin-top: 24px; }
  .ornament-separator { margin: 24px 0; }
}

/* ─── Areas Editorial List ───────────────────────────────── */

.areas-editorial {
  list-style: none;
  padding: 0;
  margin: 0;
}

.areas-ei {
  display: grid;
  grid-template-columns: clamp(52px, 6.5vw, 84px) 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding: clamp(26px, 3.2vw, 44px) 0;
  border-top: 1px solid var(--border);
  position: relative;
  transition: border-color 360ms var(--ease);
}

.areas-ei:last-child {
  border-bottom: 1px solid var(--border);
}

.areas-ei::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  transition: width 520ms var(--ease);
}

.areas-ei:hover::before { width: 100%; }

.areas-ei-num {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 66px);
  font-weight: 400;
  color: var(--gold);
  opacity: 0.13;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 8px;
  transition: opacity 380ms var(--ease);
  pointer-events: none;
  user-select: none;
}

.areas-ei:hover .areas-ei-num { opacity: 0.40; }

.areas-ei-body {
  display: flex;
  flex-direction: column;
}

.areas-ei-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: clamp(14px, 2vw, 22px);
  transition: color 320ms var(--ease);
}

.areas-ei:hover .areas-ei-title { color: var(--gold-light); }

.areas-ei-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.88;
  max-width: 56ch;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.areas-ei-link {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.60;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  min-height: 44px;
  cursor: pointer;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), color 300ms var(--ease);
}

.areas-ei-link::after {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.52;
  transition: width 360ms var(--ease), opacity 360ms var(--ease);
}

.areas-ei-link:hover {
  opacity: 1;
  color: var(--gold-light);
  transform: translateX(5px);
}

.areas-ei-link:hover::after { width: 44px; opacity: 0.88; }

/* ─── Áreas 2×2 Grid ─────────────────────────────────────── */

.areas-intro-section {
  padding-bottom: clamp(32px, 4vw, 48px);
}

.areas-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.area-sq {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(34px, 4.2vw, 58px);
  min-height: clamp(260px, 27vw, 360px);
  background: var(--bg-panel);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: background 360ms var(--ease);
}

.area-sq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
  transition: width 520ms var(--ease);
}

.area-sq:hover::before { width: 100%; }

.area-sq:hover {
  background:
    linear-gradient(145deg, rgba(184, 150, 62, 0.08), transparent 48%),
    var(--bg-alt);
}

.area-sq-num {
  display: block;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.28em;
  color: var(--gold);
  opacity: 0.58;
  margin-bottom: 20px;
}

.area-sq-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: clamp(12px, 1.5vw, 18px);
  transition: color 320ms var(--ease);
}

.area-sq:hover .area-sq-title { color: var(--gold-light); }

.area-sq-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.82;
  max-width: 44ch;
  margin-bottom: clamp(18px, 2.2vw, 30px);
}

.area-sq-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.58;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease), color 300ms var(--ease);
}

.area-sq-cta::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.52;
  transition: width 340ms var(--ease);
}

.area-sq:hover .area-sq-cta {
  opacity: 1;
  color: var(--gold-light);
  transform: translateX(4px);
}

.area-sq:hover .area-sq-cta::after { width: 36px; opacity: 0.88; }

/* ─── FAQ Two-Column Editorial ───────────────────────────── */

.faq-editorial {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: clamp(48px, 5.5vw, 80px);
  align-items: start;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.faq-col-q {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  border-top: 1px solid var(--border);
}

.faq-tab {
  appearance: none;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  text-align: left;
  padding: clamp(11px, 1.3vw, 15px) clamp(10px, 1.5vw, 16px);
  border-bottom: 1px solid var(--border-faint);
  cursor: pointer;
  transition: border-left-color 260ms var(--ease), background 260ms var(--ease);
}

.faq-tab:hover {
  background: rgba(184, 150, 62, 0.028);
}

.faq-tab[aria-selected="true"] {
  border-left-color: rgba(184, 150, 62, 0.52);
  background: rgba(184, 150, 62, 0.036);
}

.faq-tab-num {
  font-family: var(--font-display);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  opacity: 0.38;
  padding-top: 4px;
  transition: opacity 260ms var(--ease);
  user-select: none;
  flex-shrink: 0;
}

.faq-tab[aria-selected="true"] .faq-tab-num { opacity: 0.92; }

.faq-tab-text {
  font-family: var(--font-heading);
  font-size: clamp(15.5px, 1.7vw, 19.5px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.68;
  transition: color 260ms var(--ease);
}

.faq-tab[aria-selected="true"] .faq-tab-text { color: var(--text); }
.faq-tab:hover .faq-tab-text { color: var(--gold-light); }

.faq-col-a {
  border-top: 1px solid var(--border);
  padding-top: clamp(16px, 2vw, 24px);
  min-height: 160px;
}

.faq-panel {
  display: none;
}

.faq-panel.is-active {
  display: block;
  animation: faqPanelIn 340ms var(--ease) both;
}

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

.faq-panel p {
  font-family: var(--font-body);
  font-size: clamp(18.5px, 2vw, 22px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}

.faq-panel p + p { margin-top: 20px; }

.faq-panel a {
  color: var(--gold);
  border-bottom: 1px solid rgba(184, 150, 62, 0.28);
  transition: color 280ms var(--ease), border-color 280ms var(--ease);
}

.faq-panel a:hover {
  color: var(--gold-light);
  border-color: rgba(184, 150, 62, 0.6);
}

.faq-panel ul {
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-panel li {
  font-family: var(--font-body);
  font-size: clamp(17.5px, 1.8vw, 20.5px);
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.82;
  padding-left: 20px;
  position: relative;
}

.faq-panel li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.55;
}

.faq-panel p strong {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text);
  font-style: normal;
  letter-spacing: 0.005em;
}

.faq-panel ul + p { margin-top: 20px; }

/* ─── FAQ Section — centering override ───────────────────── */

section[aria-label="Perguntas e respostas frequentes"] {
  padding-left:  clamp(48px, 10vw, 180px);
  padding-right: clamp(48px, 10vw, 180px);
}

/* ─── Responsive — editorial components ──────────────────── */

@media (max-width: 860px) {
  .areas-ei {
    grid-template-columns: clamp(40px, 10vw, 60px) 1fr;
    gap: clamp(16px, 3vw, 28px);
  }

  .faq-editorial {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-col-q {
    position: static;
    border-bottom: 1px solid var(--border);
    margin-bottom: clamp(32px, 5vw, 48px);
  }

  .faq-col-a {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .areas-ei {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .areas-ei-num {
    font-size: clamp(28px, 8vw, 38px);
    opacity: 0.18;
    margin-bottom: 10px;
    padding-top: 0;
  }

  .areas-cards-grid {
    grid-template-columns: 1fr;
  }

  .area-sq {
    min-height: clamp(200px, 55vw, 280px);
  }

}

/* ─── Contact Page — Full Viewport ───────────────────────────── */

.contact-viewport {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cv-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.26) contrast(1.08) saturate(0.65) sepia(0.10);
  display: block;
}

.cv-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(118deg, rgba(4, 8, 4, 0.94) 0%, rgba(4, 8, 4, 0.72) 48%, rgba(4, 8, 4, 0.48) 100%),
    linear-gradient(to bottom, rgba(4, 8, 4, 0.58) 0%, transparent 14%, transparent 80%, rgba(4, 8, 4, 0.72) 100%);
}

.cv-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + clamp(24px, 4vw, 48px)) var(--pad-x) clamp(30px, 4.5vw, 52px);
  min-height: 100dvh;
  box-sizing: border-box;
}

.cv-left {
  display: flex;
  flex-direction: column;
  padding-right: clamp(36px, 5.5vw, 76px);
  border-right: 1px solid rgba(184, 150, 62, 0.18);
}

.cv-left .page-eyebrow {
  margin-bottom: clamp(12px, 1.6vw, 20px);
}

.cv-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(72px, 11.5vw, 165px);
  font-weight: 500;
  color: #EDE8E0;
  line-height: 0.88;
  letter-spacing: -0.015em;
  margin-bottom: clamp(14px, 2vw, 26px);
}

.cv-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  font-style: italic;
  color: rgba(228, 221, 208, 0.88);
  line-height: 1.60;
}

.cv-right {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  padding-left: clamp(36px, 5.5vw, 76px);
}

.cv-info {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.cv-block {
  padding: clamp(10px, 1.3vw, 16px) 0;
  border-bottom: 1px solid rgba(184, 150, 62, 0.12);
}

.cv-block:first-child {
  border-top: 1px solid rgba(184, 150, 62, 0.12);
}

.cv-label {
  display: block;
  font-family: var(--font-display);
  font-size: 8.5px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 7px;
}

.cv-value {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(17px, 1.75vw, 21px);
  font-weight: 400;
  color: #EDE8E0;
  line-height: 1.45;
}

.cv-value a {
  color: #EDE8E0;
  transition: color 280ms var(--ease);
}

.cv-value a:hover { color: var(--gold-light); }

.cv-note {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--text-mid);
  font-style: italic;
  margin-top: 4px;
  line-height: 1.55;
}

.contact-viewport .whatsapp-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  border: 1px solid rgba(184, 150, 62, 0.60);
  background: rgba(184, 150, 62, 0.09);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  margin-top: 0;
  transition: border-color 320ms var(--ease), background 320ms var(--ease), color 320ms var(--ease);
}

.contact-viewport .whatsapp-cta:hover {
  border-color: rgba(184, 150, 62, 0.82);
  background: rgba(184, 150, 62, 0.16);
  color: #D4B278;
}

.contact-viewport .whatsapp-cta svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

.contact-viewport .whatsapp-cta:hover svg { opacity: 1; }

@media (max-width: 860px) {
  .cv-inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: calc(var(--nav-h) + clamp(22px, 5vw, 40px));
    gap: clamp(28px, 5vw, 44px);
  }

  .cv-left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(184, 150, 62, 0.18);
    padding-bottom: clamp(22px, 4vw, 34px);
  }

  .cv-right { padding-left: 0; }

  .cv-title { font-size: clamp(56px, 14vw, 90px); }

  .cv-subtitle { font-size: clamp(16px, 4vw, 20px); }

  .contact-viewport .whatsapp-cta { width: 100%; }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
