/* ============================================================
   GSN Advocacia & Consultoria
   Paleta e identidade baseadas na logo (grafite + off-white)
   ============================================================ */

:root {
  /* Cores */
  --graphite-900: #2c2c2e;
  --graphite-800: #3b3b3d;   /* cor principal da logo */
  --graphite-700: #4a4a4d;
  --graphite-500: #6d6d70;
  --graphite-300: #b8b6b1;

  --cream:        #f7f5f1;   /* fundo off-white */
  --cream-2:      #efece5;
  --paper:        #ffffff;
  --ink:          #2b2b2c;
  --muted:        #6b6b6d;

  --gold:         #a98d5c;   /* acento discreto */
  --gold-soft:    #c7ad81;

  --wa:           #25d366;
  --wa-dark:      #1da851;

  --line:         rgba(59,59,61,.14);

  /* Tipografia — Cinzel nos títulos, Cormorant Garamond no corpo
     (artigos usam Times New Roman) */
  --f-display: 'Cinzel', Georgia, serif;                    /* logo e títulos */
  --f-serif:   'Cinzel', Georgia, serif;                    /* títulos de seção */
  --f-sans:    'Cormorant Garamond', Georgia, serif;        /* corpo, menu, botões */
  --f-article: 'Times New Roman', Times, serif;

  --maxw: 1180px;
  --radius: 4px;
  --shadow: 0 18px 45px -25px rgba(44,44,46,.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 1.1rem;      /* Cormorant Garamond roda pequeno; sobe um pouco */
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--f-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow.light { color: var(--gold-soft); }

.section-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: .01em;
  color: var(--graphite-900);
  margin: 0 0 20px;
}
.section-title.light { color: #fff; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .03em;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(37,211,102,.9); }
.btn-wa:hover { background: var(--wa-dark); }

.btn-ghost { background: transparent; border-color: var(--graphite-300); color: var(--graphite-800); }
.btn-ghost:hover { border-color: var(--graphite-800); background: var(--graphite-800); color: #fff; }

.btn-lg  { padding: 16px 32px; font-size: .95rem; }
.btn-xl  { padding: 19px 42px; font-size: 1.05rem; }

.ico-wa { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,245,241,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 82px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark svg { width: 58px; height: 40px; }
.mono-text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -2px;
  fill: var(--graphite-800);
}
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .06em;
  color: var(--graphite-800);
}
.brand-sub {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--graphite-700);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav > a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav > a:not(.btn):hover { color: var(--graphite-900); }
.nav > a:not(.btn):hover::after { width: 100%; }
.nav-cta { color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--graphite-800);
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #343436 0%, #2c2c2e 60%, #242426 100%);
  color: #ece9e3;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(169,141,92,.16), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,.05), transparent 40%);
  pointer-events: none;
}
.hero-bg::after {
  content: 'GSN';
  position: absolute;
  right: -3%;
  bottom: -12%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(14rem, 34vw, 34rem);
  color: rgba(255,255,255,.03);
  letter-spacing: -.05em;
  line-height: 1;
  user-select: none;
}
.hero-inner {
  position: relative;
  padding: clamp(72px, 12vw, 130px) 24px clamp(60px, 9vw, 104px);
  max-width: 920px;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0 0 26px;
  color: #fff;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 400;
  max-width: 640px;
  color: #d6d2cb;
  margin: 0 0 38px;
}
.hero-lead strong { color: #fff; font-weight: 500; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.35); color: #ece9e3; }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--graphite-900); border-color: #fff; }

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-pillars li {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #e8e4dd;
  position: relative;
  padding-left: 22px;
}
.hero-pillars li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--cream-2); }

.section-head { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 68px); text-align: center; }
.section-head.left { margin-left: 0; margin-right: auto; text-align: left; }
.section-intro { font-size: 1.08rem; color: var(--muted); font-weight: 400; margin: 0; }

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar { display: flex; flex-direction: column; }
.pillar > p { flex: 1 0 auto; }

/* ---------- Avatar (foto ou iniciais) ---------- */
.avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, #3d3d40, #2b2b2d);
  border: 1px solid rgba(199,173,129,.45);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.avatar::after {
  content: attr(data-initials);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--gold-soft);
}
.avatar img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.avatar-sm { width: 44px; height: 44px; }
.avatar-sm::after { font-size: .9rem; }

/* ---------- Assinatura do advogado (pilar) ---------- */
.lawyer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.lawyer-info { display: flex; flex-direction: column; line-height: 1.25; }
.lawyer-info strong {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: .92rem;
  color: var(--graphite-900);
}
.lawyer-info span { font-size: .76rem; letter-spacing: .05em; color: var(--gold); }

/* ---------- Byline nas seções de detalhe ---------- */
.byline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 22px 0 0;
}
.byline-info { display: flex; flex-direction: column; line-height: 1.25; }
.byline-info strong {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--graphite-900);
}
.byline-info span { font-size: .8rem; letter-spacing: .05em; color: var(--gold); }
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-ico {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  margin-bottom: 22px;
}
.pillar-ico svg { width: 28px; height: 28px; fill: var(--graphite-800); }
.pillar h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 0 0 12px;
  color: var(--graphite-900);
}
.pillar p { margin: 0 0 14px; color: var(--muted); font-size: .98rem; }
.pillar-oab {
  font-size: .8rem !important;
  letter-spacing: .04em;
  color: var(--graphite-700) !important;
  font-weight: 400;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.link-more {
  font-weight: 500;
  font-size: .88rem;
  color: var(--gold);
  letter-spacing: .03em;
  transition: gap .2s ease, color .2s ease;
}
.link-more:hover { color: var(--graphite-900); }

/* ---------- Cards (Família / Trânsito) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 12px;
  color: var(--graphite-900);
}
.card p { margin: 0; color: var(--muted); }

.section-alt .card { background: var(--paper); }

/* ---------- Grid numerado (Criminal) ---------- */
.num-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.num-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.num-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--cream-2);
  -webkit-text-stroke: 1px var(--gold-soft);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
}
.num-card h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.32rem;
  margin: 0 0 10px;
  color: var(--graphite-900);
}
.num-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.detail-cta { margin-top: 44px; text-align: center; }
.section-head.left + .cards + .detail-cta,
.section-head.left ~ .detail-cta { text-align: left; }

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.quem-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.quem-media {
  background: linear-gradient(155deg, #37373a 0%, #2b2b2d 100%);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.quem-media::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(199,173,129,.35);
  border-radius: 2px;
  pointer-events: none;
}
.quem-mono { text-align: center; }
.quem-mono svg { width: 210px; height: 135px; }
.mono-text-lg {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 86px;
  letter-spacing: -4px;
  fill: #efece5;
}
.quem-mono-sub {
  display: block;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: .7rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 6px;
}

.quem-text p { color: var(--muted); margin: 0 0 18px; font-size: 1.03rem; }
.quem-text p strong { color: var(--graphite-900); font-weight: 500; }

.quem-values {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.quem-values li {
  padding-left: 22px;
  position: relative;
}
.quem-values li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  transform: rotate(45deg);
  background: var(--gold);
}
.quem-values strong {
  display: block;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--graphite-900);
}
.quem-values span { color: var(--muted); font-size: .95rem; }

.quem-oabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.quem-oabs span {
  font-size: .78rem;
  letter-spacing: .06em;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 40px;
  color: var(--graphite-700);
  background: var(--paper);
}

/* ============================================================
   CONTATO / WHATSAPP
   ============================================================ */
.contato {
  background:
    radial-gradient(circle at 20% 0%, rgba(169,141,92,.22), transparent 45%),
    linear-gradient(160deg, #343436 0%, #262628 100%);
  color: #ece9e3;
  text-align: center;
}
.contato-inner { max-width: 760px; margin: 0 auto; }
.contato-lead {
  font-size: 1.12rem;
  font-weight: 400;
  color: #d5d1ca;
  max-width: 600px;
  margin: 0 auto 40px;
}
.contato .btn-xl { box-shadow: 0 16px 40px -14px rgba(37,211,102,.85); }
.contato-note {
  margin-top: 22px;
  font-size: .9rem;
  letter-spacing: .04em;
  color: #b7b3ac;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--graphite-900);
  color: #c9c6c0;
  padding: 62px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-mono {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -2px;
  color: #fff;
}
.footer-name { font-family: var(--f-display); font-size: .9rem; letter-spacing: .04em; color: #eceae5; margin: 0; line-height: 1.4; }
.footer-name span {
  font-family: var(--f-sans);
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: .9rem; color: #c9c6c0; transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-oab p { margin: 0 0 8px; font-size: .86rem; color: #b6b3ad; }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-bottom p { margin: 0; font-size: .78rem; color: #8f8c87; }
.footer-disc { max-width: 720px; line-height: 1.6; }

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.8);
  transition: transform .25s ease, background .25s ease;
  animation: waPulse 2.8s infinite;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waPulse {
  0%   { box-shadow: 0 12px 30px -8px rgba(37,211,102,.8), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 12px 30px -8px rgba(37,211,102,.8), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.8), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================================
   BOTÕES EXTRAS (carrossel)
   ============================================================ */
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -12px rgba(169,141,92,.9); }
.btn-gold:hover { background: #96794b; }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #f2efe9; }
.btn-ghost-light:hover { background: #fff; color: var(--graphite-900); border-color: #fff; }

/* ============================================================
   CARROSSEL DE BANNERS
   ============================================================ */
.banners {
  position: relative;
  overflow: hidden;
  background: #232325;
}
.banner-track { position: relative; }
.banner {
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #2f2f31 0%, #262628 55%, #201f21 100%);
}
.banner[data-slide="0"] { background: linear-gradient(120deg, #33302a 0%, #2a2723 50%, #211f1b 100%); }
.banner[data-slide="2"] { background: linear-gradient(120deg, #2b2f33 0%, #26292c 55%, #1f2123 100%); }

/* fade entre slides */
.banner-track { display: grid; }
.banner-track > .banner { grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.banner-track > .banner.is-active { opacity: 1; pointer-events: auto; position: relative; }
.banner[hidden] { display: flex; }   /* mantém no fluxo do grid para o fade */

.banner-inner { width: 100%; }
.banner-copy { max-width: 680px; color: #ece9e3; padding: 40px 0; }
.banner-eyebrow {
  font-family: var(--f-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .7rem;
  color: var(--gold-soft);
  margin: 0 0 16px;
}
.banner-title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  text-wrap: balance;
}
.banner-text {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: #d3cfc8;
  margin: 0 0 28px;
  max-width: 600px;
}
.banner-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* setas */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(20,20,22,.35);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
  backdrop-filter: blur(4px);
}
.banner-nav:hover { background: var(--gold); border-color: var(--gold); }
.banner-nav.prev { left: 18px; }
.banner-nav.next { right: 18px; }

/* dots */
.banner-dots {
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.banner-dots .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.banner-dots .dot.is-active { background: var(--gold-soft); border-color: var(--gold-soft); transform: scale(1.15); }

/* ============================================================
   ARTIGOS
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Artigos usam Times New Roman (redefine as variáveis no escopo) */
.art-card,
.modal {
  --f-display: var(--f-article);
  --f-serif:   var(--f-article);
  --f-sans:    var(--f-article);
  font-family: var(--f-article);
}
.art-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.art-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.art-tag {
  align-self: flex-start;
  font-family: var(--f-sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 40px;
  margin-bottom: 16px;
}
.art-card h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--graphite-900);
  margin: 0 0 12px;
}
.art-card > p { color: var(--muted); margin: 0 0 18px; flex: 1 0 auto; }
.art-meta { font-size: .8rem; color: var(--graphite-500); letter-spacing: .01em; }
.art-author { color: var(--graphite-700); font-weight: 500; }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,20,22,.62);
  backdrop-filter: blur(3px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55);
  padding: clamp(28px, 5vw, 52px);
  animation: modalIn .3s cubic-bezier(.22,.61,.36,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 40px; height: 40px;
  border: none;
  background: var(--cream);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--graphite-700);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: var(--graphite-900); color: #fff; }

.modal-body .art-tag { margin-bottom: 18px; }
.modal-title {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  color: var(--graphite-900);
  margin: 0 0 18px;
  text-wrap: balance;
}
.modal-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .86rem;
  color: var(--muted);
  padding-bottom: 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.modal-byline strong { color: var(--graphite-900); }

.prose p { color: #40403f; margin: 0 0 18px; font-size: 1.04rem; line-height: 1.75; }
.prose h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--graphite-900);
  margin: 28px 0 10px;
}
.prose strong { color: var(--graphite-900); font-weight: 600; }
.prose-note {
  font-size: .92rem !important;
  color: var(--graphite-500) !important;
  border-left: 3px solid var(--gold-soft);
  padding: 6px 0 6px 16px;
  margin-top: 26px !important;
  font-style: italic;
}
.modal-cta { margin-top: 30px; }

body.modal-lock { overflow: hidden; }

/* ============================================================
   TEXTOS JUSTIFICADOS
   ============================================================ */
.hero-lead,
.section-intro,
.pillar > p,
.card p,
.num-card p,
.quem-text p,
.contato-lead,
.banner-text,
.art-card > p,
.prose p {
  text-align: justify;
  text-justify: inter-word;
}
/* hifenização suave nos textos mais longos, para evitar "buracos" */
.quem-text p,
.prose p {
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .quem-grid { grid-template-columns: 1fr; }
  .quem-media { aspect-ratio: 16 / 9; max-height: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 82px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 26px;
    transform: translateY(-140%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav > a { width: 100%; padding: 12px 0; font-size: 1rem; }
  .nav-cta { justify-content: center; margin-top: 8px; }
  .nav-toggle { display: flex; }

  .cards { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .banner { min-height: 360px; }
  .banner-nav { display: none; }
  .brand-name { font-size: .8rem; }
  .brand-sub { font-size: .55rem; letter-spacing: .28em; }
  .brand-mark svg { width: 48px; height: 34px; }
  .mono-text { font-size: 36px; }
}

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

@media (max-width: 520px) {
  .num-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .container { padding: 0 18px; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Acessibilidade — reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
