/* =========================================================================
   Boiadeira Raiz - Sistema visual (verde-floresta / coral / creme)
   Refeito conforme a referencia premium (Lovable).
   Carregado via functions.php. Usa os tokens de cor/fonte do theme.json.
   ========================================================================= */

:root {
	--br-verde: var(--wp--preset--color--primary, #0F3D2E);
	--br-verde-2: var(--wp--preset--color--secondary, #2D6A4F);
	--br-coral: var(--wp--preset--color--accent, #E85D3A);
	--br-creme: var(--wp--preset--color--base, #FAF3E5);
	--br-creme-2: var(--wp--preset--color--accent-5, #E6DECB);
	--br-tan: var(--wp--preset--color--terra, #C9B99A);
	--br-texto: var(--wp--preset--color--contrast, #241E17);
	--br-card: #FDFBF6;
	--br-pill: #F0EBE3;
	--br-verde-deep: var(--wp--preset--color--accent-6, #042C17);
	/* Taupe exato do Lovable, adotado por fidelidade a referencia. Sobre o creme
	   da 4.06:1, abaixo do AA (4.5:1) para texto normal: escolha deliberada.
	   Se for preciso passar no AA sem sair do matiz, #816B4F da 4.58:1. */
	--br-muted: var(--wp--preset--color--muted, #8B7355);
	--ff-titulo: var(--wp--preset--font-family--titulo, "Alfa Slab One", Georgia, serif);
	--ff-display: var(--wp--preset--font-family--display, "Archivo Black", Impact, sans-serif);
	/* "Anton Fallback"/"Inter Fallback" sao faces locais com size-adjust (fonts.css):
	   mantem a largura do texto enquanto a fonte real carrega, sem refluxo. */
	--ff-condensada: var(--wp--preset--font-family--condensada, Anton, "Anton Fallback", Impact, sans-serif);
	--ff-corpo: var(--wp--preset--font-family--corpo, Inter, "Inter Fallback", sans-serif);

	/* Primeira dobra: creme de apoio, texto quente e borda dourada/bege */
	--br-creme-alt: #FAF7F0;
	--br-marrom: #756858;
	--br-borda: #C8B99E;
	/* Mesma familia dourada, escura o bastante para 3:1 sobre o creme (WCAG 1.4.11).
	   Usada onde a borda carrega significado, como o contorno do botao secundario. */
	--br-borda-forte: #8A7A5C;
	--br-tinta: #2A2118;
	--br-header-h: 76px;

	/* Compatibilidade com nomes antigos usados em outros arquivos/patterns */
	--br-verde-escuro: var(--wp--preset--color--primary, #0F3D2E);
	--br-verde-claro: var(--wp--preset--color--secondary, #2D6A4F);
	--br-amarelo: var(--wp--preset--color--accent, #E85D3A);
	--br-laranja: var(--wp--preset--color--accent, #E85D3A);
	--br-carvao: var(--wp--preset--color--contrast, #241E17);
}

/* ---- Tarja superior ---- */
.br-topbar {
	background: var(--br-verde-deep);
	color: var(--br-creme);
	font-family: var(--ff-corpo);
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	text-align: center;
	padding: 8px 14px;
}
.br-topbar .br-topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; max-width: 1180px; margin: 0 auto; }
.br-topbar strong { color: var(--br-creme); font-weight: 700; }
.br-topbar .sep { opacity: 0.35; }
.br-topbar svg { width: 15px; height: 15px; stroke: var(--br-coral); fill: none; stroke-width: 1.7; vertical-align: -2px; }

/* ---- Cabecalho: 3 colunas (nav esq | logo centro | nav+icones dir) ---- */
.br-header { position: relative; z-index: 5; box-shadow: 0 8px 24px -16px rgba(15, 61, 46, 0.35); }
.br-header__in {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	max-width: 1180px;
	margin-inline: auto;
	width: 100%;
}
.br-header__in > * { margin: 0 !important; }

.br-header__nav { display: flex; align-items: center; gap: clamp(0.6rem, 1.4vw, 1.3rem); flex-wrap: nowrap; }
.br-header__nav a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-corpo); color: var(--br-verde); text-decoration: none; font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: color 0.15s ease; }
.br-header__nav a svg { width: 17px; height: 17px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.7; opacity: 0.85; }
.br-header__nav a:hover { color: var(--br-coral); }
.br-header__nav a:hover svg { opacity: 1; }
.br-header__nav--left { justify-content: flex-start; }

.wp-block-site-logo.br-header__logo { justify-self: center; line-height: 0; }
.br-header__logo img, img.custom-logo { display: block; height: auto; max-height: 120px; width: auto; }

.br-header__right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(0.7rem, 1.6vw, 1.3rem); }
.br-header__icon { display: inline-flex; align-items: center; color: var(--br-verde); transition: color 0.15s ease; }
.br-header__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.br-header__icon:hover { color: var(--br-coral); }
.br-header__right .wp-block-woocommerce-mini-cart { display: inline-flex; align-items: center; }

/* Tablet: logo um pouco menor */
@media (max-width: 1024px) {
	.br-header__logo img, img.custom-logo { max-height: 96px; }
	.br-header__nav a { font-size: 0.9rem; }
}
/* Mobile: empilha centralizado, logo no topo */
@media (max-width: 860px) {
	.br-header__in { grid-template-columns: 1fr; justify-items: center; gap: 0.6rem; }
	.br-header__logo { order: -1; }
	.br-header__nav { justify-content: center; flex-wrap: wrap; }
	.br-header__right { flex-wrap: wrap; justify-content: center; }
	.br-header__logo img, img.custom-logo { max-height: 80px; }
}

/* ---- Texturas de secao ---- */
.br-dark {
	position: relative;
	background-color: var(--br-verde-deep);
	color: var(--br-creme);
	background-image:
		radial-gradient(120% 80% at 50% -10%, rgba(45, 106, 79, 0.55) 0%, rgba(45, 106, 79, 0) 55%),
		radial-gradient(rgba(232, 93, 58, 0.10) 1px, transparent 1px);
	background-size: 100% 100%, 22px 22px;
	background-repeat: no-repeat, repeat;
}
/* Fio de luz coral na aresta superior das secoes escuras (profundidade na juncao) */
.br-dark::before {
	content: "";
	position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(to right, rgba(232, 93, 58, 0) 0%, rgba(232, 93, 58, 0.5) 50%, rgba(232, 93, 58, 0) 100%);
	pointer-events: none; z-index: 1;
}
.br-linen {
	background-color: var(--br-creme);
	background-image:
		linear-gradient(to bottom, rgba(201, 185, 154, 0.16) 0%, rgba(201, 185, 154, 0) 18%, rgba(201, 185, 154, 0) 82%, rgba(201, 185, 154, 0.16) 100%),
		radial-gradient(rgba(15, 61, 46, 0.035) 1px, transparent 1px);
	background-size: 100% 100%, 24px 24px;
	background-repeat: no-repeat, repeat;
}

/* ---- Olho-d'agua (eyebrow) ---- */
.br-eyebrow {
	display: flex; align-items: center; justify-content: center; gap: 0.7rem;
	font-family: var(--ff-display);
	text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem;
	color: var(--br-verde); margin: 0 0 0.9rem;
}
.br-eyebrow::before, .br-eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--br-coral); }
.br-dark .br-eyebrow { color: var(--br-coral); }
.br-dark .br-eyebrow::before, .br-dark .br-eyebrow::after { background: var(--br-creme-2); opacity: 0.5; }

/* ---- Selo em pilula (badge) ---- */
.br-badge {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--ff-corpo); font-size: 0.72rem; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.14em; color: var(--br-texto);
	background: var(--br-pill); border: 1px solid var(--br-tan);
	border-radius: 999px; padding: 8px 18px;
}
.br-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--br-coral); }
/* Variante da vitrine: borda verde suave, texto verde, sem ponto */
.br-badge--linha {
	background: transparent;
	border-color: rgba(15, 61, 46, 0.3);
	color: var(--br-verde);
	letter-spacing: 0.16em;
}
.br-badge--linha::before { display: none; }

/* ---- Divisor decorativo (losango) ---- */
.br-divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 2.2rem; max-width: 200px; color: var(--br-coral); }
.br-divider::before, .br-divider::after { content: ""; height: 2px; flex: 1; background: currentColor; opacity: 0.35; border-radius: 2px; }
.br-divider i { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); display: block; }

/* ---- Cabecalhos de secao ---- */
.br-section { padding: clamp(3.25rem, 7.5vw, 6.5rem) 1.25rem; }
.br-section__head { text-align: center; max-width: 660px; margin: 0 auto clamp(2.4rem, 4vw, 3.4rem); }
.br-section__title { font-family: var(--ff-titulo); color: var(--br-verde); font-size: clamp(1.9rem, 4.5vw, 3rem); margin: 0 0 0.6rem; line-height: 1.08; }
.br-dark .br-section__title { color: var(--br-creme); }
.br-section__sub { font-family: var(--ff-corpo); color: var(--br-muted); font-size: 1.05rem; margin: 0 auto; max-width: 52ch; line-height: 1.6; }
.br-dark .br-section__sub { color: var(--br-creme-2); }

/* =========================================================================
   PRIMEIRA DOBRA — Hero
   Composicao centrada sobre creme: eyebrow > selo > titulo > apoio > CTAs.
   Escalas em clamp() calculadas sobre a largura real das fontes, de modo que
   o titulo nunca corta entre 320px e 1440px.
   ========================================================================= */
.br-hero-lp {
	background-color: var(--br-creme);
	padding: clamp(4rem, 13vw, 5rem) clamp(1.5rem, 6vw, 2.125rem) clamp(2.75rem, 10vw, 3.75rem);
	margin-block: 0; /* anula a margem de fluxo do bloco Group pai */
	text-align: center;
}
.br-hero-lp__in { max-width: 760px; margin: 0 auto; }
/* O <main> da home recebe o block-gap padrao do WordPress (1.2rem), que abriria
   uma faixa creme entre o cabecalho e o hero. O respiro da dobra vem do padding
   do proprio hero. */
.home .wp-site-blocks > main { margin-block-start: 0; }

/* A. Eyebrow */
.br-hero-lp__kicker {
	font-family: var(--ff-corpo);
	font-weight: 600;
	font-size: clamp(1rem, 4.2vw, 1.25rem);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	line-height: 1.3;
	color: var(--br-verde);
	margin: 0 0 clamp(1.75rem, 7vw, 2.25rem);
}

/* B. Selo premium (capsula com ponto coral) */
.br-hero-lp .br-badge {
	background: var(--br-creme-alt);
	border-color: var(--br-borda);
	color: var(--br-texto);
	letter-spacing: 0.1em;
	margin: 0 0 clamp(1.625rem, 6.5vw, 2.25rem);
}

/* C. Titulo principal (condensado, duas linhas fixas) */
.br-hero-lp__title {
	font-family: var(--ff-condensada);
	font-weight: 400; /* a face ja e ultra-bold: evita bold sintetico */
	text-transform: uppercase;
	color: var(--br-verde);
	font-size: clamp(3rem, 13.2vw, 5.25rem);
	line-height: 0.92;
	letter-spacing: 0.005em;
	margin: 0 0 clamp(1.75rem, 7vw, 2.25rem);
}
.br-hero-lp__title .br-coral, .br-coral { color: var(--br-coral); }
.br-hero-lp__title .br-coral { display: block; }

/* D. Texto de apoio */
.br-hero-lp__sub {
	font-family: var(--ff-corpo);
	color: var(--br-muted);
	font-size: clamp(1.0625rem, 4.5vw, 1.25rem);
	line-height: 1.62;
	max-width: 38ch;
	margin: 0 auto clamp(2.5rem, 11vw, 3.125rem);
}

/* 3. Botoes principais (empilhados, largura total) */
.br-hero-lp__cta {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: stretch;
	max-width: 420px;
	margin: 0 auto;
}
.br-hero-lp__cta .br-btn {
	box-sizing: border-box; /* altura e largura incluem padding/borda */
	width: 100%;
	min-height: 64px;
	padding: 1rem 1.25rem;
	border-radius: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 700;
	font-size: clamp(0.9rem, 3.6vw, 1rem);
	/* hover so muda tonalidade: sem deslocamento nem sombra pesada */
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.br-hero-lp__cta .br-btn:hover { transform: none; box-shadow: none; }

.br-hero-lp__cta .br-btn--verde { background: var(--br-verde-deep); color: var(--br-creme); }
.br-hero-lp__cta .br-btn--verde:hover { background: var(--br-verde-2); }
.br-hero-lp__cta .br-btn--verde:active { background: #0A2E22; }

.br-hero-lp__cta .br-btn--outline {
	background: transparent;
	color: var(--br-verde);
	border: 2px solid var(--br-borda-forte);
}
.br-hero-lp__cta .br-btn--outline:hover { background: var(--br-creme-alt); border-color: var(--br-verde); color: var(--br-verde); }
.br-hero-lp__cta .br-btn--outline:active { background: var(--br-creme-2); }

/* Animacoes: entrada sutil, so CSS. O titulo (provavel LCP) move sem
   fade, para nao adiar a pintura do maior elemento de texto. */
@keyframes br-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes br-rise-solid { from { transform: translateY(12px); } to { transform: none; } }
.br-hero-lp__kicker { animation: br-rise 400ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.br-hero-lp .br-badge { animation: br-rise 400ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both; }
.br-hero-lp__title { animation: br-rise-solid 400ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both; }
.br-hero-lp__sub { animation: br-rise 400ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both; }
.br-hero-lp__cta { animation: br-rise 400ms cubic-bezier(0.22, 1, 0.36, 1) 240ms both; }
@media (prefers-reduced-motion: reduce) {
	.br-hero-lp__kicker, .br-hero-lp .br-badge, .br-hero-lp__title,
	.br-hero-lp__sub, .br-hero-lp__cta { animation: none; }
}

/* ---- Grade generica ---- */
.br-grid { display: grid; gap: clamp(0.9rem, 2vw, 1.6rem); max-width: 1180px; margin: 0 auto; }
.br-grid--2 { grid-template-columns: repeat(2, 1fr); }
.br-grid--3 { grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.9rem); }
.br-grid--4 { grid-template-columns: repeat(4, 1fr); }
.br-grid--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) {
	.br-grid--4, .br-grid--6 { grid-template-columns: repeat(3, 1fr); }
	.br-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.br-grid--3, .br-grid--4, .br-grid--6 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Icone em medalhao ---- */
.br-medal {
	width: 60px; height: 60px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(15, 61, 46, 0.08); border: 2px solid var(--br-verde); margin-bottom: 0.85rem;
}
.br-medal svg { width: 27px; height: 27px; stroke: var(--br-verde); fill: none; stroke-width: 1.7; }
.br-dark .br-medal { background: rgba(250, 243, 229, 0.10); border-color: var(--br-coral); }
.br-dark .br-medal svg { stroke: var(--br-coral); }

/* ---- Beneficios ---- */
.br-benefit { text-align: center; padding: 0.5rem; }
.br-benefit h3 { font-family: var(--ff-titulo); font-size: 1.05rem; margin: 0 0 0.3rem; color: var(--br-creme); }
.br-benefit p { font-size: 0.92rem; margin: 0; color: var(--br-creme-2); }

/* ---- Cartoes de categoria ---- */
.br-cat {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background: var(--br-card); border: 1px solid var(--br-creme-2); border-radius: 18px;
	padding: 1.6rem 1rem; text-decoration: none; color: var(--br-texto);
	box-shadow: 0 4px 14px rgba(15, 61, 46, 0.05);
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.br-cat:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15, 61, 46, 0.14); border-color: var(--br-verde); }
.br-cat__name { font-family: var(--ff-titulo); font-weight: 400; font-size: 0.98rem; line-height: 1.2; }
/* Variedade de cores por cartao (verde / coral / verde-medio) */
.br-cat:nth-child(3n+2) .br-medal { background: rgba(232, 93, 58, 0.10); border-color: var(--br-coral); }
.br-cat:nth-child(3n+2) .br-medal svg { stroke: var(--br-coral); }
.br-cat:nth-child(3n+2):hover { border-color: var(--br-coral); }
.br-cat:nth-child(3n+3) .br-medal { background: rgba(45, 106, 79, 0.10); border-color: var(--br-muted); }
.br-cat:nth-child(3n+3) .br-medal svg { stroke: var(--br-verde-2); }
.br-cat:nth-child(3n+3):hover { border-color: var(--br-muted); }
/* Micro-interacao: o medalhao ganha vida junto com o cartao */
.br-medal { transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease; }
.br-cat:hover .br-medal { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .br-cat:hover .br-medal { transform: none; } }

/* ---- Destaque "monte seu terere" ---- */
.br-monte { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--br-creme-2); box-shadow: inset 0 1px 0 rgba(253, 251, 246, 0.5), 0 2px 6px rgba(0, 0, 0, 0.16), 0 24px 48px -14px rgba(0, 0, 0, 0.36); }
.br-monte__art { position: relative; background-color: var(--br-verde-deep); background-image: radial-gradient(90% 90% at 30% 20%, rgba(45, 106, 79, 0.7) 0%, rgba(45, 106, 79, 0) 60%), radial-gradient(rgba(232, 93, 58, 0.16) 1.5px, transparent 1.5px); background-size: 100% 100%, 22px 22px; background-repeat: no-repeat, repeat; display: flex; align-items: center; justify-content: center; min-height: 300px; padding: 2rem; }
.br-monte__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 35%, rgba(250, 243, 229, 0.10) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.22) 100%); pointer-events: none; }
.br-monte__art svg { position: relative; z-index: 1; }
.br-monte__art svg { width: 160px; height: 160px; }
.br-monte__body { background: var(--br-card); padding: clamp(1.6rem, 4vw, 2.8rem); }
.br-monte__body h2 { font-family: var(--ff-titulo); color: var(--br-verde); font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 0.6rem; }
.br-monte__body p { font-family: var(--ff-corpo); color: var(--br-muted); margin: 0 0 1.2rem; }
.br-flavchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.4rem; }
.br-chip { font-family: var(--ff-corpo); font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; background: var(--br-pill); border: 1px solid var(--br-tan); color: var(--br-verde); font-weight: 500; }
@media (max-width: 768px) { .br-monte { grid-template-columns: 1fr; } .br-monte__art { min-height: 200px; } }

/* ---- Botoes (links estilizados nas secoes html) ---- */
.br-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
	padding: 13px 30px; border-radius: 999px; font-family: var(--ff-corpo); font-weight: 600; font-size: 0.98rem;
	text-decoration: none; letter-spacing: 0.01em;
	background: var(--br-verde-deep); color: var(--br-creme);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.br-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(4, 44, 23, 0.22); }
.br-btn--verde { background: var(--br-verde-deep); color: var(--br-creme); }
.br-btn--coral { background: var(--br-coral); color: #fff; }
.br-btn--coral:hover { box-shadow: 0 10px 22px rgba(232, 93, 58, 0.28); }
.br-btn--outline { background: transparent; color: var(--br-verde); border: 2px solid var(--br-verde); }
.br-btn--outline:hover { background: var(--br-verde); color: var(--br-creme); }
.br-btn--ghost { background: transparent; color: var(--br-creme); border: 2px solid rgba(250, 243, 229, 0.5); }
.br-btn--ghost:hover { background: rgba(250, 243, 229, 0.12); }

/* ---- Selos de confianca (hero antigo/generico) ---- */
.br-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 1.6rem; }
.br-trust span { display: inline-flex; align-items: center; gap: 7px; color: var(--br-creme); font-size: 0.85rem; }
.br-trust svg { width: 18px; height: 18px; stroke: var(--br-coral); fill: none; stroke-width: 1.7; }

/* ---- Depoimentos ---- */
.br-testi { position: relative; overflow: hidden; background: var(--br-card); border: 1px solid var(--br-creme-2); border-radius: 18px; padding: 1.7rem 1.5rem; text-align: left; box-shadow: inset 0 1px 0 rgba(253, 251, 246, 0.7), 0 6px 18px rgba(15, 61, 46, 0.06), 0 1px 3px rgba(15, 61, 46, 0.05); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.br-testi:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(253, 251, 246, 0.7), 0 16px 30px -8px rgba(15, 61, 46, 0.16); }
.br-testi::before { content: "\201C"; position: absolute; top: -0.35em; right: 0.6rem; font-family: var(--ff-titulo); font-size: 5.5rem; line-height: 1; color: rgba(232, 93, 58, 0.09); pointer-events: none; z-index: 0; }
.br-testi > * { position: relative; z-index: 1; }
.br-testi__stars { color: var(--br-coral); letter-spacing: 2px; margin-bottom: 0.6rem; font-size: 1.05rem; }
.br-testi p { font-style: italic; color: var(--br-texto); margin: 0 0 1rem; }
.br-testi__who { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--br-muted); font-size: 0.9rem; }
.br-testi__av { width: 38px; height: 38px; border-radius: 50%; background: var(--br-verde); color: var(--br-creme); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--ff-corpo); }

/* ---- Instagram CTA ---- */
.br-ig { text-align: center; }
.br-ig__handle { color: #C0451E; font-weight: 600; }

/* =========================================================================
   Rodape rico
   ========================================================================= */
.br-cta-band { text-align: center; max-width: 900px; margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) clamp(1.4rem, 5vw, 3rem); border-radius: 22px; background: radial-gradient(140% 120% at 50% 0%, rgba(250, 243, 229, 0.06) 0%, rgba(0, 0, 0, 0) 60%), rgba(0, 0, 0, 0.12); border: 1px solid rgba(250, 243, 229, 0.10); box-shadow: inset 0 1px 0 rgba(250, 243, 229, 0.12), 0 20px 44px -18px rgba(0, 0, 0, 0.5); }
.br-cta-band h2 { font-family: var(--ff-titulo); color: var(--br-creme); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 0.5rem; }
.br-cta-band p { color: var(--br-creme-2); margin: 0 0 1.5rem; }

.br-footcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 2rem; max-width: 1180px; margin: 0 auto 2rem; text-align: left; }
.br-footcols h3 { font-family: var(--ff-corpo); color: var(--br-creme); font-size: 0.95rem; margin: 0 0 0.9rem; letter-spacing: 0.03em; text-transform: uppercase; }
.br-footcols ul { list-style: none; margin: 0; padding: 0; }
.br-footcols li { margin: 0 0 0.5rem; }
.br-footcols a { color: var(--br-creme-2); text-decoration: none; font-size: 0.92rem; }
.br-footcols a:hover { color: var(--br-coral); }
.br-footcols p { color: var(--br-creme-2); font-size: 0.92rem; margin: 0 0 0.6rem; }
.br-paybadges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.6rem; }
.br-paybadges span { font-size: 0.72rem; padding: 5px 10px; border: 1px solid rgba(230, 222, 203, 0.3); border-radius: 6px; color: var(--br-creme-2); }
.br-social { display: inline-flex; gap: 10px; margin-top: 0.4rem; }
.br-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(230, 222, 203, 0.35); display: inline-flex; align-items: center; justify-content: center; color: var(--br-creme-2); }
.br-social a:hover { background: var(--br-coral); color: #fff; border-color: var(--br-coral); }
.br-social svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; }
@media (max-width: 820px) { .br-footcols { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 480px) { .br-footcols { grid-template-columns: 1fr; } }

/* =========================================================================
   Sabores na pagina do produto (icones)
   ========================================================================= */
.br-sabores__item label { display: flex; align-items: center; gap: 0.6rem; min-height: 46px; cursor: pointer; }
.br-sabores__ico { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: rgba(15, 61, 46, 0.08); border: 1px solid var(--br-verde-2); }
.br-sabores__ico svg { width: 18px; height: 18px; stroke: var(--br-verde); fill: none; stroke-width: 1.6; }
.br-sabores__nome { flex: 1; }

/* ---- Imagem generica (placeholder de terere) ---- */
img.br-terere-ph, .woocommerce img.br-terere-ph { background: var(--br-creme); border-radius: 10px; }

/* =========================================================================
   WooCommerce (catalogo / produto) — alinhado a marca
   ========================================================================= */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
	font-family: var(--ff-titulo);
	font-weight: 400;
	color: var(--br-verde);
	line-height: 1.15;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--br-verde);
	font-weight: 700;
	font-family: var(--ff-corpo);
}
.woocommerce ul.products li.product .price del { color: var(--br-tan); font-weight: 400; }
.woocommerce span.onsale {
	background: var(--br-coral);
	color: #fff;
	border-radius: 999px;
	font-family: var(--ff-corpo);
	font-weight: 600;
	min-height: 2.2em;
	min-width: 2.2em;
}

/* Cartoes de produto com leve elevacao (profundidade) — loja e home */
.woocommerce ul.products li.product,
.wc-block-grid__product {
	background: var(--br-card);
	border: 1px solid var(--br-creme-2);
	border-radius: 16px;
	padding: 0.9rem 0.9rem 1.2rem;
	box-shadow: 0 4px 14px rgba(15, 61, 46, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 32px rgba(15, 61, 46, 0.13);
}
.woocommerce ul.products li.product img,
.wc-block-grid__product img { border-radius: 10px; }

/* =========================================================================
   Acessibilidade: foco de teclado (WCAG 2.4.7), alvos de toque, sr-only
   ========================================================================= */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
.br-btn:focus-visible, .br-cat:focus-visible,
.br-header__nav a:focus-visible, .br-header__icon:focus-visible {
	outline: 3px solid var(--br-verde);
	outline-offset: 2px;
}
.br-dark a:focus-visible, .br-dark .br-btn:focus-visible,
.br-footcols a:focus-visible, .br-social a:focus-visible,
.br-topbar a:focus-visible { outline-color: var(--br-creme); }

/* Alvos de toque do cabecalho (WCAG 2.5.8) */
.br-header__nav a { min-height: 44px; }
.br-header__icon { min-height: 44px; min-width: 44px; justify-content: center; }

/* Utilitario para leitores de tela */
.br-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* =========================================================================
   Paginas institucionais (Nossa Essencia, Erva-Mate, Aromas, etc.)
   ========================================================================= */
.br-prose { max-width: 760px; margin: 0 auto; }
.br-prose p { font-family: var(--ff-corpo); color: var(--br-muted); font-size: 1.08rem; line-height: 1.75; margin: 0 0 1.1rem; text-align: center; }
.br-prose p:last-child { margin-bottom: 0; }

.br-quote { max-width: 820px; margin: 0 auto; border: 0; padding: 0; font-family: var(--ff-titulo); color: var(--br-creme); font-size: clamp(1.5rem, 3.6vw, 2.3rem); line-height: 1.3; text-align: center; }
.br-quote::before { content: "\201C"; color: var(--br-coral); }
.br-quote::after { content: "\201D"; color: var(--br-coral); }

.br-infocard { background: var(--br-card); border: 1px solid var(--br-creme-2); border-radius: 16px; padding: 1.5rem 1.4rem; box-shadow: 0 4px 14px rgba(15, 61, 46, 0.05); text-align: left; }
.br-infocard__tag { display: block; font-family: var(--ff-corpo); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--br-coral); margin: 0 0 0.5rem; }
.br-infocard h3 { font-family: var(--ff-titulo); color: var(--br-verde); font-size: 1.15rem; margin: 0 0 0.5rem; line-height: 1.2; }
.br-infocard p { font-family: var(--ff-corpo); color: var(--br-muted); font-size: 0.95rem; line-height: 1.55; margin: 0; }

@media (max-width: 600px) { .br-grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .br-footcols { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   Header estilo Lovable (logo + nav + Comprar Agora + carrinho; hamburguer mobile)
   ========================================================================= */
.br-lheader { position: relative; z-index: 20; border-bottom: 1px solid var(--br-borda); box-shadow: none; }
/* Uma linha em qualquer largura: marca a esquerda, hamburguer a direita.
   Os 9 itens do menu somam ~1090px em linha unica e nao cabem ao lado da marca
   nem em 1440px (quebravam em 2-3 linhas), entao a navegacao vive na gaveta em
   todos os breakpoints. Nenhum link foi removido. */
.br-lheader__in {
	max-width: 1180px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--br-header-h);
	padding-inline: clamp(1.25rem, 5.5vw, 1.5rem);
}
/* Neutraliza as margens de fluxo que o bloco Group aplica aos filhos */
.br-lheader__in > * { margin-block: 0 !important; }

/* Lockup da marca: logo circular + nome */
.br-lheader__brand { display: flex; align-items: center; gap: 0.625rem; flex: 0 0 auto; min-width: 0; }
.br-lheader__logo { flex: 0 0 auto; line-height: 0; }
/* O logo e o unico link do lockup (o nome ao lado e texto, para nao repetir
   dois links identicos para a home). Area de toque de 44px. */
.br-lheader__logo .custom-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}
.br-lheader__logo img, .br-lheader img.custom-logo {
	display: block;
	width: 42px;
	height: 42px;
	max-height: none;
	border-radius: 50%;
	object-fit: cover;
}
.br-lheader__name {
	font-family: var(--ff-titulo);
	font-size: clamp(0.68rem, 3.15vw, 1rem);
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.015em;
	color: var(--br-verde);
	white-space: nowrap;
}

.br-lnav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; flex: 1 1 auto; justify-content: center; }
.br-lnav a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--ff-corpo); color: var(--br-verde); text-decoration: none; font-weight: 600; font-size: 0.84rem; white-space: nowrap; transition: color 0.15s ease; }
.br-lnav a:hover { color: var(--br-coral); }

.br-lheader__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 0.8rem; }
.br-lheader__cta { min-height: 44px; padding: 9px 20px; font-size: 0.85rem; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.br-lheader__cta:hover { transform: none; box-shadow: none; background: var(--br-verde-2); }

/* Gatilho do menu: <button> nativo, entao responde a Enter e a Espaco, e
   anunciado como botao e comunica aberto/fechado via aria-expanded. */
.br-lheader__brand { order: 0; justify-self: start; }
.br-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	order: 2;
	justify-self: end;
}
.br-burger i { display: block; width: 24px; height: 2px; background: var(--br-verde); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* Gaveta de navegacao (linha inteira, abaixo da marca).
   visibility:hidden e indispensavel: max-height/overflow so recortam a pintura e
   deixariam os 9 links focaveis pelo teclado e anunciados por leitores de tela
   com o menu fechado. O atraso na transicao preserva a animacao de fechamento. */
.br-lnav {
	order: 3;
	grid-column: 1 / -1;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 0.28s ease, visibility 0s linear 0.28s;
}
.br-burger[aria-expanded="true"] ~ .br-lnav {
	max-height: 82vh;
	overflow-y: auto;
	margin-top: 0.5rem;
	visibility: visible;
	transition: max-height 0.28s ease, visibility 0s linear 0s;
}
.br-lnav a { padding: 0.9rem 0.4rem; border-top: 1px solid var(--br-creme-2); font-size: 1rem; }
.br-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.br-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.br-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ate 1100px: carrinho flutuante no canto inferior direito, com safe-area */
@media (max-width: 1100px) {
	.br-lheader__cta { display: none; }
	.br-lheader__actions {
		position: fixed;
		right: max(14px, env(safe-area-inset-right));
		bottom: max(14px, env(safe-area-inset-bottom));
		z-index: 60;
	}
	/* Anel creme para o botao nao sumir quando passa sobre o rodape verde escuro */
	.br-lheader__actions .wp-block-woocommerce-mini-cart { background: var(--br-verde); border-radius: 999px; box-shadow: 0 0 0 2px var(--br-creme), 0 8px 20px rgba(15, 61, 46, 0.3); }
	/* Reserva espaco no fim da pagina para o botao flutuante nunca cobrir a
	   ultima linha de conteudo de forma permanente */
	footer.br-dark { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
	.br-lheader__actions .wc-block-mini-cart__button { color: #FFF !important; min-height: 52px; min-width: 52px; padding: 0 16px; }
	.br-lheader__actions .wc-block-mini-cart__button svg { fill: #FFF; }
}

/* Desktop: carrinho e CTA voltam para dentro do cabecalho, antes do hamburguer */
@media (min-width: 1101px) {
	.br-lheader__in { grid-template-columns: 1fr auto auto; gap: 1rem; min-height: 88px; }
	.br-lheader__actions { order: 1; }
	.br-lheader__logo img, .br-lheader img.custom-logo { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	.br-lnav, .br-burger i { transition: none; }
}

/* =========================================================================
   Vitrine de produtos (estilo Lovable: fileiras Ervas / Copinhos)
   ========================================================================= */
/* Transicao da dobra para a vitrine: mesma familia de creme, um tom acima,
   separada por um fio discreto. O espaco somado ao rodape do hero fecha os
   70-100px de respiro pedidos apos os botoes. */
.br-plinha {
	background-color: var(--br-creme-alt);
	border-top: 1px solid rgba(200, 185, 158, 0.4);
	padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 1.5rem) clamp(3rem, 6vw, 5rem);
	margin-block: 0; /* anula a margem de fluxo do bloco Group pai */
}
.br-plinha__in { max-width: 1180px; margin: 0 auto; }
.br-plinha .br-section__title { font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -0.01em; }
.br-section__title .br-ink { color: var(--br-tinta); }
.br-plinha__grupo { margin-top: clamp(2.5rem, 5vw, 4rem); }
.br-plinha__label { text-align: center; margin-bottom: 1.8rem; }
.br-elabel { display: block; font-family: var(--ff-corpo); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--br-muted); margin-bottom: 0.35rem; }
.br-section__head .br-badge { margin-bottom: 1.1rem; }
.br-plinha__nome { font-family: var(--ff-titulo); color: var(--br-verde); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0.2rem 0 0; }
.br-pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }
@media (max-width: 900px) { .br-pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) {
	.br-pgrid { grid-template-columns: 1fr; }
	.br-pcard { flex-direction: row; align-items: center; gap: 0.9rem; padding: 0.85rem; }
	.br-pcard__img { flex: 0 0 92px; width: 92px; margin-bottom: 0; }
}

.br-pcard { display: flex; flex-direction: column; background: var(--br-card); border: 1px solid var(--br-creme-2); border-radius: 16px; padding: 1rem; box-shadow: 0 4px 14px rgba(15, 61, 46, 0.05); transition: transform 0.18s ease, box-shadow 0.18s ease; text-decoration: none; }
.br-pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 61, 46, 0.12); }
.br-pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.br-pcard__img { display: block; border-radius: 10px; overflow: hidden; margin-bottom: 0.9rem; background: var(--br-creme); }
.br-pcard__img img { display: block; width: 100%; height: auto; }
.br-pcard__eyebrow { font-family: var(--ff-corpo); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--br-muted); margin-bottom: 0.35rem; }
.br-pcard__title { font-family: var(--ff-titulo); font-weight: 400; font-size: 1.1rem; line-height: 1.15; margin: 0 0 0.3rem; }
.br-pcard__title a { color: var(--br-verde); text-decoration: none; }
.br-pcard__desc { font-family: var(--ff-corpo); color: var(--br-muted); font-size: 0.85rem; line-height: 1.4; margin: 0 0 0.9rem; }
.br-pcard__foot { margin-top: auto; }
.br-pcard__price { display: block; font-family: var(--ff-corpo); font-weight: 700; color: var(--br-verde); font-size: 1.15rem; margin-bottom: 0.7rem; line-height: 1.1; }
.br-pcard__price small { display: block; font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--br-muted); margin-bottom: 2px; }
.br-pcard__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; }
.br-qty { display: inline-flex; align-items: center; border: 1px solid var(--br-creme-2); border-radius: 999px; overflow: hidden; flex: 0 0 auto; }
.br-qty__b { width: 30px; height: 36px; border: 0; background: transparent; color: var(--br-verde); font-size: 1.05rem; cursor: pointer; line-height: 1; }
.br-qty__b:hover { background: var(--br-creme); }
.br-qty__n { min-width: 22px; text-align: center; font-family: var(--ff-corpo); font-weight: 600; color: var(--br-verde); font-size: 0.9rem; }
.br-pcard__add { flex: 1 1 auto; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--br-verde); color: var(--br-creme); border-radius: 999px; font-family: var(--ff-corpo); font-weight: 600; font-size: 0.85rem; text-decoration: none; border: 0; padding: 0 0.7rem; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.br-pcard__add:hover { background: var(--br-coral); color: #fff; }
.br-pcard--blend { background: var(--br-verde); border-color: var(--br-verde); }
.br-pcard--blend .br-pcard__eyebrow { color: var(--br-coral); }
.br-pcard--blend .br-pcard__title a, .br-pcard--blend .br-pcard__title { color: var(--br-creme); }
.br-pcard--blend .br-pcard__desc { color: var(--br-creme-2); }
.br-pcard--blend .br-pcard__price { color: var(--br-creme); }
.br-pcard--blend .br-pcard__price small { color: var(--br-coral); }
.br-pcard--blend .br-pcard__add { background: var(--br-coral); color: #fff; }

/* Configurador embutido na home: esconde galeria/abas/titulo do [product_page] */
.br-blend-embed { max-width: 760px; margin: 0 auto; }
.br-blend-embed .woocommerce-product-gallery,
.br-blend-embed .woocommerce-tabs,
.br-blend-embed .product_meta,
.br-blend-embed .product_title,
.br-blend-embed .woocommerce-product-rating,
.br-blend-embed .products.related,
.br-blend-embed .up-sells { display: none !important; }
.br-blend-embed .product { display: block !important; }
.br-blend-embed div.product div.summary,
.br-blend-embed .entry-summary { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.br-blend-embed .single_add_to_cart_button { background: var(--br-verde) !important; color: var(--br-creme) !important; border: 0 !important; }
