/* ============================================================
   José Queiroz — Advocacia & Consultoria Jurídica
   style.css — Estilos principais
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0e0e0d;
  color: #f0ede7;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ── VARIÁVEIS ── */
:root {
  --gold:    #c49a4a;
  --gold2:   #dbb978;
  --dark:    #0e0e0d;
  --dark2:   #161614;
  --dark3:   #1f1f1c;
  --cream:   #f0ede7;
  --cream2:  #d8d4cc;
  --muted:   #7a7770;
  --border:  rgba(196, 154, 74, 0.15);
  --border2: rgba(240, 237, 231, 0.08);
  --serif:   'Cormorant Garamond', serif;
  --sans:    'Inter', sans-serif;
  --sw:      260px; /* sidebar width */
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #161614; }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sw);
  background: var(--dark2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 100;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.sb-brand {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sb-name {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 400;
  color: var(--cream); letter-spacing: .02em;
}
.sb-name em { color: var(--gold); font-style: normal; }
.sb-oab {
  font-size: .6rem; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold); opacity: .65; margin-top: .3rem;
}

.sb-nav { flex: 1; overflow-y: auto; padding: .5rem 0; }
.sb-group {
  font-size: .55rem; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted); padding: .75rem 1.5rem .2rem; opacity: .55;
}
.sb-link {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem 1.5rem;
  font-size: .78rem; color: rgba(240, 237, 231, .42);
  transition: color .2s, background .2s;
  position: relative;
  border: none; background: none;
  width: 100%; text-align: left;
}
.sb-link::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 0;
  background: var(--gold);
  transition: height .25s;
}
.sb-link:hover  { color: var(--cream); background: rgba(196, 154, 74, .06); }
.sb-link.active { color: var(--gold);  background: rgba(196, 154, 74, .08); }
.sb-link.active::before { height: 18px; }
.sb-ico {
  width: 13px; height: 13px;
  opacity: .45; flex-shrink: 0;
  transition: opacity .2s;
}
.sb-link:hover .sb-ico,
.sb-link.active .sb-ico { opacity: 1; }

.sb-foot {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.sb-tel {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; color: rgba(240, 237, 231, .38);
  transition: color .2s;
}
.sb-tel:hover { color: var(--gold); }
.sb-cta {
  display: flex; align-items: center;
  justify-content: center; gap: .4rem;
  padding: .65rem; background: var(--gold);
  color: #0e0e0d;
  font-size: .65rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: 2px;
  transition: background .2s;
}
.sb-cta:hover { background: var(--gold2); }

/* ============================================================
   TOPBAR (mobile)
   ============================================================ */
.topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 54px;
  background: rgba(14, 14, 13, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  align-items: center; justify-content: space-between;
}
.tb-logo { font-family: var(--serif); font-size: 1rem; color: var(--cream); }
.tb-logo em { color: var(--gold); font-style: normal; }
.ham {
  display: flex; flex-direction: column; gap: 4px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.ham span {
  display: block; width: 20px; height: 1.5px;
  background: var(--cream); transition: all .3s;
}

/* Overlay mobile */
.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .55); z-index: 90;
}
.overlay.show { display: block; }

/* ============================================================
   MAIN
   ============================================================ */
.main { margin-left: var(--sw); min-height: 100vh; }

/* ============================================================
   SEÇÕES — BASE
   ============================================================ */
section { padding: 5rem 3rem; }
.sec-label {
  display: flex; align-items: center; gap: .65rem;
  font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.sec-label::before {
  content: ''; width: 22px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300; line-height: 1.15;
  color: var(--cream); margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--gold); }

/* ── BOTÕES ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.4rem; background: var(--gold);
  color: #0e0e0d;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: 2px; transition: background .2s;
}
.btn-primary:hover { background: var(--gold2); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.4rem; background: transparent;
  color: rgba(240, 237, 231, .55);
  font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(240, 237, 231, .14);
  border-radius: 2px; transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
#inicio {
  min-height: 100vh; padding: 0;
  display: grid; grid-template-columns: 55fr 45fr;
}
.hero-left {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem; gap: 1.4rem;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: .65rem;
  font-size: .6rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold); }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.08; color: var(--cream);
}
h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: .85rem; color: var(--cream2);
  line-height: 1.85; max-width: 420px;
  font-weight: 300; opacity: .7;
}
.hero-actions {
  display: flex; gap: .65rem;
  flex-wrap: wrap; align-items: center;
}
.hero-stats {
  display: flex; gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--serif); font-size: 2rem;
  font-weight: 300; color: var(--gold);
  font-style: italic; line-height: 1;
}
.stat-label {
  font-size: .58rem; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted); margin-top: .2rem;
}
.hero-right { position: relative; overflow: hidden; background: var(--dark3); }
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(.82) contrast(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--dark) 0%, transparent 28%),
    linear-gradient(0deg, var(--dark) 0%, transparent 22%);
}
.hero-badge {
  position: absolute; bottom: 0; left: 0;
  background: var(--gold); color: #0e0e0d;
  padding: .85rem 1.2rem;
}
.badge-name {
  font-family: var(--serif); font-size: .9rem;
  font-weight: 400; font-style: italic; line-height: 1;
}
.badge-oab {
  font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; opacity: .7; margin-top: .2rem;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--gold); padding: .7rem 0; overflow: hidden; }
.mq-track {
  display: flex; white-space: nowrap;
  animation: mq 30s linear infinite;
}
.mq-item {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(14, 14, 13, .62);
  padding: 0 1.4rem; flex-shrink: 0; font-weight: 500;
}
.mq-dot {
  width: 3px; height: 3px;
  border-radius: 50%; background: #0e0e0d; opacity: .35;
}
@keyframes mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
#servicos { background: var(--dark3); }
.sec-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1.5rem;
}
.sec-desc {
  font-size: .78rem; color: var(--muted);
  max-width: 220px; text-align: right;
  line-height: 1.7; font-weight: 300;
}
.svcs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}
.svc {
  padding: 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.svc:nth-child(3n)     { border-right: none; }
.svc:nth-last-child(-n+3) { border-bottom: none; }
.svc::after {
  content: ''; position: absolute;
  left: 0; bottom: 0; right: 0; height: 0;
  background: var(--gold);
  transition: height .38s cubic-bezier(.4, 0, .2, 1); z-index: 0;
}
.svc:hover::after { height: 100%; }
.svc > * { position: relative; z-index: 1; transition: color .32s; }
.svc:hover .svc-n { color: rgba(14, 14, 13, .45); }
.svc:hover .svc-t,
.svc:hover .svc-d  { color: #0e0e0d; }
.svc-n {
  font-family: var(--serif); font-size: .72rem;
  color: var(--gold); font-style: italic;
  margin-bottom: .4rem; display: block;
}
.svc-t {
  font-family: var(--serif); font-size: 1rem;
  color: var(--cream); margin-bottom: .35rem;
  line-height: 1.3; display: block;
}
.svc-d { font-size: .72rem; color: var(--muted); line-height: 1.75; font-weight: 300; }

/* ============================================================
   SOBRE
   ============================================================ */
#sobre {
  padding: 0;
  display: grid; grid-template-columns: 40% 60%;
  background: var(--dark);
}
.sobre-img {
  position: relative; overflow: hidden;
  min-height: 560px; background: var(--dark3);
}
.sobre-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(.82) contrast(1.05);
}
.sobre-badge {
  position: absolute; bottom: 0; right: 0;
  background: var(--gold); color: #0e0e0d;
  padding: .85rem 1.2rem;
}
.sobre-badge-t { font-family: var(--serif); font-size: .88rem; font-weight: 400; line-height: 1; }
.sobre-badge-s { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: .2rem; }
.sobre-content { padding: 4rem 3rem; overflow-y: auto; }
.sobre-p { font-size: .82rem; color: rgba(240, 237, 231, .52); line-height: 1.9; font-weight: 300; margin-bottom: .9rem; }
.hls { display: flex; flex-direction: column; gap: .45rem; margin: 1.1rem 0; }
.hl { display: flex; align-items: flex-start; gap: .6rem; font-size: .78rem; color: rgba(240, 237, 231, .52); font-weight: 300; }
.hl-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: .55rem; }
.formacao { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.formacao-h { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.formacao-list { display: flex; flex-direction: column; gap: .5rem; }
.fi { display: flex; align-items: baseline; gap: .65rem; }
.fi-tipo { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(196, 154, 74, .52); flex-shrink: 0; min-width: 78px; }
.fi-nome { font-size: .76rem; color: rgba(240, 237, 231, .48); font-weight: 300; line-height: 1.4; }
.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.ss-num { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--gold); font-style: italic; line-height: 1; }
.ss-label { font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
#depoimentos { background: var(--dark2); }
.deps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.dep { background: var(--dark3); border: 1px solid var(--border); padding: 1.6rem; transition: border-color .2s; }
.dep:hover { border-color: rgba(196, 154, 74, .32); }
.dep-qm { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: .5; margin-bottom: .9rem; opacity: .22; }
.dep-stars { font-size: .62rem; color: var(--gold); letter-spacing: 3px; margin-bottom: .6rem; }
.dep-text { font-family: var(--serif); font-size: .88rem; font-style: italic; color: rgba(240, 237, 231, .58); line-height: 1.8; margin-bottom: 1.2rem; }
.dep-author { display: flex; align-items: center; gap: .65rem; }
.dep-av { width: 32px; height: 32px; border-radius: 50%; background: rgba(196, 154, 74, .1); border: 1px solid rgba(196, 154, 74, .22); display: flex; align-items: center; justify-content: center; font-size: .65rem; color: var(--gold); font-family: var(--serif); flex-shrink: 0; }
.dep-name { font-size: .78rem; font-weight: 500; color: var(--cream); }
.dep-role { font-size: .62rem; color: var(--muted); margin-top: .1rem; }

/* ============================================================
   BLOG
   ============================================================ */
#blog { background: var(--dark); }
.articles { margin-top: 2rem; border: 1px solid var(--border); display: flex; flex-direction: column; }
.art { background: var(--dark2); border-bottom: 1px solid var(--border); }
.art:last-child { border-bottom: none; }
.art-header { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: start; padding: 1.6rem; cursor: pointer; }
.art-tag { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .45rem; }
.art-title { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); line-height: 1.3; margin-bottom: .35rem; }
.art-meta { font-size: .68rem; color: var(--muted); }
.art-meta strong { color: var(--gold); font-weight: 400; }
.art-excerpt { font-size: .78rem; color: rgba(240, 237, 231, .42); line-height: 1.75; font-weight: 300; margin-top: .45rem; max-width: 580px; }
.art-sym { font-family: var(--serif); font-size: 3.5rem; color: var(--gold); opacity: .07; font-style: italic; flex-shrink: 0; line-height: 1; user-select: none; }
.art-body { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4, 0, .2, 1); }
.art-body.open { max-height: 1500px; }
.art-content { padding: 0 1.6rem 1.6rem; }
.art-content p { font-size: .8rem; color: rgba(240, 237, 231, .52); line-height: 1.9; font-weight: 300; margin-bottom: .9rem; }
.art-content p strong { color: rgba(240, 237, 231, .78); font-weight: 400; }
.art-conclusion { border-left: 2px solid var(--gold); padding: .85rem 1.1rem; margin-top: 1.1rem; background: rgba(196, 154, 74, .04); }
.art-conclusion-label { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.art-footer { display: flex; align-items: center; padding: .8rem 1.6rem; border-top: 1px solid var(--border); }
.art-btn { display: inline-flex; align-items: center; gap: .35rem; font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: none; border: none; cursor: pointer; padding: 0; transition: color .2s; }
.art-btn:hover { color: var(--gold2); }
.art-btn svg { transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.art-btn.open svg { transform: rotate(180deg); }

/* ============================================================
   AGENDA
   ============================================================ */
#agenda { background: var(--dark3); }
.agenda-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 3rem; align-items: start; }
.agenda-sub { font-size: .8rem; color: rgba(240, 237, 231, .48); line-height: 1.85; font-weight: 300; margin-bottom: 1.1rem; }
.aviso { background: rgba(196, 154, 74, .05); border: 1px solid rgba(196, 154, 74, .18); border-left: 3px solid var(--gold); padding: .95rem 1.1rem; margin-bottom: 1.4rem; border-radius: 2px; }
.aviso-t { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; font-weight: 500; }
.aviso-p { font-size: .7rem; color: rgba(240, 237, 231, .48); line-height: 1.75; font-weight: 300; }
.agenda-types { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.4rem; }
.at { display: flex; align-items: center; gap: .7rem; padding: .8rem .95rem; border: 1px solid var(--border); font-size: .72rem; color: rgba(240, 237, 231, .42); font-weight: 300; border-radius: 2px; transition: border-color .2s; }
.at:hover { border-color: rgba(196, 154, 74, .3); }
.at-icon { width: 26px; height: 26px; background: rgba(196, 154, 74, .1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 2px; }
.at-name { font-weight: 500; color: var(--cream); display: block; margin-bottom: .08rem; font-size: .76rem; }
.cal-box { border: 1px solid var(--border); background: rgba(240, 237, 231, .015); overflow: hidden; border-radius: 2px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.2rem; border-bottom: 1px solid var(--border); }
.cal-title { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cal-status { display: flex; align-items: center; gap: .3rem; font-size: .62rem; color: #4ade80; }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ade80; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.cal-widget { min-width: 280px; height: 700px; }
.cal-fallback { display: none; flex-direction: column; align-items: center; gap: .9rem; padding: 2.5rem 1.5rem; text-align: center; }
.cal-fallback.show { display: flex; }
.cal-fallback p { font-size: .78rem; color: var(--muted); line-height: 1.7; }
.cal-fallback a { color: var(--gold); }
.cal-steps-list { display: flex; flex-direction: column; gap: .4rem; width: 100%; max-width: 360px; text-align: left; }
.cstep { display: flex; align-items: flex-start; gap: .6rem; padding: .65rem .95rem; border: 1px solid var(--border); font-size: .7rem; color: rgba(240, 237, 231, .38); font-weight: 300; border-radius: 2px; }
.cstep-n { font-family: var(--serif); font-size: .88rem; color: var(--gold); font-style: italic; flex-shrink: 0; min-width: 12px; }

.prep-steps { display: flex; flex-direction: column; gap: .4rem; margin: 1.6rem 0 1.4rem; }
.prep-label { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(240,237,231,.38); margin-bottom: .35rem; }

/* ============================================================
   CONTATO
   ============================================================ */
#contato { background: var(--dark2); }
.contato-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 3rem; align-items: start; margin-top: 2rem; }
.ci-list { display: flex; flex-direction: column; gap: 1.4rem; }
.ci-label { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .28rem; }
.ci-val { font-size: .8rem; color: rgba(240, 237, 231, .58); line-height: 1.6; font-weight: 300; }
.ci-val a { color: rgba(240, 237, 231, .58); transition: color .2s; }
.ci-val a:hover { color: var(--gold); }
.ci-val strong { color: var(--cream); font-weight: 500; }
.soc-row { display: flex; gap: .45rem; margin-top: 1.4rem; }
.soc-btn { width: 34px; height: 34px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .62rem; color: var(--muted); border-radius: 2px; transition: border-color .2s, color .2s; }
.soc-btn:hover { border-color: var(--gold); color: var(--gold); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.fg { display: flex; flex-direction: column; gap: .3rem; }
.fg.s2 { grid-column: 1 / -1; }
.fl { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fi-input, .fi-sel, .fi-ta {
  font-family: var(--sans); font-size: .8rem; font-weight: 300;
  padding: .7rem .95rem;
  background: rgba(240, 237, 231, .03);
  border: 1px solid rgba(240, 237, 231, .08);
  color: var(--cream); outline: none;
  border-radius: 2px; transition: border-color .2s;
  width: 100%; appearance: none;
}
.fi-input:focus, .fi-sel:focus, .fi-ta:focus { border-color: rgba(196, 154, 74, .45); }
.fi-input::placeholder, .fi-ta::placeholder { color: rgba(240, 237, 231, .18); }
.fi-sel option { background: var(--dark2); }
.fi-ta { resize: none; height: 110px; }
.f-actions { display: flex; gap: .65rem; flex-wrap: wrap; grid-column: 1 / -1; margin-top: .2rem; }
#fb { grid-column: 1 / -1; padding: .65rem .95rem; font-size: .76rem; border-radius: 2px; margin-top: .2rem; }
#fb.ok  { background: rgba(74, 222, 128, .07); border: 1px solid rgba(74, 222, 128, .22); color: rgba(74, 222, 128, .88); }
#fb.err { background: rgba(239, 68, 68, .07);  border: 1px solid rgba(239, 68, 68, .22);  color: rgba(239, 68, 68, .82);  }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark); padding: 1.8rem 3rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: .9rem;
}
.ft-logo { font-family: var(--serif); font-size: .95rem; color: var(--cream); font-weight: 300; }
.ft-logo em { color: var(--gold); font-style: normal; }
.ft-copy { font-size: .62rem; color: var(--muted); }
.ft-oab  { font-size: .62rem; color: var(--gold); opacity: .52; letter-spacing: .1em; }
.ft-social { display: flex; gap: .5rem; align-items: center; }
.ft-social a { color: var(--muted); transition: color .2s; display: flex; }
.ft-social a:hover { color: var(--gold); }

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero — anima automaticamente */
#inicio .hero-eyebrow { animation: fadeUp .6s ease .15s both; }
#inicio h1            { animation: fadeUp .65s ease .3s both; }
#inicio .hero-sub     { animation: fadeUp .6s ease .45s both; }
#inicio .hero-actions { animation: fadeUp .6s ease .6s both; }
#inicio .hero-stats   { animation: fadeUp .6s ease .75s both; }
#inicio .hero-photo   { animation: fadeUp .9s ease .1s both; }

/* Outras seções — ativado via IntersectionObserver */
.anim { opacity: 0; transform: translateY(14px); }
.anim.in { animation: fadeUp .6s ease forwards; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .28s; }
.d4 { animation-delay: .40s; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
  .svcs { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(3n)        { border-right: 1px solid var(--border); }
  .svc:nth-child(2n)        { border-right: none; }
  .svc:nth-last-child(-n+2) { border-bottom: none; }
  .svc:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .agenda-wrap   { grid-template-columns: 1fr; }
  .contato-wrap  { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --sw: 0px; }
  .sidebar  { transform: translateX(-260px); width: 260px; }
  .sidebar.open { transform: translateX(0); }
  .topbar   { display: flex; }
  .main     { margin-left: 0; padding-top: 54px; }
  section   { scroll-margin-top: 54px; }
  #inicio   { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left  { padding: 3rem 1.5rem; }
  #sobre    { grid-template-columns: 1fr; }
  .sobre-img { display: none; }
  .sobre-content { padding: 3rem 1.5rem; }
  section   { padding: 3.5rem 1.5rem; }
  .svcs     { grid-template-columns: 1fr; }
  .svc      { border-right: none !important; }
  .svc:nth-last-child(n)  { border-bottom: 1px solid var(--border) !important; }
  .svc:last-child { border-bottom: none !important; }
  .sec-header { flex-direction: column; align-items: flex-start; }
  .sec-desc   { text-align: left; max-width: 100%; }
  footer      { flex-direction: column; align-items: flex-start; }
  .fgrid      { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats   { flex-wrap: wrap; gap: .9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .sobre-stats  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  h1            { font-size: clamp(1.6rem, 8.5vw, 2rem); }
  .hero-left    { padding: 2.5rem 1rem; }
  .hero-eyebrow { font-size: .52rem; }
  .hero-sub     { font-size: .8rem; }
  .btn-secondary { font-size: .72rem; padding: .6rem 1rem; }
}
