/*
Theme Name: Tradichá Blog
Theme URI: https://www.tradicha.com.br
Author: Tradichá Farmácia de Manipulação
Description: Tema leve para o blog da Tradichá, com o visual da loja virtual e estrutura pensada para Google e assistentes de IA: dados estruturados (BlogPosting, MedicalWebPage, FAQPage, Pharmacy), resposta rápida, FAQ, referências, autoria com CRF, robots.txt liberando rastreadores de IA e /llms.txt.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tradicha-blog
Tags: blog, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ===================== Tokens ===================== */
:root {
	--tb-green: #067e62;
	--tb-green-dark: #04503f;
	--tb-green-hover: #056a52;
	--tb-leaf: #51ba5a;
	--tb-mint: #eaf5ef;
	--tb-mint-2: #d7ede1;
	--tb-cream: #f6f8f5;
	--tb-ink: #1d2a26;
	--tb-text: #33413c;
	--tb-muted: #5f6d68;
	--tb-line: #e2e9e5;
	--tb-white: #fff;
	--tb-warn: #b45309;
	--tb-warn-bg: #fff7ed;
	--tb-radius: 14px;
	--tb-radius-sm: 8px;
	--tb-shadow: 0 1px 2px rgba(4, 80, 63, .06), 0 8px 24px rgba(4, 80, 63, .07);
	--tb-font-head: "Nunito", ui-rounded, system-ui, sans-serif;
	--tb-font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tb-container: 1200px;
	--tb-narrow: 820px;
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
	margin: 0;
	font-family: var(--tb-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--tb-text);
	background: var(--tb-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tb-green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tb-green-dark); }
h1, h2, h3, h4 { font-family: var(--tb-font-head); color: var(--tb-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--tb-leaf); outline-offset: 2px; border-radius: 4px; }
.tb-icon { flex: none; vertical-align: middle; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.tb-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tb-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.tb-skip:focus { left: 8px; }

.tb-container { width: 100%; max-width: var(--tb-container); margin: 0 auto; padding: 0 20px; }
.tb-container--narrow { max-width: var(--tb-narrow); }

/* ===================== Botões ===================== */
.tb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--tb-font-head); font-weight: 800; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.tb-btn:hover { transform: translateY(-1px); }
.tb-btn--primary { background: var(--tb-green); color: #fff; }
.tb-btn--primary:hover { background: var(--tb-green-dark); color: #fff; }
.tb-btn--light { background: #fff; color: var(--tb-green-dark); }
.tb-btn--light:hover { background: var(--tb-mint); color: var(--tb-green-dark); }
.tb-btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.tb-btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.tb-btn--block { width: 100%; }

/* ===================== Faixa superior ===================== */
.tb-topbar { background: var(--tb-green-dark); color: #e6f3ec; font-size: 13.5px; }
.tb-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.tb-topbar__text { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.tb-topbar__text .tb-icon { color: var(--tb-leaf); }
.tb-topbar__links { display: inline-flex; align-items: center; gap: 14px; }
.tb-topbar a { color: #e6f3ec; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tb-topbar a:hover { color: #fff; }

/* ===================== Cabeçalho ===================== */
.tb-header { background: #fff; position: relative; z-index: 20; box-shadow: 0 1px 0 var(--tb-line); }
.tb-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.tb-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.tb-logo img, .tb-brand .custom-logo { display: block; width: auto; height: 54px; }
.tb-brand__tag {
	font-family: var(--tb-font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
	color: var(--tb-green); background: var(--tb-mint); padding: 4px 10px; border-radius: 999px;
}
.tb-search { flex: 1; display: flex; align-items: center; max-width: 560px; background: var(--tb-cream); border: 1.5px solid var(--tb-line); border-radius: 999px; transition: border-color .15s, box-shadow .15s; }
.tb-search:focus-within { border-color: var(--tb-green); box-shadow: 0 0 0 4px var(--tb-mint); background: #fff; }
.tb-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 6px 12px 20px; font: inherit; font-size: 15px; color: var(--tb-ink); outline: none; }
.tb-search input::placeholder { color: #8a9692; }
.tb-search button { border: 0; background: var(--tb-green); color: #fff; width: 42px; height: 42px; margin: 3px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.tb-search button:hover { background: var(--tb-green-dark); }
.tb-search--block { max-width: none; margin: 1.5em 0; }
.tb-header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.tb-header__wa { display: flex; align-items: center; gap: 10px; color: var(--tb-green); text-decoration: none; font-family: var(--tb-font-head); font-weight: 800; font-size: 15px; line-height: 1.15; }
.tb-header__wa small { display: block; font-family: var(--tb-font-body); font-weight: 600; font-size: 12.5px; color: var(--tb-muted); }
.tb-menu-toggle { display: none; border: 0; background: none; color: var(--tb-green); padding: 8px; margin-left: -8px; cursor: pointer; }

/* Menu (barra verde, como na loja) */
.tb-nav { background: var(--tb-green); }
.tb-nav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.tb-nav__list > li { position: relative; }
.tb-nav__list a {
	display: block; padding: 13px 16px; color: #fff; text-decoration: none;
	font-family: var(--tb-font-head); font-weight: 700; font-size: 15px;
}
.tb-nav__list > li > a:hover, .tb-nav__list > .current-menu-item > a, .tb-nav__list > .current-cat > a, .tb-nav__list > .current-menu-ancestor > a { background: var(--tb-green-dark); }
.tb-nav__list .sub-menu, .tb-nav__list .children {
	list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px;
	background: #fff; border-radius: 0 0 var(--tb-radius-sm) var(--tb-radius-sm); box-shadow: var(--tb-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.tb-nav__list li:hover > .sub-menu, .tb-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tb-nav__list .sub-menu a { color: var(--tb-text); padding: 9px 12px; border-radius: 6px; font-weight: 600; }
.tb-nav__list .sub-menu a:hover { background: var(--tb-mint); color: var(--tb-green-dark); }

/* ===================== Elementos comuns ===================== */
.tb-main { min-height: 50vh; }
.tb-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; color: var(--tb-green); font-family: var(--tb-font-head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.tb-pill { display: inline-block; background: var(--tb-mint); color: var(--tb-green-dark); padding: 4px 12px; border-radius: 999px; font-family: var(--tb-font-head); font-weight: 800; font-size: 12.5px; text-decoration: none; }
.tb-pill:hover { background: var(--tb-mint-2); color: var(--tb-green-dark); }
.tb-section-title { font-size: 26px; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.tb-section-title::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: var(--tb-leaf); }
.tb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tb-chips a, .tb-chips .tb-chip-static {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
	background: #fff; border: 1.5px solid var(--tb-line); color: var(--tb-ink); text-decoration: none;
	font-family: var(--tb-font-head); font-weight: 700; font-size: 15px;
}
.tb-chips a span { background: var(--tb-mint); color: var(--tb-green-dark); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.tb-chips a:hover { border-color: var(--tb-green); color: var(--tb-green-dark); }
.tb-chips--small a, .tb-chips--small span:only-child { padding: 6px 12px; font-size: 13.5px; }
.tb-empty { padding: 40px 0; color: var(--tb-muted); }

.tb-breadcrumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--tb-muted); }
.tb-breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: #a6b2ae; }
.tb-breadcrumbs a { color: var(--tb-muted); text-decoration: none; }
.tb-breadcrumbs a:hover { color: var(--tb-green); text-decoration: underline; }
.tb-breadcrumbs [aria-current] { color: var(--tb-ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 46ch; }

/* ===================== Home ===================== */
.tb-hero { background: linear-gradient(180deg, var(--tb-mint) 0%, #fff 100%); padding: 48px 0 36px; }
.tb-hero__intro { max-width: 760px; margin-bottom: 32px; }
.tb-hero__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.tb-hero__lead { font-size: 18.5px; color: var(--tb-muted); margin: 0; }
.tb-hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.tb-hero__side { display: grid; gap: 16px; }

.tb-trust { border-top: 1px solid var(--tb-line); border-bottom: 1px solid var(--tb-line); background: #fff; }
.tb-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tb-trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; color: var(--tb-green); }
.tb-trust__item + .tb-trust__item { border-left: 1px solid var(--tb-line); }
.tb-trust__item p { margin: 0; line-height: 1.3; }
.tb-trust__item strong { display: block; color: var(--tb-ink); font-family: var(--tb-font-head); font-size: 15.5px; }
.tb-trust__item span { color: var(--tb-muted); font-size: 13.5px; }

.tb-topics { padding: 44px 0 8px; }
.tb-hero--compact { padding: 48px 0 40px; }
.tb-hero--compact .tb-hero__intro { margin-bottom: 0; }
.tb-listing--home { background: var(--tb-cream); padding: 48px 0 64px; }

/* FAQ da home */
.tb-home-faq { padding: 64px 0 72px; background: #fff; }
.tb-home-faq__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
.tb-home-faq__intro { position: sticky; top: 24px; }
.tb-home-faq__title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.tb-home-faq__lead { color: var(--tb-muted); font-size: 17px; margin-bottom: 24px; }
.tb-home-faq__list { margin: 0; }
.tb-listing { padding: 40px 0 64px; }
.tb-related { padding: 48px 0 64px; background: var(--tb-cream); }

/* ===================== Cards ===================== */
.tb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tb-card { background: #fff; border-radius: var(--tb-radius); overflow: hidden; box-shadow: var(--tb-shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.tb-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(4,80,63,.06), 0 16px 32px rgba(4,80,63,.1); }
.tb-card__media { display: block; aspect-ratio: 16 / 9; background: var(--tb-mint); overflow: hidden; }
.tb-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.tb-card:hover .tb-card__media img { transform: scale(1.03); }
.tb-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--tb-leaf); background: radial-gradient(circle at 70% 30%, var(--tb-mint-2), var(--tb-mint)); }
.tb-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tb-card__body .tb-pill { align-self: flex-start; }
.tb-card__title { font-size: 19.5px; margin: 0; }
.tb-card__title a { color: var(--tb-ink); text-decoration: none; }
.tb-card__title a:hover { color: var(--tb-green); }
.tb-card__excerpt { margin: 0; color: var(--tb-muted); font-size: 15.5px; line-height: 1.55; }
.tb-card__meta { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 14px; color: var(--tb-muted); font-size: 13px; }
.tb-card__meta span { display: inline-flex; align-items: center; gap: 5px; }

.tb-card--feature .tb-card__title { font-size: clamp(22px, 2.6vw, 30px); }
.tb-card--feature .tb-card__body { padding: 24px 26px 26px; }
.tb-card--feature .tb-card__excerpt { font-size: 16.5px; }
.tb-card--compact { flex-direction: row; align-items: stretch; }
.tb-card--compact .tb-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 120px; }
.tb-card--compact .tb-card__body { padding: 14px 16px; gap: 8px; }
.tb-card--compact .tb-card__title { font-size: 16.5px; }

.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--tb-line); color: var(--tb-ink); text-decoration: none; font-family: var(--tb-font-head); font-weight: 800; }
.page-numbers.current { background: var(--tb-green); border-color: var(--tb-green); color: #fff; }
a.page-numbers:hover { border-color: var(--tb-green); color: var(--tb-green); }

/* ===================== Cabeçalho de páginas e arquivos ===================== */
.tb-page-header { background: var(--tb-mint); padding: 32px 0 34px; }
.tb-page-header__title { font-size: clamp(28px, 3.6vw, 40px); margin: 0; }
.tb-page-header__desc { margin-top: 12px; max-width: 720px; color: var(--tb-muted); font-size: 17.5px; }
.tb-page-header__desc p:last-child { margin: 0; }
.tb-page-header .tb-chips { margin-top: 18px; }
.tb-profile__inner { display: flex; gap: 28px; align-items: flex-start; }
.tb-profile__inner > img { border-radius: 50%; border: 4px solid #fff; box-shadow: var(--tb-shadow); flex: none; }
.tb-profile__cred { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--tb-green-dark); font-weight: 700; }
.tb-profile__line { margin: 10px 0 0; }
.tb-profile .tb-chips { margin-top: 14px; }
.tb-profile__links { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; font-size: 15px; }
.tb-page__cover { margin: 32px 0 0; }
.tb-page__cover img { border-radius: var(--tb-radius); display: block; }
.tb-page .tb-entry-content { padding: 32px 0 64px; }
.tb-404 { padding: 64px 0 80px; }

/* ===================== Artigo ===================== */
.tb-article__header { background: linear-gradient(180deg, var(--tb-mint) 0%, var(--tb-mint) 62%, #fff 62%); padding-top: 28px; }
.tb-article__header:not(:has(.tb-article__cover)) { background: var(--tb-mint); padding-bottom: 28px; }
.tb-article__header .tb-pill { margin-bottom: 14px; }
.tb-entry-title { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 22px; }
.tb-byline { display: flex; align-items: center; gap: 14px; }
.tb-byline__avatar img { border-radius: 50%; display: block; border: 3px solid #fff; }
.tb-byline p { margin: 0; }
.tb-byline__author { font-size: 15.5px; color: var(--tb-muted); }
.tb-byline__author a { color: var(--tb-ink); font-weight: 700; text-decoration: none; }
.tb-byline__author a:hover { color: var(--tb-green); }
.tb-byline__cred { display: inline-block; margin-left: 4px; color: var(--tb-green-dark); font-weight: 600; font-size: 14px; }
.tb-byline__cred::before { content: "· "; color: var(--tb-muted); }
.tb-byline__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--tb-muted); margin-top: 2px !important; }
.tb-byline__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tb-reviewed { color: var(--tb-green-dark); font-weight: 600; }
.tb-reviewed a, .tb-reviewed strong { color: var(--tb-green-dark); font-weight: 800; }
.tb-article__cover { margin: 28px auto 0; max-width: 1040px; }
.tb-article__cover img { width: 100%; display: block; border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); aspect-ratio: 16 / 9; object-fit: cover; }
.tb-article__cover figcaption { font-size: 13px; color: var(--tb-muted); margin-top: 8px; text-align: center; }

.tb-article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 40px; padding-bottom: 56px; max-width: 1140px; }
.tb-article__aside { position: relative; }
.tb-article__aside > * + * { margin-top: 20px; }
@supports (position: sticky) { .tb-article__aside { align-self: start; position: sticky; top: 24px; } }

/* Resposta rápida */
.tb-answer { background: var(--tb-mint); border-left: 5px solid var(--tb-green); border-radius: var(--tb-radius-sm); padding: 22px 26px; margin-bottom: 28px; }
.tb-answer__title { display: flex; align-items: center; gap: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--tb-green); margin: 0 0 10px; }
.tb-answer__text { font-size: 18.5px; line-height: 1.6; color: var(--tb-ink); margin: 0; }
.tb-answer__list { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--tb-mint-2); display: grid; gap: 8px; }
.tb-answer__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tb-answer__list .tb-icon { color: #fff; background: var(--tb-green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 3px; }

/* Sumário */
.tb-toc { border: 1.5px solid var(--tb-line); border-radius: var(--tb-radius-sm); margin-bottom: 32px; }
.tb-toc summary { display: flex; align-items: center; gap: 8px; padding: 14px 20px; cursor: pointer; font-family: var(--tb-font-head); font-weight: 800; color: var(--tb-ink); list-style: none; }
.tb-toc summary::-webkit-details-marker { display: none; }
.tb-toc summary .tb-icon { color: var(--tb-green); }
.tb-toc ol { margin: 0; padding: 0 20px 16px 42px; display: grid; gap: 4px; font-size: 15.5px; }
.tb-toc li::marker { color: var(--tb-green); font-weight: 700; }
.tb-toc a { color: var(--tb-text); text-decoration: none; }
.tb-toc a:hover, .tb-toc a.is-active { color: var(--tb-green); text-decoration: underline; }

/* Conteúdo do artigo */
.tb-entry-content { font-size: 18px; line-height: 1.75; }
.tb-entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.tb-entry-content h2 { font-size: 28px; margin-top: 1.8em; margin-bottom: .6em; scroll-margin-top: 24px; }
.tb-entry-content h3 { font-size: 22px; margin-top: 1.5em; margin-bottom: .5em; scroll-margin-top: 24px; }
.tb-entry-content h4 { font-size: 18px; margin-top: 1.4em; }
.tb-entry-content ul, .tb-entry-content ol { padding-left: 1.4em; }
.tb-entry-content li { margin-bottom: .4em; }
.tb-entry-content li::marker { color: var(--tb-green); }
.tb-entry-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--tb-leaf); font-family: var(--tb-font-head); font-size: 21px; color: var(--tb-ink); font-weight: 700; }
.tb-entry-content img { border-radius: var(--tb-radius-sm); }
.tb-entry-content figcaption { font-size: 14px; color: var(--tb-muted); text-align: center; }
.tb-entry-content strong { color: var(--tb-ink); }
.tb-entry-content hr { border: 0; border-top: 1px solid var(--tb-line); margin: 2.5em 0; }
.tb-entry-content .wp-block-table table, .tb-entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.tb-entry-content th { background: var(--tb-green); color: #fff; text-align: left; font-family: var(--tb-font-head); }
.tb-entry-content th, .tb-entry-content td { padding: 12px 14px; border: 1px solid var(--tb-line); vertical-align: top; }
.tb-entry-content tbody tr:nth-child(even) { background: var(--tb-cream); }
.tb-entry-content .wp-block-table { overflow-x: auto; }
.tb-entry-content .wp-block-button__link { background: var(--tb-green); border-radius: 999px; font-family: var(--tb-font-head); font-weight: 800; }

/* Caixas de destaque (padrões de bloco) */
.tb-callout { border-radius: var(--tb-radius-sm); padding: 20px 24px !important; margin: 1.6em 0; }
.tb-callout > :last-child { margin-bottom: 0; }
.tb-callout__title { font-family: var(--tb-font-head); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px !important; display: flex; align-items: center; gap: 8px; }
.tb-callout--tip { background: var(--tb-mint); border: 1.5px solid var(--tb-mint-2); }
.tb-callout--tip .tb-callout__title { color: var(--tb-green); }
.tb-callout--tip .tb-callout__title::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--tb-leaf); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19c0-8 5-14 15-15-1 10-7 15-15 15Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19c0-8 5-14 15-15-1 10-7 15-15 15Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.tb-callout--warn { background: var(--tb-warn-bg); border: 1.5px solid #fed7aa; }
.tb-callout--warn .tb-callout__title { color: var(--tb-warn); }
.tb-callout--warn .tb-callout__title::before { content: "!"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tb-warn); color: #fff; font-size: 13px; }

/* Caixa da loja */
.tb-store-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 36px 0; padding: 22px 26px; border-radius: var(--tb-radius); background: #fff; border: 1.5px solid var(--tb-mint-2); box-shadow: var(--tb-shadow); }
.tb-store-box p { margin: 0; }
.tb-store-box__eyebrow { font-size: 13px; font-weight: 700; color: var(--tb-green); text-transform: uppercase; letter-spacing: .06em; }
.tb-store-box__title { font-family: var(--tb-font-head); font-weight: 800; font-size: 19px; color: var(--tb-ink); }

/* FAQ */
.tb-faq { margin: 48px 0 32px; }
.tb-faq > h2 { font-size: 28px; }
.tb-faq__item { border: 1.5px solid var(--tb-line); border-radius: var(--tb-radius-sm); margin-bottom: 12px; background: #fff; transition: border-color .15s; }
.tb-faq__item[open] { border-color: var(--tb-mint-2); background: var(--tb-cream); }
.tb-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; }
.tb-faq__item summary::-webkit-details-marker { display: none; }
.tb-faq__item summary h3 { font-size: 18px; margin: 0; }
.tb-faq__item summary .tb-icon { color: var(--tb-green); transition: transform .2s; }
.tb-faq__item[open] summary .tb-icon { transform: rotate(90deg); }
.tb-faq__answer { padding: 0 20px 18px; font-size: 16.5px; }
.tb-faq__answer p { margin: 0; }

/* Referências e aviso */
.tb-sources { margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--tb-line); }
.tb-sources h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--tb-ink); }
.tb-sources h2 .tb-icon { color: var(--tb-green); }
.tb-sources ol { margin: 0; padding-left: 1.3em; font-size: 14.5px; color: var(--tb-muted); display: grid; gap: 6px; }
.tb-sources a { word-break: break-word; }
.tb-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin: 28px 0; padding: 14px 18px; background: var(--tb-cream); border-radius: var(--tb-radius-sm); font-size: 14px; color: var(--tb-muted); line-height: 1.55; }
.tb-disclaimer .tb-icon { color: var(--tb-green); margin-top: 1px; }
.tb-article__tags { margin: 0 0 28px; }

/* Autor */
.tb-author-box { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--tb-radius); background: #fff; border: 1.5px solid var(--tb-line); }
.tb-author-box img { border-radius: 50%; flex: none; }
.tb-author-box p { margin: 0; }
.tb-author-box__label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--tb-muted); font-weight: 700; }
.tb-author-box__name { font-family: var(--tb-font-head); font-weight: 800; font-size: 20px; }
.tb-author-box__name a { color: var(--tb-ink); text-decoration: none; }
.tb-author-box__cred { color: var(--tb-green-dark); font-weight: 700; font-size: 14.5px; }
.tb-author-box__bio { margin-top: 8px !important; font-size: 15.5px; color: var(--tb-muted); }

/* Lateral do artigo */
.tb-aside-card { padding: 24px; border-radius: var(--tb-radius); background: #fff; border: 1.5px solid var(--tb-line); color: var(--tb-green); }
.tb-aside-card p { color: var(--tb-muted); font-size: 15px; margin: 8px 0 16px; }
.tb-aside-card .tb-aside-card__title { font-family: var(--tb-font-head); font-weight: 800; font-size: 19px; color: var(--tb-ink); margin: 12px 0 0; }
.tb-aside-card--green { background: var(--tb-green); border-color: var(--tb-green); color: var(--tb-leaf); }
.tb-aside-card--green p { color: #d6ece2; }
.tb-aside-card--green .tb-aside-card__title { color: #fff; }

/* ===================== Faixa de atendimento e rodapé ===================== */
.tb-cta-band { background: var(--tb-green); color: #fff; position: relative; overflow: hidden; }
.tb-cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 0 100% 0 100%; background: var(--tb-leaf); opacity: .18; transform: rotate(10deg); }
.tb-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 40px; padding-bottom: 40px; position: relative; z-index: 1; flex-wrap: wrap; }
.tb-cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.tb-cta-band p { margin: 0; color: #d6ece2; max-width: 560px; }
.tb-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.tb-footer { background: var(--tb-green-dark); color: #cfe5db; font-size: 15px; }
.tb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.tb-footer .tb-logo img { height: 50px; width: auto; }
.tb-footer__about p { margin: 18px 0; line-height: 1.6; }
.tb-footer__title { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.tb-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tb-footer a { color: #cfe5db; text-decoration: none; }
.tb-footer a:hover { color: #fff; text-decoration: underline; }
.tb-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.tb-footer__contact .tb-icon { color: var(--tb-leaf); margin-top: 3px; }
.tb-social { display: flex; gap: 10px; }
.tb-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
.tb-social a:hover { background: var(--tb-leaf); text-decoration: none; }
.tb-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; font-size: 13px; color: #a9cbbd; }
.tb-footer__legal p { margin: 0 0 6px; }
.tb-footer__disclaimer { max-width: 900px; }

.tb-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .2s; }
.tb-wa-float:hover { transform: scale(1.06); color: #fff; }

/* ===================== Blocos do WordPress ===================== */
.alignwide { margin-left: -80px; margin-right: -80px; max-width: calc(100% + 160px); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.wp-caption-text { font-size: 14px; color: var(--tb-muted); }

/* ===================== Responsivo ===================== */
@media (max-width: 1100px) {
	.tb-header__wa { display: none; }
	.tb-article__layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
	.alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}
@media (max-width: 960px) {
	.tb-hero__grid { grid-template-columns: 1fr; }
	.tb-hero__side { grid-template-columns: repeat(3, 1fr); }
	.tb-hero__side .tb-card--compact { flex-direction: column; }
	.tb-hero__side .tb-card--compact .tb-card__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
	.tb-grid { grid-template-columns: repeat(2, 1fr); }
	.tb-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.tb-trust__item:nth-child(3) { border-left: 0; }
	.tb-trust__item:nth-child(n+3) { border-top: 1px solid var(--tb-line); }
	.tb-article__layout { grid-template-columns: 1fr; }
	.tb-home-faq__inner { grid-template-columns: 1fr; gap: 28px; }
	.tb-home-faq__intro { position: static; }
	.tb-article__aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
	.tb-article__aside > * + * { margin-top: 0; }
	.tb-footer__grid { grid-template-columns: 1fr 1fr; }
	.tb-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	body { font-size: 16.5px; }
	.tb-topbar__text { font-size: 12.5px; }
	.tb-topbar__links { display: none; }
	.tb-topbar__inner { justify-content: center; text-align: center; }
	.tb-byline { align-items: flex-start; }
	.tb-article__header { background: linear-gradient(180deg, var(--tb-mint) 0%, var(--tb-mint) 78%, #fff 78%); }
	.tb-byline__cred { display: block; margin-left: 0; }
	.tb-byline__cred::before { content: none; }
	.tb-header__inner { flex-wrap: wrap; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
	.tb-menu-toggle { display: block; order: 0; }
	.tb-brand { order: 1; margin-right: auto; }
	.tb-logo img, .tb-brand .custom-logo { height: 40px; }
	.tb-brand__tag { display: none; }
	.tb-header__actions { order: 2; margin-left: 0; }
	.tb-header__store { padding: 10px; }
	.tb-header__store span { display: none; }
	.tb-search { order: 3; flex-basis: 100%; max-width: none; }
	.tb-nav { display: none; }
	.tb-nav.is-open { display: block; }
	.tb-nav__list { flex-direction: column; padding: 6px 0 12px; }
	.tb-nav__list a { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
	.tb-nav__list .sub-menu, .tb-nav__list .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
	.tb-nav__list .sub-menu a { color: #e6f3ec; }
	.tb-hero { padding: 32px 0 24px; }
	.tb-hero__side { grid-template-columns: 1fr; }
	.tb-hero__side .tb-card--compact { flex-direction: row; }
	.tb-hero__side .tb-card--compact .tb-card__media { flex: 0 0 36%; aspect-ratio: auto; min-height: 110px; }
	.tb-grid { grid-template-columns: 1fr; gap: 20px; }
	.tb-trust__item { padding: 16px 10px; gap: 10px; }
	.tb-trust__item .tb-icon { width: 22px; height: 22px; }
	.tb-trust__item strong { font-size: 14px; }
	.tb-trust__item span { font-size: 12.5px; }
	.tb-entry-content { font-size: 17px; }
	.tb-entry-content h2 { font-size: 24px; }
	.tb-entry-content h3 { font-size: 20px; }
	.tb-answer { padding: 18px 20px; }
	.tb-answer__text { font-size: 17px; }
	.tb-article__aside { grid-template-columns: 1fr; }
	.tb-author-box { flex-direction: column; }
	.tb-profile__inner { flex-direction: column; gap: 16px; }
	.tb-profile__inner > img { width: 96px; height: 96px; }
	.tb-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.tb-cta-band h2 { font-size: 24px; }
	.tb-wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.tb-topbar, .tb-header, .tb-nav, .tb-cta-band, .tb-footer, .tb-article__aside, .tb-wa-float, .tb-related, .tb-toc { display: none !important; }
	.tb-article__layout { display: block; }
	body { font-size: 12pt; }
}
