
:root {
  /* Ajuste aqui caso queira copiar exatamente os tons do site principal */
  --navy: #0b0b0b;
  --navy-2: #171717;
  --gold: #c79a3b;
  --gold-dark: #a67821;
  --ivory: #f6f1e7;
  --white: #ffffff;
  --text: #262626;
  --muted: #6f6f6f;
  --border: #ded6c7;
  --success: #246447;
  --shadow: 0 18px 60px rgba(0, 0, 0, .14);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  font-weight: 800; color: var(--gold-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
h1,h2,h3 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
  color: var(--navy);
  line-height: 1.12;
  margin-top: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.3rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }
.section { padding: 100px 0; }
.section-soft { background: var(--ivory); }
.section-dark { background: var(--navy); color: #edf3f7; }
.section-dark h2,.section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #bdc9d4; }

.topbar {
  background: #050505; color: #d9e1e8; font-size: .82rem;
}
.topbar .container {
  min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar-links { display:flex; gap:18px; }

.header {
  position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.96);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(199,154,59,.20);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand-mark {
  width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold-dark);
  display: grid; place-items: center; border-radius: 50%; font-family: Inter, Arial, sans-serif; font-weight: 700;
}
.brand-text strong { display:block; color:#fff; font-family: Inter, Arial, sans-serif; font-size:1.12rem; }
.brand-text span { display:block; font-size:.67rem; letter-spacing:.16em; color:#c9c1b5; text-transform:uppercase; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 700; }
.nav a { position: relative; }
.nav a:not(.btn)::after {
  content:""; position:absolute; left:0; right:100%; bottom:-7px; height:2px; background:var(--gold); transition:.25s;
}
.nav a:hover::after,.nav a.active::after { right:0; }
.menu-toggle { display:none; background:none; border:0; color:var(--navy); font-size:1.5rem; cursor:pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; transition: .25s; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.4); color:#fff; }
.btn-outline:hover { background:#fff; color:var(--navy); }
.btn-ghost { border-color: var(--border); color:var(--navy); background:#fff; }
.btn-ghost:hover { border-color:var(--gold); color:var(--gold-dark); }

.hero {
  position:relative; overflow:hidden; min-height: 690px; display:grid; align-items:center;
  background:
    linear-gradient(rgba(0,0,0,.60), rgba(0,0,0,.72)),
    url("../images/hero-justica-sem-logo.jpg") left center/cover no-repeat;
  color:#fff;
}
.hero::after {
  content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(255,255,255,.10);
  border-radius:50%; right:-100px; top:80px; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
}
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns: 1.15fr .85fr; gap:70px; align-items:center; padding:90px 0; }
.hero h1 { color:#fff; margin-bottom:24px; max-width:820px; }
.hero p { max-width:720px; color:#d2dde7; font-size:1.13rem; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:32px; }
.hero-badge {
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:var(--radius);
  padding:30px; box-shadow:0 18px 45px rgba(0,0,0,.12);
}
.hero-badge .big { font-family: Inter, Arial, sans-serif; font-size:2rem; color:#fff; margin-bottom:8px; }
.hero-badge ul { padding:0; margin:20px 0 0; list-style:none; }
.hero-badge li { padding:11px 0; border-top:1px solid rgba(255,255,255,.12); color:#dbe4ea; white-space: nowrap;}
.hero-badge li::before { content:"✓"; color:#d8b77d; font-weight:800; margin-right:9px; }

.trust-strip { border-bottom:1px solid var(--border); background:#fff; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.trust-item { padding:26px; text-align:center; border-right:1px solid var(--border); }
.trust-item:last-child { border-right:0; }
.trust-item strong { display:block; color:var(--navy); }
.trust-item span { color:var(--muted); font-size:.86rem; }

.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card {
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:30px; box-shadow:0 8px 28px rgba(16,37,63,.045); transition:.25s;
}
.card:hover { transform:translateY(-6px); box-shadow:var(--shadow); border-color:#d7c3a2; }
.card-icon {
  width:48px; height:48px; border-radius:12px; background:#f2ebe0; color:var(--gold-dark);
  display:grid; place-items:center; font-weight:900; margin-bottom:22px;
}
.card p { color:var(--muted); font-size:.94rem; }
.card-link { color:var(--gold-dark); font-weight:800; font-size:.9rem; }

.about-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.about-visual {
  min-height: 480px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.checks { display:grid; gap:14px; margin:28px 0; }
.check { display:flex; gap:12px; align-items:flex-start; }
.check b { color:var(--gold-dark); }

.process { counter-reset: item; display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.step {
  counter-increment:item; padding:28px; border-radius:var(--radius); border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.045);
}
.step::before { content:"0" counter(item); display:block; color:#d5b278; font-weight:900; letter-spacing:.12em; margin-bottom:25px; }
.step p { color:#bfccd7; font-size:.92rem; }

.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.news-carousel {
  position: relative;
  margin-top: 8px;
}
.news-carousel-track {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 14px;
}
.news-carousel-track::-webkit-scrollbar {
  display: none;
}
.news-grid.news-grid-carousel {
  display: flex;
  gap: 22px;
  grid-template-columns: none;
}
.news-grid.news-grid-carousel .news-card {
  flex: 0 0 min(320px, calc(100vw - 120px));
  width: min(320px, calc(100vw - 120px));
  scroll-snap-align: start;
}
.news-carousel-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.news-carousel-btn:hover {
  background: var(--gold);
  color: #111;
  transform: scale(1.05);
}
.news-carousel-prev {
  left: -12px;
}
.news-carousel-next {
  right: -12px;
}
@media (max-width: 980px) {
  .news-carousel-prev {
    left: 0;
  }
  .news-carousel-next {
    right: 0;
  }
  .news-grid.news-grid-carousel .news-card {
    flex: 0 0 min(300px, calc(100vw - 96px));
    width: min(300px, calc(100vw - 96px));
  }
}
@media (max-width: 680px) {
  .news-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }
  .news-grid.news-grid-carousel .news-card {
    flex: 0 0 calc(100vw - 88px);
    width: calc(100vw - 88px);
  }
}
.news-card { border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#fff; }
.news-thumb { height:190px; background:linear-gradient(135deg,#10253f,#29506f); position:relative; }
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-thumb:has(img)::after {
  display: none;
}
.news-thumb::after {
  content:"Informação jurídica"; position:absolute; left:22px; bottom:18px; color:rgba(255,255,255,.7);
  font-size:.74rem; text-transform:uppercase; letter-spacing:.14em;
}
.news-content { padding:26px; }
.news-meta { color:var(--gold-dark); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.1em; margin-bottom:10px; }
.news-content h3 {
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-content p {
  color:var(--muted);
  font-size:.92rem;
  margin: 0 0 14px;
  line-height: 1.5;
  text-align: left;
}

.faq { max-width:900px; }
.faq-item { border-bottom:1px solid var(--border); }
.faq-question {
  width:100%; border:0; background:none; padding:22px 0; display:flex; justify-content:space-between; gap:20px;
  text-align:left; color:var(--navy); font-weight:800; cursor:pointer;
}
.faq-answer { display:none; padding:0 40px 22px 0; color:var(--muted); }
.faq-item.open .faq-answer { display:block; }

.cta-box {
  display:grid; grid-template-columns:1.3fr .7fr; gap:30px; align-items:center; padding:48px;
  background:linear-gradient(120deg,#10253f,#173754); border-radius:28px; color:#fff;
}
.cta-box h2 { color:#fff; margin-bottom:12px; }
.cta-box p { color:#c8d4df; margin-bottom:0; }

.footer { background:#091827; color:#b9c6d2; padding:64px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr .75fr; gap:55px; }
.footer h3 { color:#fff; font-family:Inter,Arial,sans-serif; font-size:.85rem; letter-spacing:.12em; text-transform:uppercase; }
.footer a { display:block; margin:8px 0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:45px; padding-top:22px; display:flex; justify-content:space-between; gap:20px; font-size:.8rem; }
.whatsapp {
  position:fixed; right:22px; bottom:22px; width:58px; height:58px; border-radius:50%;
  display:grid; place-items:center; background:#25D366; color:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.2); z-index:60;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp:hover {
  transform: scale(1.06);
  box-shadow:0 14px 34px rgba(0,0,0,.28);
}
.whatsapp-icon {
  display:block;
  width:32px;
  height:32px;
}
.internal-hero { min-height:560px; }
.tag { display:inline-flex; padding:7px 11px; border-radius:999px; background:#f0e8dc; color:var(--gold-dark); font-size:.76rem; font-weight:800; }
.notice { padding:15px 18px; border-left:3px solid var(--gold); background:#fbf8f3; color:var(--muted); font-size:.9rem; margin-top:26px; }

@media (max-width: 980px) {
  .nav {
    position:fixed; inset:123px 0 0; background:#fff; flex-direction:column; align-items:flex-start;
    padding:30px 24px; transform:translateX(100%); transition:.25s; z-index:40;
  }
  .nav.open { transform:translateX(0); }
  .menu-toggle { display:block; }
  .hero-grid,.about-grid,.cta-box { grid-template-columns:1fr; }
  .cards,.news-grid:not(.news-grid-carousel) { grid-template-columns:repeat(2,1fr); }
  .process { grid-template-columns:repeat(2,1fr); }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 680px) {
  .topbar { display:none; }
  .header-inner { min-height:76px; }
  .nav { inset:76px 0 0; }
  .brand-text span { display:none; }
  .section { padding:72px 0; }
  .hero { min-height:auto; }
  .hero-grid { padding:72px 0; }
  .hero-badge { padding:24px; }
  .cards,.news-grid:not(.news-grid-carousel),.process,.trust-grid,.footer-grid { grid-template-columns:1fr; }
  .trust-item { border-right:0; border-bottom:1px solid var(--border); }
  .cta-box { padding:32px 24px; }
  .footer-bottom { flex-direction:column; }
}

.brand-logo{height:54px;width:auto;object-fit:contain}.header .nav a:not(.btn){color:#f1eee7}.header{color:#fff}.header .brand{min-width:260px}.footer-logo{height:120px;width:auto;object-fit:contain;margin-bottom:0}.section-dark{background:#0a0a0a}.news-thumb{background:linear-gradient(135deg,#090909,#2b2b2b)}.cta-box{background:linear-gradient(120deg,#070707,#1a1a1a)}.btn-primary{background:var(--gold);color:#0a0a0a}.btn-primary:hover{background:#e0b45b;color:#000}.btn-ghost{background:#fff;color:#111}.hero .eyebrow,.section-dark .eyebrow{color:#d4a84f!important}.brand-text strong{color:#fff}.brand-text span{color:#c8c1b4}@media(max-width:980px){.nav{background:#0a0a0a}}


/* ==========================================================
   CABEÇALHO CLARO - identidade Parisotto
   ========================================================== */
.header {
  background: rgba(255,255,255,.98) !important;
  color: #111111 !important;
  border-bottom: 1px solid rgba(199,154,59,.32) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.header .nav a:not(.btn) {
  color: #161616 !important;
}
.header .nav a:not(.btn):hover,
.header .nav a:not(.btn).active {
  color: var(--gold-dark) !important;
}
.header .brand-text strong {
  color: #111111 !important;
}
.header .brand-text span {
  color: #555555 !important;
}
.header .menu-toggle {
  color: #111111 !important;
}
.header .btn-primary {
  background: var(--gold) !important;
  color: #090909 !important;
}
.header .btn-primary:hover {
  background: #e0b45b !important;
  color: #000000 !important;
}
@media (max-width: 980px) {
  .header .nav {
    background: #ffffff !important;
  }
  .header .nav a:not(.btn) {
    color: #161616 !important;
  }
}


/* ==========================================================
   RODAPÉ CINZA CLARO - maior destaque para o logotipo
   ========================================================== */
.footer {
  background: #e8e8e6 !important;
  color: #333333 !important;
}
.footer h3 {
  color: #111111 !important;
}
.footer p,
.footer span,
.footer a {
  color: #333333 !important;
}
.footer a:hover {
  color: var(--gold-dark) !important;
}
.footer-address,
.footer-contact {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0;
  line-height: 1.5;
  text-decoration: none;
}
.footer-icon,
.footer-pin {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold-dark) !important;
}
.footer-address:hover .footer-pin,
.footer-contact:hover .footer-icon {
  color: var(--gold) !important;
}
.footer-logo {
  height: 120px !important;
  width: auto;
  object-fit: contain;
  margin-bottom: 0 !important;
}
.footer .brand-text strong {
  color: #111111 !important;
}
.footer .brand-text span {
  color: #555555 !important;
}
.footer-bottom {
  border-top: 1px solid #c9c9c5 !important;
  color: #444444 !important;
}


/* ==========================================================
   CORREÇÃO MENU MOBILE
   - painel 100% branco e opaco
   - fica acima do hero/conteúdo
   - ocupa toda a área abaixo do cabeçalho
   ========================================================== */
@media (max-width: 980px) {
  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
  }

  .header .nav {
    position: fixed !important;
    top: 76px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 76px 0 0 0 !important;
    width: 100% !important;
    height: calc(100vh - 76px) !important;
    padding: 28px 24px 40px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.12) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;

    transform: translateX(100%) !important;
    transition: transform .25s ease !important;
  }

  .header .nav.open {
    transform: translateX(0) !important;
  }

  .header .nav a {
    display: block !important;
    width: 100% !important;
    padding: 16px 2px !important;
    margin: 0 !important;
    border-bottom: 1px solid #ece8df !important;
    color: #151515 !important;
    background: #ffffff !important;
    font-size: 1rem !important;
  }

  .header .nav a:not(.btn)::after {
    display: none !important;
  }

  .header .nav .btn {
    margin-top: 22px !important;
    min-height: 52px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--gold) !important;
    color: #090909 !important;
    text-align: center !important;
  }

  .menu-toggle {
    position: relative !important;
    z-index: 10001 !important;
    display: block !important;
  }

  body.menu-open::after {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    background: #ffffff !important;
    z-index: 9000 !important;
  }
}

@media (max-width: 680px) {
  .header .nav {
    top: 76px !important;
    inset: 76px 0 0 0 !important;
    height: calc(100vh - 76px) !important;
  }
}


/* Fundo institucional: somente estátua da Justiça, sem logomarca/textos embutidos */
.hero {
  background-position: left center !important;
}
@media (max-width: 980px) {
  .hero {
    background-position: 34% center !important;
  }
}
@media (max-width: 680px) {
  .hero {
    background-position: 38% center !important;
  }
}


/* ==========================================================
   PÁGINA O ESCRITÓRIO
   ========================================================== */
.office-profile {
  padding-top: 36px;
  padding-bottom: 100px;
}
.office-hero {
  padding: 72px 0 62px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.90), rgba(0,0,0,.67)),
    url("../images/hero-justica-sem-logo.jpg") center 42%/cover no-repeat;
  border-bottom: 2px solid var(--gold);
  color: #fff;
}
.office-hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  margin-bottom: 12px;
}
.office-hero p {
  max-width: 650px;
  margin: 0;
  color: #d6d6d6;
  font-size: 1.05rem;
}
.office-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}
.office-photo-wrap {
  position: relative;
  max-width: 500px;
}
.office-photo-wrap::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: var(--gold);
}
.office-photo {
  width: 100%;
  max-height: 670px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
}
.office-copy h2 {
  margin-bottom: 8px;
}
.lawyer-oab {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: .04em;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--gold);
}
.office-copy p {
  font-size: 1.02rem;
  color: #4c4c4c;
  text-align: justify;
  text-justify: inter-word;
}
.office-highlights {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin: 34px 0 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.office-highlights > div {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.office-highlights > div:first-child { padding-left: 0; }
.office-highlights > div:last-child { border-right: 0; }
.office-highlights span {
  display: block;
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.office-highlights strong {
  display: block;
  color: #151515;
  margin-bottom: 6px;
}
.office-highlights small {
  display: block;
  color: #6b6b6b;
  line-height: 1.45;
}
.office-actions { margin-top: 30px; }
.office-values .card-icon {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.1rem;
}
@media (max-width: 980px) {
  .office-grid { grid-template-columns: 1fr; gap: 45px; }
  .office-photo-wrap { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .office-hero { padding: 52px 0 44px; }
  .office-profile {
    padding-top: 24px;
    padding-bottom: 72px;
  }
  .office-grid { gap: 34px; }
  .office-photo { max-height: none; }
  .office-photo-wrap::before { display:none; }
  .office-highlights { grid-template-columns: 1fr; }
  .office-highlights > div,
  .office-highlights > div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .office-highlights > div:last-child { border-bottom: 0; }
}


/* ==========================================================
   ALTERNÂNCIA DAS FOTOS - O ESCRITÓRIO
   ========================================================== */
.office-photo-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 22px 60px rgba(0,0,0,.16);
  background: #201d1a;
}
.office-photo-slider .office-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: scale(1);
  transition: opacity .9s ease;
}
.office-photo-slider .office-photo.active {
  opacity: 1;
  animation: office-photo-zoom 5s ease-out forwards;
}
@keyframes office-photo-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .office-photo-slider .office-photo.active {
    animation: none;
  }
}
.office-photo-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
}
.office-photo-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #fff;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}
.office-photo-dots button.active {
  background: #d2a23d;
  border-color: #d2a23d;
}
@media (max-width: 680px) {
  .office-photo-slider { aspect-ratio: 3 / 4; }
}

/* Carrossel e texto alinhados: mesma altura, topo e base */
@media (min-width: 981px) {
  .office-grid {
    align-items: stretch;
  }

  .office-photo-wrap {
    width: 100%;
    max-width: none;
    height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }

  .office-photo-wrap::before {
    top: 0;
    bottom: 0;
  }

  .office-photo-slider {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    margin-block: 0;
  }
}

/* Página de artigo / notícia */
.article-page .container {
  max-width: 820px;
}
.article-back {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 700;
  color: var(--gold-dark);
}
.article-back:hover {
  color: var(--gold);
}
.article-page h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.article-listen-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 28px;
}
.article-listen {
  gap: 10px;
}
.article-listen-icon {
  flex-shrink: 0;
}
.article-listen-hint {
  font-size: .82rem;
  color: var(--muted);
}
.article-body {
  margin-top: 8px;
}
.article-body p {
  color: #4c4c4c;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}
.article-body h2 {
  font-size: 1.25rem;
  margin: 32px 0 16px;
}
.article-body h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
}
.article-date {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 16px;
}
.article-credit {
  color: var(--muted);
  font-size: .88rem;
  font-style: italic;
  margin: 8px 0 28px;
}
.article-sources {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.article-sources li {
  margin-bottom: 12px;
}
.article-sources a {
  color: var(--gold-dark);
  font-weight: 700;
  line-height: 1.5;
}
.article-sources a:hover {
  color: var(--gold);
}
.article-cta-text {
  margin-top: 8px;
  margin-bottom: 22px;
}
.article-page .notice {
  margin-top: 40px;
}
.article-law {
  margin: 0 0 28px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: #fbf8f3;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-law p {
  margin-bottom: 14px;
}
.article-law p:last-child {
  margin-bottom: 0;
}
