/*
Theme Name: Brilho Novo
Theme URI: https://example.com/brilho-novo
Author: Brilho Novo
Author URI: https://example.com
Description: Tema clássico híbrido para empresas de raspagem de tacos, restauração de assoalhos e aplicação de verniz. Landing page completa (hero, serviços, antes e depois, processo, galeria e chamada para orçamento) com todo o conteúdo editável pelo Personalizador do WordPress.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brilho-novo
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks, full-width-template, threaded-comments, right-sidebar
*/

/* ==========================================================================
   1. Design tokens
   Portados do projeto original (Tailwind CSS v4 + oklch).
   Os valores em oklch originais ficam comentados ao lado de cada hex.
   ========================================================================== */

:root {
  /* Cores base */
  --bn-background: #f5f1ea;            /* oklch(0.96 0.01 85)    */
  --bn-foreground: #171b20;            /* oklch(0.22 0.012 260)  */
  --bn-surface: #fcfaf4;               /* oklch(0.985 0.008 88)  */
  --bn-card: #fcfaf4;
  --bn-card-foreground: #171b20;

  /* Marca (madeira) */
  --bn-primary: #8d4e1c;               /* oklch(0.49 0.105 55)   */
  --bn-primary-foreground: #fcfaf4;

  /* Secundária (areia) */
  --bn-secondary: #ebdfcf;             /* oklch(0.91 0.025 75)   */
  --bn-secondary-foreground: #33261d;  /* oklch(0.28 0.025 55)   */
  --bn-muted: #ebe7e0;                 /* oklch(0.93 0.01 85)    */
  --bn-muted-foreground: #585e66;      /* oklch(0.48 0.015 255)  */

  /* Destaque (verde WhatsApp) */
  --bn-accent: #258651;                /* oklch(0.55 0.12 155)   */
  --bn-accent-foreground: #fcfaf4;

  --bn-destructive: #e7000b;
  --bn-destructive-foreground: #fcfaf4;
  --bn-border: rgba(23, 27, 32, 0.1);
  --bn-input: rgba(23, 27, 32, 0.12);
  --bn-ring: #8d4e1c;

  /* Tipografia */
  --bn-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bn-font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --bn-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Raios */
  --bn-radius: 0.75rem;
  --bn-radius-sm: calc(var(--bn-radius) - 4px);
  --bn-radius-md: calc(var(--bn-radius) - 2px);
  --bn-radius-lg: var(--bn-radius);
  --bn-radius-xl: calc(var(--bn-radius) + 4px);

  /* Métricas de layout */
  --bn-container: 72rem;   /* max-w-6xl */
  --bn-gutter: 1.25rem;    /* px-5 */
  --bn-header-height: 4rem;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bn-header-height) + 1rem);
}

body {
  margin: 0;
  background-color: var(--bn-background);
  color: var(--bn-foreground);
  font-family: var(--bn-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.bn-menu-open {
  overflow: hidden;
}

img,
svg,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: var(--bn-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus {
  color: var(--bn-foreground);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--bn-foreground);
  font-family: var(--bn-font-sans);
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0 0 1.25em;
}

ul,
ol {
  margin: 0 0 1.25em;
  padding-left: 1.25rem;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--bn-ring);
  outline-offset: 3px;
}

/* ==========================================================================
   3. Utilitários do tema
   ========================================================================== */

.bn-container {
  width: 100%;
  max-width: var(--bn-container);
  margin-inline: auto;
  padding-inline: var(--bn-gutter);
}

.bn-section {
  padding-block: 4rem;
}

/* Compensa o cabeçalho fixo. */
.bn-main {
  padding-top: var(--bn-header-height);
}

.bn-primary {
  min-width: 0;
}

.bn-section--surface {
  background-color: var(--bn-surface);
  border-block: 1px solid var(--bn-border);
}

.bn-eyebrow {
  margin: 0;
  color: var(--bn-primary);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.bn-display {
  font-family: var(--bn-font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bn-lead {
  color: var(--bn-muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.bn-mono {
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bn-text-muted {
  color: var(--bn-muted-foreground);
}

.bn-sr-only,
.screen-reader-text {
  position: absolute !important;
  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;
}

.skip-link:focus {
  position: fixed !important;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  clip: auto;
  clip-path: none;
  background: var(--bn-foreground);
  color: var(--bn-background);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   4. Botões
   ========================================================================== */

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--bn-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.bn-btn--primary {
  background-color: var(--bn-primary);
  color: var(--bn-primary-foreground);
}

.bn-btn--primary:hover,
.bn-btn--primary:focus {
  background-color: var(--bn-foreground);
  color: var(--bn-background);
}

.bn-btn--accent {
  background-color: var(--bn-accent);
  color: var(--bn-accent-foreground);
}

.bn-btn--accent:hover,
.bn-btn--accent:focus {
  background-color: var(--bn-foreground);
  color: var(--bn-background);
}

.bn-btn--ghost {
  background-color: transparent;
  border-color: var(--bn-border);
  color: var(--bn-foreground);
}

.bn-btn--ghost:hover,
.bn-btn--ghost:focus {
  border-color: var(--bn-foreground);
  color: var(--bn-foreground);
}

.bn-btn--lg {
  padding: 1rem 1.5rem;
}

.bn-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.bn-btn svg {
  flex: none;
}

/* ==========================================================================
   5. Cabeçalho e navegação
   ========================================================================== */

.bn-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--bn-border);
  background-color: rgba(245, 241, 234, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: box-shadow 200ms ease;
}

.bn-header.is-scrolled {
  box-shadow: 0 12px 30px -22px rgba(23, 27, 32, 0.5);
}

.bn-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--bn-header-height);
}

.bn-brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--bn-foreground);
}

.bn-brand:hover,
.bn-brand:focus {
  color: var(--bn-foreground);
}

.bn-brand__name {
  font-family: var(--bn-font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
}

.bn-brand__tagline {
  display: none;
  font-family: var(--bn-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bn-muted-foreground);
}

.bn-logo img,
.custom-logo {
  width: auto;
  max-height: 2.5rem;
}

.bn-logo a {
  display: inline-flex;
}

.bn-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bn-nav {
  display: none;
}

.bn-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-nav a {
  color: rgba(23, 27, 32, 0.75);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 200ms ease;
}

.bn-nav a:hover,
.bn-nav a:focus {
  color: var(--bn-primary);
}

.bn-nav .current-menu-item > a,
.bn-nav .current_page_item > a {
  color: var(--bn-primary);
}

.bn-nav .sub-menu {
  position: absolute;
  display: block;
  min-width: 12rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bn-background);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  box-shadow: 0 18px 40px -24px rgba(23, 27, 32, 0.55);
  list-style: none;
  flex-direction: column;
}

.bn-nav .sub-menu a {
  display: block;
  padding: 0.375rem 0;
}

.bn-nav__toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--bn-radius-sm);
  color: var(--bn-foreground);
  cursor: pointer;
}

.bn-nav__toggle:hover {
  background-color: var(--bn-muted);
}

.bn-nav__panel {
  position: absolute;
  top: calc(var(--bn-header-height) - 0.5rem);
  right: var(--bn-gutter);
  left: var(--bn-gutter);
  z-index: 60;
  padding: 1.25rem;
  background-color: var(--bn-background);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  box-shadow: 0 24px 50px -28px rgba(23, 27, 32, 0.6);
}

.bn-nav__panel[hidden] {
  display: none;
}

.bn-nav__panel ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-nav__panel a {
  display: block;
  padding: 0.25rem 0;
  color: var(--bn-foreground);
  font-size: 0.9375rem;
  text-decoration: none;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.bn-hero {
  padding-block: 2.5rem 3rem;
}

.bn-hero__eyebrow {
  margin-bottom: 1.25rem;
}

.bn-hero__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bn-hero__title {
  max-width: 18ch;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.03;
}

.bn-hero__aside {
  max-width: 42ch;
}

.bn-hero__aside .bn-lead {
  margin-bottom: 0;
}

.bn-hero__cta {
  margin-top: 1.25rem;
}

.bn-hero__media {
  position: relative;
  margin-top: 2.25rem;
  overflow: hidden;
  border-radius: var(--bn-radius-xl);
  background-color: var(--bn-muted);
}

.bn-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bn-hero__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  background-color: rgba(245, 241, 234, 0.85);
  border-radius: 999px;
  color: var(--bn-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bn-sheen {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.bn-sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: bn-sheen 4.8s 1.3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   7. Serviços
   ========================================================================== */

.bn-servicos__grid {
  display: grid;
  gap: 2.5rem;
}

.bn-servicos__heading {
  font-size: 1.875rem;
  max-width: 20ch;
  margin-top: 0.75rem;
  line-height: 1.15;
}

.bn-cards {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  background-color: var(--bn-border);
}

.bn-card {
  padding: 1.5rem;
  background-color: var(--bn-background);
}

.bn-card__number {
  margin: 0;
  color: var(--bn-primary);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
}

.bn-card__title {
  margin: 0.75rem 0 0;
  font-family: var(--bn-font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.bn-card__text {
  margin: 0.75rem 0 0;
  color: var(--bn-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.bn-features {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bn-border);
}

.bn-feature {
  display: flex;
  gap: 0.75rem;
}

.bn-feature__icon {
  flex: none;
  margin-top: 0.125rem;
  color: var(--bn-accent);
}

.bn-feature__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.bn-feature__text {
  margin: 0.25rem 0 0;
  color: var(--bn-muted-foreground);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* ==========================================================================
   8. Antes e depois
   ========================================================================== */

.bn-section__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.bn-section__title {
  margin: 0.75rem 0 0;
  font-size: 1.875rem;
}

.bn-section__note {
  max-width: 38ch;
  margin: 0;
  color: var(--bn-muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.bn-compare {
  display: grid;
  gap: 1rem;
}

.bn-figure {
  margin: 0;
}

.bn-figure img {
  width: 100%;
  border-radius: var(--bn-radius-xl);
  object-fit: cover;
}

.bn-figure--photo img {
  aspect-ratio: 4 / 3;
}

.bn-figure--square img {
  aspect-ratio: 1 / 1;
}

.bn-figure figcaption {
  margin-top: 0.75rem;
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bn-figure--after figcaption {
  color: var(--bn-primary);
}

/* ==========================================================================
   9. Processo
   ========================================================================== */

.bn-steps {
  display: grid;
  gap: 2rem;
  margin-top: 2.25rem;
}

.bn-step__number {
  margin: 0;
  color: rgba(141, 78, 28, 0.7);
  font-family: var(--bn-font-display);
  font-size: 1.875rem;
  font-style: italic;
  font-weight: 600;
}

.bn-step__title {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.bn-step__text {
  margin: 0.5rem 0 0;
  color: var(--bn-muted-foreground);
  font-size: 0.75rem;
  line-height: 1.7;
}

.bn-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bn-border);
}

.bn-brands__label {
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.bn-brands__item {
  font-family: var(--bn-font-display);
  font-size: 1.125rem;
  font-style: italic;
}

/* ==========================================================================
   10. Galeria
   ========================================================================== */

.bn-gallery {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.bn-gallery .bn-figure figcaption {
  margin-top: 0.5rem;
  letter-spacing: 0;
  text-transform: none;
}

/* ==========================================================================
   11. Chamada final e rodapé
   ========================================================================== */

.bn-cta {
  padding-block: 4rem;
  background-color: var(--bn-foreground);
  color: var(--bn-background);
}

.bn-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.bn-cta__eyebrow {
  color: var(--bn-secondary);
}

.bn-cta__title {
  max-width: 18ch;
  margin: 1rem 0 0;
  color: var(--bn-background);
  font-size: 2.25rem;
  line-height: 1.05;
}

.bn-cta__text {
  margin: 1rem 0 0;
  color: rgba(245, 241, 234, 0.65);
  font-size: 0.875rem;
}

.bn-cta .bn-btn {
  flex: none;
}

.bn-footer {
  background-color: var(--bn-surface);
  border-top: 1px solid var(--bn-border);
}

.bn-footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2.25rem;
}

.bn-footer__name {
  font-family: var(--bn-font-display);
  font-size: 1.125rem;
  font-style: italic;
}

.bn-footer__text {
  margin: 0.25rem 0 0;
  color: var(--bn-muted-foreground);
  font-size: 0.75rem;
}

.bn-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.75rem;
  text-decoration: none;
}

.bn-footer__contact--plain {
  color: var(--bn-muted-foreground);
}

.bn-footer__contact svg {
  flex: none;
  opacity: 0.75;
}

.bn-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.bn-footer-widgets {
  padding-block: 2.5rem;
  background-color: var(--bn-surface);
  border-top: 1px solid var(--bn-border);
}

.bn-footer-widgets .widget {
  margin-bottom: 2rem;
}

.bn-footer-widgets .widget:last-child {
  margin-bottom: 0;
}

.bn-footer-widgets .widget-title {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.bn-footer__credit {
  margin-left: 0.5rem;
}

.bn-footer__contact:hover,
.bn-footer__contact:focus {
  color: var(--bn-primary);
}

.bn-footer__bottom {
  padding-bottom: 1.5rem;
  color: var(--bn-muted-foreground);
  font-size: 0.6875rem;
}

.bn-footer__bottom p {
  margin: 0;
}

.bn-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.bn-footer__menu a {
  color: var(--bn-muted-foreground);
  font-size: 0.6875rem;
  text-decoration: none;
}

.bn-footer__menu a:hover,
.bn-footer__menu a:focus {
  color: var(--bn-primary);
}

/* ==========================================================================
   12. Botão flutuante de WhatsApp
   ========================================================================== */

.bn-whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--bn-accent);
  color: var(--bn-accent-foreground);
  border-radius: 999px;
  box-shadow: 0 18px 35px -18px rgba(23, 27, 32, 0.6);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.bn-whatsapp-float:hover,
.bn-whatsapp-float:focus {
  background-color: var(--bn-foreground);
  color: var(--bn-background);
}

.bn-whatsapp-float span {
  display: none;
}

/* ==========================================================================
   13. Blog, páginas e conteúdo do WordPress
   ========================================================================== */

.bn-content {
	padding-block: 4rem;
}

.bn-content__inner {
  display: grid;
  gap: 3rem;
}

.bn-page-header {
  padding-block: 3rem 2.5rem;
  background-color: var(--bn-surface);
  border-bottom: 1px solid var(--bn-border);
}

.bn-page-header__title {
  margin: 0;
  font-size: 2.25rem;
}

.bn-page-header__meta {
  margin: 0.75rem 0 0;
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.entry-content h3 {
  margin-top: 1.75rem;
  font-size: 1.25rem;
}

.entry-content img,
.entry-content .wp-block-image img {
  border-radius: var(--bn-radius-lg);
}

.entry-content blockquote {
  margin: 1.75rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 3px solid var(--bn-primary);
  font-family: var(--bn-font-display);
  font-size: 1.125rem;
  font-style: italic;
}

.entry-content code,
.entry-content pre {
  font-family: var(--bn-font-mono);
  font-size: 0.8125rem;
}

.entry-content pre {
  padding: 1.25rem;
  overflow-x: auto;
  background-color: var(--bn-surface);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
}

.entry-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--bn-border);
  text-align: left;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bn-list {
  display: grid;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-list__item {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--bn-border);
}

.bn-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.bn-list__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.bn-list__title a {
  color: var(--bn-foreground);
  text-decoration: none;
}

.bn-list__title a:hover,
.bn-list__title a:focus {
  color: var(--bn-primary);
}

.bn-list__excerpt {
  color: var(--bn-muted-foreground);
  font-size: 0.9375rem;
}

.bn-list__thumb img {
  width: 100%;
  border-radius: var(--bn-radius-lg);
}

.bn-pagination {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bn-border);
}

.bn-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.375rem;
  padding-inline: 0.5rem;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-md);
  color: var(--bn-foreground);
  font-size: 0.8125rem;
  text-decoration: none;
}

.bn-pagination .page-numbers.current,
.bn-pagination .page-numbers:hover,
.bn-pagination .page-numbers:focus {
  background-color: var(--bn-primary);
  border-color: var(--bn-primary);
  color: var(--bn-primary-foreground);
}

.bn-sidebar .widget {
  margin-bottom: 2.5rem;
}

.bn-sidebar .widget-title {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.bn-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-sidebar li + li {
  margin-top: 0.5rem;
}

.bn-sidebar a {
  color: var(--bn-muted-foreground);
  font-size: 0.875rem;
  text-decoration: none;
}

.bn-sidebar a:hover,
.bn-sidebar a:focus {
  color: var(--bn-primary);
}

.bn-comments {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--bn-border);
}

.bn-comments ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bn-comments .comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--bn-border);
}

.bn-comments .comment-author img {
  border-radius: 999px;
}

.bn-comments .comment-meta {
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
}

.bn-comments .children {
  padding-left: 1.25rem;
}

.comment-form label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.bn-search-field {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bn-surface);
  border: 1px solid var(--bn-input);
  border-radius: var(--bn-radius-md);
  font-size: 0.9375rem;
}

.comment-form textarea {
  min-height: 8rem;
}

.comment-form .submit {
  display: inline-flex;
  padding: 0.75rem 1.5rem;
  background-color: var(--bn-primary);
  color: var(--bn-primary-foreground);
  border: 0;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.bn-search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 26rem;
}

/* Classes nativas do WordPress */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1.5rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-inline: auto;
}

.alignwide {
  margin-inline: -1.25rem;
  max-width: 75rem;
}

.alignfull {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.wp-element-caption,
.gallery-caption {
  margin-top: 0.5rem;
  color: var(--bn-muted-foreground);
  font-family: var(--bn-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sticky .bn-list__title::before {
  content: "★ ";
  color: var(--bn-primary);
}

.bypostauthor > .comment-body .comment-author {
  font-weight: 600;
}

.wp-block-button__link {
  border-radius: 999px;
}

.wp-block-quote {
  border-left: 3px solid var(--bn-primary);
  padding-left: 1.25rem;
}

.bn-entry__thumb {
  margin-bottom: 2rem;
}

.bn-entry__thumb img {
  width: 100%;
  border-radius: var(--bn-radius-xl);
}

.bn-post-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bn-border);
  font-size: 0.875rem;
}

.bn-post-nav__item--next {
  margin-left: auto;
  text-align: right;
}

.bn-post-nav a {
  color: var(--bn-foreground);
  text-decoration: none;
}

.bn-post-nav a:hover,
.bn-post-nav a:focus {
  color: var(--bn-primary);
}

.bn-empty {
  padding: 3rem 0;
}

.bn-comments__title {
  font-size: 1.25rem;
}

.bn-404__actions {
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .bn-post-nav {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   14. Animações
   ========================================================================== */

@keyframes bn-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bn-sheen {
  from {
    transform: translateX(-160%) skewX(-18deg);
  }
  to {
    transform: translateX(390%) skewX(-18deg);
  }
}

.bn-reveal {
  opacity: 0;
}

.bn-reveal.is-visible,
.no-js .bn-reveal {
  animation: bn-rise 700ms cubic-bezier(0.32, 0.72, 0, 1) both;
}

.bn-delay-1 {
  animation-delay: 100ms;
}

.bn-delay-2 {
  animation-delay: 180ms;
}

.bn-delay-3 {
  animation-delay: 260ms;
}

/* O WordPress injeta a classe .no-js no <html>; troque para .js via JS. */
html.no-js .bn-reveal {
  opacity: 1;
}

/* ==========================================================================
   15. Breakpoints (sm 640px / md 768px / lg 1024px)
   ========================================================================== */

@media (min-width: 640px) {
  :root {
    --bn-gutter: 1.5rem;
  }

  .bn-brand__tagline {
    display: inline;
  }

  .bn-section {
    padding-block: 4rem;
  }

  .bn-hero {
    padding-block: 3.5rem 3rem;
  }

  .bn-hero__title {
    font-size: 3rem;
  }

  .bn-hero__media img {
    aspect-ratio: 2 / 1;
  }

  .bn-servicos__grid {
    grid-template-columns: 1fr;
  }

  .bn-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bn-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bn-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bn-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bn-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bn-section__title,
  .bn-servicos__heading {
    font-size: 2.25rem;
  }

  .bn-footer__inner {
    flex-direction: row;
    align-items: center;
  }

  .bn-page-header {
    padding-top: 4rem;
  }

  .bn-whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.875rem 1.25rem;
  }

  .bn-whatsapp-float span {
    display: inline;
  }

  .bn-page-header {
    padding-top: 8rem;
  }
}

@media (min-width: 768px) {
  .bn-nav {
    display: block;
  }

  .bn-nav__toggle,
  .bn-nav__panel {
    display: none;
  }

  .bn-hero__top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .bn-hero__title {
    font-size: 3.75rem;
  }

  .bn-section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .bn-cta__inner {
    flex-direction: row;
    align-items: flex-end;
  }

  .bn-cta__title {
    font-size: 3rem;
  }

  .bn-content__inner {
    grid-template-columns: minmax(0, 1fr) 18rem;
  }

  .bn-content__inner--full {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .bn-servicos__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
  }

  .bn-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bn-hero__title {
    font-size: 3.75rem;
  }

  .bn-cta__title {
    font-size: 3rem;
  }
}

/* ==========================================================================
   16. Acessibilidade e impressão
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bn-reveal {
    opacity: 1;
  }

  .bn-sheen::after {
    display: none;
  }
}

@media print {
  .bn-header,
  .bn-whatsapp-float,
  .bn-cta,
  .bn-comments {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
