﻿/* Fontes: assets/css/fonts-bruna.css */
:root {
  --color-sand-50:  #faf6ec;
  --color-sand-100: #f5efde;
  --color-sand-200: #efe6d2;
  --color-sand-300: #e3d6b8;
  --color-sand-400: #cbb98e;
  --color-sand-500: #a89a72;
  /* Verde sálvia — tom mais claro; compõe com terracota (paleta da cliente) */
  --color-sage-50:  #f2f8f4;
  --color-sage-100: #e6f2ea;
  --color-sage-200: #cce5d6;
  --color-sage-300: #a8d4b8;
  --color-sage-400: #7fbf94;
  --color-sage-500: #5fa87a;
  --color-sage-600: #4a9064;
  --color-sage-700: #3d7552;
  --color-sage-800: #325c42;
  --color-sage-900: #284736;
  /* Terracota alinhada ao lockup da marca (tom queimado / terracota) */
  --color-terracotta-50:  #fbeee2; /* escala oficial — ver 3-Escala Terracota.html */
  --color-terracotta-100: #f0c9a3;
  --color-terracotta-200: #d68a4b;
  --color-terracotta-300: #c45c33;
  --color-terracotta-400: #b24a22;
  --color-terracotta-500: #963d1c;
  --color-terracotta-600: #7a3216;
  --color-olive-50:  #eef0e4;
  --color-olive-100: #c8cda9;
  --color-olive-200: #8e9667;
  --color-olive-300: #6b7649;
  --color-olive-400: #5d6a40;
  --color-olive-500: #4a5532;
  --color-olive-600: #353d23;
  --color-ink:        #14181a;
  --color-ink-soft:   #3a3f42;
  --color-ink-muted:  #6c7176;
  --color-white:      #ffffff;
  --bg-canvas:        var(--color-white);
  --bg-canvas-soft:   var(--color-white);
  --bg-elevated:      var(--color-white);
  --bg-inverse:       var(--color-terracotta-600);
  --bg-inverse-soft:  var(--color-terracotta-500);
  --bg-overlay:       rgba(20, 24, 26, 0.6);
  --fg-primary:       var(--color-ink);
  --fg-secondary:     var(--color-ink-soft);
  --fg-muted:         var(--color-ink-muted);
  --fg-on-inverse:    var(--color-white);
  --fg-on-inverse-muted: color-mix(in srgb, var(--color-white) 78%, var(--color-terracotta-100));
  --accent-primary:   var(--color-terracotta-400);
  --accent-primary-hover: var(--color-terracotta-500);
  --accent-green:     var(--color-sage-400);
  --accent-green-soft: var(--color-sage-300);
  /* Azul petróleo — reservado para detalhes pontuais / usos futuros */
  --accent-detail:    var(--accent-petrol);
  --accent-petrol:    #10495c;
  --accent-petrol-soft: #1a6b82;
  --color-petrol-900: #0c3a4a;
  --accent-warm:      var(--color-terracotta-400);
  --accent-natural:   var(--color-sage-400);
  --border-hairline:  color-mix(in srgb, var(--color-terracotta-500) 22%, rgba(20, 24, 26, 0.1));
  --border-soft:      color-mix(in srgb, var(--color-terracotta-500) 32%, rgba(20, 24, 26, 0.16));
  --border-strong:    var(--color-ink);
  --border-on-inverse: color-mix(in srgb, var(--color-white) 28%, transparent);
  --status-success:  var(--color-olive-400);
  --status-warning:  var(--color-terracotta-300);
  --status-danger:   #9c2a17;
  --status-info:     var(--color-sage-600);
  --font-display: 'Cormorant Garamond', 'EB Garamond', Garamond, Georgia, serif;
  --font-display-weight: 600;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --fs-display-xl: clamp(48px, 7vw, 96px);
  --fs-display-l:  clamp(40px, 5.5vw, 72px);
  --fs-display-m:  clamp(32px, 4vw, 52px);
  --fs-section-title: clamp(2rem, 3.8vw, 2.75rem);
  --fs-h1:         clamp(28px, 3.2vw, 40px);
  --fs-h2:         clamp(24px, 2.4vw, 30px);
  --fs-h3:         20px;
  --fs-h4:         17px;
  --fs-body:       16px;
  --fs-body-sm:    14px;
  --fs-caption:    12px;
  --fs-label:      11px;
  --lh-tight:   1.08;
  --lh-snug:    1.2;
  --lh-normal:  1.45;
  --lh-relaxed: 1.6;
  --space-0:  0; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 6px; --radius-lg: 10px; --radius-xl: 16px; --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(20, 24, 26, 0.06), 0 1px 1px rgba(20,24,26,0.04);
  --shadow-2: 0 4px 12px rgba(20, 24, 26, 0.08), 0 2px 4px rgba(20,24,26,0.04);
  --shadow-3: 0 12px 32px rgba(20, 24, 26, 0.10), 0 4px 10px rgba(20,24,26,0.04);
  --shadow-inset-line: inset 0 -1px 0 var(--border-hairline);
  --ease-out:  cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 0.6, 0.1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:  140ms; --dur-med: 220ms; --dur-slow: 420ms;
  --layout-max: 1240px;
  --gutter:     clamp(20px, 4vw, 64px);
  --nav-h:      6.5rem;
  --nav-float-top: 1rem;
  --hero-overlay-bottom: var(--color-white);
  --bn-wa-phone: 5561999650759;
  --bn-wa-url: https://wa.me/5561999650759?text=Ol%C3%A1%2C%20Bruna%21%20Vim%20pelo%20site%20e%20gostaria%20de%20falar%20sobre%20o%20meu%20territ%C3%B3rio.;
}

html {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--fg-primary);
  background: var(--bg-canvas);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

.bn-display-xl, .bn-display-l, .bn-display-m, .bn-h1, .bn-h2, .bn-h3 {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  letter-spacing: -0.005em;
  line-height: var(--lh-tight);
  color: var(--fg-primary);
}
.bn-display-xl { font-size: var(--fs-display-xl); letter-spacing: -0.02em; }
.bn-display-l  { font-size: var(--fs-display-l);  letter-spacing: -0.015em; }
.bn-display-m  { font-size: var(--fs-display-m);  letter-spacing: -0.01em; }
.bn-section-title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--fs-section-title);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}
.bn-section-title--inverse { color: var(--fg-on-inverse); }
.bn-h1         { font-size: var(--fs-h1); line-height: var(--lh-snug); }
.bn-h2         { font-size: var(--fs-h2); line-height: var(--lh-snug); }
.bn-h3         { font-size: var(--fs-h3); line-height: var(--lh-snug); font-weight: 600; }
.bn-h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
  color: var(--fg-primary);
}
.bn-body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
}
.bn-body-sm {
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-normal);
  color: var(--fg-secondary);
}
.bn-caption {
  font-family: var(--font-sans);
  font-size: max(13px, var(--fs-caption));
  line-height: var(--lh-normal);
  color: var(--fg-muted);
}
.bn-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-terracotta-600) 42%, var(--fg-secondary));
}
.bn-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-display-m);
  line-height: 1.25;
  color: var(--fg-primary);
}
.bn-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-body-sm);
  letter-spacing: 0;
}
.bn-rule { border: 0; border-top: 1px solid var(--border-hairline); height: 0; margin: var(--space-5) 0; }

/* Display numérico / destaques (stats) */
.bn-stat-num {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}
.font-display {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  letter-spacing: -0.01em;
}

/* Wrapper de scroll: nav fixa fora do conteúdo principal */
#smooth-wrapper { width: 100%; min-height: 100vh; box-sizing: border-box; }
#smooth-content { padding-top: calc(var(--nav-h) + var(--nav-float-top) + 0.35rem); }
@media (min-width: 768px) {
  #smooth-content {
    padding-top: max(3vh, calc(var(--nav-h) + var(--nav-float-top) + 0.5rem));
  }
}

/* Lenis — scroll suave (desativado em prefers-reduced-motion) */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Hero — badge kicker (inspirado 21st Hero Section) */
.bn-hero-kicker {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  box-shadow: var(--shadow-1);
}

/* Hero retrato — glow duplo + imagem + card sobreposto */
.bn-hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow: visible;
}
.bn-hero-portrait__frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  line-height: 0;
  overflow: visible;
  padding-bottom: 0.25rem;
  background: transparent;
  isolation: isolate;
  --bn-hero-portrait-shift: 0px;
}
/* Camadas de efeito — sempre atrás da foto */
.bn-hero-portrait__fx {
  position: absolute;
  inset: -35%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.bn-hero-portrait__pulse {
  pointer-events: none;
  position: absolute;
  left: calc(50% + var(--bn-hero-portrait-shift, 0px));
  top: 14%;
  bottom: auto;
  z-index: 0;
  width: min(88%, 500px);
  aspect-ratio: 1;
  height: auto;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--color-terracotta-200) 72%, var(--color-terracotta-100) 28%) 0%,
    color-mix(in srgb, var(--color-terracotta-300) 48%, transparent) 38%,
    color-mix(in srgb, var(--color-terracotta-100) 22%, transparent) 62%,
    transparent 78%
  );
  filter: blur(20px);
  opacity: 0.68;
  -webkit-mask-image: radial-gradient(
    ellipse 52% 58% at 50% 40%,
    transparent 0%,
    transparent 44%,
    #000 76%
  );
  mask-image: radial-gradient(
    ellipse 52% 58% at 50% 40%,
    transparent 0%,
    transparent 44%,
    #000 76%
  );
}
.bn-hero-portrait__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
}
.bn-hero-portrait__glow-layer {
  position: absolute;
  left: calc(50% + var(--bn-hero-portrait-shift, 0px));
  border-radius: 50%;
  transform: translateX(-50%);
}
.bn-hero-portrait__glow-layer--outer {
  top: 8%;
  bottom: auto;
  z-index: 0;
  width: min(68%, 360px);
  aspect-ratio: 1;
  height: auto;
  transform: translateX(-50%) scale(2.15);
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--color-terracotta-300) 42%, transparent) 8%,
    transparent 62%
  );
  filter: blur(22px);
  opacity: 0.8;
}
.bn-hero-portrait__glow-layer--inner {
  top: 22%;
  bottom: auto;
  z-index: 0;
  width: min(46%, 220px);
  aspect-ratio: 1;
  height: auto;
  transform: translateX(-50%) scale(1.75);
  background: radial-gradient(
    circle at center,
    color-mix(in srgb, var(--color-terracotta-400) 38%, transparent) 10%,
    transparent 56%
  );
  filter: blur(16px);
  opacity: 0.92;
}
@media (prefers-reduced-motion: no-preference) {
  .bn-hero-portrait__pulse {
    animation: bn-hero-portrait-pulse 5.5s var(--ease-soft) infinite;
  }
  .bn-hero-portrait__glow-layer--outer {
    animation: bn-hero-glow-breathe 7s var(--ease-soft) infinite;
  }
  .bn-hero-portrait__glow-layer--inner {
    animation: bn-hero-glow-breathe 5.5s var(--ease-soft) infinite reverse;
  }
}
@keyframes bn-hero-portrait-pulse {
  0%, 100% {
    opacity: 0.62;
    transform: translateX(-50%) scale(0.94);
  }
  50% {
    opacity: 0.95;
    transform: translateX(-50%) scale(1.08);
  }
}
@keyframes bn-hero-glow-breathe {
  0%, 100% { opacity: 0.72; transform: translateX(-50%) scale(2.05); }
  50% { opacity: 0.9; transform: translateX(-50%) scale(2.28); }
}
.bn-hero-portrait__img {
  position: relative;
  z-index: 3;
  width: 130%;
  max-width: none;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  left: 50%;
  transform: translateX(calc(-50% + var(--bn-hero-portrait-shift, 0px)));
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
  isolation: isolate;
}
@media (max-width: 767px) {
  .bn-hero-aside-wrap {
    display: flex;
    justify-content: center;
  }
  .bn-hero-portrait {
    width: 100%;
    max-width: min(100%, 22.5rem);
    margin-inline: auto;
  }
  .bn-hero-portrait__frame {
    overflow: visible;
    --bn-hero-portrait-shift: 0px;
  }
  .bn-hero-portrait__img {
    width: 133%;
    max-width: 133%;
    left: 68%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bn-hero-portrait {
    max-width: min(100%, 26rem);
    margin-inline: auto;
  }
  .bn-hero-portrait__frame {
    overflow: visible;
    --bn-hero-portrait-shift: 0px;
  }
  .bn-hero-portrait__img {
    width: 102%;
    max-width: 26rem;
    left: 50%;
  }
  #topo .bn-hero-inner {
    padding-top: 1rem;
  }
}
@media (min-width: 1024px) {
  .bn-hero-portrait {
    align-items: flex-end;
    width: 100%;
    max-width: min(100%, 40rem);
    margin-left: auto;
    margin-right: 0;
  }
  .bn-hero-portrait__frame {
    --bn-hero-portrait-shift: clamp(2rem, 5.5vw, 4.25rem);
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .bn-hero-portrait__img {
    width: min(111%, 42rem);
    max-width: none;
    left: clamp(9rem, 24vw, 20.625rem);
    transform: translateX(calc(-50% + var(--bn-hero-portrait-shift, 0px)));
    margin-inline: 0;
  }
  .bn-hero-portrait__card {
    width: 100%;
    max-width: 24rem;
    margin-left: auto;
    margin-right: clamp(0.25rem, 1.5vw, 0.75rem);
    align-self: flex-end;
    justify-content: center;
    text-align: center;
  }
  .bn-hero-portrait__card .flex.-space-x-2 {
    justify-content: center;
  }
}
.bn-hero-portrait__card {
  position: relative;
  z-index: 11;
  flex-shrink: 0;
  margin-top: clamp(-3.25rem, -6vw, -2.75rem);
  margin-inline: clamp(0.5rem, 3vw, 1.25rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-2), 0 0 0 1px color-mix(in srgb, var(--border-hairline) 80%, transparent);
}
.bn-hero-aside-wrap {
  overflow: visible;
}
@media (max-width: 767px) {
  #topo .bn-hero-inner {
    padding-top: 0.75rem;
    padding-bottom: 3.5rem;
  }
  .bn-hero-copy .bn-hero-kicker {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
    font-size: clamp(0.625rem, 2.8vw, 0.75rem);
    line-height: 1.45;
    text-align: left;
  }
  .bn-hero-copy .js-hero-title {
    max-width: 16ch;
  }
  #topo .bn-hero-stats {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    gap: 1.25rem;
  }
  #topo .bn-hero-stats .bn-caption {
    font-size: max(12px, 0.8125rem);
    line-height: 1.45;
  }
}
@media (max-width: 479px) {
  #topo .bn-hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 767px) {
  .bn-atelier-nav__bar::before {
    opacity: 0.35;
  }
}
@media (min-width: 1024px) {
  .bn-hero-aside-wrap {
    align-self: start;
    padding-top: 0.25rem;
  }
  .bn-hero-copy {
    padding-top: 0.25rem;
  }
}

/* CTA — borda animada em degradê terracota (apenas .bn-btn-gradient--cta) */
.bn-btn-gradient {
  display: inline-flex;
  position: relative;
  padding: 2px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  color: var(--color-sand-50);
  box-shadow: var(--shadow-2);
  flex-shrink: 0;
}
.bn-btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 400%;
  height: 100%;
  background: linear-gradient(
    115deg,
    var(--color-terracotta-200),
    var(--color-terracotta-500),
    var(--color-terracotta-300),
    var(--color-terracotta-400),
    var(--color-terracotta-100),
    var(--color-terracotta-500)
  );
  background-size: 25% 100%;
  animation: none;
}
.bn-btn-gradient--cta::before {
  animation: bn-btn-gradient-shift 0.85s linear infinite;
}
.bn-btn-gradient__inner {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  background: color-mix(in srgb, var(--color-terracotta-500) 90%, var(--color-terracotta-600));
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast) ease;
}
.bn-btn-gradient:hover .bn-btn-gradient__inner {
  background: color-mix(in srgb, var(--color-terracotta-400) 88%, var(--color-terracotta-600));
}
.bn-btn-gradient--lg .bn-btn-gradient__inner {
  padding: 0.85rem 1.55rem;
  font-size: 0.9375rem;
}
.bn-btn-gradient__inner svg {
  flex-shrink: 0;
}
@keyframes bn-btn-gradient-shift {
  to { transform: translateX(-25%); }
}

/* Hero GLSL: overlay — terracota suave no meio + branco no rodapé */
.tema-bruna-hero-glsl__overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 88% 68% at 78% 40%,
      color-mix(in srgb, var(--color-terracotta-100) 42%, transparent) 0%,
      transparent 58%
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      color-mix(in srgb, var(--color-terracotta-50) 18%, transparent) 32%,
      rgba(255, 255, 255, 0.35) 58%,
      rgba(255, 255, 255, 0.78) 82%,
      var(--hero-overlay-bottom) 100%
    );
}

/* Logos institucionais mais baixas no carrossel: altura extra só nestes itens */
.logoloop__item--gov img {
  height: calc(var(--logoloop-logoHeight) * 1.28);
  max-height: 72px;
}

.logoloop__item--sebrae img {
  height: calc(var(--logoloop-logoHeight) * 0.92);
  width: auto;
  max-width: min(140px, 28vw);
  object-fit: contain;
}

.logoloop__item--setur img {
  height: calc(var(--logoloop-logoHeight) * 1.12);
  width: auto;
  max-width: min(300px, 44vw);
  object-fit: contain;
}

.logoloop__item--pnud img {
  height: calc(var(--logoloop-logoHeight) * 1.05);
  width: auto;
  max-width: min(160px, 32vw);
  object-fit: contain;
}

/* Cards de serviço — estilo GridCard (padrão + brilho em hover), cores da marca (sage / terracota / areia / olive) */
.bn-grid-card {
  position: relative;
  isolation: isolate;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 17.5rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--fg-on-inverse) 16%, transparent);
  background: color-mix(in srgb, var(--color-terracotta-600) 78%, var(--color-sage-800) 22%);
  padding: var(--space-6) var(--space-6);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.bn-grid-card:hover {
  border-color: color-mix(in srgb, var(--color-terracotta-200) 42%, transparent);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}
.bn-grid-card__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bn-grid-card__skew {
  position: absolute;
  inset: -25%;
  transform: skewY(-12deg);
  -webkit-mask-image: linear-gradient(225deg, #000 0%, #000 32%, transparent 76%);
  mask-image: linear-gradient(225deg, #000 0%, #000 32%, transparent 76%);
}
.bn-grid-card__pattern-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bn-grid-card__pattern-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateY(8px);
  transition: transform 0.15s ease-out;
}
.bn-grid-card:hover .bn-grid-card__pattern-wrap svg {
  transform: translateY(0);
}
.bn-grid-card__glow {
  position: absolute;
  inset: -12%;
  opacity: 0;
  filter: blur(50px);
  transition: opacity 0.15s ease;
  pointer-events: none;
  background: conic-gradient(
    from 210deg at 50% 50%,
    var(--color-terracotta-300),
    var(--color-sage-400),
    var(--color-sand-200),
    var(--color-olive-300),
    var(--color-sage-300),
    var(--color-terracotta-400),
    var(--color-terracotta-300)
  );
}
.bn-grid-card:hover .bn-grid-card__glow {
  opacity: 0.14;
}
.bn-grid-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: var(--space-4);
}

/* Bento — Áreas de atuação (grid 3 col: 2+1 / 1+1+1) */
.bn-bento {
  width: 100%;
}
.bn-bento--strategic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .bn-bento--strategic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .bn-bento--strategic .bn-bento__card--wide {
    grid-column: span 2;
  }
}
.bn-bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  cursor: default;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-terracotta-300) 32%, transparent);
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--color-terracotta-50) 92%, var(--color-white)) 0%,
    color-mix(in srgb, var(--color-terracotta-100) 78%, var(--color-white)) 100%
  );
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
  will-change: transform;
}
.bn-bento__card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-terracotta-400) 50%, transparent);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--color-terracotta-400) 16%, transparent);
}
.bn-bento__card--featured {
  border-color: color-mix(in srgb, var(--color-terracotta-400) 42%, transparent);
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--color-terracotta-100) 88%, var(--color-white)) 0%,
    color-mix(in srgb, var(--color-terracotta-200) 52%, var(--color-white)) 100%
  );
  box-shadow: 0 10px 32px color-mix(in srgb, var(--color-terracotta-400) 14%, transparent);
}
.bn-bento__card--featured .bn-bento__dots {
  opacity: 0.65;
}
.bn-bento__dots {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
  background-image: radial-gradient(circle at center, color-mix(in srgb, var(--color-terracotta-400) 12%, transparent) 1px, transparent 1px);
  background-size: 4px 4px;
}
.bn-bento__card:hover .bn-bento__dots,
.bn-bento__card:focus-visible .bn-bento__dots {
  opacity: 1;
}
.bn-bento__glow-edge {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    transparent,
    color-mix(in srgb, var(--color-terracotta-300) 55%, transparent),
    color-mix(in srgb, var(--color-terracotta-400) 35%, transparent),
    transparent
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease-soft);
}
.bn-bento__card:hover .bn-bento__glow-edge,
.bn-bento__card--featured .bn-bento__glow-edge {
  opacity: 1;
}
.bn-bento__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 11.5rem;
}
.bn-bento__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}
.bn-bento__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-terracotta-300) 28%, transparent);
  color: var(--color-terracotta-600);
  transition: background 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}
.bn-bento__icon iconify-icon {
  display: block;
  flex-shrink: 0;
}
.bn-bento__card:hover .bn-bento__icon {
  background: color-mix(in srgb, var(--color-terracotta-400) 38%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--color-terracotta-300) 40%, transparent);
}
.bn-bento__status {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-terracotta-100) 85%, white);
  color: var(--color-terracotta-600);
  border: 1px solid color-mix(in srgb, var(--color-terracotta-300) 25%, transparent);
}
.bn-bento__copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.bn-bento__eyebrow {
  margin: 0 0 0.15rem;
  color: var(--color-terracotta-600);
}
.bn-bento__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 500;
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: 0;
}
.bn-bento__meta {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  line-height: 1.45;
  color: color-mix(in srgb, var(--color-terracotta-600) 72%, var(--fg-secondary));
}
/* Subtítulos de seção — mais largura antes da quebra de linha */
.bn-section-lead {
  max-width: min(44rem, 100%);
}
.bn-bento__desc {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
  margin: 0;
}
.bn-bento__foot {
  display: flex;
  align-items: center;
  margin-top: auto;
}
.bn-bento__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.bn-bento__tag {
  font-size: var(--fs-caption);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-terracotta-200) 45%, white);
  color: var(--color-terracotta-600);
}
/* Citação sobre fundo escuro (sage) */
section#sobre .bn-quote { color: var(--fg-on-inverse) !important; }

footer a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* LogoLoop (React Bits — port vanilla, horizontal) */
.logoloop {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  --logoloop-gap: 32px;
  --logoloop-logoHeight: 28px;
  --logoloop-fadeColorAuto: var(--bg-canvas);
}

/* Logos — fundo branco sólido (sem transição para terracota) */
.bn-logoloop-section {
  border-bottom: none;
  background: var(--color-white);
}

/* Fundo animado — AnimatedGradientBackground (port vanilla) */
.bn-animated-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: background;
}

/* Bloco Serviços + Metodologia — sol radial: núcleo terracota no centro, branco nas bordas */
.bn-flow-terracotta {
  position: relative;
  isolation: isolate;
  /* overflow-y: visible — obrigatório para sticky do carrossel da metodologia */
  overflow-x: clip;
  overflow-y: visible;
  background-color: var(--color-white);
}
/* Fallback estático se JS não carregar */
.bn-flow-terracotta:not(:has(.bn-animated-gradient)) {
  background-image: radial-gradient(
    ellipse 130% 92% at 50% 46%,
    var(--color-terracotta-400) 0%,
    var(--color-terracotta-300) 12%,
    var(--color-terracotta-100) 30%,
    var(--color-terracotta-50) 46%,
    var(--color-sand-50) 58%,
    var(--color-white) 78%,
    var(--color-white) 100%
  );
}
/* Véus nas bordas — funde com LogoLoop (topo) e seções claras/escuras (rodapé) */
.bn-flow-terracotta::before,
.bn-flow-terracotta::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(72px, 14vh, 160px);
  z-index: 1;
  pointer-events: none;
}
.bn-flow-terracotta::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-white) 88%, transparent) 55%,
    transparent 100%
  );
}
.bn-flow-terracotta::after {
  bottom: 0;
  height: clamp(96px, 20vh, 220px);
  background: linear-gradient(
    to top,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-white) 88%, transparent) 28%,
    transparent 100%
  );
}
.bn-flow-terracotta > .bn-animated-gradient {
  mix-blend-mode: normal;
  opacity: 1;
}
.bn-flow-terracotta__inner {
  position: relative;
  z-index: 2;
}

/* Flancos — padrão sol: colado na borda da tela, centrado na altura */
.bn-sun-flanks {
  --bn-sun-flank-h: clamp(200px, 34vh, 400px);
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  visibility: hidden;
}
.bn-sun-flanks.is-active {
  visibility: visible;
}
.bn-sun-flank {
  position: fixed;
  top: 50%;
  height: var(--bn-sun-flank-h);
  width: auto;
  margin: 0;
  will-change: transform, opacity;
}
.bn-sun-flank--left {
  left: 0;
}
.bn-sun-flank--right {
  right: 0;
}
.bn-sun-flank__graphic {
  display: block;
  height: 100%;
  width: auto;
}
.bn-sun-flank--left .bn-sun-flank__graphic {
  transform: rotate(90deg) translateX(0);
  transform-origin: left center;
}
.bn-sun-flank--right .bn-sun-flank__graphic {
  transform: rotate(-90deg) translateX(0);
  transform-origin: right center;
}
.bn-sun-flank__graphic img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 520 / 280;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: multiply;
  opacity: 0.44;
  filter: contrast(1.05) saturate(1.06);
}
@media (min-width: 1024px) {
  .bn-sun-flanks {
    --bn-sun-flank-h: clamp(220px, 32vh, 380px);
  }
}
@media (max-width: 767px) {
  .bn-sun-flanks {
    --bn-sun-flank-h: clamp(168px, 26vh, 260px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bn-sun-flanks.is-active .bn-sun-flank {
    opacity: 0.22;
  }
}

#servicos {
  position: relative;
  background: transparent;
  color: var(--fg-primary);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
#servicos .bn-servicos__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: inherit;
  box-sizing: border-box;
}

#metodologia {
  position: relative;
  padding: 0;
  background: transparent;
  color: var(--fg-primary);
  box-sizing: border-box;
}
#metodologia .bn-metodo-intro .bn-eyebrow {
  color: color-mix(in srgb, var(--color-terracotta-600) 55%, var(--fg-secondary));
}
#metodologia .bn-metodo-intro h2,
#metodologia .bn-metodo-intro .bn-body {
  color: var(--fg-primary);
}
#metodologia .bn-metodo-intro .bn-caption {
  color: var(--fg-secondary);
}
#metodologia .bn-scroll-carousel--metodo {
  --gc-font-display: var(--font-display);
  --gc-font-sans: var(--font-sans);
  --gc-ink: var(--fg-primary);
  --gc-ink-muted: var(--fg-secondary);
  --gc-sage-600: var(--color-terracotta-600);
}

@media (max-width: 767px) {
  #servicos {
    min-height: auto;
  }
  #servicos .bn-servicos__inner {
    min-height: auto;
    padding-bottom: 5rem;
  }
}

/* Rodapé — terracota sólida, cantos superiores arredondados + topografia */
footer.bn-site-footer {
  position: relative;
  border-top: none;
  border-radius: clamp(1.5rem, 6vw, 3.125rem) clamp(1.5rem, 6vw, 3.125rem) 0 0;
  overflow: hidden;
  background: var(--color-terracotta-500);
  color: var(--fg-on-inverse);
}
footer.bn-site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../pattern-topografia.png');
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}
footer.bn-site-footer > div {
  position: relative;
  z-index: 1;
}
footer.bn-site-footer .bn-eyebrow {
  color: var(--fg-on-inverse-muted);
}
footer.bn-site-footer .bn-body-sm,
footer.bn-site-footer ul {
  color: color-mix(in srgb, var(--fg-on-inverse) 82%, transparent);
}
footer.bn-site-footer a:hover {
  color: var(--color-olive-100);
}
.bn-footer-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.bn-footer-contact__link svg {
  flex-shrink: 0;
  opacity: 0.92;
}
footer.bn-site-footer .bn-caption {
  color: var(--fg-on-inverse-muted);
}
footer.bn-site-footer .border-t,
footer.bn-site-footer .border-\[var\(--border-hairline\)\] {
  border-color: var(--border-on-inverse) !important;
}

/* Sobre — card Territórios vivos (foto + degradê radial terracota → transparente à direita) */
.bn-sobre-card {
  box-shadow:
    0 8px 40px rgba(20, 24, 26, 0.14),
    0 4px 24px rgba(20, 24, 26, 0.1),
    0 2px 8px rgba(20, 24, 26, 0.06);
  background-color: var(--color-terracotta-600);
  background-image:
    radial-gradient(
      ellipse 105% 130% at 10% 50%,
      color-mix(in srgb, var(--color-terracotta-600) 96%, var(--color-terracotta-500)) 0%,
      color-mix(in srgb, var(--color-terracotta-500) 90%, transparent) 26%,
      color-mix(in srgb, var(--color-terracotta-500) 82%, transparent) 46%,
      color-mix(in srgb, var(--color-terracotta-400) 54%, transparent) 62%,
      transparent 84%
    ),
    url('../bg-territorios-vivos-mobile.jpg');
  background-size: cover, cover;
  background-position: center, center 22%;
  background-repeat: no-repeat, no-repeat;
  color: var(--fg-on-inverse);
}
@media (min-width: 768px) {
  .bn-sobre-card {
    background-image:
      radial-gradient(
        ellipse 105% 130% at 10% 50%,
        color-mix(in srgb, var(--color-terracotta-600) 96%, var(--color-terracotta-500)) 0%,
        color-mix(in srgb, var(--color-terracotta-500) 90%, transparent) 26%,
        color-mix(in srgb, var(--color-terracotta-500) 82%, transparent) 46%,
        color-mix(in srgb, var(--color-terracotta-400) 54%, transparent) 62%,
        transparent 84%
      ),
      url('../bg-territorios-vivos.jpg');
    background-position: center, 88% center;
  }
}
@media (min-width: 1024px) {
  .bn-sobre-card {
    background-position: center, 100% center;
  }
}
.bn-sobre-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-terracotta-700) 48%, transparent) 0%,
    color-mix(in srgb, var(--color-terracotta-600) 22%, transparent) 34%,
    transparent 58%,
    transparent 100%
  );
}
.bn-sobre-card > * {
  position: relative;
  z-index: 1;
}
.bn-sobre-card .bn-eyebrow {
  color: var(--fg-on-inverse-muted);
}
.bn-sobre-card .bn-section-title {
  color: var(--fg-on-inverse);
  max-width: 46rem;
}
.bn-sobre-card .bn-quote {
  color: var(--fg-on-inverse);
  max-width: 46rem;
}
.bn-sobre-card__topics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}
@media (min-width: 640px) {
  .bn-sobre-card__topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}
.bn-sobre-card__topic {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  min-width: 0;
  border: 1px solid var(--border-on-inverse);
  border-radius: var(--radius-lg);
  padding: 0.75rem 0.875rem;
  background: color-mix(in srgb, #fff 10%, var(--color-terracotta-500));
}
@media (min-width: 640px) {
  .bn-sobre-card__topic {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
}
.bn-sobre-card__topic-body {
  min-width: 0;
  flex: 1;
}
.bn-sobre-card__topic-title {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 3.4vw, 0.875rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg-on-inverse);
  margin-top: 0.25rem;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.bn-sobre-card__topic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, #fff 14%, transparent);
  color: var(--color-terracotta-100);
}
.bn-sobre-card__topic .bn-caption {
  color: var(--fg-on-inverse-muted);
}
@media (max-width: 639px) {
  .bn-sobre-card__topic-icon {
    width: 2rem;
    height: 2rem;
  }
  .bn-sobre-card__topics {
    max-width: none;
  }
}
/* Loader inicial — símbolo terracota em fundo branco */
.bn-page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  transition: opacity 0.45s var(--ease-soft), visibility 0.45s var(--ease-soft);
}
.bn-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.bn-page-loader__symbol {
  width: clamp(3.25rem, 14vw, 4.5rem);
  height: auto;
  animation: bn-loader-pulse 1.15s var(--ease-soft) infinite;
}
@keyframes bn-loader-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1); }
}
html.bn-is-loading,
html.bn-is-loading body {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .bn-page-loader__symbol { animation: none; opacity: 0.85; }
}
/* CTA Contato — glass forte (referência: cards metodologia) */
.bn-cta-glass {
  position: relative;
  border-radius: var(--radius-xl);
  border: 8px solid #fff;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18), 0 4px 24px rgba(0, 0, 0, 0.12);
  min-height: clamp(22rem, 52vw, 28rem);
  text-align: center;
}
.bn-cta-glass__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bn-cta-glass__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.bn-cta-glass__glass {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  background: linear-gradient(
    165deg,
    rgba(8, 24, 32, 0.42) 0%,
    rgba(16, 73, 92, 0.68) 38%,
    rgba(10, 32, 42, 0.78) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    #000 22%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    #000 22%,
    #000 100%
  );
}
.bn-cta-glass__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem 2rem;
  color: #fff;
}
@media (min-width: 768px) {
  .bn-cta-glass__content {
    padding: 3rem 2.5rem 3rem;
  }
}
.bn-cta-glass__content .bn-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}
.bn-cta-glass__content .bn-section-title {
  color: #fff;
}
.bn-cta-glass__content .bn-section-title .italic {
  color: var(--color-terracotta-100);
}
.bn-cta-glass__content .bn-body {
  color: rgba(255, 255, 255, 0.92);
}
.bn-cta-glass__content .bn-body strong {
  color: #fff;
}
.bn-cta-glass__content .bn-caption {
  color: rgba(255, 255, 255, 0.78);
}
.bn-cta-glass__content .bn-caption svg {
  stroke: rgba(255, 255, 255, 0.7);
}
.bn-cta-glass .bn-btn-gradient {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.bn-cta-glass .bn-btn-gradient__inner {
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Rodapé — redes sociais */
.bn-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
footer.bn-site-footer .bn-footer-social__link {
  background: color-mix(in srgb, var(--color-terracotta-400) 50%, var(--color-terracotta-500) 50%);
  border-color: color-mix(in srgb, var(--color-white) 22%, transparent);
  color: var(--fg-on-inverse);
}
.bn-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--color-sage-300) 45%, var(--border-soft));
  background: var(--bg-elevated);
  color: var(--color-sage-600);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.bn-footer-social__link:hover {
  background: var(--color-terracotta-300);
  border-color: var(--color-terracotta-200);
  color: var(--color-sand-50);
}
footer.bn-site-footer .bn-footer-social__link:hover {
  background: color-mix(in srgb, var(--color-sage-400) 42%, var(--color-terracotta-300) 58%);
  border-color: var(--color-sage-200);
  color: var(--color-white);
}
.bn-footer-social__link svg {
  display: block;
  flex-shrink: 0;
}

/* Botão flutuante WhatsApp */
.bn-wa-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--color-sand-50);
  text-decoration: none;
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.bn-wa-float:hover {
  transform: scale(1.06);
  background: var(--accent-primary-hover);
  box-shadow: var(--shadow-3);
}
.bn-wa-float:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
}
.bn-wa-float svg {
  display: block;
}

/* Navegação — pill flutuante (atelier) */
.bn-atelier-nav {
  position: fixed;
  top: var(--nav-float-top);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s var(--ease-soft);
  will-change: transform;
}
.bn-atelier-nav.is-scroll-hidden {
  transform: translate3d(0, calc(-100% - 1.25rem), 0);
  pointer-events: none;
}
.bn-atelier-nav.is-scroll-hidden .bn-atelier-nav__inner {
  pointer-events: none;
}
.bn-atelier-nav__inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  pointer-events: auto;
}
.bn-atelier-nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 5.25rem;
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--color-terracotta-200) 55%, var(--border-soft));
  background: color-mix(in srgb, var(--bg-elevated) 72%, rgba(255, 255, 255, 0.42));
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-2);
  isolation: isolate;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bn-atelier-nav__bar {
    background: color-mix(in srgb, var(--bg-elevated) 58%, transparent);
  }
}
.bn-atelier-nav__bar::before {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--color-white) 75%, transparent),
    transparent
  );
}
.bn-atelier-nav__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  z-index: 2;
  text-decoration: none;
  border-radius: var(--radius-md);
}
.bn-atelier-nav__brand:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
}
.bn-atelier-nav__logo {
  display: block;
  height: 3rem;
  width: auto;
  max-width: min(58vw, 18rem);
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 640px) {
  .bn-atelier-nav__logo {
    height: 3.5rem;
    max-width: min(42vw, 20rem);
  }
}
.bn-atelier-nav__link {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}
.bn-atelier-nav__link:hover {
  color: var(--accent-warm);
}
.bn-atelier-nav__center {
  display: none;
  align-items: center;
  gap: 1.75rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.bn-atelier-nav__center--xl {
  display: none;
}
@media (min-width: 1280px) {
  .bn-atelier-nav__center--xl {
    display: flex;
  }
}
.bn-atelier-nav__center--lg {
  display: none;
}
@media (min-width: 768px) and (max-width: 1279px) {
  .bn-atelier-nav__center--lg {
    display: flex;
  }
}
.bn-atelier-nav__more {
  position: relative;
  display: flex;
  align-items: center;
}
.bn-atelier-nav__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  transition: color var(--dur-fast) ease;
}
.bn-atelier-nav__more-btn:hover {
  color: var(--accent-warm);
}
.bn-atelier-nav__more-btn:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.bn-atelier-nav__more-btn svg {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
}
.bn-atelier-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 15rem;
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--color-terracotta-200) 50%, var(--border-soft));
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-3);
}
.bn-atelier-nav__dropdown.is-open {
  display: block;
}
.bn-atelier-nav__dropdown a {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-primary);
  text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.bn-atelier-nav__dropdown a:hover {
  color: var(--accent-warm);
  background: color-mix(in srgb, var(--color-terracotta-50) 45%, transparent);
}
.bn-atelier-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 2;
  margin-left: auto;
}

/* Botão pill sólido — nav, links secundários e WhatsApp (sem animação) */
.bn-btn-pill,
.bn-atelier-nav__cta,
.bn-atelier-nav__panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-primary);
  background: var(--accent-primary);
  color: var(--color-sand-50);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.bn-btn-pill:hover,
.bn-atelier-nav__cta:hover,
.bn-atelier-nav__panel-cta:hover {
  background: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
  color: var(--color-sand-50);
}
.bn-btn-pill svg,
.bn-atelier-nav__cta svg,
.bn-atelier-nav__panel-cta svg {
  flex-shrink: 0;
}
.bn-btn-pill--lg {
  min-height: 3rem;
  padding: 0 1.35rem;
  font-size: 0.9375rem;
}
.bn-atelier-nav__cta {
  display: none;
}
@media (min-width: 768px) {
  .bn-atelier-nav__cta {
    display: inline-flex;
  }
}
.bn-atelier-nav__panel-cta {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
}
.bn-atelier-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--color-terracotta-200) 45%, var(--border-soft));
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-canvas) 70%, transparent);
  color: var(--fg-primary);
  cursor: pointer;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.bn-atelier-nav__toggle:hover {
  border-color: color-mix(in srgb, var(--accent-warm) 50%, var(--border-soft));
  color: var(--accent-warm);
  background: color-mix(in srgb, var(--color-terracotta-50) 35%, transparent);
}
.bn-atelier-nav__toggle:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 2px;
}
.bn-atelier-nav__toggle svg {
  display: block;
}
.bn-atelier-nav__toggle[aria-expanded='true'] .bn-atelier-nav__icon-open {
  display: none;
}
.bn-atelier-nav__toggle[aria-expanded='false'] .bn-atelier-nav__icon-close {
  display: none;
}
@media (min-width: 768px) {
  .bn-atelier-nav__toggle {
    display: none;
  }
}
.bn-atelier-nav__panel {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0.75rem;
  padding: 0 0.85rem;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: none;
  opacity: 0;
  transform: translateY(-0.65rem);
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition:
    grid-template-rows 0.42s var(--ease-soft),
    opacity 0.34s var(--ease-soft),
    transform 0.42s var(--ease-soft),
    padding 0.42s var(--ease-soft),
    border-color 0.32s ease,
    box-shadow 0.34s var(--ease-soft),
    visibility 0s linear 0.42s;
}
.bn-atelier-nav__panel.is-open {
  grid-template-rows: 1fr;
  padding: 0.85rem;
  border-color: color-mix(in srgb, var(--color-terracotta-200) 50%, var(--border-soft));
  box-shadow: var(--shadow-3);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    grid-template-rows 0.42s var(--ease-soft),
    opacity 0.34s var(--ease-soft) 0.05s,
    transform 0.42s var(--ease-soft),
    padding 0.42s var(--ease-soft),
    border-color 0.32s ease,
    box-shadow 0.34s var(--ease-soft),
    visibility 0s;
}
.bn-atelier-nav__panel-body {
  overflow: hidden;
  min-height: 0;
}
@media (min-width: 768px) {
  .bn-atelier-nav__panel {
    display: none !important;
  }
}
.bn-atelier-nav__panel-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.bn-atelier-nav__panel-links a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-primary);
  text-decoration: none;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.bn-atelier-nav__panel-links a:hover {
  color: var(--accent-warm);
  background: color-mix(in srgb, var(--color-terracotta-50) 40%, transparent);
}
.bn-atelier-nav__panel-divider {
  height: 1px;
  margin: 0.65rem 0;
  background: var(--border-hairline);
}

/* panel-cta herda .bn-btn-pill acima */

/* Depoimentos — estado “em breve” */
.bn-depoimentos-soon {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.bn-depoimentos-soon__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-7);
}
@media (min-width: 640px) {
  .bn-depoimentos-soon__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.bn-depoimentos-soon__card {
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px dashed color-mix(in srgb, var(--color-sage-400) 40%, var(--border-soft));
  background: color-mix(in srgb, var(--bg-elevated) 88%, var(--color-sage-50) 12%);
}
.bn-depoimentos-soon__card svg {
  margin: 0 auto var(--space-3);
  display: block;
  color: var(--color-sage-500);
}

/* Para quem — fundo fotográfico + cards centralizados */
.bn-para-quem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.bn-para-quem__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.bn-para-quem__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  display: block;
}
.bn-para-quem__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) and (max-width: 1440px) {
  .bn-para-quem__bg img {
    object-position: 72% 40%;
  }
}
@media (max-width: 767px) {
  .bn-para-quem__bg img {
    object-position: center 28%;
    transform: none;
  }
}
.bn-para-quem__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-olive-600) 62%, transparent) 0%,
    color-mix(in srgb, var(--color-olive-500) 48%, transparent) 38%,
    color-mix(in srgb, var(--color-olive-600) 52%, rgba(20, 24, 26, 0.45)) 100%
  );
}
.bn-para-quem__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../pattern-topografia.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: soft-light;
}
.bn-para-quem__inner {
  position: relative;
  z-index: 1;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 4.5rem var(--gutter) 5rem;
  text-align: center;
  color: var(--fg-on-inverse);
}
@media (min-width: 768px) {
  .bn-para-quem__inner {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }
}
.bn-para-quem__intro {
  max-width: 40rem;
  margin: 0 auto;
}
.bn-para-quem__intro .bn-eyebrow {
  color: var(--color-olive-100);
}
.bn-para-quem__intro .bn-section-title {
  color: var(--fg-on-inverse);
}
.bn-para-quem__intro .bn-section-title .bn-para-quem__title-accent {
  color: var(--color-olive-50);
}
.bn-para-quem__intro .bn-body {
  color: var(--fg-on-inverse-muted);
  margin-top: 1.25rem;
}
/* Para quem — grid estático em duas colunas */
.bn-para-quem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  width: 100%;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media (min-width: 768px) {
  .bn-para-quem__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
  }
}
.bn-para-quem__card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--color-olive-100) 32%, rgba(255, 255, 255, 0.14));
  background: color-mix(in srgb, var(--color-olive-300) 38%, rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow:
    0 10px 36px rgba(53, 61, 35, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.bn-para-quem__card:nth-child(1) {
  background: color-mix(in srgb, var(--color-olive-300) 40%, rgba(255, 255, 255, 0.07));
}
.bn-para-quem__card:nth-child(2) {
  background: color-mix(in srgb, var(--color-olive-400) 36%, rgba(255, 255, 255, 0.06));
  border-color: color-mix(in srgb, var(--color-olive-200) 28%, rgba(255, 255, 255, 0.12));
}
.bn-para-quem__card:nth-child(3) {
  background: color-mix(in srgb, var(--color-olive-300) 34%, rgba(238, 240, 228, 0.1));
}
.bn-para-quem__card:nth-child(4) {
  background: color-mix(in srgb, var(--color-olive-500) 32%, rgba(255, 255, 255, 0.05));
  border-color: color-mix(in srgb, var(--color-olive-300) 26%, rgba(255, 255, 255, 0.1));
}
.bn-para-quem__card:hover {
  border-color: color-mix(in srgb, var(--color-olive-100) 48%, rgba(255, 255, 255, 0.22));
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(53, 61, 35, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.bn-para-quem__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-olive-200) 42%, rgba(255, 255, 255, 0.08));
  color: var(--color-olive-50);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.bn-para-quem__card:nth-child(2) .bn-para-quem__card-icon {
  background: color-mix(in srgb, var(--color-olive-300) 38%, rgba(255, 255, 255, 0.06));
}
.bn-para-quem__card:nth-child(4) .bn-para-quem__card-icon {
  background: color-mix(in srgb, var(--color-olive-400) 34%, rgba(255, 255, 255, 0.05));
}
.bn-para-quem__card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: var(--font-display-weight);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg-on-inverse);
  margin: 0;
}
.bn-para-quem__card-text {
  margin: 0;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--fg-on-inverse-muted);
}
.bn-para-quem__card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-on-inverse);
  text-decoration: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-olive-200) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-olive-100) 35%, transparent);
  transition: background 0.2s ease, transform 0.15s ease;
}
.bn-para-quem__card-cta:hover {
  background: color-mix(in srgb, var(--color-olive-100) 28%, transparent);
}
.bn-para-quem__card-cta iconify-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.bn-para-quem__card-cta:hover iconify-icon {
  transform: translate(2px, -2px);
}
.logoloop__track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
  position: relative;
  z-index: 0;
}
.logoloop__list {
  display: flex;
  align-items: center;
}
.logoloop__item {
  flex: 0 0 auto;
  margin-right: var(--logoloop-gap);
  font-size: var(--logoloop-logoHeight);
  line-height: 1;
}
.logoloop__item:last-child {
  margin-right: var(--logoloop-gap);
}
.logoloop__node {
  display: inline-flex;
  align-items: center;
}
.logoloop__item img {
  height: var(--logoloop-logoHeight);
  width: auto;
  display: block;
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logoloop--scale-hover {
  padding-top: calc(var(--logoloop-logoHeight) * 0.12);
  padding-bottom: calc(var(--logoloop-logoHeight) * 0.12);
}
.logoloop--scale-hover .logoloop__item {
  overflow: visible;
}
.logoloop--scale-hover .logoloop__item:hover img,
.logoloop--scale-hover .logoloop__item:hover .logoloop__node {
  transform: scale(1.12);
  transform-origin: center center;
}
.logoloop--scale-hover .logoloop__node {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.logoloop__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}
.logoloop__link:hover {
  opacity: 0.85;
}
.logoloop__link:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 2px;
}
.logoloop--fade::before,
.logoloop--fade::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(24px, 8%, 120px);
  pointer-events: none;
  z-index: 10;
}
.logoloop--fade::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.logoloop--fade::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.logoloop__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--color-terracotta-400) 42%, var(--border-soft));
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  color: color-mix(in srgb, var(--color-terracotta-600) 55%, var(--fg-secondary));
  white-space: nowrap;
  background: color-mix(in srgb, var(--color-terracotta-50) 55%, var(--bg-elevated) 45%);
}

/* Testimonial v2 (port vanilla — layout de colunas + scroll infinito; no React/framer-motion neste wireframe) */
.bn-testimonial-v2__stage {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-height: 740px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.bn-testimonial-v2__col {
  flex: 0 0 auto;
  width: min(20rem, 86vw);
  max-height: 740px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .bn-testimonial-v2__stage {
    max-height: min(640px, 72vh);
  }
  #depoimentos {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }
}
.bn-testimonial-v2__track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin: 0;
  list-style: none;
  animation: bn-testimonial-v2-scroll var(--bn-tv2-dur, 120s) linear infinite;
  will-change: transform;
}
.bn-testimonial-v2__track:hover {
  animation-play-state: paused;
}
@keyframes bn-testimonial-v2-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
.bn-testimonial-v2__card {
  padding: clamp(1.25rem, 4.5vw, 2rem) clamp(1.15rem, 4vw, 2.25rem);
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-2);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
  cursor: default;
  user-select: none;
}
.bn-testimonial-v2__card:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(20, 24, 26, 0.12), 0 10px 10px -5px rgba(20, 24, 26, 0.06), var(--shadow-2);
}
.bn-testimonial-v2__card blockquote {
  margin: 0;
  padding: 0;
}
.bn-testimonial-v2__card p {
  margin: 0;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
}
.bn-testimonial-v2__card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.bn-testimonial-v2__footer--no-photo {
  padding-top: 0.125rem;
}
.bn-testimonial-v2__card img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-soft);
}
.bn-testimonial-v2__card cite {
  font-style: normal;
  font-weight: 600;
  font-size: var(--fs-body-sm);
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}
.bn-testimonial-v2__card .bn-testimonial-v2__role {
  display: block;
  font-size: var(--fs-caption);
  color: var(--fg-muted);
  margin-top: 0.125rem;
  line-height: 1.35;
}

/* Projetos — fundo branco + linhas terracota animadas, 100vh */
.bn-projetos {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  color: var(--fg-primary);
  overflow: hidden;
}
.bn-projetos__waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
#bn-projetos-waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bn-projetos__fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(5rem, 16vh, 11rem);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--color-white) 0%,
    color-mix(in srgb, var(--color-white) 92%, transparent) 42%,
    transparent 100%
  );
}
.bn-projetos::before {
  display: none;
}
.bn-projetos__glow {
  display: none;
}
.bn-projetos__grid-bg {
  display: none;
}
.bn-projetos__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
  box-sizing: border-box;
}
.bn-projetos__header {
  max-width: min(44rem, 100%);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.bn-projetos__header .bn-eyebrow {
  color: var(--color-terracotta-500);
}
.bn-projetos__header .bn-section-title {
  color: var(--color-terracotta-600);
}
.bn-projetos__lead {
  margin-top: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
}
/* Mobile — carrossel horizontal com peek do próximo card */
.bn-projetos__carousel-wrap {
  display: block;
  margin: 0 calc(-1 * var(--gutter)) 1.15rem;
}
@media (max-width: 767px) {
  .bn-projetos {
    min-height: auto;
  }
  .bn-projetos__inner {
    padding-bottom: 3rem;
  }
  .bn-projetos__carousel-wrap {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .bn-projetos__carousel-wrap {
    display: none;
  }
}
.bn-projetos__carousel-hint {
  display: flex;
  align-items: center;
  margin: 0 var(--gutter) 0.65rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.bn-projetos__carousel-hint-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.bn-projetos__carousel-hint iconify-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--color-terracotta-500);
}
/* ShinyText (react-bits) — port CSS puro, sem dependência motion */
.bn-shiny-text {
  display: inline-block;
  background-image: linear-gradient(
    120deg,
    var(--color-terracotta-500) 0%,
    var(--color-terracotta-500) 35%,
    var(--color-terracotta-200) 50%,
    var(--color-terracotta-500) 65%,
    var(--color-terracotta-500) 100%
  );
  background-size: 200% auto;
  background-position: 150% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bn-shiny-text-sweep 2.4s linear infinite;
}
@keyframes bn-shiny-text-sweep {
  0% { background-position: 150% center; }
  100% { background-position: -50% center; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-shiny-text {
    animation: none;
    background: none;
    -webkit-text-fill-color: var(--color-terracotta-500);
    color: var(--color-terracotta-500);
  }
}
.bn-projetos__carousel {
  overflow: visible;
}
.bn-projetos__carousel-track {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  overscroll-behavior-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  padding: 0.2rem var(--gutter) 3.85rem;
  scrollbar-width: none;
  cursor: grab;
}
.bn-projetos__carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.bn-projetos__carousel-track::-webkit-scrollbar {
  display: none;
}
.bn-projetos__carousel-slide {
  flex: 0 0 calc(100% - var(--gutter) - 0.7rem);
  max-width: calc(100% - var(--gutter) - 0.7rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.bn-projetos__carousel-slide:last-child {
  scroll-snap-align: end;
  padding-right: 0;
}
.bn-projetos__carousel-slide .bn-projetos__panel {
  min-height: 0;
  height: 100%;
}
.bn-projetos__carousel-slide .bn-projetos__panel-body {
  padding: 1.1rem 1.15rem;
}
.bn-projetos__carousel-slide .bn-projetos__intro {
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
}
.bn-projetos__carousel-slide .bn-projetos__desc {
  font-size: var(--fs-body-sm);
  line-height: var(--lh-relaxed);
}
.bn-projetos__desc-scroll {
  position: relative;
  max-height: 7.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-right: 0.35rem;
  margin-right: -0.15rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent-warm) 45%, transparent) transparent;
}
@media (min-width: 768px) {
  .bn-projetos__desc-scroll {
    max-height: clamp(5.75rem, 15vh, 9.25rem);
  }
}
.bn-projetos__desc-scroll::-webkit-scrollbar {
  width: 4px;
}
.bn-projetos__desc-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-warm) 50%, transparent);
}
.bn-projetos__desc-scroll::after {
  content: "";
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  height: 1.25rem;
  margin-top: -1.25rem;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--bg-elevated) 0%, transparent),
    color-mix(in srgb, var(--color-terracotta-50) 92%, transparent)
  );
}
.bn-projetos__desc-scroll.is-scroll-end::after {
  opacity: 0;
}
.bn-projetos__carousel-progress {
  margin-top: 0.35rem;
  font-family: var(--font-sans);
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--fg-muted);
  text-align: center;
  letter-spacing: 0.04em;
}
/* Painel desktop oculto no mobile — evita “projeto solto” abaixo do carrossel */
.bn-projetos__layout.bn-projetos__layout--desktop {
  display: none;
}
@media (min-width: 768px) {
  .bn-projetos__layout.bn-projetos__layout--desktop {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    gap: clamp(1rem, 2vw, 1.75rem);
    min-height: min(68vh, 42rem);
  }
}
.bn-projetos__nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 14rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .bn-projetos__nav {
    display: flex;
    align-self: center;
  }
}
@media (min-width: 1024px) {
  .bn-projetos__nav {
    width: 16rem;
  }
}
.bn-projetos__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg-secondary);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
  touch-action: manipulation;
}
.bn-projetos__tab:hover {
  background: color-mix(in srgb, var(--color-white) 55%, transparent);
  color: var(--color-terracotta-600);
}
.bn-projetos__tab:focus-visible {
  outline: 2px solid var(--color-terracotta-400);
  outline-offset: 2px;
}
.bn-projetos__tab.is-active {
  background: color-mix(in srgb, var(--color-white) 82%, var(--color-terracotta-50));
  border-color: color-mix(in srgb, var(--color-terracotta-400) 35%, var(--border-soft));
  color: var(--color-terracotta-600);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--color-terracotta-400) 14%, transparent);
}
.bn-projetos__tab-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.bn-projetos__tab iconify-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--color-sage-600);
  transition: color 0.22s ease;
}
.bn-projetos__tab.is-active iconify-icon {
  color: var(--color-terracotta-400);
}
.bn-projetos__tab-label {
  line-height: 1.3;
}
.bn-projetos__tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-terracotta-300);
  box-shadow: 0 0 10px color-mix(in srgb, var(--color-terracotta-300) 80%, transparent);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
}
.bn-projetos__tab.is-active .bn-projetos__tab-dot {
  opacity: 1;
  transform: scale(1);
}
.bn-projetos__panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-terracotta-50);
  border: 1px solid color-mix(in srgb, var(--color-terracotta-200) 35%, var(--border-soft));
  box-shadow:
    0 20px 48px color-mix(in srgb, var(--color-terracotta-400) 12%, transparent),
    0 4px 16px color-mix(in srgb, var(--color-terracotta-400) 8%, transparent);
}
@media (min-width: 1024px) {
  .bn-projetos__panel {
    border-radius: 24px;
  }
}
.bn-projetos__panel-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.8vw, 1.65rem) clamp(1.1rem, 2.5vw, 1.75rem);
  background: var(--color-terracotta-50);
  will-change: opacity, transform;
}
.bn-projetos__intro {
  width: 100%;
  flex-shrink: 0;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-terracotta-200) 40%, var(--border-hairline));
}
.bn-projetos__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracotta-500);
}
.bn-projetos__meta-pulse {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-terracotta-400);
  animation: bn-projetos-pulse 2s ease-in-out infinite;
}
@keyframes bn-projetos-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.bn-projetos__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: var(--lh-snug);
  color: var(--color-terracotta-600);
  margin: 0 0 0.75rem;
  max-width: none;
}
.bn-projetos__desc {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--fg-secondary);
  margin: 0;
  max-width: none;
}
.bn-projetos__split {
  display: block;
}
.bn-projetos__col--highlights {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
  width: 100%;
}
.bn-projetos__highlights-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-terracotta-600);
}
.bn-projetos__highlights {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 0.4rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.bn-projetos__highlight {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.9rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  color: var(--color-terracotta-600);
  background: color-mix(in srgb, var(--color-terracotta-200) 48%, var(--color-white));
  border: 1px solid color-mix(in srgb, var(--color-terracotta-300) 32%, transparent);
  border-radius: var(--radius-md);
  box-sizing: border-box;
}
.bn-projetos__col--visual {
  display: none;
}
.bn-projetos__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  align-self: flex-start;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-terracotta-400), var(--color-terracotta-500));
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-terracotta-400) 35%, transparent);
}
.bn-projetos__cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--color-terracotta-400) 42%, transparent);
}
.bn-projetos__cta:active {
  transform: scale(0.98);
}
.bn-projetos__cta:focus-visible {
  outline: 2px solid var(--color-sage-500);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .bn-projetos__meta-pulse {
    animation: none;
  }
}


/* Metodologia — intro compacta dentro do sticky (título + carrossel na mesma tela) */
.bn-metodo-intro {
  max-width: 40rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bn-hero-portrait__pulse,
  .bn-hero-portrait__glow-layer--outer,
  .bn-hero-portrait__glow-layer--inner {
    animation: none !important;
  }
  .bn-btn-gradient--cta::before {
    animation: none !important;
  }
  .logoloop__track {
    transform: translate3d(0, 0, 0) !important;
  }
  .logoloop__item img,
  .logoloop__node {
    transition: none !important;
  }
  .bn-grid-card__pattern-wrap svg {
    transform: none !important;
  }
  .bn-grid-card__glow {
    transition: none !important;
  }
  .bn-grid-card:hover .bn-grid-card__glow {
    opacity: 0 !important;
  }
  .bn-testimonial-v2__track {
    animation: none !important;
    transform: none !important;
  }
  .bn-projetos__panel-body {
    transition: none !important;
  }
  .bn-scroll-carousel__track {
    transform: none !important;
    will-change: auto;
  }
  .bn-atelier-nav,
  .bn-atelier-nav__panel,
  .bn-atelier-nav__dropdown {
    transition: none !important;
  }
  .bn-atelier-nav.is-scroll-hidden {
    transform: translate3d(0, calc(-100% - 1.25rem), 0);
  }
  .bn-cta-glass__glass {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(16, 73, 92, 0.88) !important;
  }
}
