/* === WAR SEGURANÇA — DARK DESIGN SYSTEM === */

/* Global dark background */
body, html {
  background: #000 !important;
  color: #e8e8e8 !important;
}

/* Site header — logo small left */
#masthead, .site-header, header.site-header {
  background: #000 !important;
  border-bottom: 1px solid #1f1f1f !important;
  padding: 10px 0 !important;
}

/* Logo pequena */
.site-header .site-logo img,
.custom-logo, .site-branding img,
.site-logo img {
  max-height: 72px !important;
  width: auto !important;
}

/* Nav menu dark */
.main-navigation, nav.main-navigation, .corp-navigation {
  background: transparent !important;
}
.main-navigation a, .main-navigation li a,
.corp-navigation a {
  color: #c8c8c8 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
.main-navigation a:hover, .corp-navigation a:hover {
  color: #C89E5A !important;
}

/* Main content areas */
.site-main, main, .entry-content, article,
.panel-layout, .siteorigin-panels-stretch {
  background: #000 !important;
  color: #e8e8e8 !important;
}

/* Generic wrappers */
.site-content, #content, .content-area {
  background: #000 !important;
}

/* war-* component overrides */
.war-wrap {
  background: #000 !important;
  color: #e8e8e8 !important;
}
.war-home {
  background: #000 !important;
  border: none !important;
}
.war-card, .war-mini {
  background: #141414 !important;
  border: 1px solid #222 !important;
  color: #d0d0d0 !important;
  border-radius: 4px !important;
}
.war-card h3, .war-mini h3 {
  color: #fff !important;
}
.war-card p, .war-mini p {
  color: #aab0bc !important;
}

/* Hero heading */
.war-home h1 {
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #fff !important;
}
.war-home p {
  color: #aab0bc !important;
}

/* Buttons */
.war-btn {
  background: #C89E5A !important;
  color: #000 !important;
  border: none !important;
  font-weight: 700 !important;
}
.war-btn:hover {
  background: #C89E5A !important;
  color: #000000 !important;
}
.war-btn.alt {
  background: transparent !important;
  color: #ccc !important;
  border: 1px solid #444 !important;
}
.war-btn.alt:hover {
  border-color: #C89E5A !important;
  color: #C89E5A !important;
}
.war-cta {
  background: #141414 !important;
  border: 1px solid #222 !important;
  color: #e8e8e8 !important;
}
.war-cta h3 { color: #fff !important; }

/* Strip sections */
.war-strip {
  background: #0a0a0a !important;
  color: #d0d0d0 !important;
}
.war-strip h2, .war-strip h3 {
  color: #fff !important;
}

/* Footer dark */
.site-footer, footer, #colophon {
  background: #000 !important;
  border-top: 1px solid #1f1f1f !important;
  color: #888 !important;
}
.site-footer a, footer a {
  color: #aaa !important;
}
.site-footer a:hover, footer a:hover {
  color: #C89E5A !important;
}

/* Hide "Theme by SiteOrigin" */
.site-info .siteorigin-attribution,
.copyright .siteorigin-attribution,
a[href*="siteorigin.com"] {
  display: none !important;
}

/* Page title area */
.page-title, .entry-title, h1.entry-title {
  color: #fff !important;
}

/* Headings global */
h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
}

/* Links global */
a { color: #c8c8c8 !important; }
a:hover { color: #C89E5A !important; }

/* Sidebar dark */
.widget, aside {
  background: #0a0a0a !important;
  color: #ccc !important;
}

/* SiteOrigin panels */
.panel-row-style, .so-panel {
  background: transparent !important;
}

/* Mobile menu */
@media (max-width: 768px) {
  .main-navigation .menu {
    background: #0a0a0a !important;
  }
}

/* === FOOTER FIX — hide Theme by SiteOrigin completely === */
.siteorigin-attribution,
span.siteorigin-attribution,
.site-info .siteorigin-attribution,
#colophon .siteorigin-attribution {
  display: none !important;
  visibility: hidden !important;
}

/* Hide any link pointing to siteorigin */
a[href*="siteorigin"] {
  display: none !important;
}

/* Hide parent element of "Theme by" text if above fails */
.site-info-text > span:last-child {
  display: none !important;
}

/* === ATTRIBUTION FIX - multiple selectors === */
.siteorigin-attribution {
  display: none !important;
  visibility: hidden !important;
  font-size: 0 !important;
  color: transparent !important;
  height: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
}
.site-info .siteorigin-attribution,
#colophon .siteorigin-attribution,
footer .siteorigin-attribution,
span.siteorigin-attribution {
  display: none !important;
  visibility: hidden !important;
}
/* Also hide any SiteOrigin link remaining */
.site-footer a[rel="nofollow"],
footer a[rel="nofollow"],
a[href*="siteorigin"] {
  display: none !important;
  visibility: hidden !important;
}

/* === FIX: Hide Theme by SiteOrigin + orphan separator === */
.site-info {
  font-size: 0 !important;
  color: transparent !important;
}
.site-info span:first-child {
  display: inline !important;
  font-size: 14px !important;
  color: #e8e8e8 !important;
}
.site-info span:last-child {
  display: none !important;
}

/* === FINAL FOOTER CLEANUP (remove orphan dash text-node) === */
#colophon .site-info {
  font-size: 0 !important;
  line-height: 0 !important;
}
#colophon .site-info > span:first-child {
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #e8e8e8 !important;
}
#colophon .site-info > span:last-child {
  display: none !important;
}
/* === Remove remaining dash separator from footer === */
#colophon .site-info > span:first-child::after {
  content: none !important;
}

/* === CF7 Dark Theme Styles === */
.war-cf7-form .war-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.war-cf7-col.war-cf7-full {
  grid-column: 1 / -1;
}
.war-cf7-label {
  display: block;
  color: #e8e8e8;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.war-cf7-req {
  color: #C89E5A;
}
.war-cf7-form input[type="text"],
.war-cf7-form input[type="email"],
.war-cf7-form input[type="tel"],
.war-cf7-form select,
.war-cf7-form textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid #333;
  border-radius: 6px;
  color: #e8e8e8;
  padding: 12px 14px;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.war-cf7-form input:focus,
.war-cf7-form select:focus,
.war-cf7-form textarea:focus {
  outline: none;
  border-color: #C89E5A;
}
.war-cf7-form input::placeholder,
.war-cf7-form textarea::placeholder {
  color: #555;
}
.war-cf7-form select option {
  background: #141414;
  color: #e8e8e8;
}
.war-cf7-form textarea {
  height: 130px;
  resize: vertical;
}
.war-cf7-form input[type="submit"] {
  background: #C89E5A;
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 14px 36px;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 8px;
  transition: background 0.2s;
}
.war-cf7-form input[type="submit"]:hover {
  background: #d4aa6a;
}
.wpcf7-response-output {
  margin-top: 16px !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 0.9rem !important;
}
@media (max-width: 600px) {
  .war-cf7-form .war-cf7-row {
    grid-template-columns: 1fr;
  }
}