/* ============================================================
   One Tower — Balneário Camboriú
   Caderno Editorial MM / 007 — Manica Marin Imóveis (CRECI 7813J)
   Direção Visual Autoral: Verticalidade Monumental & Enclave Atlântico
   ============================================================ */

:root {
  --paper: #F8F9FA;
  --paper-warm: #F0F3F6;
  --paper-card: #FFFFFF;
  --blue-atlantic: #0B2238;
  --blue-dark: #061422;
  --blue-deep: #030B12;
  --blue-soft: #1E3A5F;
  --gold-champagne: #C5A880;
  --gold-light: #DFCAAB;
  --gold-deep: #A9875C;
  --ink: #111827;
  --ink-soft: #374151;
  --ink-muted: #6B7280;
  --line-light: rgba(11, 34, 56, 0.08);
  --line-strong: rgba(11, 34, 56, 0.18);
  --line-on-dark: rgba(248, 249, 250, 0.14);

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1360px;
  --maxw-narrow: 1040px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 16px 40px -12px rgba(11, 34, 56, 0.08);
  --shadow-deep: 0 24px 60px -16px rgba(6, 20, 34, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--paper);
}

body {
  font-family: var(--sans);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

main img:not([data-no-zoom]) {
  cursor: zoom-in;
}

main img:not([data-no-zoom]):focus-visible {
  outline: 3px solid var(--gold-champagne);
  outline-offset: 4px;
}

/* ------------------------------------------------------------
   Lightbox Nativo (<dialog>)
   ------------------------------------------------------------ */
.image-lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  max-height: 94vh;
  padding: clamp(14px, 2vw, 28px);
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 90px rgba(6, 20, 34, 0.38);
}

.image-lightbox::backdrop {
  background: rgba(6, 20, 34, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-lightbox-frame {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.image-lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 100px);
  object-fit: contain;
  cursor: auto;
}

.image-lightbox-caption {
  max-width: 900px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.image-lightbox-close {
  position: sticky;
  top: 0;
  justify-self: end;
  z-index: 1;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.image-lightbox-close:hover {
  background: var(--paper-card);
  border-color: var(--gold-champagne);
  color: var(--blue-atlantic);
}

.image-lightbox-close span {
  margin-left: 6px;
  font-size: 1.1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ------------------------------------------------------------
   Tipografia Editorial
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-atlantic);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--gold-champagne);
}

.on-dark .eyebrow,
.on-dark-deep .eyebrow {
  color: var(--gold-champagne);
}

.on-dark .eyebrow::before,
.on-dark-deep .eyebrow::before {
  background-color: var(--gold-champagne);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: inherit;
}

.display-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.display-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-champagne);
}

.on-dark .display-title em,
.on-dark-deep .display-title em {
  color: var(--gold-champagne);
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-champagne);
}

.on-dark .section-title em,
.on-dark-deep .section-title em {
  color: var(--gold-champagne);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 1.5rem;
}

.on-dark .lead,
.on-dark-deep .lead {
  color: #FFFFFF !important;
  opacity: 1;
}

.body-text {
  font-size: 1.025rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 64ch;
  margin-bottom: 1.25rem;
}

.on-dark .body-text,
.on-dark-deep .body-text {
  color: #E2E8F0 !important;
}

.on-dark .body-text strong,
.on-dark-deep .body-text strong {
  color: #FFFFFF !important;
  font-weight: 600;
}

.chapter-index {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

.chapter-index i {
  display: inline-block;
  width: 14px;
  height: 1px;
  background-color: var(--gold-champagne);
}

.on-dark .chapter-index,
.on-dark-deep .chapter-index {
  color: var(--gold-light);
}

.on-dark .chapter-index i,
.on-dark-deep .chapter-index i {
  background-color: var(--gold-light);
}

/* ------------------------------------------------------------
   Layout & Cores
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.wrap-narrow {
  max-width: var(--maxw-narrow);
}

.section-pad {
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}

.section-pad-sm {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.on-dark {
  background-color: var(--blue-dark);
  color: var(--paper);
}

.on-dark-deep {
  background-color: var(--blue-deep);
  color: var(--paper);
}

.on-warm {
  background-color: var(--paper-warm);
}

/* ------------------------------------------------------------
   Skip Link & Header
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--blue-atlantic);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(248, 249, 250, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  z-index: 50;
  transition: background-color 0.3s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-header .brand img {
  height: 38px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.header-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.header-nav a:hover {
  color: var(--blue-atlantic);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.language-switch a {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.language-switch a[aria-current="page"] {
  background: var(--blue-atlantic);
  border-color: var(--blue-atlantic);
  color: #fff;
}

.header-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--blue-atlantic);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  background: var(--blue-atlantic);
  color: #fff !important;
  border-radius: 30px;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   Barra de Navegação Sticky (.chapter-nav)
   ------------------------------------------------------------ */
.chapter-nav {
  position: sticky;
  top: 76px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line-light);
  z-index: 40;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-champagne) transparent;
  mask-image: linear-gradient(to right, transparent 0%, black 24px, black calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 24px, black calc(100% - 24px), transparent 100%);
}

.chapter-nav::-webkit-scrollbar {
  height: 3px;
}

.chapter-nav::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
}

.chapter-nav::-webkit-scrollbar-thumb {
  background: var(--gold-champagne);
  border-radius: 2px;
}

.chapter-nav .chapter-nav-wrap {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
  height: 48px;
  padding-left: 24px;
  padding-right: 24px;
}

.chapter-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 12px 0;
  position: relative;
  flex-shrink: 0;
}

.chapter-link:hover,
.chapter-link.is-active {
  color: var(--blue-atlantic);
}

.chapter-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold-champagne);
}

/* ------------------------------------------------------------
   Frontispício / Hero
   ------------------------------------------------------------ */
.hero-onetower {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(32px, 5vh, 64px);
  padding-bottom: clamp(32px, 5vh, 48px);
  background-color: var(--paper);
  border-bottom: 1px solid var(--line-light);
}

.hero-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 1rem;
}

.hero-meta-top span i {
  font-style: normal;
  color: var(--gold-champagne);
  margin: 0 4px;
}

.hero-main-content {
  margin-top: clamp(24px, 4vh, 48px);
  margin-bottom: clamp(32px, 5vh, 56px);
}

.hero-monogram {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.hero-title-group {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 64ch;
}

.hero-subtitle strong {
  font-weight: 600;
  color: var(--blue-atlantic);
}

.hero-media-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background-color: var(--blue-dark);
}

.hero-media-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-media-wrapper:hover img {
  transform: scale(1.015);
}

.hero-media-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--paper-warm);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
  border-top: 1px solid var(--line-light);
}

.hero-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-light);
  padding-top: 1rem;
}

.hero-meta-bottom b {
  color: var(--blue-atlantic);
}

/* ------------------------------------------------------------
   Fita Factual / Métricas Catalográficas
   ------------------------------------------------------------ */
.fact-strip {
  background-color: var(--paper-warm);
  border-bottom: 1px solid var(--line-light);
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.fact-item {
  border-left: 2px solid var(--gold-champagne);
  padding-left: 16px;
}

.fact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.fact-value {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--blue-atlantic);
  margin-bottom: 4px;
}

.fact-sub {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   Blocos de Citação & Ensaio
   ------------------------------------------------------------ */
.quote-block {
  margin: clamp(36px, 5vw, 64px) 0;
  padding: clamp(24px, 4vw, 48px);
  background: var(--paper-warm);
  border-left: 4px solid var(--gold-champagne);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.on-dark .quote-block {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--gold-champagne);
}

.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1rem;
}

.on-dark .quote-block blockquote {
  color: var(--paper);
}

.quote-block cite {
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-atlantic);
  display: block;
}

.on-dark .quote-block cite {
  color: var(--gold-champagne);
}

/* ------------------------------------------------------------
   Layouts Narrativos e Módulos Duplos
   ------------------------------------------------------------ */
.split-essay {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .split-essay {
    grid-template-columns: 1fr 1fr;
  }
  .split-essay.reverse > :first-child {
    order: 2;
  }
}

.split-copy {
  display: flex;
  flex-direction: column;
}

.split-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--paper-warm);
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.split-visual:hover img {
  transform: scale(1.02);
}

.visual-caption {
  padding: 10px 16px;
  background: var(--paper-warm);
  font-size: 0.75rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line-light);
}

.on-dark .visual-caption {
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.7);
  border-top-color: var(--line-on-dark);
}

/* ------------------------------------------------------------
   Mural de Imagens / Grid Visual
   ------------------------------------------------------------ */
.mural-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: clamp(24px, 4vw, 48px);
}

@media (min-width: 768px) {
  .mural-grid.duo {
    grid-template-columns: 1fr 1fr;
  }
  .mural-grid.trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mural-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--paper-warm);
  display: flex;
  flex-direction: column;
}

.mural-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.mural-card:hover img {
  transform: scale(1.025);
}

.mural-caption {
  padding: 12px 16px;
  background: var(--paper-card);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-light);
  flex-grow: 1;
}

.on-dark .mural-caption {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  border-top-color: var(--line-on-dark);
}

/* ------------------------------------------------------------
   Matriz de Comodidades e Lazer (Tabs & Grid)
   ------------------------------------------------------------ */
.amenities-tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 16px;
}

.amenity-tab-btn {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--paper-warm);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
}

.amenity-tab-btn:hover {
  background: #fff;
  color: var(--blue-atlantic);
}

.amenity-tab-btn.is-active {
  background: var(--blue-atlantic);
  color: #fff;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.amenity-card-item {
  background: var(--paper-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.amenity-card-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-champagne);
}

.amenity-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.amenity-card-item h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blue-atlantic);
  margin-bottom: 8px;
}

.amenity-card-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.amenity-card-item.is-hidden {
  display: none;
}

/* ------------------------------------------------------------
   Tabela Técnica e Pranchas Comparativas
   ------------------------------------------------------------ */
.tech-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: clamp(24px, 4vw, 40px);
}

.tech-spec-table th,
.tech-spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9rem;
}

.on-dark .tech-spec-table th,
.on-dark .tech-spec-table td,
.on-dark-deep .tech-spec-table th,
.on-dark-deep .tech-spec-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #E2E8F0 !important;
}

.tech-spec-table th {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.on-dark .tech-spec-table th,
.on-dark-deep .tech-spec-table th {
  color: var(--gold-champagne) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  font-weight: 600;
}

.tech-spec-table td:first-child {
  font-weight: 600;
  color: var(--blue-atlantic);
}

.on-dark .tech-spec-table td:first-child,
.on-dark-deep .tech-spec-table td:first-child {
  color: #FFFFFF !important;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Leituras Complementares (Blog MMI)
   ------------------------------------------------------------ */
.related-reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3.5vw, 36px);
  margin-top: clamp(28px, 4vw, 48px);
}

.related-reading-grid.single-article {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 48px);
}

.related-card.featured-dossier {
  max-width: 820px;
  width: 100%;
  border-left: 4px solid var(--gold-champagne);
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper-warm);
}

.related-card.featured-dossier h4 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 12px;
  color: var(--blue-atlantic);
}

.related-card.featured-dossier p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.related-card {
  background: var(--paper-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-champagne);
}

.related-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.related-card h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--blue-atlantic);
}

.related-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.read-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-atlantic);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-link:hover {
  color: var(--gold-deep);
}

/* ------------------------------------------------------------
   Conclusão Editorial & CTA Consultivo
   ------------------------------------------------------------ */
.closing-box {
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.closing-box h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.closing-box h2 em {
  font-style: italic;
  color: var(--gold-champagne);
}

.closing-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 68ch;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--blue-atlantic);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.button-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--paper-card);
  color: var(--blue-atlantic) !important;
  border: 1px solid var(--line-strong);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.button-secondary:hover {
  background: #fff;
  border-color: var(--gold-champagne);
  color: var(--gold-deep) !important;
}

.cta-disclaimer {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 72ch;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Rodapé Claro Institucional (sem fundo preto)
   ------------------------------------------------------------ */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--line-light);
  padding: clamp(48px, 6vw, 80px) 0 36px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-creci {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-atlantic);
  margin-top: 8px;
}

.footer-locations {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 4px;
}

.footer-legal-bar {
  border-top: 1px solid var(--line-light);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}
