/* Sport Club MUYA — visual unificado com a App MUYA */
:root {
  --muya-deep: #092b1c;
  --muya-green: #0c5d36;
  --muya-gold: #d9ad56;
  --muya-bg: #f3f5f3;
  --muya-surface: #ffffff;
  --muya-text: #26342c;
  --muya-muted: #68756d;
  --muya-border: #e0e5e2;
}

body {
  background: var(--muya-bg);
  color: var(--muya-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.wp-block-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muya-text);
}

.ct-header [data-row*="middle"] {
  --height: 86px;
  background: var(--muya-deep);
  border-bottom: 1px solid rgba(217, 173, 86, 0.28);
  box-shadow: 0 8px 24px rgba(9, 43, 28, 0.12);
}

.site-branding[data-id="logo"] {
  display: flex !important;
  align-items: center;
  min-width: 54px;
}

.site-branding[data-id="logo"] .site-title {
  display: none !important;
}

.site-branding[data-id="logo"] .site-logo-container {
  display: flex;
  align-items: center;
}

.site-branding[data-id="logo"] .default-logo {
  width: auto !important;
  height: 64px !important;
  max-height: 64px !important;
  object-fit: contain;
}

#header .header-menu-1 > ul > li > a {
  color: #eaf1ed !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.025em;
}

#header .header-menu-1 > ul > li:hover > a,
#header .header-menu-1 > ul > li.current-menu-item > a,
#header .header-menu-1 > ul > li.current-menu-ancestor > a {
  color: var(--muya-gold) !important;
}

#header [data-row*="middle"] .ct-icon,
#header [data-row*="middle"] [class*="ct-label"] {
  color: #eaf1ed;
  fill: currentColor;
}

#header .sub-menu {
  background: #0d3826 !important;
  border: 1px solid rgba(217, 173, 86, 0.25);
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(4, 25, 16, 0.24);
  overflow: hidden;
}

#header .sub-menu a {
  color: #eaf1ed !important;
}

#header .sub-menu a:hover {
  color: var(--muya-gold) !important;
  background: rgba(255, 255, 255, 0.06);
}

.ct-button,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
button.ff-btn-submit {
  border-radius: 10px !important;
  font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

#header .ct-button {
  background: var(--muya-gold) !important;
  color: var(--muya-deep) !important;
  box-shadow: 0 6px 16px rgba(217, 173, 86, 0.22);
}

#header .ct-button:hover {
  background: #e5bf67 !important;
  transform: translateY(-1px);
}

.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
button.ff-btn-submit {
  background: var(--muya-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(12, 93, 54, 0.16);
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
button.ff-btn-submit:hover {
  background: #084c2c;
  color: #fff;
  transform: translateY(-1px);
}

.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--muya-green) !important;
  border-color: var(--muya-green) !important;
  box-shadow: none;
}

body.page:not(.home) .entry-content {
  color: var(--muya-text);
}

body.page:not(.home) .entry-content > .wp-block-columns {
  gap: 18px;
}

body.page:not(.home) .entry-content > .wp-block-columns > .wp-block-column {
  background: var(--muya-surface);
  border: 1px solid var(--muya-border);
  border-radius: 15px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 8px 24px rgba(9, 43, 28, 0.045);
}

body.page:not(.home) .entry-content p,
body.page:not(.home) .entry-content li {
  line-height: 1.7;
}

.frm-fluent-form input:not([type="checkbox"]):not([type="radio"]),
.frm-fluent-form textarea,
.frm-fluent-form select {
  border: 1px solid #d9e0db !important;
  border-radius: 9px !important;
  background: #fff !important;
}

.frm-fluent-form input:focus,
.frm-fluent-form textarea:focus,
.frm-fluent-form select:focus {
  border-color: var(--muya-green) !important;
  box-shadow: 0 0 0 3px rgba(12, 93, 54, 0.10) !important;
}

.ct-footer {
  background: var(--muya-deep);
  color: #c5d2ca;
  border-top: 1px solid rgba(217, 173, 86, 0.24);
}

.ct-footer a {
  color: #eef3f0;
}

.ct-footer a:hover {
  color: var(--muya-gold);
}

@media (max-width: 999px) {
  .ct-header [data-row*="middle"] {
    --height: 76px;
  }

  .site-branding[data-id="logo"] .default-logo {
    height: 56px !important;
    max-height: 56px !important;
  }

  #offcanvas {
    background: var(--muya-deep);
    color: #eef3f0;
  }

  #offcanvas a {
    color: #eef3f0;
  }
}

/* Cabeçalho MUYA: contraste e proporção */
body #header [data-header*="type-1"] .ct-header [data-row*="middle"],
body #header .ct-header [data-row*="middle"] {
  background-color: #092b1c !important;
  background-image: none !important;
}

body #header .ct-header [data-row*="middle"] > .ct-container,
body #header .ct-header [data-row*="middle"] > .ct-container-fluid {
  background: transparent !important;
}

.site-branding[data-id="logo"] .site-title-container {
  display: none !important;
}


body #header.ct-header [data-row="middle"] {
  background-color: #092b1c !important;
  background-image: none !important;
}


body #header.ct-header [data-row="top"] {
  background-color: #092b1c !important;
  border-bottom: 1px solid rgba(217, 173, 86, 0.16);
  color: #d7e1db;
}

body #header.ct-header [data-row="top"] a,
body #header.ct-header [data-row="top"] .ct-icon {
  color: #d7e1db !important;
  fill: currentColor;
}

.site-branding[data-id="logo"] .site-logo-container {
  height: 64px !important;
  --logo-max-height: 64px;
}

.fluentform .ff-btn.ff-btn-submit,
.frm-fluent-form .ff-btn.ff-btn-submit {
  background: #0c5d36 !important;
  border-color: #0c5d36 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 16px rgba(12, 93, 54, 0.16) !important;
}

@media (max-width: 999px) {
  .site-branding[data-id="logo"] .site-logo-container {
    height: 56px !important;
    --logo-max-height: 56px;
  }
}
