/*
Theme Name: Weedu Soluções
Theme URI: https://weedu.com.br
Author: Weedu Soluções
Description: Tema oficial da Weedu Soluções — gestão que aprova. Home, casos de sucesso, blog e layout de artigo com o funil de nutrição. Mantém todos os artigos existentes do WordPress.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: weedu
*/

/* ============ Reset / base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #F8F8FB;
  font-family: 'Asap', system-ui, -apple-system, sans-serif;
  color: #3A3850;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #E3DCFC; }
.wd-container { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wd-narrow { max-width: 760px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ============ Buttons ============ */
.wd-btn { display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; padding: 15px 24px; border-radius: 12px;
  transition: background .2s, transform .12s; text-align: center; }
.wd-btn-primary { background: #7956F7; color: #fff; box-shadow: 0 8px 20px rgba(121,86,247,0.30); }
.wd-btn-primary:hover { background: #6C4DDE; }
.wd-btn-primary:active { transform: scale(.98); }
.wd-btn-secondary { background: #fff; color: #160E2B; border: 1px solid #CFCDDE; }
.wd-btn-secondary:hover { background: #F0EFF5; }
.wd-btn-light { background: #fff; color: #543CAC; font-weight: 700; box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.wd-btn-light:hover { background: #F2EFFE; }
.wd-btn-sm { font-size: 14.5px; padding: 11px 18px; }

/* ============ Eyebrow / headings ============ */
.wd-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6C4DDE; }
.wd-h1 { font-size: 58px; font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: #160E2B; margin: 0; text-wrap: balance; }
.wd-h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.02em; color: #160E2B; margin: 0; text-wrap: balance; }
.wd-lead { font-size: 19px; line-height: 1.55; color: #545167; }

/* ============ Header ============ */
.wd-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px); border-bottom: 1px solid #E4E2EE; }
.wd-header-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 74px; display: flex; align-items: center; gap: 28px; }
.wd-logo img { height: 30px; }
.wd-nav { display: flex; gap: 26px; margin-left: 8px; flex-wrap: wrap; }
.wd-nav a { font-size: 14.5px; font-weight: 600; color: #3A3850; }
.wd-nav a:hover, .wd-nav .current-menu-item a { color: #6C4DDE; }
.wd-header-spacer { flex: 1; }
.wd-header-actions { display: flex; align-items: center; gap: 8px; }
.wd-link-btn { background: transparent; border: 0; color: #3A3850; font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; padding: 9px 12px; }

/* ============ Sections ============ */
.wd-section { padding: 92px 0; }
.wd-section-tight { padding: 72px 0; }
.wd-bg-soft { background: #F0EFF5; }
.wd-bg-ink { background: #160E2B; }
.wd-hero { position: relative; overflow: hidden;
  background: radial-gradient(900px 420px at 88% -8%, #F2EFFE 0%, rgba(242,239,254,0) 60%), #F8F8FB; }
.wd-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 78px 0 88px; }
.wd-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E4E2EE;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #6C4DDE; box-shadow: 0 1px 2px rgba(22,14,43,0.06); }
.wd-hero h1 { margin: 22px 0 0; }
.wd-hero p { margin: 22px 0 0; max-width: 480px; }
.wd-hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.wd-avatars { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.wd-av { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #F8F8FB; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; }

/* results panel */
.wd-panel { position: relative; background: linear-gradient(155deg,#7956F7,#543CAC); border-radius: 28px; padding: 28px;
  box-shadow: 0 24px 48px rgba(22,14,43,0.18); min-height: 392px; color: #fff; }
.wd-panel .wd-sym { position: absolute; right: -16px; top: -16px; width: 140px; opacity: 0.16; }
.wd-panel-row { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.14);
  border-radius: 12px; padding: 13px 16px; margin-top: 12px; font-size: 14.5px; }

/* stats band */
.wd-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding: 40px 0; }
.wd-stat { text-align: center; }
.wd-stat-num { font-size: 44px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.wd-stat-label { font-size: 14px; color: #A3A0B8; margin-top: 4px; }

/* antes / depois */
.wd-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.wd-compare { border-radius: 20px; padding: 34px; }
.wd-compare-before { background: #fff; border: 1px solid #E4E2EE; }
.wd-compare-after { background: linear-gradient(155deg,#7956F7,#543CAC); box-shadow: 0 24px 48px rgba(22,14,43,0.20); }
.wd-compare h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 20px; }
.wd-compare-before h4 { color: #A3A0B8; }
.wd-compare-after h4 { color: rgba(255,255,255,0.75); }
.wd-compare ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.wd-compare li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.wd-compare-before li { color: #545167; }
.wd-compare-after li { color: #fff; }

/* solutions */
.wd-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.wd-card { background: #fff; border: 1px solid #E4E2EE; border-radius: 16px; padding: 26px; box-shadow: 0 1px 3px rgba(22,14,43,0.08);
  transition: box-shadow .2s, transform .2s; display: block; }
.wd-card:hover { box-shadow: 0 12px 28px rgba(22,14,43,0.12); transform: translateY(-3px); }
.wd-card-ico { width: 52px; height: 52px; border-radius: 14px; background: #F2EFFE; color: #6C4DDE;
  display: flex; align-items: center; justify-content: center; }
.wd-card h3 { margin: 18px 0 7px; font-size: 20px; font-weight: 700; color: #160E2B; }
.wd-card p { margin: 0; font-size: 15px; color: #545167; line-height: 1.5; }
.wd-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.wd-tag-violet { color: #6C4DDE; background: #F2EFFE; }
.wd-tag-green { color: #157A58; background: #D8F3E4; }
.wd-tag-amber { color: #B07B18; background: #FCEED2; }
.wd-card-dashed { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  background: #F8F8FB; border: 1.5px dashed #CFCDDE; border-radius: 16px; padding: 26px; }
.wd-sol-list { display: flex; flex-direction: column; gap: 14px; }
.wd-sol-item { display: flex; align-items: center; gap: 22px; background: #fff; border-radius: 16px; padding: 22px 26px;
  box-shadow: 0 1px 3px rgba(22,14,43,0.08); transition: box-shadow .2s; }
.wd-sol-item:hover { box-shadow: 0 12px 28px rgba(22,14,43,0.12); }

/* metodo */
.wd-step { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 1px 3px rgba(22,14,43,0.08); }
.wd-step-num { font-size: 30px; font-weight: 700; color: #AD98F9; }
.wd-step h3 { margin: 14px 0 8px; font-size: 22px; font-weight: 700; color: #160E2B; }
.wd-step p { margin: 0; font-size: 15.5px; color: #545167; line-height: 1.55; }

/* casos */
.wd-caso { background: #fff; border: 1px solid #E4E2EE; border-radius: 16px; padding: 28px; box-shadow: 0 1px 3px rgba(22,14,43,0.08);
  display: flex; flex-direction: column; }
.wd-caso-metric { font-size: 42px; font-weight: 700; color: #7956F7; letter-spacing: -0.02em; }
.wd-caso-label { font-size: 15px; font-weight: 600; color: #160E2B; margin-top: 2px; }
.wd-caso p { margin: 14px 0 0; font-size: 15px; color: #545167; line-height: 1.55; }
.wd-caso .wd-tag { align-self: flex-start; }

/* depoimento */
.wd-quote { font-size: 28px; font-weight: 600; line-height: 1.34; color: #fff; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.wd-quote-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.wd-video { position: relative; display: block; cursor: pointer; background: linear-gradient(155deg,#543CAC,#24194A);
  border-radius: 20px; aspect-ratio: 16/10; box-shadow: 0 24px 48px rgba(0,0,0,0.3); overflow: hidden; }
.wd-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.wd-video-play span { width: 72px; height: 72px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

/* funil */
.wd-funnel { position: relative; overflow: hidden; background: #F2EFFE; border: 1px solid #E3DCFC; border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.wd-funnel-ink { background: #160E2B; border: 0; }
.wd-form { display: flex; gap: 10px; max-width: 440px; flex-wrap: wrap; }
.wd-form input { flex: 1; min-width: 200px; font-family: inherit; font-size: 15px; padding: 14px 16px; border: 1px solid #CFCDDE;
  border-radius: 12px; background: #fff; color: #160E2B; outline: none; }
.wd-form input:focus { border-color: #7956F7; box-shadow: 0 0 0 3px rgba(173,152,249,0.4); }
.wd-material { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 12px 28px rgba(22,14,43,0.12); }
.wd-material-ico { width: 46px; height: 46px; border-radius: 12px; background: #160E2B; color: #fff; display: flex; align-items: center; justify-content: center; }
.wd-ok { display: inline-flex; align-items: center; gap: 10px; background: #D8F3E4; color: #157A58; padding: 14px 18px; border-radius: 12px; font-size: 15px; font-weight: 600; }

/* cta band */
.wd-cta { position: relative; overflow: hidden; background: linear-gradient(150deg,#7956F7,#543CAC); border-radius: 28px; padding: 72px 48px; text-align: center; }
.wd-cta h2 { font-size: 42px; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.wd-cta p { font-size: 18px; color: rgba(255,255,255,0.86); max-width: 540px; margin: 16px auto 30px; }
.wd-cta .wd-sym { position: absolute; left: -30px; bottom: -30px; width: 200px; opacity: 0.12; }

/* ============ Footer ============ */
.wd-footer { background: #160E2B; color: #CFCDDE; }
.wd-footer-grid { max-width: 1180px; margin: 0 auto; padding: 56px 32px 32px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.wd-footer h4 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.wd-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.wd-footer-col a { color: #A3A0B8; }
.wd-footer-col a:hover { color: #fff; }
.wd-footer p { font-size: 14px; color: #A3A0B8; max-width: 280px; margin-top: 16px; line-height: 1.55; }
.wd-footer-bottom { max-width: 1180px; margin: 0 auto; padding: 20px 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; font-size: 12.5px; color: #76738D; flex-wrap: wrap; gap: 8px; }

/* ============ Blog listing ============ */
.wd-blog-hero { background: linear-gradient(150deg,#7956F7,#543CAC); position: relative; overflow: hidden; }
.wd-blog-hero .wd-sym { position: absolute; right: -40px; top: -30px; width: 280px; opacity: 0.12; }
.wd-blog-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; padding: 64px 0; position: relative; }
.wd-blog-feed { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding: 56px 0 80px; }
.wd-post-row { display: grid; grid-template-columns: 200px 1fr; gap: 22px; background: #fff; border: 1px solid #E4E2EE;
  border-radius: 18px; overflow: hidden; box-shadow: 0 1px 3px rgba(22,14,43,0.08); transition: box-shadow .2s; margin-bottom: 20px; }
.wd-post-row:hover { box-shadow: 0 12px 28px rgba(22,14,43,0.12); }
.wd-post-thumb { background: linear-gradient(155deg,#7956F7,#24194A); min-height: 160px; position: relative; display: flex; align-items: center; justify-content: center; }
.wd-post-thumb img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wd-post-body { padding: 22px 22px 18px; display: flex; flex-direction: column; }
.wd-post-meta { font-size: 12.5px; font-weight: 600; color: #6C4DDE; }
.wd-post-body h3 { font-size: 20px; font-weight: 700; color: #160E2B; line-height: 1.2; margin: 8px 0; text-wrap: balance; }
.wd-post-body p { font-size: 14.5px; color: #545167; line-height: 1.5; margin: 0; }
.wd-share { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.wd-share a, .wd-share button { width: 32px; height: 32px; border-radius: 50%; background: #F0EFF5; display: flex; align-items: center;
  justify-content: center; color: #3A3850; cursor: pointer; border: 0; }
.wd-share a:hover, .wd-share button:hover { background: #E3DCFC; color: #6C4DDE; }
.wd-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.wd-cat { border: 1px solid #E4E2EE; background: #fff; color: #3A3850; font-family: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.wd-cat:hover, .wd-cat.active { border-color: #7956F7; color: #6C4DDE; }
.wd-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.wd-sidebar-card { background: #fff; border: 1px solid #E4E2EE; border-radius: 18px; padding: 24px; box-shadow: 0 1px 3px rgba(22,14,43,0.08); }
.wd-sidebar-card h4 { margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #160E2B; }

/* ============ Single article ============ */
.wd-progress { position: fixed; top: 74px; left: 0; right: 0; height: 3px; z-index: 35; background: transparent; }
.wd-progress span { display: block; height: 100%; width: 0; background: #7956F7; }
.wd-article-head { max-width: 760px; margin: 0 auto; padding: 48px 32px 0; }
.wd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #76738D; margin-bottom: 24px; }
.wd-breadcrumb a { color: #6C4DDE; font-weight: 600; }
.wd-article-head h1 { font-size: 46px; font-weight: 700; color: #160E2B; letter-spacing: -0.02em; line-height: 1.08; margin: 18px 0 0; text-wrap: balance; }
.wd-article-meta { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; padding-bottom: 24px; border-bottom: 1px solid #E4E2EE; }
.wd-article-cover { max-width: 760px; margin: 32px auto 0; padding: 0 32px; }
.wd-article-cover .ph { background: linear-gradient(155deg,#7956F7,#543CAC); border-radius: 20px; aspect-ratio: 16/8; display: flex; align-items: center; justify-content: center; }
.wd-article-cover img { border-radius: 20px; width: 100%; }
.wd-article-body { max-width: 680px; margin: 0 auto; padding: 44px 32px 0; font-size: 18.5px; line-height: 1.72; color: #3A3850; }
.wd-article-body p { margin: 0 0 24px; }
.wd-article-body h2 { font-size: 28px; font-weight: 700; color: #160E2B; letter-spacing: -0.01em; line-height: 1.2; margin: 40px 0 16px; }
.wd-article-body h3 { font-size: 22px; font-weight: 700; color: #160E2B; margin: 32px 0 12px; }
.wd-article-body img { border-radius: 14px; margin: 16px 0; }
.wd-article-body ul, .wd-article-body ol { margin: 0 0 24px; padding-left: 24px; }
.wd-article-body li { margin-bottom: 10px; }
.wd-article-body a { color: #6C4DDE; font-weight: 600; text-decoration: underline; }
.wd-article-body blockquote { margin: 36px 0; padding: 24px 28px; background: #F4F2FC; border-radius: 16px; border: 0;
  font-size: 22px; line-height: 1.45; font-weight: 600; color: #160E2B; letter-spacing: -0.01em; text-wrap: balance; }
.wd-inline-magnet { margin: 36px 0; background: #160E2B; border-radius: 18px; padding: 28px; display: flex; align-items: center; gap: 20px; position: relative; overflow: hidden; }
.wd-article-foot { max-width: 680px; margin: 8px auto 0; padding: 0 32px; }
.wd-tags-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid #E4E2EE; border-bottom: 1px solid #E4E2EE; flex-wrap: wrap; }
.wd-pill { font-size: 13px; color: #54516B; background: #F0EFF5; padding: 7px 13px; border-radius: 999px; }
.wd-author-box { display: flex; gap: 18px; align-items: flex-start; background: #F8F8FB; border: 1px solid #E4E2EE; border-radius: 18px; padding: 26px; margin-top: 32px; }

/* ============ Seção de contato / diagnóstico ============ */
.wd-contato { padding: 0 0 80px; }
.wd-contato-card { position: relative; overflow: hidden; background: linear-gradient(150deg,#160E2B,#24194A); border-radius: 28px; padding: 52px; }
.wd-contato-card .wd-sym { position: absolute; right: -30px; bottom: -30px; width: 200px; opacity: 0.12; }
.wd-contato-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.wd-contato-form { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 24px 48px rgba(0,0,0,0.28); }
.wd-field { font-family: inherit; font-size: 15px; padding: 14px 16px; border: 1px solid #CFCDDE; border-radius: 12px; background: #fff; color: #160E2B; outline: none; width: 100%; }
.wd-field:focus { border-color: #7956F7; box-shadow: 0 0 0 3px rgba(173,152,249,0.4); }
.wd-wpp { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 11px 16px; border-radius: 12px; }
.wd-wpp:hover { background: rgba(255,255,255,0.14); }

/* avatar generic */
.wd-avatar { border-radius: 50%; background: #7956F7; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex: none; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .wd-hero-grid, .wd-twocol, .wd-grid-3, .wd-stats, .wd-funnel, .wd-blog-hero-grid, .wd-blog-feed, .wd-footer-grid, .wd-contato-grid { grid-template-columns: 1fr; }
  .wd-contato-card { padding: 32px 24px; }
  .wd-post-row { grid-template-columns: 1fr; }
  .wd-post-thumb { min-height: 180px; }
  .wd-sidebar { position: static; }
  .wd-h1 { font-size: 42px; }
  .wd-h2 { font-size: 32px; }
  .wd-cta h2 { font-size: 32px; }
  .wd-section { padding: 64px 0; }
  .wd-nav { display: none; }
}
@media (max-width: 560px) {
  .wd-container, .wd-narrow { padding-left: 20px; padding-right: 20px; }
  .wd-funnel, .wd-cta { padding: 32px 24px; }
  .wd-h1 { font-size: 34px; }
}
