/* ==========================================================================
   DOMINGUES & ASSOCIADOS - THEME CLONE (VIRTUE + VIRTUE CHILD THEME)
   Exact match for https://www.dominguesassociados.com.br/
   ========================================================================== */

/* Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 22px;
  color: #000000;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow-x: hidden;
  width: 100%;
}

/* Typography matching Virtue Theme Customizer */
h1, h2, h3, h4, h5, h6, .headerfont {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #333333;
  line-height: 1.3;
}

h1 {
  font-size: 32px;
  line-height: 36px;
  color: #cdb122;
  margin-bottom: 18px;
}

h2 {
  font-size: 28px;
  line-height: 34px;
  margin-bottom: 16px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 14px;
}

h4 {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 12px;
}

h5 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
  line-height: 1.65;
  color: #333333;
}

a {
  color: #cdb122;
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: #d8d68a;
  text-decoration: underline;
}

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

/* Standard Virtue 1170px Container */
.container {
  width: 100%;
  max-width: 1170px;
  margin-inline: auto;
  padding-inline: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -15px;
}

.row > * {
  padding-inline: 15px;
}

/* ==========================================================================
   TOPBAR (.topclass) - EXACT MATCH FOR USER SCREENSHOT
   Gold background #cdb122, height 32px, right-aligned Facebook & Translucent Search
   ========================================================================== */
.topclass {
  background-color: #cdb122;
  min-height: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1000;
  padding: 0;
}

.topclass .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.topclass-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

#topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.virtue_social_widget {
  display: flex;
  align-items: center;
}

.virtue_social_widget a.facebook_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 150ms ease;
  padding: 0;
  margin: 0;
}

.virtue_social_widget a.facebook_link:hover {
  opacity: 0.85;
}

/* Translucent search form matching user screenshot */
#topbar-search .form-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  box-shadow: none;
}

#topbar-search .search-query {
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: #ffffff !important;
  height: 25px !important;
  line-height: 25px;
  padding: 0 10px 0 28px !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-family: 'Roboto', sans-serif !important;
  width: 145px;
  outline: none !important;
  box-shadow: none !important;
  transition: width 200ms ease;
}

#topbar-search .search-query:focus {
  width: 170px;
  background: rgba(255, 255, 255, 0.3) !important;
}

#topbar-search .search-query::placeholder {
  color: #ffffff !important;
  opacity: 0.95;
}

#topbar-search .search-query::-webkit-input-placeholder {
  color: #ffffff !important;
  opacity: 0.95;
}

#topbar-search .search-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #ffffff;
}

/* ==========================================================================
   HEADER (.headerclass) - EXACT MATCH FOR PRINT 1
   Logo on left, Navigation Menu pushed to the far right
   ========================================================================== */
.headerclass {
  background: url('../../uploads/2017/08/fundo-marmore2-claro.jpg') repeat-x center top;
  min-height: 95px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 900;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.kad-header-left {
  flex-shrink: 0;
}

.logocase {
  display: block;
}

.kad-standard-logo {
  height: 80px;
  width: auto;
  max-width: 325px;
  display: block;
}

.kad-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Navigation Menu */
#nav-main {
  display: block;
}

#menu-principal {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 16px;
}

#menu-principal > li {
  position: relative;
}

#menu-principal > li > a {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #333333;
  text-decoration: none;
  padding: 10px 4px;
  display: flex;
  align-items: center;
  transition: color 150ms ease;
  white-space: nowrap;
}

#menu-principal > li > a:hover,
#menu-principal > li.active > a {
  color: #cdb122;
  text-decoration: none;
}

/* Submenu Dropdown */
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 260px;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-top: 2px solid #cdb122;
  border-radius: 0 0 3px 3px;
  z-index: 1000;
}

#menu-principal > li.dropdown-parent:hover > .sub-menu,
#menu-principal > li.dropdown-parent:focus-within > .sub-menu {
  display: block;
}

.sub-menu li {
  width: 100%;
}

.sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-family: 'Roboto', sans-serif;
  font-size: 13.5px;
  color: #444444;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
  white-space: nowrap;
}

.sub-menu li a:hover {
  background-color: #f7f5e8;
  color: #cdb122;
  text-decoration: none;
}

.sub-menu-nested {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  border-top: none;
  border-left: 2px solid #cdb122;
  min-width: 180px;
}

.has-sub-level:hover > .sub-menu-nested,
.has-sub-level:focus-within > .sub-menu-nested {
  display: block;
}

/* ==========================================================================
   SMART SLIDER 3 CLONE (#banner-rotativo) - EXACT MATCH FOR PRINT 1
   Centered title box, centered subtitle box, centered saiba mais button
   ========================================================================== */
.smart-slider-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background-color: #1a1a1a;
}

.smart-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 600ms ease-in-out;
}

.smart-slide.active {
  opacity: 1;
  z-index: 2;
}

.smart-slide-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

/* Center Content Box */
.smart-slide-center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 90%;
  max-width: 680px;
  z-index: 5;
}

/* Title Layer Box (matching Print 1) */
.smart-title-wrapper {
  display: inline-block;
  margin-bottom: 12px;
}

.smart-title-text {
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  padding: 10px 18px;
  border-radius: 2px;
  margin: 0;
  display: inline-block;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Subtitle Layer Box (matching Print 1) */
.smart-subtitle-wrapper {
  display: inline-block;
  margin-bottom: 14px;
}

.smart-subtitle-text {
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 10px 22px;
  border-radius: 2px;
  text-align: center;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Button Layer Box (matching Print 1) */
.smart-btn-wrapper {
  display: inline-block;
}

.smart-gold-btn {
  background-color: #d4ad13;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: lowercase;
  padding: 9px 24px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: background-color 150ms ease, transform 150ms ease;
}

.smart-gold-btn:hover {
  background-color: #bfa11b;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Navigation Arrow Tabs (matching Print 1) */
.smart-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 48px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}

.smart-arrow:hover {
  background: #cdb122;
}

.smart-arrow-prev {
  left: 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.smart-arrow-next {
  right: 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

/* ==========================================================================
   APRESENTAÇÃO SECTION (#apresentacao)
   ========================================================================== */
#apresentacao {
  background: #ffffff;
  padding: 45px 0 25px 0;
}

.apresentacao-row {
  display: flex;
  align-items: center;
  margin-inline: -15px;
}

.apresentacao-col-left {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-inline: 15px;
}

.apresentacao-col-right {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding-inline: 15px;
}

.vc_box_shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.apresentacao-title {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  line-height: 36px;
  color: #cdb122;
  text-align: center;
  margin-bottom: 16px;
}

.apresentacao-text {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13.5px;
  line-height: 21px;
  color: #333333;
  text-align: justify;
  margin-bottom: 14px;
}

.kad-btn {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 150ms ease;
}

.kad-btn-primary {
  background-color: #cdb122;
  color: #ffffff;
}

.kad-btn-primary:hover {
  background-color: #d8d68a;
  color: #ffffff;
  text-decoration: none;
}

.vc_separator {
  height: 2px;
  background: #d8d8d8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  margin-bottom: 25px;
}

/* ==========================================================================
   HOME BLOG SECTION (.home_blog)
   ========================================================================== */
.home_blog {
  padding: 20px 0 40px 0;
}

.hometitle {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  color: #333333;
  border-bottom: 2px solid #cdb122;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.home-post-col {
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 25px;
}

.home_blog article {
  border: 1px solid #eee;
  border-color: rgba(0, 0, 0, 0.08);
  padding: 16px;
  background: #ffffff;
  border-radius: 3px;
  transition: box-shadow 200ms ease;
}

.home_blog article:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.home_blog article .postdate {
  width: 58px;
  height: 60px;
  background: #f2f2f2;
  border: 1px solid #e5e5e5;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  padding-top: 6px;
  border-radius: 3px;
  flex-shrink: 0;
}

.home_blog article .postday {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  color: #333333;
}

.home_blog article .postmonth {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: #777777;
  margin-top: 2px;
}

.home_blog_title h4 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 6px;
}

.home_blog_title h4 a {
  color: #333333;
  text-decoration: none;
}

.home_blog_title h4 a:hover {
  color: #cdb122;
}

.entry-content {
  font-size: 13px;
  line-height: 20px;
  color: #555555;
  margin-top: 8px;
}

.entry-content a {
  font-weight: 600;
  color: #cdb122;
}

/* ==========================================================================
   FOOTER (.footerclass)
   ========================================================================== */
.footerclass {
  background: url('../../uploads/2017/08/fundo-footer.jpg') center center;
  color: #ffffff;
  padding: 40px 0 20px 0;
  border-top: 4px solid #cdb122;
  margin-top: auto;
}

.footerclass p,
.footerclass a {
  color: #ffffff;
  font-size: 13px;
  line-height: 20px;
}

.footerclass a:hover {
  color: #d8d68a;
  text-decoration: none;
}

.footercredits {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 12px;
  color: #cccccc;
  text-align: center;
}

.footercredits a {
  color: #cdb122;
}

/* ==========================================================================
   MOBILE & SMARTPHONE RESPONSIVENESS
   Optimized for Smartphones (320px - 480px), Tablets (481px - 768px), and Laptops (769px - 991px)
   ========================================================================== */

/* Mobile Nav Toggle Button (matching Kadence Virtue) */
.mobile-nav-toggle {
  display: none;
  background: #cdb122;
  color: #ffffff;
  border: none;
  padding: 7px 12px;
  border-radius: 3px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  transition: background-color 150ms ease;
}

.mobile-nav-toggle:hover {
  background-color: #bfa11b;
}

.kad-navbtn {
  display: flex;
  align-items: center;
}

.kad-menu-name {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  background-color: #ffffff;
  border-top: 2px solid #cdb122;
  padding: 12px 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  width: 100%;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 150ms ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #cdb122;
  text-decoration: none;
}

.mobile-accordion-item {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 10px 4px;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: #333333;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 150ms ease;
}

.mobile-accordion-btn:hover {
  color: #cdb122;
}

.mobile-submenu {
  background-color: #fbfbf9;
  border-left: 3px solid #cdb122;
  padding: 8px 12px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 0 3px 3px 0;
}

.mobile-sublink {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 4px;
  font-size: 13.5px;
  color: #444444;
  text-decoration: none;
  transition: color 150ms ease;
}

.mobile-sublink:hover,
.mobile-sublink.active {
  color: #cdb122;
  font-weight: 500;
  text-decoration: none;
}

/* Breakpoint 1: Tablet Landscape / Small Desktop (<= 991px) */
@media (max-width: 991px) {
  #nav-main {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .kad-standard-logo {
    max-width: 250px;
    height: auto;
  }
  .apresentacao-col-left,
  .apresentacao-col-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 25px;
  }
  .home-post-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Breakpoint 2: Tablet Portrait / Large Smartphone (<= 768px) */
@media (max-width: 768px) {
  /* Topbar */
  .topclass {
    min-height: 32px;
    height: 32px;
    padding: 0;
  }
  #topbar-search {
    gap: 6px;
  }
  #topbar-search .search-query {
    width: 125px;
    height: 24px !important;
    line-height: 24px;
    font-size: 12px !important;
  }
  #topbar-search .search-icon {
    width: 24px;
    height: 24px;
  }
  .virtue_social_widget a.facebook_link {
    width: 24px;
    height: 24px;
  }

  /* Header */
  .headerclass {
    min-height: 75px;
  }
  .kad-standard-logo {
    max-width: 215px;
  }

  /* Slider */
  .smart-slider-container {
    height: 420px;
  }
  .smart-slide-center-box {
    width: 92%;
    max-width: 92%;
  }
  .smart-title-text {
    font-size: 26px;
    line-height: 1.3;
    padding: 8px 14px;
  }
  .smart-subtitle-text {
    font-size: 13.5px;
    line-height: 1.5;
    padding: 8px 16px;
  }
  .smart-gold-btn {
    font-size: 13px;
    padding: 8px 20px;
  }
  .smart-arrow {
    width: 26px;
    height: 42px;
  }

  /* Sections */
  #apresentacao {
    padding: 30px 0 20px 0;
  }
  .apresentacao-title {
    font-size: 26px;
    line-height: 30px;
    margin-top: 15px;
  }
  .apresentacao-text {
    font-size: 13.5px;
    line-height: 21px;
    text-align: left;
  }

  .home_blog {
    padding: 15px 0 30px 0;
  }
  .hometitle {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .home-post-col {
    margin-bottom: 18px;
  }

  .footerclass {
    padding: 30px 0 15px 0;
  }
}

/* Breakpoint 3: Standard Smartphones (<= 480px) */
@media (max-width: 480px) {
  /* Topbar */
  #topbar-search .search-query {
    width: 105px;
    font-size: 11.5px !important;
    padding: 0 8px 0 24px !important;
  }
  #topbar-search .search-icon {
    width: 24px;
  }

  /* Header */
  .kad-standard-logo {
    max-width: 180px;
  }
  .mobile-nav-toggle {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Slider */
  .smart-slider-container {
    height: 360px;
  }
  .smart-slide-center-box {
    width: 95%;
    max-width: 95%;
  }
  .smart-title-wrapper {
    margin-bottom: 8px;
  }
  .smart-title-text {
    font-size: 20px;
    line-height: 1.25;
    padding: 6px 12px;
  }
  .smart-subtitle-wrapper {
    margin-bottom: 12px;
  }
  .smart-subtitle-text {
    font-size: 12px;
    line-height: 1.45;
    padding: 6px 10px;
  }
  .smart-subtitle-line {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .smart-gold-btn {
    font-size: 12.5px;
    padding: 7px 18px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .smart-arrow {
    width: 22px;
    height: 36px;
  }

  /* Sections */
  #apresentacao {
    padding: 22px 0 15px 0;
  }
  .apresentacao-title {
    font-size: 22px;
    line-height: 26px;
  }
  .apresentacao-text {
    font-size: 13px;
    line-height: 19px;
    text-align: left;
  }

  .home_blog article .postdate {
    width: 46px;
    height: 50px;
    padding-top: 4px;
  }
  .home_blog article .postday {
    font-size: 20px;
    line-height: 20px;
  }
  .home_blog article .postmonth {
    font-size: 9px;
  }
  .home_blog_title h4 {
    font-size: 14.5px;
    line-height: 19px;
  }
  .entry-content {
    font-size: 12.5px;
    line-height: 18px;
  }
}

/* Breakpoint 4: Compact Smartphones (<= 360px) */
@media (max-width: 360px) {
  #topbar-search .search-query {
    width: 90px;
    font-size: 11px !important;
  }
  .kad-standard-logo {
    max-width: 155px;
  }
  .kad-menu-name {
    display: none;
  }
  .smart-slider-container {
    height: 325px;
  }
  .smart-title-text {
    font-size: 17px;
    padding: 5px 8px;
  }
  .smart-subtitle-text {
    font-size: 11px;
    padding: 5px 8px;
    line-height: 1.4;
  }
  .smart-gold-btn {
    font-size: 12px;
    padding: 6px 14px;
  }
}
