/* BF Growth – identidade da Dra. Bruna Francisco */
:root {
  --bf-green: #324436;
  --bf-sage: #9db29e;
  --bf-sage-soft: #e7eee7;
  --bf-taupe: #907d75;
  --bf-cream: #f6f1ec;
  --bf-line: #e2dcd6;
  --bf-text: #2c2c2c;
  --bf-muted: #5d5d5d;
  --bf-serif: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --bf-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --bf-radius: 14px;
}

/* ---------- Layout das páginas de conteúdo ---------- */
body.bfg-layout {
  margin: 0;
  background: #fff;
  color: var(--bf-text);
  font-family: var(--bf-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.bfg-layout *, body.bfg-layout *::before, body.bfg-layout *::after { box-sizing: border-box; }
body.bfg-layout a { color: var(--bf-green); text-underline-offset: 3px; }
body.bfg-layout img { max-width: 100%; height: auto; }

.bfg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--bf-line);
  backdrop-filter: saturate(140%) blur(8px);
}
.admin-bar .bfg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bfg-header { top: 46px; } }
.bfg-header__inner {
  max-width: 1160px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bfg-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bf-green) !important; }
.bfg-brand img { width: 52px; height: 52px; object-fit: contain; }
.bfg-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.bfg-brand__text strong { font-family: var(--bf-serif); font-size: 19px; font-weight: 700; }
.bfg-brand__text small { font-size: 12px; letter-spacing: .04em; color: var(--bf-taupe); text-transform: uppercase; }

.bfg-burger {
  cursor: pointer; width: 44px; height: 44px; border-radius: 10px; background: #fff;
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border: 1px solid var(--bf-line); padding: 0;
}
.bfg-burger span { display: block; width: 20px; height: 2px; background: var(--bf-green); border-radius: 2px; }
.bfg-nav { display: flex; align-items: center; gap: 24px; }
.bfg-nav > ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.bfg-nav a { text-decoration: none; font-weight: 500; font-size: 15px; }
.bfg-nav a[aria-current="page"] { text-decoration: underline; }
.bfg-nav__group { position: relative; }
.bfg-nav__label { font-weight: 500; font-size: 15px; color: var(--bf-green); cursor: default; }
.bfg-nav__label::after { content: " ▾"; font-size: 11px; color: var(--bf-taupe); }
.bfg-nav__group > ul {
  display: none; position: absolute; top: 100%; left: -16px; min-width: 280px;
  list-style: none; margin: 0; padding: 12px 0; background: #fff;
  border: 1px solid var(--bf-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(50, 68, 54, .12);
}
.bfg-nav__group > ul a { display: block; padding: 8px 18px; font-weight: 400; }
.bfg-nav__group > ul a:hover { background: var(--bf-cream); }
.bfg-nav__group:hover > ul, .bfg-nav__group:focus-within > ul { display: block; }
@media (max-width: 960px) {
  .bfg-burger { display: flex; }
  .bfg-header__inner { position: relative; }
  .bfg-nav { display: none; }
  .bfg-nav.is-open { display: flex; }
  .bfg-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 18px 20px 24px; background: #fff; border-bottom: 1px solid var(--bf-line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .06);
  }
  .bfg-nav > ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .bfg-nav__group > ul { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .bfg-nav__group > ul a { padding: 6px 0; }
  .bfg-nav__label { display: block; padding-top: 6px; font-weight: 600; }
  .bfg-nav__label::after { content: ""; }
  .bfg-brand__text small { display: none; }
}

.bfg-main { padding: 28px 20px 40px; }
.bfg-article { max-width: 760px; margin: 0 auto; }
.bfg-crumbs { font-size: 13px; color: var(--bf-muted); margin-bottom: 18px; }
.bfg-crumbs a { color: var(--bf-muted) !important; }
.bfg-article h1 {
  font-family: var(--bf-serif); color: var(--bf-green); font-weight: 700;
  font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -.01em;
}
.bfg-lead { font-size: 19px; color: var(--bf-muted); margin: 0 0 28px; }
.bfg-content h2 {
  font-family: var(--bf-serif); color: var(--bf-green); font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.25; margin: 44px 0 14px; font-weight: 700;
}
.bfg-content h3 { font-family: var(--bf-serif); color: var(--bf-taupe); font-size: 21px; margin: 28px 0 8px; }
.bfg-content p, .bfg-content li { color: var(--bf-text); }
.bfg-content ul, .bfg-content ol { padding-left: 22px; }
.bfg-content li { margin: 6px 0; }
.bfg-content li::marker { color: var(--bf-sage); }
.bfg-content strong { color: #1f2a22; }

.bfg-content .bfg-box, .bfg-content .is-style-bfg-box {
  background: var(--bf-cream); border-radius: var(--bf-radius); padding: 22px 24px; margin: 28px 0;
}
.bfg-content .bfg-box > :first-child { margin-top: 0; }
.bfg-content .bfg-box > :last-child { margin-bottom: 0; }
.bfg-content .bfg-highlight { border-left: 4px solid var(--bf-sage); padding: 4px 0 4px 18px; margin: 24px 0; }

.bfg-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bfg-content .wp-block-table th, .bfg-content .wp-block-table td { border-bottom: 1px solid var(--bf-line); padding: 10px 8px; text-align: left; vertical-align: top; }
.bfg-content .wp-block-table th { color: var(--bf-green); }

.bfg-content .wp-block-details {
  border: 1px solid var(--bf-line); border-radius: 12px; padding: 0 18px; margin: 10px 0; background: #fff;
}
.bfg-content .wp-block-details summary {
  cursor: pointer; font-weight: 600; color: var(--bf-green); padding: 14px 0; list-style-position: outside;
}
.bfg-content .wp-block-details[open] { padding-bottom: 8px; }

.bfg-content .wp-block-buttons { margin: 26px 0; }
.bfg-btn, .bfg-content .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bf-green); color: #fff !important; text-decoration: none !important;
  font-family: var(--bf-sans); font-weight: 600; font-size: 16px; line-height: 1.2;
  padding: 15px 24px; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.bfg-btn:hover, .bfg-content .wp-block-button__link:hover { background: #26352a; transform: translateY(-1px); }
.bfg-btn--small { padding: 10px 16px; font-size: 14px; }
.bfg-btn--full { width: 100%; }
.bfg-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--bf-green) !important; border: 1.5px solid var(--bf-green); }

.bfg-content .bfg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 24px 0; }
.bfg-content .bfg-cards > * { border: 1px solid var(--bf-line); border-radius: var(--bf-radius); padding: 18px; margin: 0; }
.bfg-content .bfg-cards h3 { margin-top: 0; font-size: 19px; }

.bfg-cta {
  margin: 48px 0 24px; padding: 30px 28px; border-radius: 18px;
  background: var(--bf-green); color: #fff;
}
.bfg-cta h2 { font-family: var(--bf-serif); color: #fff; margin: 0 0 8px; font-size: 26px; }
.bfg-cta p { color: #e9efe9; margin: 0 0 18px; }
.bfg-cta .bfg-btn { background: #fff; color: var(--bf-green) !important; }
.bfg-cta .bfg-btn:hover { background: var(--bf-cream); }

.bfg-review {
  display: flex; gap: 16px; align-items: flex-start; font-size: 14px; color: var(--bf-muted);
  border-top: 1px solid var(--bf-line); padding-top: 20px; margin-top: 8px;
}
.bfg-review img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.bfg-review p { margin: 0; }

.bfg-footer { background: var(--bf-green); color: #e4ebe4; font-size: 15px; margin-top: 40px; }
.bfg-footer a { color: #fff !important; }
.bfg-footer__inner {
  max-width: 1160px; margin: 0 auto; padding: 44px 20px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px;
}
.bfg-footer p { margin: 0 0 10px; }
.bfg-footer__name { font-family: var(--bf-serif); font-size: 22px; color: #fff; }
.bfg-footer__title { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--bf-sage); }
.bfg-footer__legal { border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; padding: 16px 20px 90px; font-size: 13px; }

/* ---------- Botão flutuante, formulário e aviso de cookies (todas as páginas) ---------- */
.bfg-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 9990;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff !important; text-decoration: none !important;
  font: 600 15px/1 Montserrat, Arial, sans-serif; padding: 12px 18px 12px 14px;
  border-radius: 999px; box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .15s ease;
}
.bfg-float:hover { transform: translateY(-2px); }
@media (max-width: 600px) {
  .bfg-float span { display: none; }
  .bfg-float { padding: 14px; }
  html:has(#bfg-cookie:not([hidden])) .bfg-float { bottom: 112px; }
}

html.bfg-lock, html.bfg-lock body { overflow: hidden; }
.bfg-modal[hidden], .bfg-cookie[hidden] { display: none !important; }
.bfg-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.bfg-modal__backdrop { position: absolute; inset: 0; background: rgba(28, 38, 30, .55); }
.bfg-modal__box {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; border-radius: 18px; padding: 26px 24px 20px;
  font-family: Montserrat, Arial, sans-serif; color: #2c2c2c; box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}
.bfg-modal__x {
  position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 26px; line-height: 1; color: #6b6b6b; cursor: pointer; border-radius: 50%;
}
.bfg-modal__x:hover { background: #f2f2f2; }
.bfg-modal__kicker { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-taupe); }
.bfg-modal h2 { font-family: "Noto Serif Display", Georgia, serif; color: var(--bf-green); font-size: 23px; line-height: 1.25; margin: 0 40px 6px 0; }
.bfg-modal__lead { margin: 0 0 14px; font-size: 14px; color: #5d5d5d; }
.bfg-modal fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.bfg-modal legend { font-weight: 600; font-size: 14px; color: var(--bf-green); margin-bottom: 8px; padding: 0; }
.bfg-modal label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid var(--bf-line); border-radius: 10px; padding: 9px 12px; margin: 0 0 6px; font-size: 14px; line-height: 1.35;
}
.bfg-modal label:has(input:checked) { border-color: var(--bf-green); background: var(--bf-sage-soft); }
.bfg-modal input[type="radio"] { accent-color: var(--bf-green); margin: 0; flex: none; }
.bfg-modal .bfg-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bfg-modal .bfg-row legend { width: 100%; }
.bfg-modal .bfg-row label { margin: 0; flex: 1 1 auto; }
.bfg-modal .bfg-btn {
  background: #25d366; color: #fff !important; width: 100%; border: 0; border-radius: 10px;
  padding: 15px; font: 600 16px/1 Montserrat, Arial, sans-serif; cursor: pointer; margin-top: 4px;
}
.bfg-modal .bfg-btn:hover { background: #1fb858; }
.bfg-skip {
  display: block; width: 100%; margin-top: 8px; background: none; border: 0; padding: 8px;
  color: #6b6b6b; font: 500 13px/1.2 Montserrat, Arial, sans-serif; text-decoration: underline; cursor: pointer;
}
.bfg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.bfg-cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 9980; max-width: 460px;
  display: flex; gap: 14px; align-items: center;
  background: #fff; color: #2c2c2c; border: 1px solid var(--bf-line); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
  font: 400 13px/1.45 Montserrat, Arial, sans-serif;
}
.bfg-cookie p { margin: 0; }
.bfg-cookie a { color: var(--bf-green); }
.bfg-cookie .bfg-btn { background: var(--bf-green); color: #fff !important; border: 0; border-radius: 8px; padding: 10px 14px; font: 600 13px/1 Montserrat, Arial, sans-serif; cursor: pointer; flex: none; }
@media (max-width: 600px) { .bfg-cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
