/* MC Advogados Associados — requests received on 15 October 2026. */
:root {
  --mc-green: #006400;
  --mc-green-light: #007a00;
  --mc-gold: #b18642;
  --mc-gold-light: #c9a05c;
  --mc-dark: #006400;
}
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
#header, #header.scrolled {
  background-color: #006400 !important;
  border-bottom: 1px solid rgba(198, 165, 102, .3);
  z-index: 11000 !important;
}
#header .header-logo img { max-height: 78px; width: auto; object-fit: contain; }
.header-nav .sub-menu, .header-nav ul ul, .menu-mobile,
.menu-mobile .sub-menu, .servico-menu .sub-menu {
  background: #006400 !important;
}
.header-nav .sub-menu a, .menu-mobile a { color: #fff !important; }
.menu-mobile ul.menu ul.sub-menu { background: #007a00 !important; }
.header-nav .sub-menu a:hover, .header-nav .sub-menu a:focus-visible {
  background: #007a00 !important; color: #c9a05c !important;
}
.top-block, .banner-slider-block, .top-wrap,
.destaque-block, .home-equipe-block, footer {
  background-color: #006400 !important;
}
.top-wrap { border-left: 3px solid #b18642; border-radius: 0 !important; }
.top-block .top-img { opacity: 1; }
.top-block .top-img::before { background: linear-gradient(180deg, rgba(0,100,0,.65), transparent) !important; }
.top-block .top-img::after { background: linear-gradient(90deg, rgba(0,100,0,.3), rgba(0,100,0,.08)) !important; }
.banner-slider-block { min-height: 600px; }
#mc-banner { position: relative; height: min(900px, 100svh); min-height: 660px; }
#mc-banner > .banner-slider-item { position: absolute; inset: 0; width: 100%; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 700ms ease, visibility 700ms; }
#mc-banner > .banner-slider-item.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.banner-slider-item { height: min(900px, 100svh) !important; min-height: 660px; }
.banner-slider-item .top-img { opacity: 1 !important; background-position: center; }
.banner-slider-item > .top-img { position: absolute !important; inset: 0; height: 100% !important; width: 100%; }
.banner-slider-item .top-img::after { background: linear-gradient(90deg, rgba(5,29,23,.82), rgba(5,29,23,.35) 55%, rgba(5,29,23,.04)) !important; }
.banner-slider-item .page-eight-wrap { width: 100%; max-width: none; margin-left: 0; }
.banner-slider-item .banner-content { text-align: left; max-width: 710px; padding-top: 70px; }
.mc-eyebrow { color: #c9a05c; font: 600 13px/1.6 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 24px; }
.mc-hero-title { font: 400 clamp(36px, 4.5vw, 66px)/1.12 Lora, Georgia, serif; letter-spacing: -.025em; color: #fff; margin: 0; text-wrap: balance; }
.mc-hero-description { font: 400 18px/1.75 Montserrat, sans-serif; color: #f1eee5; max-width: 570px; margin-top: 26px; }
.mc-gold-button, .mc-gold-button:visited { background: #b18642 !important; color: #006400 !important; border: 1px solid #b18642 !important; border-radius: 2px !important; }
.mc-gold-button:hover, .mc-gold-button:focus-visible { background: #c9a05c !important; }
.mc-carousel-toggle { position: absolute; z-index: 60; bottom: 30px; right: max(24px, calc((100vw - 1280px) / 2)); border: 1px solid rgba(221,197,146,.65); background: rgba(0,100,0,.7); color: #fff; padding: 9px 14px; border-radius: 2px; font: 12px/1.5 Montserrat,sans-serif; cursor: pointer; }
.mc-carousel-dots { position: absolute; z-index: 60; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.mc-carousel-dots button { width: 20px; height: 20px; padding: 0; border: 1px solid #c9a05c; border-radius: 50%; background: transparent; cursor: pointer; }
.mc-carousel-dots button[aria-pressed="true"] { background: #c9a05c; }
.mc-carousel-prev, .mc-carousel-next { position: absolute; z-index: 60; top: 50%; width: 36px; height: 44px; border: none; background: rgba(0,100,0,.5); color: #fff; font: 30px/1 Georgia,serif; cursor: pointer; }
.mc-carousel-prev { left: 8px; }
.mc-carousel-next { right: 8px; }
.servico-item .item-img { background-color: #007a00; }
.servico-item .item-content .r3-button { background: #006400; color: white; border-color: #006400; }
.servico-item .item-title, .servico-item .item-title a { color: #006400; }
.servico-item .item-content { padding: 45px 35px !important; }
.home-equipe-block .equipe-slider-list { max-width: 410px; margin-inline: auto; }
.home-equipe-block .equipe-slider-item { width: 100% !important; }
.equipe-item .item-img img, .home-equipe-block .item-img img { object-fit: cover; object-position: center top; }
.equipe-item .item-text { line-height: 1.8; }
.mc-contact-form label { display: block; color: #006400; font: 500 14px/1.5 Montserrat,sans-serif; margin-bottom: 8px; }
.mc-contact-form input, .mc-contact-form textarea { box-sizing: border-box; width: 100%; padding: 14px; border: 1px solid #b5c1ba; background: #fff; font: 16px/1.5 Montserrat,sans-serif; }
.mc-contact-form .form-field { margin-bottom: 22px; }
.mc-contact-note { font: 13px/1.8 Montserrat,sans-serif; color: #555; margin-bottom: 24px; }
.mc-contact-note a { color: #006400; text-decoration: underline; }
.view-article { line-height: 1.85; }
.view-article > ul { padding-left: 24px; }
.view-article > ul li { margin-bottom: 9px; }
.mc-office-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.mc-office-gallery figure { margin: 0; min-width: 0; }
.mc-office-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.mc-office-gallery figcaption { padding-top: 12px; font: 12px/1.6 Montserrat,sans-serif; color: #555; }
.cta-block { background-color: #b18642 !important; }
.cta-block .cta-img { opacity: .5 !important; background-position: center 60%; }
.cta-block .cta-img::after { background-color: #b18642 !important; opacity: .2; }
.cta-block .cta-content { position: relative; z-index: 2; }
a:focus-visible, button:focus-visible { outline: 3px solid #c9a05c; outline-offset: 5px; }
@media (min-width: 1280px) { .banner-slider-item .banner-content { padding-left: 45px; } }
@media (max-width: 767px) {
  .menu-mobile { padding-top: 110px !important; }
  #header .header-logo img { max-height: 60px; max-width: 145px !important; }
  .banner-slider-item { min-height: 650px; height: 90svh !important; max-height: 830px; }
  #mc-banner { min-height: 650px; height: 90svh; max-height: 830px; }
  .banner-slider-item .banner-content { padding-top: 60px; padding-inline: 8px; width: 100%; }
  .mc-hero-title { font-size: clamp(32px, 8vw, 45px); }
  .mc-hero-description { font-size: 15px; margin-top: 20px; }
  .mc-eyebrow { font-size: 11px; margin-bottom: 18px; }
  .banner-slider-item .top-img { background-position: 63% center; }
  .banner-slider-item .top-img::after { background: rgba(5,29,23,.63) !important; }
  .mc-carousel-prev, .mc-carousel-next { display: none; }
  .mc-carousel-toggle { right: 18px; bottom: 22px; font-size: 11px; }
  .mc-carousel-dots { left: 20px; bottom: 24px; transform: none; gap: 8px; }
  .mc-carousel-dots button { width: 18px; height: 18px; }
  .servico-item .item-content { padding: 35px 10px !important; }
  .mc-office-gallery { grid-template-columns: 1fr; }
  .mc-office-gallery img { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .banner-slider-item .top-img { transition: none !important; transform: none !important; }
  #mc-banner > .banner-slider-item { transition: none; }
}

/* Keep text sharp and fully visible while scrolling, including Mobile Safari. */
[data-aos], [data-aos].aos-animate {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
}
#header, #header.scrolled, #header.header-stick,
#header .header-nav .sub-menu::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}
#header .header-logo img { opacity: 1 !important; }

/* The photograph stays behind the contact text instead of painting over it. */
.cta-block { isolation: isolate; }
.cta-block .cta-img {
  z-index: 0 !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  pointer-events: none;
  filter: none !important;
}
.cta-block .cta-img::after {
  background: rgba(30, 22, 10, .76) !important;
  opacity: 1 !important;
}
.cta-block > .wrapper { position: relative; z-index: 20; }
.cta-block .cta-content {
  position: relative;
  z-index: 20 !important;
  opacity: 1 !important;
  max-width: 900px;
  margin-inline: auto;
}
.cta-block :is(.cta-title, .cta-text, .cta-text p, .cta-btn, .button-white) {
  color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}
.cta-block .button-white { background: transparent !important; border-color: #fff !important; }
.mc-gold-button, .mc-gold-button:visited { color: #181818 !important; }

/* Anchor the drawer below the measured header, with its own scrollable area. */
#mc-mobile-menu.menu-mobile {
  display: none !important;
  position: fixed !important;
  top: var(--mc-header-height, 91px) !important;
  right: 0 !important;
  width: min(340px, 88vw) !important;
  height: calc(var(--mc-viewport-height, 100dvh) - var(--mc-header-height, 91px)) !important;
  max-height: calc(var(--mc-viewport-height, 100dvh) - var(--mc-header-height, 91px)) !important;
  padding: 12px 0 calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: none !important;
  transition: none !important;
  z-index: 10000 !important;
}
#mc-mobile-menu.menu-mobile.active { display: block !important; }
.menu-mobile-overlay.active {
  top: var(--mc-header-height, 91px) !important;
  height: calc(var(--mc-viewport-height, 100dvh) - var(--mc-header-height, 91px)) !important;
  z-index: 9999 !important;
}
body.mc-menu-open {
  position: fixed;
  top: var(--mc-menu-scroll, 0px);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}
body.mc-menu-open .whatsapp-float { display: none !important; }
@media (max-width: 1179px) {
  #header .header-nav { display: none !important; }
  #header .header-side .btn-menu-mobile { display: inline-block !important; }
}
#header .hamburger-box { position: relative; width: 25px; height: 24px; display: inline-block; }
#header .hamburger .hamburger-inner,
#header .hamburger .hamburger-inner::before,
#header .hamburger .hamburger-inner::after {
  position: absolute; left: 0; width: 25px; height: 3px;
  background: #fff; transition: none; transform: none;
}
#header .hamburger .hamburger-inner { top: 11px; margin-top: 0; }
#header .hamburger .hamburger-inner::before { content: ''; top: -8px; }
#header .hamburger .hamburger-inner::after { content: ''; top: 8px; }
#header .hamburger.is-active .hamburger-inner { transform: rotate(45deg); }
#header .hamburger.is-active .hamburger-inner::before { top: 0; opacity: 1; transform: rotate(90deg); }
#header .hamburger.is-active .hamburger-inner::after { opacity: 0; }
@media (max-width: 767px) {
  .cta-block .cta-title { font-size: clamp(28px, 7vw, 36px); line-height: 1.2; }
  .cta-block .cta-text { font-size: 16px; line-height: 1.65; }
  .cta-block .cta-content { padding-inline: 4px; }
}

/* Static faces avoid the exported variable font defaulting to weight 100 in Safari. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/mc-2026/montserrat-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('/wp-content/uploads/mc-2026/montserrat-normal-500.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('/wp-content/uploads/mc-2026/montserrat-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('/wp-content/uploads/mc-2026/montserrat-normal-700.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 400; font-display: swap; src: url('/wp-content/uploads/mc-2026/montserrat-italic-400.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 700; font-display: swap; src: url('/wp-content/uploads/mc-2026/montserrat-italic-700.woff2') format('woff2'); }
