@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Design System Tokens — Cores e Superfícies */
  --brago-blue: #0044be;
  --brago-blue-dark: #002f86;
  --brago-green: rgba(22, 192, 59, 0.8);
  --brago-green-hover: rgba(22, 192, 59, 0.95);
  --brago-orange: #ff8000;
  --brago-card-bg: #f3f3f3;
  --brago-gray-text: #787878;
  --brago-gray-border: #888383;
  --brago-partner-sub: #515151;

  /* Design System Tokens — Tipografia */
  --font-display: 'Forma DJR Text', 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Design System Tokens — Raios, Sombras e Transições */
  --radius-sm: 14px;
  --radius-md: 27px;
  --radius-lg: 31px;
  --radius-pill: 40px;
  --shadow-elevated: 0 12px 32px rgba(0, 0, 0, 0.14);
  --shadow-drawer: -8px 0 32px rgba(0, 0, 0, 0.18);
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Page wrapper matching Figma canvas width */
.page-shell {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.page-shell--home {
  max-width: none;
}

/* ==================== NAVBAR (EXPANDED AT TOP -> COMPACT ON SCROLL) ==================== */
.navbar {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  overflow: visible;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  z-index: 100;
  transition:
    min-height 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1)),
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.navbar.is-scrolled {
  min-height: 64px;
  box-shadow: 0 8px 30px rgba(0, 20, 70, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

.navbar__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(420px, 36vw, 490px);
  max-width: 520px;
  padding: 0 24px;
  flex-shrink: 0;
}

.navbar__links--subpage {
  flex: 1 0 0;
  width: auto;
  max-width: 520px;
  padding: 0 36px;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 37px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.2;
  color: #111827;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
}

.nav-btn:hover,
.nav-btn--active {
  background-color: rgba(0, 68, 190, 0.1);
  color: var(--brago-blue);
}

/* Products dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 110;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  display: flex;
}

.nav-dropdown__item {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: clamp(11.5px, 0.88vw, 13px);
  font-weight: 500;
  line-height: 1.3;
  color: #111827;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
  background: var(--brago-blue);
  color: #ffffff;
}

.navbar__logo-spacer {
  width: 180px;
  height: 1px;
  flex-shrink: 0;
  transition: width 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.navbar.is-scrolled .navbar__logo-spacer {
  width: 118px;
}

.navbar__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    width 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1)),
    height 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1)),
    transform 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.navbar__logo--home {
  left: calc(50% + 0.5px);
}

.navbar.is-scrolled .navbar__logo {
  width: 118px;
  height: 36px;
}

.navbar__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.navbar__search {
  border: 1.5px solid var(--brago-gray-border);
  border-radius: 67px;
  height: 38px;
  width: 228px;
  max-width: 228px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar__search:focus-within {
  border-color: var(--brago-blue);
  box-shadow: 0 0 0 3px rgba(0, 68, 190, 0.12);
}

.navbar__search--subpage {
  padding: 10px 14px;
}

.navbar__search-input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.3;
  color: #111827;
  width: calc(100% - 24px);
}

.navbar__search-input:focus-visible {
  outline: none;
}

.navbar__search-input::placeholder {
  color: #5b616e;
}

.navbar__search-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__search-icon img {
  display: block;
  max-width: none;
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 340px;
  max-width: 90vw;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  border: 1px solid #e6e6e6;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 120;
}

.search-results.is-open {
  display: flex;
}

.search-results__item,
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.search-results__item:hover,
.search-results__item:focus-visible,
.search-result-item:hover {
  background: #eff4ff;
}

.search-results__item img,
.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #f3f3f3;
  border-radius: 8px;
  flex-shrink: 0;
}

.search-result-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-item__title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #000000;
}

.search-result-item__cat {
  font-size: 11px;
  color: var(--brago-blue);
}

.navbar__actions {
  width: 252px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  transition: height 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.navbar__cart-btn {
  width: 60px;
  height: 92px;
  background: var(--brago-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    height 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.navbar__cart-btn:hover {
  background: var(--brago-blue-dark);
}

.navbar__cart-icon-wrap {
  width: 19px;
  height: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__cart-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar__order-icon-wrap {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__order-icon-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar__cart-badge {
  position: absolute;
  left: 33px;
  top: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 315px;
  background: var(--brago-orange);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: top 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.navbar__cart-badge[ hidden ] {
  display: none;
}

.navbar__whatsapp-btn {
  width: 192px;
  height: 92px;
  background: var(--brago-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    height 0.35s var(--smooth, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.navbar.is-scrolled .navbar__actions,
.navbar.is-scrolled .navbar__cart-btn,
.navbar.is-scrolled .navbar__whatsapp-btn {
  height: 64px;
}

.navbar.is-scrolled .navbar__cart-badge {
  top: 8px;
}

.navbar__whatsapp-btn:hover {
  background: var(--brago-green-hover);
}

.navbar__whatsapp-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.navbar__whatsapp-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar__whatsapp-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
}

/* ==================== HERO STACK (CASCADING CARDS + YOUTUBE AMBIENT GLOW) ==================== */
.hero-stage {
  --hero-amb-left: rgb(18, 105, 235);
  --hero-amb-center: rgb(32, 130, 255);
  --hero-amb-right: rgb(255, 175, 24);
  --hero-glow: rgba(30, 130, 255, 0.48);
  --hero-glow-soft: rgba(0, 72, 200, 0.28);
  width: 100%;
  background: #ffffff;
  padding: 38px clamp(16px, 3.5vw, 64px) 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1680px, calc(100% + 220px));
  height: calc(100% + 88px);
  pointer-events: none;
  z-index: 0;
  filter: blur(56px) saturate(1.85) brightness(1.08);
  animation: heroAmbientPulse 4.8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.hero-ambient::before {
  content: '';
  position: absolute;
  inset: 0% 4%;
  border-radius: 40px;
  background: radial-gradient(ellipse 70% 65% at 50% 36%, var(--hero-amb-center) 0%, transparent 72%);
  opacity: 0.38;
  transition: background 1.15s ease;
}

.hero-ambient__orb {
  position: absolute;
  border-radius: 50%;
  transition: background 1.15s ease;
  will-change: background;
}

.hero-ambient__orb--1 {
  left: -3%;
  top: -8%;
  width: 44%;
  height: 96%;
  opacity: 0.62;
  background: radial-gradient(circle at 45% 45%, var(--hero-amb-left) 0%, transparent 72%);
}

.hero-ambient__orb--2 {
  left: 24%;
  top: -16%;
  width: 52%;
  height: 104%;
  opacity: 0.68;
  background: radial-gradient(circle at 50% 45%, var(--hero-amb-center) 0%, transparent 74%);
}

.hero-ambient__orb--3 {
  right: -3%;
  top: -8%;
  width: 44%;
  height: 96%;
  opacity: 0.62;
  background: radial-gradient(circle at 55% 45%, var(--hero-amb-right) 0%, transparent 72%);
}

@keyframes heroAmbientPulse {
  0% {
    opacity: 0.62;
    transform: translateX(-50%) scale(0.985) translateY(2px);
  }
  50% {
    opacity: 0.80;
    transform: translateX(-50%) scale(1.02) translateY(-2px);
  }
  100% {
    opacity: 0.66;
    transform: translateX(-50%) scale(0.99) translateY(1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ambient {
    animation: none;
    opacity: 0.85;
  }
}

.hero-stack {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  aspect-ratio: 1600 / 478;
  min-height: 200px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  overflow: visible;
  perspective: 1200px;
}

.hero-stack__layer {
  position: absolute;
  border-radius: clamp(18px, 1.8vw, 28px) clamp(18px, 1.8vw, 28px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(0, 68, 190, 0.1);
  border-bottom: none;
  transition:
    top 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s ease,
    filter 0.72s ease,
    box-shadow 1.15s ease;
  cursor: pointer;
  will-change: top, left, width, height, transform, opacity;
}

.hero-stack__layer::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 34, 98, 0.58) 0%, rgba(0, 34, 98, 0.16) 45%, rgba(0, 34, 98, 0) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-stack__layer--back::after {
  opacity: 1;
}

.hero-stack__layer--mid::after {
  opacity: 0.72;
}

.hero-stack__layer--front::after {
  opacity: 0;
}

.hero-stack__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

/* Cartão de trás: no topo da pilha, ancorado até a barra azul */
.hero-stack__layer--back {
  left: 3.2%;
  top: 0%;
  width: 93.6%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
  filter: brightness(0.86);
  transform: translateY(0) scale(1);
  box-shadow:
    0 0 28px 2px var(--hero-glow-soft),
    0 8px 24px rgba(0, 34, 98, 0.12);
}

/* Cartão intermediário: avança e desce em direção à frente */
.hero-stack__layer--mid {
  left: 1.5%;
  top: 2.8%;
  width: 97%;
  height: 97.2%;
  z-index: 2;
  opacity: 0.96;
  filter: brightness(0.93);
  transform: translateY(0) scale(1);
  box-shadow:
    0 0 36px 4px var(--hero-glow-soft),
    0 12px 32px rgba(0, 34, 98, 0.16);
}

/* Cartão principal na frente: encaixado direto na badge azul e envolto na luz ambiente */
.hero-stack__layer--front {
  left: 0%;
  top: 5.5%;
  width: 100%;
  height: 94.5%;
  z-index: 3;
  opacity: 1;
  filter: brightness(1);
  transform: translateY(0) scale(1);
  box-shadow:
    0 0 54px 6px var(--hero-glow),
    0 16px 48px -4px var(--hero-glow-soft),
    0 8px 24px rgba(0, 20, 60, 0.14);
}

/* Estado transitório: cartão da frente desce suavemente por trás da barra azul */
.hero-stack__layer--dropping {
  left: 0%;
  top: 5.5%;
  width: 100%;
  height: 94.5%;
  z-index: 4;
  opacity: 0;
  filter: brightness(1.03);
  transform: translateY(56px) scale(1.01);
  box-shadow:
    0 0 64px 8px var(--hero-glow),
    0 20px 48px var(--hero-glow-soft);
  pointer-events: none;
}

/* Estado instantâneo para reposicionar o cartão de volta ao topo da pilha sem piscar */
.hero-stack__layer--reset-back {
  transition: none !important;
  left: 3.2%;
  top: -4%;
  width: 93.6%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  filter: brightness(0.84);
  transform: translateY(-10px) scale(0.96);
}

/* Controles de navegação dos banners */
.hero-stack__controls {
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 31, 88, 0.55);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-stack__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-stack__dot.is-active {
  width: 24px;
  background: var(--brago-orange);
}

/* ==================== CATEGORY BAR (3 TABS) ==================== */
.category-bar {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 max(0px, calc((100% - 1340px) / 2));
  background: var(--brago-blue);
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

.category-bar__tab {
  flex: 1 1 0;
  min-height: 76px;
  background: var(--brago-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 18px);
  padding: 14px clamp(16px, 3vw, 48px);
  position: relative;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.category-bar__tab:last-child {
  border-right: none;
}

.category-bar__tab:hover {
  background: var(--brago-blue-dark);
}

.category-bar__icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-bar__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-bar__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
}

.category-bar__label--higiene {
  max-width: 220px;
}

/* ==================== SEGMENTS GRID (10 CARDS) ==================== */
.segments-section {
  width: 100%;
  max-width: 1360px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  padding: 34px 16px;
  position: relative;
  flex-shrink: 0;
}

.segment-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--brago-blue);
  border-radius: 20px;
  padding: 12px 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 68, 190, 0.14);
}

.segment-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--smooth);
  pointer-events: none;
  z-index: 3;
}

.segment-card:hover::after,
.segment-card:focus-visible::after {
  transform: translateX(120%);
}

.segment-card__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.segment-card__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  display: block;
  opacity: 0;
  transform: scale(1.22) translateY(10px);
  transition:
    opacity 0.45s var(--smooth),
    transform 0.75s var(--smooth);
  will-change: opacity, transform;
}

.segment-card--hotel .segment-card__bg-img {
  object-position: center 68%;
}

.segment-card--fastfood .segment-card__bg-img {
  object-position: 62% center;
}

.segment-card__overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 68, 190, 0.88) 0%, rgba(0, 68, 190, 0.34) 48%, rgba(0, 22, 70, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--smooth);
}

.segment-card:hover .segment-card__bg-img,
.segment-card:focus-visible .segment-card__bg-img,
.segment-card[aria-expanded="true"] .segment-card__bg-img {
  opacity: 1;
  transform: scale(1.04) translateY(0);
}

.segment-card:hover .segment-card__overlay,
.segment-card:focus-visible .segment-card__overlay,
.segment-card[aria-expanded="true"] .segment-card__overlay {
  opacity: 1;
}

.segment-card__icon {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s var(--smooth);
}

.segment-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.segment-card:hover .segment-card__icon,
.segment-card:focus-visible .segment-card__icon,
.segment-card[aria-expanded="true"] .segment-card__icon {
  transform: translateY(-18px) scale(0.68);
}

.segment-card__title {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(11.5px, 0.88vw, 13px);
  line-height: 1.15;
  color: #ffffff;
  text-align: center;
  transition:
    opacity 0.32s var(--smooth),
    transform 0.45s var(--smooth);
}

.segment-card:hover .segment-card__title,
.segment-card:focus-visible .segment-card__title {
  opacity: 0;
  transform: translateY(16px) scale(0.92);
}

/* ==================== HOME SHOWCASE SECTIONS ==================== */
.showcase-section {
  width: 100%;
  max-width: 1340px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  flex-shrink: 0;
}

.showcase-section--wide {
  max-width: 1340px;
  padding: 22px 20px;
}

.showcase-banner {
  width: 100%;
  min-height: 74px;
  background: var(--brago-blue);
  border-radius: 14px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
}

.showcase-banner__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  color: #ffffff;
  position: relative;
  z-index: 3;
}

.showcase-banner__art {
  width: 228px;
  height: 54px;
  position: relative;
  flex-shrink: 0;
}

.showcase-banner__bg-img {
  position: absolute;
  left: 24px;
  top: -10px;
  width: 228px;
  height: 74px;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  overflow: hidden;
  pointer-events: none;
}

.showcase-banner__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.showcase-banner__bg-img--limpeza img {
  position: absolute;
  height: 561.36%;
  left: -38.37%;
  top: -180.55%;
  width: 195.26%;
  max-width: none;
}

.showcase-banner__grad {
  position: absolute;
  left: -155px;
  top: -10px;
  width: 280px;
  height: 74px;
  background: linear-gradient(90deg, #0044be 65.638%, rgba(0, 31, 88, 0) 100%);
  pointer-events: none;
}

.showcase-banner__cutout--embalagens {
  position: absolute;
  left: 82px;
  top: -42px;
  width: 142px;
  height: 134px;
  pointer-events: none;
}

.showcase-banner__cutout--embalagens img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-banner__cutout--square {
  position: absolute;
  left: 78px;
  top: -52px;
  width: 146px;
  height: 146px;
  pointer-events: none;
}

.showcase-banner__cutout--square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ==================== CATALOG PAGE BANNER ==================== */
.catalog-section {
  width: 100%;
  max-width: 1340px;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  flex-shrink: 0;
}

/* Sub-navegação de Catálogo (Breadcrumbs + Pílulas de Categoria) */
.catalog-subnav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 4px 2px;
}

.catalog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #4b5563;
}

.catalog-breadcrumb a {
  color: var(--brago-blue);
  font-weight: 500;
}

.catalog-breadcrumb a:hover {
  text-decoration: underline;
}

.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.catalog-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--brago-blue);
  background: rgba(0, 68, 190, 0.08);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.catalog-pill:hover {
  background: rgba(0, 68, 190, 0.15);
}

.catalog-pill--active {
  background: var(--brago-blue);
  color: #ffffff;
}

.catalog-banner {
  width: 100%;
  min-height: 148px;
  background: var(--brago-blue);
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
}

.catalog-banner__title-wrap {
  padding: 0 clamp(10px, 2.5vw, 30px);
  position: relative;
  z-index: 3;
}

.catalog-banner__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  color: #ffffff;
}

.catalog-banner__title strong {
  display: block;
  font-weight: 700;
}

.catalog-banner__art {
  width: 220px;
  height: 82px;
  position: relative;
  flex-shrink: 0;
}

.catalog-banner__bg-img {
  position: absolute;
  left: 20px;
  top: -33px;
  width: 224px;
  height: 148px;
  pointer-events: none;
}

.catalog-banner__bg-img img {
  width: 224px;
  height: 148px;
  display: block;
  object-fit: cover;
}

.catalog-banner__grad {
  position: absolute;
  left: -150px;
  top: -33px;
  width: 270px;
  height: 148px;
  background: linear-gradient(90deg, #0044be 65.638%, rgba(0, 31, 88, 0) 100%);
  pointer-events: none;
}

.catalog-banner__cutout {
  position: absolute;
  left: 44px;
  top: -54px;
  width: 196px;
  height: 186px;
  pointer-events: none;
}

.catalog-banner__cutout img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ==================== PRODUCT CARDS & GRIDS ==================== */
.products-grid {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  position: relative;
}

.products-grid__stack-back-1 {
  position: absolute;
  left: 22px;
  top: -12px;
  width: calc(50% - 44px);
  height: 322px;
  background: #848484;
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
}

.products-grid__stack-back-2 {
  position: absolute;
  left: 14px;
  top: -7px;
  width: calc(50% - 28px);
  height: 322px;
  background: #d3d3d3;
  border-radius: 24px;
  pointer-events: none;
  z-index: 1;
}

/* Featured Horizontal Card (50% da grade) */
.product-card-featured {
  width: calc(50% - 10px);
  min-width: 480px;
  min-height: 332px;
  background: var(--brago-card-bg);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product-card-featured__img-wrap {
  width: 224px;
  height: 292px;
  border-radius: 16px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
}

.product-card-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.product-card-featured:hover .product-card-featured__img-wrap img {
  transform: scale(1.03);
}

.product-card-featured__body {
  flex: 1;
  min-height: 292px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.product-card-featured__title {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.25;
  color: #111827;
  word-break: break-word;
  cursor: pointer;
}

.product-card-featured__title:hover {
  color: var(--brago-blue);
}

.product-card-featured__desc {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.45;
  color: #374151;
  flex: 1;
}

/* Vertical Standard Card (25% da grade em 4 colunas) */
.product-card {
  width: calc(25% - 15px);
  min-width: 230px;
  min-height: 332px;
  background: var(--brago-card-bg);
  border-radius: 24px;
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product-card__img-wrap {
  width: 100%;
  height: 184px;
  border-radius: 18px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.04);
}

.product-card__img-wrap--fill img {
  object-fit: cover;
}

.product-card__body {
  width: 100%;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}

.product-card__title {
  width: 100%;
  min-height: 40px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.28;
  color: #111827;
  text-align: center;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  padding: 0 4px;
}

.product-card__title:hover {
  color: var(--brago-blue);
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 0 0;
}

.product-card-featured .product-card__actions {
  padding: 0;
}

.btn-saiba-mais {
  min-width: 145px;
  height: 40px;
  background: var(--brago-blue);
  border-radius: 41px;
  padding: 10px 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-saiba-mais:hover {
  background: var(--brago-blue-dark);
}

.btn-bag {
  width: 46px;
  height: 44px;
  background: var(--brago-blue);
  border-radius: 41px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-bag:hover {
  background: var(--brago-blue-dark);
}

.btn-bag:active {
  transform: scale(0.94);
}

.btn-bag__icon {
  width: 19px;
  height: 19px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-bag__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-ver-mais {
  min-width: 140px;
  min-height: 38px;
  border: 1.5px solid var(--brago-blue);
  border-radius: 25px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--brago-blue);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-ver-mais:hover {
  background: var(--brago-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==================== PRODUCT DETAIL VIEW (Node 1:594) ==================== */
.detail-section {
  width: 100%;
  max-width: 1340px;
  padding: 24px 20px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  flex-shrink: 0;
}

.detail-content {
  width: 100%;
  display: flex;
  gap: 28px;
  align-items: stretch;
  justify-content: center;
  position: relative;
}

.detail-content__img-wrap {
  width: 420px;
  max-width: 100%;
  min-height: 360px;
  background: var(--brago-card-bg);
  border-radius: 24px;
  padding: 20px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-content__img-wrap img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.detail-content__card {
  flex: 1;
  max-width: 820px;
  background: var(--brago-card-bg);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.detail-content__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.detail-content__title {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.22;
  color: #111827;
  word-break: break-word;
}

.detail-content__desc {
  width: 100%;
  max-width: 500px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
  color: #374151;
}

/* ==================== VALUE PROPOSITIONS (3 PONTOS) ==================== */
.features-band {
  width: 100%;
  min-height: 280px;
  background: var(--brago-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 2.5vw, 44px);
  padding: 36px max(24px, calc((100% - 1300px) / 2));
  position: relative;
  flex-shrink: 0;
}

.feature-item {
  width: 260px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
}

.feature-item__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.feature-item__icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-align: center;
}

.feature-item__desc {
  width: 100%;
  max-width: 240px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(11.5px, 0.88vw, 13px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.feature-divider {
  width: 1px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.feature-divider img {
  transform: rotate(90deg);
  display: block;
  max-width: none;
}

/* ==================== STRATEGIC PARTNERS ==================== */
.partners-section {
  width: 100%;
  background: #ffffff;
  padding: 38px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.partners-section__heading {
  text-align: center;
}

.partners-section__eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  color: var(--brago-partner-sub);
  margin-bottom: 4px;
}

.partners-section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.25;
  color: #111827;
}

.partners-logos {
  width: 100%;
  max-width: 1300px;
  min-height: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px clamp(28px, 4.5vw, 60px);
}

.partner-logo {
  position: relative;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ==================== FOOTER ==================== */
.footer {
  width: 100%;
  background: var(--brago-blue);
  padding: 40px max(28px, calc((100% - 1300px) / 2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px clamp(24px, 4.5vw, 60px);
  position: relative;
  flex-shrink: 0;
}

.footer--subpage {
  min-height: 290px;
}

.footer__brand {
  width: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}

.footer__logo {
  width: 180px;
  height: 55px;
  position: relative;
  flex-shrink: 0;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer__desc {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.94);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social-link {
  width: 34px;
  height: 34px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.footer__social-link:hover {
  transform: scale(1.08);
}

.footer__social-link img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer__nav-col {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}

.footer__nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer__nav-list a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(11.5px, 0.88vw, 13px);
  line-height: 1.5;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.footer__nav-list a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer__branches {
  flex: 1 1 460px;
  padding: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: flex-start;
  justify-content: center;
}

.footer--subpage .footer__right-group {
  flex: 1 1 560px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer--subpage .footer__nav-col {
  min-width: 120px;
  padding: 0;
}

.footer--subpage .footer__branches {
  flex: 1 1 440px;
  padding: 0;
  gap: 20px 36px;
  justify-content: flex-start;
}

.branch-item {
  width: 215px;
  min-height: 70px;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.branch-item__pin {
  width: 21px;
  height: 29px;
  margin-top: 3px;
  position: relative;
  flex-shrink: 0;
}

.branch-item__pin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.branch-item__text {
  color: #ffffff;
}

.branch-item__city {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.35;
  margin-bottom: 2px;
}

.branch-item__addr {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

/* Botão Flutuante Voltar ao Topo */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brago-blue);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 34, 98, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.35s var(--smooth), background-color 0.2s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top.is-visible:hover {
  background: var(--brago-blue-dark);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 28px rgba(0, 34, 98, 0.42);
}

.back-to-top.is-visible:active {
  transform: scale(0.95);
  transition-duration: 0.14s;
}

/* ==================== QUOTE BAG DRAWER ==================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: none;
  align-items: stretch;
  justify-content: flex-end;
}

.cart-drawer-backdrop.is-open {
  display: flex;
}

.cart-drawer {
  width: 400px;
  max-width: 92vw;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}

.cart-drawer__header {
  padding: 22px 24px;
  background: var(--brago-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer__title {
  font-size: 20px;
  font-weight: 700;
}

.cart-drawer__close {
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f6f8;
  padding: 12px;
  border-radius: 16px;
}

.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__name {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  font-weight: 500;
}

.cart-item__qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item__qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-drawer__whatsapp {
  width: 100%;
  height: 48px;
  background: var(--brago-green-hover);
  color: #ffffff;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.cart-drawer__whatsapp:hover {
  transform: translateY(-1px);
}

.cart-drawer__empty {
  text-align: center;
  color: var(--brago-gray-text);
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  line-height: 1.5;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
}

.search-results__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  color: #111827;
}

.search-results__cat {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--brago-blue);
}

.is-added-pulse {
  transform: scale(1.12) !important;
}

/* ==================== ACCESSIBILITY (WCAG AA) ==================== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brago-orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== RESPONSIVE ADAPTATION ==================== */
@media (max-width: 1199px) {
  .segments-section {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 32px 18px;
    gap: 14px;
  }

  .navbar {
    height: auto;
    min-height: 84px;
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 12px 16px;
    justify-content: space-between;
  }

  .navbar.is-scrolled {
    min-height: 64px;
    padding: 8px 20px;
    gap: 10px 14px;
  }

  .navbar__logo {
    position: static;
    transform: none;
    order: -3;
    width: 156px;
    height: 48px;
  }

  .navbar.is-scrolled .navbar__logo {
    width: 118px;
    height: 36px;
  }

  .navbar__logo-spacer {
    display: none;
  }

  .navbar__actions,
  .navbar.is-scrolled .navbar__actions {
    order: -1;
    width: auto;
    height: 48px;
    border-radius: 999px;
    overflow: hidden;
  }

  .navbar__cart-btn,
  .navbar.is-scrolled .navbar__cart-btn {
    width: 54px;
    height: 48px;
  }

  .navbar__order-icon-wrap {
    position: static;
  }

  .navbar__cart-badge,
  .navbar.is-scrolled .navbar__cart-badge {
    left: 28px;
    top: 4px;
  }

  .navbar__whatsapp-btn,
  .navbar.is-scrolled .navbar__whatsapp-btn {
    width: auto;
    height: 48px;
    padding: 0 16px;
  }

  .navbar__links,
  .navbar__links--subpage {
    order: 2;
    width: 100%;
    max-width: none;
    padding: 8px 0 0;
    gap: 14px;
    flex: 1 0 100%;
    justify-content: center;
    border-top: 1px solid #efefef;
  }

  .navbar__search {
    order: -2;
    flex: 1 1 200px;
    width: auto;
    max-width: 360px;
  }

  .showcase-section,
  .showcase-section--wide,
  .catalog-section,
  .detail-section,
  .products-grid {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .products-grid {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .products-grid__stack-back-1,
  .products-grid__stack-back-2 {
    display: none;
  }
  .product-card-featured {
    width: calc(50% - 10px);
    min-width: 0;
  }

  .product-card,
  .catalog-skeleton {
    width: calc(25% - 15px);
    min-width: 0;
  }

  .features-band {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 1020px) {
  .product-card-featured {
    width: 100%;
  }

  .product-card,
  .catalog-skeleton {
    width: calc(33.333% - 14px);
    min-width: 210px;
  }
}

@media (max-width: 900px) {
  .category-bar {
    flex-direction: column;
    min-height: auto;
  }

  .category-bar__tab {
    min-height: 66px;
    padding: 14px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    justify-content: flex-start;
  }

  .category-bar__label--higiene {
    max-width: none;
  }

  .segments-section {
    grid-template-columns: repeat(4, minmax(128px, 160px));
    padding: 32px 18px;
    gap: 14px;
  }

  .detail-content {
    flex-direction: column;
    align-items: center;
  }

  .detail-content__img-wrap {
    width: 100%;
    max-width: 480px;
    min-height: 320px;
  }

  .detail-content__card {
    width: 100%;
    max-width: 100%;
    padding: 24px;
  }

  .feature-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 10px 14px;
    gap: 8px 10px;
  }

  .navbar.is-scrolled {
    padding: 7px 14px;
    gap: 6px 10px;
  }

  .navbar__logo {
    width: 128px;
    height: 39px;
  }

  .navbar.is-scrolled .navbar__logo {
    width: 98px;
    height: 30px;
  }

  .navbar__actions,
  .navbar.is-scrolled .navbar__actions {
    height: 40px;
  }

  .navbar__cart-btn,
  .navbar.is-scrolled .navbar__cart-btn {
    width: 44px;
    height: 40px;
  }

  .navbar__cart-badge,
  .navbar.is-scrolled .navbar__cart-badge {
    left: 23px;
    top: 2px;
  }

  .navbar__whatsapp-btn,
  .navbar.is-scrolled .navbar__whatsapp-btn {
    height: 40px;
    padding: 0 11px;
    gap: 5px;
  }

  .navbar__whatsapp-icon {
    width: 16px;
    height: 16px;
  }

  .navbar__links,
  .navbar__links--subpage {
    order: 3;
    width: 100%;
    gap: 4px;
    justify-content: space-around;
    border-top: 1px solid #efefef;
    padding-top: 6px;
  }

  .navbar__links .nav-btn,
  .navbar__links--subpage .nav-btn {
    height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .navbar__search {
    order: 2;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    height: 36px;
  }

  .navbar__whatsapp-text {
    font-size: 12px;
  }

  .product-card-featured {
    width: 100%;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-card-featured__img-wrap {
    width: 100%;
    max-width: 260px;
    height: 220px;
  }

  .product-card-featured__body {
    width: 100%;
    min-height: auto;
    align-items: center;
  }

  .product-card {
    width: calc(50% - 10px);
    min-width: 155px;
    min-height: 320px;
    padding: 12px 10px;
  }

  .product-card__img-wrap {
    width: 100%;
    height: 160px;
  }

  .product-card__title {
    font-size: 14.5px;
  }

  .btn-saiba-mais {
    min-width: 110px;
    font-size: clamp(11.5px, 0.88vw, 13px);
    padding: 8px 14px;
  }

  .showcase-banner__art,
  .catalog-banner__art {
    display: none;
  }

  .catalog-banner {
    min-height: 120px;
    padding: 20px;
  }

  .segments-section {
    grid-template-columns: repeat(2, minmax(132px, 162px));
    padding: 28px 16px;
    gap: 12px;
  }

  .segment-card {
    padding: 14px 10px;
    gap: 8px;
    border-radius: 22px;
  }

  .segment-card__icon {
    width: 46px;
    height: 44px;
  }

  .segment-card__icon img {
    max-width: 42px;
    max-height: 42px;
  }

  .segment-card:hover .segment-card__icon,
  .segment-card:focus-visible .segment-card__icon {
    transform: translateY(-18px) scale(0.68);
  }

  .segment-card__title {
    min-height: 34px;
    font-size: 14.5px;
  }
}

@media (max-width: 400px) {
  .product-card {
    width: 100%;
  }
}

@media (max-width: 340px) {
  .segments-section {
    grid-template-columns: minmax(140px, 170px);
  }
}




/* =====================================================================
   PREMIUM LAYER — FLUID SCALING (QUALQUER LARGURA) + MOTION DESIGN
   ===================================================================== */
:root {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-soft: cubic-bezier(0.22, 1.32, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-padding-top: 84px;
}

html, body {
  min-width: 0;
  max-width: 100%;
}

/* ---------- Telas grandes e ultrawide: container centralizado sem zoom distorcido ---------- */
@media (min-width: 1600px) {
  .navbar__links {
    padding-left: clamp(24px, 3vw, 64px);
    width: clamp(490px, 32vw, 580px);
    max-width: 580px;
  }
}
@media (min-width: 2200px) {
  .hero-stack,
  .segments-section,
  .showcase-section,
  .showcase-section--wide,
  .catalog-section,
  .detail-section {
    max-width: 1460px;
  }
  .products-grid,
  .products-grid--carousel,
  .partners-logos {
    max-width: 1420px;
  }
  .category-bar {
    padding-inline: max(0px, calc((100% - 1460px) / 2));
  }
  .features-band,
  .footer {
    padding-inline: max(28px, calc((100% - 1420px) / 2));
  }
}

/* ---------- Escala infinita: telas muito estreitas ---------- */
@media (max-width: 360px) {
  .navbar__whatsapp-text { display: none; }
  .navbar__whatsapp-btn { padding: 0 14px; }
  .catalog-banner__title { font-size: 26px; }
  .segment-card, .segment-card--hosp { width: 100%; }
  .footer__brand, .branch-item { width: 100%; }
}

/* ---------- Barra de progresso de rolagem ---------- */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brago-orange), #ffb25a 45%, var(--brago-blue));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  z-index: 400;
  pointer-events: none;
}

/* ---------- Entrada de página ---------- */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.page-shell { animation: pageIn 0.8s var(--ease-out-expo) both; }

/* ---------- Navbar reativa ao scroll ---------- */
.navbar {
  transition:
    min-height 0.35s var(--smooth),
    padding 0.35s var(--smooth),
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}
.navbar.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 20, 70, 0.14);
  background: rgba(255, 255, 255, 0.94);
}

/* ---------- Scroll reveal (apenas com JS ativo) ---------- */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(0.965);
  filter: blur(6px);
  transition:
    opacity 0.8s var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 1s var(--spring-soft) var(--reveal-delay, 0ms),
    filter 0.8s ease var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.js-motion [data-reveal="left"] { transform: translate3d(-48px, 0, 0) scale(0.97); }
.js-motion [data-reveal="right"] { transform: translate3d(48px, 0, 0) scale(0.97); }
.js-motion [data-reveal="zoom"] { transform: scale(0.88); }
.js-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Botões plásticos (spring + squash & stretch) ---------- */
.btn-saiba-mais, .btn-bag, .btn-ver-mais, .nav-btn, .navbar__cart-btn,
.navbar__whatsapp-btn, .catalog-pill, .cart-drawer__whatsapp,
.cart-item__qty-btn, .cart-drawer__close, .hero-stack__dot, .category-bar__tab,
.footer__social-link, .nav-dropdown__item {
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1);
  transition:
    transform 0.55s var(--spring),
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.4s ease,
    border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-saiba-mais:hover, .btn-ver-mais:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 3px), 0) scale(1.06);
  box-shadow: 0 12px 26px rgba(0, 68, 190, 0.32);
}
.btn-bag:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 3px), 0) scale(1.1) rotate(-4deg);
  box-shadow: 0 12px 26px rgba(0, 68, 190, 0.34);
}
.navbar__whatsapp-btn:hover {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.04);
  box-shadow: 0 10px 28px rgba(22, 192, 59, 0.45);
}
.navbar__cart-btn:hover { transform: scale(1.06); }
.nav-btn:hover { transform: translateY(-2px) scale(1.05); }
.catalog-pill:hover { transform: translateY(-2px) scale(1.06); }
.cart-drawer__whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(22, 192, 59, 0.4);
}
.footer__social-link:hover { transform: scale(1.14) rotate(-6deg); }

/* Achatar ao pressionar (squash) com retorno elástico */
.btn-saiba-mais:active, .btn-bag:active, .btn-ver-mais:active, .nav-btn:active,
.navbar__cart-btn:active, .navbar__whatsapp-btn:active, .catalog-pill:active,
.cart-drawer__whatsapp:active, .category-bar__tab:active,
.cart-item__qty-btn:active, .footer__social-link:active {
  transform: scale(0.9, 0.86);
  transition-duration: 0.12s;
}

/* Ícones com vida própria */
.btn-bag__icon, .navbar__whatsapp-icon, .category-bar__icon, .segment-card__icon {
  transition: transform 0.6s var(--spring);
}
.btn-bag:hover .btn-bag__icon { transform: scale(1.12) translateY(-1px); }
.navbar__whatsapp-btn:hover .navbar__whatsapp-icon { transform: rotate(-14deg) scale(1.18); }
.category-bar__tab:hover .category-bar__icon { transform: translateY(-5px) rotate(-8deg) scale(1.15); }
.category-bar__tab:hover { background: var(--brago-blue-dark); }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleOut 0.7s var(--ease-out-expo) forwards;
  pointer-events: none;
}
.btn-ver-mais .ripple, .catalog-pill .ripple, .nav-btn .ripple, .cart-item__qty-btn .ripple {
  background: rgba(0, 68, 190, 0.28);
}
@keyframes rippleOut {
  to { transform: scale(1); opacity: 0; }
}

/* ---------- Cards: tilt 3D + elevação premium ---------- */
.product-card, .product-card-featured {
  transform-style: preserve-3d;
}
.segment-card {
  isolation: isolate;
}
.product-card, .product-card-featured, .segment-card {
  transition:
    transform 0.6s var(--spring),
    box-shadow 0.5s ease;
}
.product-card:hover, .product-card-featured:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px) scale(1.015);
  box-shadow: 0 26px 48px rgba(0, 30, 90, 0.18);
}
.segment-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 24px 44px rgba(0, 40, 130, 0.3);
}
.segment-card:active { transform: translateY(-2px) scale(0.97); transition-duration: 0.15s; }

/* ---------- Dropdown, busca e carrinho com entrada suave ---------- */
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.search-results.is-open { animation: dropIn 0.4s var(--spring) both; }

@keyframes fadeInBackdrop { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawerIn {
  from { transform: translateX(100%); }
  to { transform: none; }
}
@keyframes itemIn {
  from { opacity: 0; transform: translateX(26px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.cart-drawer-backdrop.is-open { animation: fadeInBackdrop 0.35s ease both; backdrop-filter: blur(4px); }
.cart-drawer-backdrop.is-open .cart-drawer { animation: drawerIn 0.6s var(--ease-out-expo) both; }
.cart-drawer-backdrop.is-open .cart-item { animation: itemIn 0.55s var(--spring) both; }
.cart-drawer-backdrop.is-open .cart-item:nth-child(2) { animation-delay: 0.06s; }
.cart-drawer-backdrop.is-open .cart-item:nth-child(3) { animation-delay: 0.12s; }
.cart-drawer-backdrop.is-open .cart-item:nth-child(n+4) { animation-delay: 0.18s; }

@keyframes badgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.navbar__cart-badge.is-bump { animation: badgePop 0.5s var(--spring); }

/* ---------- Flutuação sutil de ícones de benefícios ---------- */
@keyframes floatY {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}
.feature-item__icon { animation: floatY 3.6s ease-in-out infinite alternate; }
.feature-item:nth-of-type(2) .feature-item__icon { animation-delay: -1.2s; }
.feature-item:nth-of-type(3) .feature-item__icon { animation-delay: -2.4s; }

/* ---------- Parallax e logos ---------- */
[data-parallax] { will-change: transform; }
.partner-logo { transition: transform 0.6s var(--spring), filter 0.4s ease; filter: grayscale(0.35); }
.partner-logo:hover { transform: scale(1.12) translateY(-4px); filter: none; }

/* ---------- Imagens de produto: zoom suave ---------- */
.product-card__img-wrap img, .product-card-featured__img-wrap img, .detail-content__img-wrap img {
  transition: transform 0.9s var(--ease-out-expo);
}
.detail-content__img-wrap:hover img { transform: scale(1.06); }

/* ---------- Seleção e foco refinados ---------- */
::selection { background: var(--brago-blue); color: #ffffff; }
html { scrollbar-color: var(--brago-blue) #eef2fb; scrollbar-width: thin; }

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .feature-item__icon, .page-shell { animation: none !important; }
  .ripple { display: none; }
}


/* =====================================================================
   REFINAMENTO: ANIMAÇÕES MAIS SUAVES + TAMANHOS PADRONIZADOS
   ===================================================================== */
:root {
  --smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --btn-h: 40px;
  --btn-min-w: 132px;
  --btn-radius: 999px;
  --btn-font: 14.5px;
}

/* ---------- Padronização de tamanhos ---------- */
.btn-saiba-mais,
.btn-ver-mais {
  height: var(--btn-h);
  min-width: var(--btn-min-w);
  padding: 0 20px;
  border-radius: var(--btn-radius);
  font-family: var(--font-display);
  font-size: var(--btn-font);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
}

.btn-bag {
  width: 46px;
  height: var(--btn-h);
  padding: 0;
  border-radius: var(--btn-radius);
}

.cart-drawer__whatsapp {
  height: var(--btn-h);
  min-height: var(--btn-h);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font);
}

.catalog-pill {
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.cart-item__qty-btn {
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.nav-btn {
  height: 36px;
  padding: 0 13px;
  font-size: 13.5px;
}

.back-to-top {
  width: 44px;
  height: 44px;
}

.product-card__actions {
  gap: 8px;
}

@media (max-width: 640px) {
  :root {
    --btn-h: 38px;
    --btn-min-w: 110px;
    --btn-font: 13.5px;
  }
  .btn-saiba-mais { padding: 0 14px; }
  .btn-bag { width: 44px; }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Animações suaves (sem overshoot/rotação) ---------- */
.btn-saiba-mais, .btn-bag, .btn-ver-mais, .nav-btn, .navbar__cart-btn,
.navbar__whatsapp-btn, .catalog-pill, .cart-drawer__whatsapp,
.cart-item__qty-btn, .cart-drawer__close, .hero-stack__dot, .category-bar__tab,
.footer__social-link, .nav-dropdown__item {
  transition:
    transform 0.45s var(--smooth),
    height 0.35s var(--smooth),
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.45s var(--smooth),
    border-color 0.35s ease;
}

.btn-saiba-mais:hover, .btn-ver-mais:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0) scale(1.025);
  box-shadow: 0 10px 22px rgba(0, 68, 190, 0.24);
}
.btn-bag:hover {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) - 2px), 0) scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 68, 190, 0.26);
}
.navbar__whatsapp-btn:hover {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.015);
  box-shadow: 0 8px 22px rgba(22, 192, 59, 0.32);
}
.navbar__cart-btn:hover { transform: scale(1.03); }
.nav-btn:hover { transform: translateY(-1px); }
.catalog-pill:hover { transform: translateY(-1px) scale(1.03); }
.cart-drawer__whatsapp:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 22px rgba(22, 192, 59, 0.3);
}
.footer__social-link:hover { transform: scale(1.07); }

/* Pressionar: leve compressão, sem achatar exageradamente */
.btn-saiba-mais:active, .btn-bag:active, .btn-ver-mais:active, .nav-btn:active,
.navbar__cart-btn:active, .navbar__whatsapp-btn:active, .catalog-pill:active,
.cart-drawer__whatsapp:active, .category-bar__tab:active,
.cart-item__qty-btn:active, .footer__social-link:active {
  transform: scale(0.96);
  transition-duration: 0.18s;
}

/* Ícones: movimento discreto */
.btn-bag__icon, .navbar__whatsapp-icon, .category-bar__icon, .segment-card__icon {
  transition: transform 0.5s var(--smooth);
}
.btn-bag:hover .btn-bag__icon { transform: scale(1.06); }
.navbar__whatsapp-btn:hover .navbar__whatsapp-icon { transform: scale(1.08); }
.category-bar__tab:hover .category-bar__icon { transform: translateY(-3px) scale(1.06); }

/* Ripple mais sutil e lento */
.ripple {
  background: rgba(255, 255, 255, 0.32);
  animation-duration: 0.9s;
  animation-timing-function: var(--smooth);
}
.btn-ver-mais .ripple, .catalog-pill .ripple, .nav-btn .ripple, .cart-item__qty-btn .ripple {
  background: rgba(0, 68, 190, 0.18);
}

/* Cards e entradas com curva suave */
.product-card, .product-card-featured, .segment-card {
  transition: transform 0.55s var(--smooth), box-shadow 0.55s var(--smooth);
}
.product-card:hover, .product-card-featured:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px) scale(1.01);
  box-shadow: 0 18px 36px rgba(0, 30, 90, 0.14);
}
.segment-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 16px 32px rgba(0, 40, 130, 0.22);
}

.js-motion [data-reveal] {
  transition:
    opacity 0.9s var(--smooth) var(--reveal-delay, 0ms),
    transform 1.05s var(--smooth) var(--reveal-delay, 0ms),
    filter 0.9s ease var(--reveal-delay, 0ms);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.search-results.is-open { animation-timing-function: var(--smooth); animation-duration: 0.35s; }
.cart-drawer-backdrop.is-open .cart-item { animation-timing-function: var(--smooth); }
.partner-logo { transition: transform 0.5s var(--smooth), filter 0.4s ease; }
.partner-logo:hover { transform: scale(1.07) translateY(-2px); }


/* =====================================================================
   CATÁLOGO DINÂMICO (API Oracle): skeleton, filtro, vazio e entrada de cards
   ===================================================================== */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(22px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.product-card.is-entering,
.product-card-featured.is-entering {
  animation: cardEnter 0.7s var(--smooth) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes shimmer {
  from { background-position: -240px 0; }
  to { background-position: 240px 0; }
}
.catalog-skeleton {
  width: calc(25% - 15px);
  min-width: 230px;
  height: 332px;
  border-radius: 24px;
  background: linear-gradient(90deg, #eceff4 0%, #f7f8fb 50%, #eceff4 100%);
  background-size: 480px 100%;
  animation: shimmer 1.3s linear infinite;
  position: relative;
  z-index: 2;
}

.catalog-filter {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: -8px;
}
.catalog-filter[hidden] { display: none; }
.catalog-filter__input {
  flex: 1 1 260px;
  max-width: 380px;
  height: 40px;
  padding: 0 18px;
  border: 1.5px solid var(--brago-gray-border);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.catalog-filter__input:focus {
  border-color: var(--brago-blue);
  box-shadow: 0 0 0 3px rgba(0, 68, 190, 0.12);
}
.catalog-count {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #4b5563;
}

.catalog-empty {
  width: 100%;
  padding: 56px 20px;
  text-align: center;
  background: var(--brago-card-bg);
  border-radius: 31px;
  position: relative;
  z-index: 2;
}
.catalog-empty__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}
.catalog-empty__hint {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #4b5563;
}

.btn-ver-mais[hidden] { display: none; }
.btn-ver-mais[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

@media (max-width: 640px) {
  .catalog-skeleton { width: calc(50% - 10px); min-width: 155px; height: 320px; }
}

/* =====================================================================
   CARROSSEL DE VITRINES NA HOME (passa produto a produto e expande no 1º)
   ===================================================================== */
.products-grid--carousel {
  display: block;
  width: 100%;
  max-width: 1300px;
  height: 332px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.products-grid--carousel.is-advancing .products-grid__stack-back-2 {
  transform: translateY(-4px) scale(0.99);
}

.products-grid__stack-back-1,
.products-grid__stack-back-2 {
  transition: transform 0.6s var(--smooth);
}

.showcase-card {
  position: absolute;
  top: 0;
  height: 332px;
  background: var(--brago-card-bg);
  border-radius: 24px;
  overflow: hidden;
  will-change: left, width, opacity, transform;
  transition:
    left 0.78s var(--smooth),
    width 0.78s var(--smooth),
    opacity 0.55s ease,
    transform 0.65s var(--smooth),
    box-shadow 0.45s var(--smooth);
}

.showcase-card:hover {
  box-shadow: 0 18px 36px rgba(0, 30, 90, 0.14);
}

/* Posições na vitrine (escala exata para 1052px e fluida abaixo disso) */
.showcase-card[data-slot="0"] {
  left: 0;
  width: calc(50% - 10px);
  opacity: 1;
  z-index: 3;
}

.showcase-card[data-slot="1"] {
  left: calc(50% + 10px);
  width: calc(25% - 15px);
  opacity: 1;
  z-index: 2;
}

.showcase-card[data-slot="2"] {
  left: calc(75% + 15px);
  width: calc(25% - 15px);
  opacity: 1;
  z-index: 2;
}

.showcase-card[data-slot="leaving-left"] {
  left: calc(-28% - 16px);
  width: calc(50% - 10px);
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  z-index: 1;
}

.showcase-card[data-slot="leaving-right"] {
  left: calc(100% + 20px);
  width: calc(25% - 15px);
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  z-index: 1;
}

.showcase-card[data-slot="entering-right"] {
  transition: none !important;
  left: calc(100% + 20px);
  width: calc(25% - 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.showcase-card[data-slot="entering-left"] {
  transition: none !important;
  left: calc(-28% - 16px);
  width: calc(50% - 10px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.showcase-card[data-slot="idle"] {
  transition: none !important;
  left: calc(100% + 60px);
  width: calc(25% - 15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Interior do card compacto -> expande suavemente ao chegar em data-slot="0" */
.showcase-card__img-wrap {
  position: absolute;
  left: 12px;
  top: 14px;
  width: calc(100% - 24px);
  height: 184px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition:
    left 0.78s var(--smooth),
    top 0.78s var(--smooth),
    width 0.78s var(--smooth),
    height 0.78s var(--smooth),
    border-radius 0.55s var(--smooth);
}

.showcase-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.65s var(--smooth);
}

.showcase-card:hover .showcase-card__img-wrap img {
  transform: scale(1.04);
}

.showcase-card__body {
  position: absolute;
  left: 12px;
  top: 206px;
  width: calc(100% - 24px);
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  transition:
    left 0.78s var(--smooth),
    top 0.78s var(--smooth),
    width 0.78s var(--smooth),
    height 0.78s var(--smooth);
}

.showcase-card__title {
  width: 100%;
  min-height: 38px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.28;
  color: #111827;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.2s ease, font-size 0.5s var(--smooth);
}

.showcase-card__title:hover {
  color: var(--brago-blue);
}

.showcase-card__details {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    max-height 0.4s var(--smooth),
    transform 0.4s var(--smooth);
}

.showcase-card__meta {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brago-blue);
}

.showcase-card__desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Estado expandido (Slot 0 / saindo à esquerda) */
.showcase-card[data-slot="0"] .showcase-card__img-wrap,
.showcase-card[data-slot="leaving-left"] .showcase-card__img-wrap,
.showcase-card[data-slot="entering-left"] .showcase-card__img-wrap {
  left: 18px;
  top: 20px;
  width: clamp(165px, 43%, 224px);
  height: 292px;
  border-radius: 16px;
}

.showcase-card[data-slot="0"] .showcase-card__body,
.showcase-card[data-slot="leaving-left"] .showcase-card__body,
.showcase-card[data-slot="entering-left"] .showcase-card__body {
  left: calc(clamp(165px, 43%, 224px) + 34px);
  top: 22px;
  width: calc(100% - clamp(165px, 43%, 224px) - 52px);
  height: 288px;
  align-items: flex-start;
  text-align: left;
}

.showcase-card[data-slot="0"] .showcase-card__title,
.showcase-card[data-slot="leaving-left"] .showcase-card__title,
.showcase-card[data-slot="entering-left"] .showcase-card__title {
  min-height: auto;
  font-size: 16.5px;
  line-height: 1.25;
  -webkit-line-clamp: 3;
}

.showcase-card[data-slot="0"] .showcase-card__details,
.showcase-card[data-slot="leaving-left"] .showcase-card__details,
.showcase-card[data-slot="entering-left"] .showcase-card__details {
  opacity: 1;
  max-height: 155px;
  transform: translateY(0);
  pointer-events: auto;
  margin: 6px 0 auto;
  transition:
    opacity 0.48s var(--smooth) 0.22s,
    max-height 0.55s var(--smooth) 0.14s,
    transform 0.55s var(--smooth) 0.18s;
}

/* Controles do carrossel de produtos */
.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: -6px;
}

.showcase-controls__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 68, 190, 0.28);
  background: #ffffff;
  color: var(--brago-blue);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--smooth), border-color 0.25s ease;
}

.showcase-controls__btn:hover {
  background: var(--brago-blue);
  border-color: var(--brago-blue);
  color: #ffffff;
  transform: scale(1.08);
}

.showcase-controls__btn:active {
  transform: scale(0.94);
}

.showcase-controls__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.showcase-controls__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 68, 190, 0.22);
  transition: width 0.35s var(--smooth), background-color 0.3s ease;
}

.showcase-controls__dot.is-active {
  width: 22px;
  background: var(--brago-blue);
}

/* Mobile & Tablet: layout empilhado sem sobreposição */
@media (max-width: 900px) {
  .products-grid--carousel {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    gap: 14px;
  }

  .showcase-card {
    position: relative;
    left: auto !important;
    top: auto !important;
    height: auto;
    transform: none !important;
    transition: none;
  }

  .showcase-card[data-slot="idle"],
  .showcase-card[data-slot="leaving-left"],
  .showcase-card[data-slot="leaving-right"],
  .showcase-card[data-slot="entering-left"],
  .showcase-card[data-slot="entering-right"] {
    display: none;
  }

  .showcase-card[data-slot="0"] {
    order: 0;
    width: 100%;
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    animation: cardEnter 0.5s var(--smooth) both;
  }

  .showcase-card[data-slot="1"],
  .showcase-card[data-slot="2"] {
    width: calc(50% - 7px);
    padding: 12px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: cardEnter 0.55s var(--smooth) both;
  }
  .showcase-card[data-slot="1"] { order: 1; }
  .showcase-card[data-slot="2"] { order: 2; }

  .showcase-card[data-slot="0"] .showcase-card__img-wrap,
  .showcase-card[data-slot="1"] .showcase-card__img-wrap,
  .showcase-card[data-slot="2"] .showcase-card__img-wrap,
  .showcase-card[data-slot="0"] .showcase-card__body,
  .showcase-card[data-slot="1"] .showcase-card__body,
  .showcase-card[data-slot="2"] .showcase-card__body {
    position: static;
    height: auto;
  }

  .showcase-card[data-slot="0"] .showcase-card__img-wrap {
    width: 160px;
    height: 170px;
    flex-shrink: 0;
  }

  .showcase-card[data-slot="0"] .showcase-card__body {
    flex: 1;
    width: auto;
    gap: 8px;
  }

  .showcase-card[data-slot="1"] .showcase-card__img-wrap,
  .showcase-card[data-slot="2"] .showcase-card__img-wrap {
    width: 100%;
    height: 150px;
  }

  .showcase-card[data-slot="1"] .showcase-card__body,
  .showcase-card[data-slot="2"] .showcase-card__body {
    width: 100%;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .showcase-card[data-slot="0"] {
    flex-direction: column;
    text-align: center;
  }
  .showcase-card[data-slot="0"] .showcase-card__img-wrap {
    width: 100%;
    max-width: 220px;
    height: 180px;
  }
  .showcase-card[data-slot="0"] .showcase-card__body {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}


/* =====================================================================
   PÁGINAS INSTITUCIONAIS: QUEM SOMOS (quem-somos.html) & CONTATO (contato.html)
   ===================================================================== */
.inst-page,
.contact-page {
  width: 100%;
  max-width: 1340px;
  padding: 28px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.inst-eyebrow,
.inst-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brago-blue);
  background: #eaf1ff;
  padding: 6px 14px;
  border-radius: 999px;
}

.inst-section-eyebrow {
  background: transparent;
  padding: 0;
  margin-bottom: 8px;
}

.inst-section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.22;
  color: #111827;
}

.inst-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
  background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 65%);
  border: 1px solid #e3eaf7;
  border-radius: 28px;
  padding: clamp(24px, 3vw, 42px);
  box-shadow: 0 12px 32px rgba(0, 40, 120, 0.06);
}

.inst-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.inst-hero__title,
.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  color: #0b1b3a;
}

.inst-hero__lead,
.contact-hero__lead {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: #374151;
  max-width: 62ch;
}

.inst-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.inst-btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--smooth), background-color 0.25s ease, box-shadow 0.25s ease;
}

.inst-btn--primary {
  background: var(--brago-blue);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 68, 190, 0.25);
}

.inst-btn--primary:hover {
  background: var(--brago-blue-dark);
  transform: translateY(-2px);
}

.inst-btn--outline {
  border: 1.5px solid var(--brago-blue);
  color: var(--brago-blue);
  background: #ffffff;
}

.inst-btn--outline:hover {
  background: #eff4ff;
  transform: translateY(-2px);
}

.inst-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.inst-stat-card {
  background: #ffffff;
  border: 1px solid #e5ebf5;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(0, 34, 98, 0.05);
}

.inst-stat-card__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--brago-blue);
}

.inst-stat-card__label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
}

.inst-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.inst-story-card,
.inst-lines-card {
  background: #f5f6f9;
  border-radius: 24px;
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inst-story-card__p {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
}

.inst-line-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.inst-line-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e6ebf4;
  border-radius: 18px;
  padding: 14px 16px;
  transition: transform 0.25s var(--smooth), box-shadow 0.25s ease, border-color 0.25s ease;
}

.inst-line-item:hover {
  transform: translateY(-2px);
  border-color: var(--brago-blue);
  box-shadow: 0 10px 24px rgba(0, 68, 190, 0.1);
}

.inst-line-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brago-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 9px;
}

.inst-line-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inst-line-item strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.inst-line-item span {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
  color: #4b5563;
}

.inst-page .features-band {
  border-radius: 26px;
  width: 100%;
  max-width: 1300px;
  padding: 42px 32px;
}

.inst-branches-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inst-branches-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.inst-branch-card {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 34, 98, 0.05);
}

.inst-branch-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inst-branch-card__top h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.inst-branch-card__uf {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eaf1ff;
  color: var(--brago-blue);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inst-branch-card p {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
  color: #374151;
}

.inst-branch-card__cep {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brago-blue);
}

/* ---------- Página de Contato ---------- */
.contact-hero {
  background: linear-gradient(135deg, #f5f8ff 0%, #ffffff 70%);
  border: 1px solid #e3eaf7;
  border-radius: 24px;
  padding: clamp(22px, 2.8vw, 34px);
}

.contact-hero__title {
  margin: 12px 0 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-sales-card {
  background: linear-gradient(145deg, var(--brago-blue) 0%, var(--brago-blue-dark) 100%);
  color: #ffffff;
  border-radius: 24px;
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(0, 47, 134, 0.25);
}

.contact-sales-card__badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.contact-sales-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.contact-sales-card__desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.contact-sales-card__phone {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 4px 0;
}

.contact-sales-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-wa-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: #16c03b;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--smooth), background-color 0.25s ease;
}

.contact-wa-btn:hover {
  background: #14ad35;
  transform: translateY(-2px);
}

.contact-copy-btn,
.contact-bag-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-copy-btn:hover,
.contact-bag-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.contact-copy-feedback {
  min-height: 18px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #bbf7d0;
}

.contact-branches-card {
  background: #f5f6f9;
  border-radius: 24px;
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-branches-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.contact-branches-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-branch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e6ebf4;
  border-radius: 16px;
  padding: 12px 14px;
}

.contact-branch-row strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
}

.contact-branch-row p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #4b5563;
  margin-top: 2px;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 24px;
  padding: clamp(22px, 2.8vw, 34px);
  box-shadow: 0 12px 32px rgba(0, 34, 98, 0.06);
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.contact-form-card__sub {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  line-height: 1.55;
  color: #4b5563;
  margin: 6px 0 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1.5px solid #d1d8e6;
  border-radius: 14px;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  color: #111827;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--brago-blue);
  box-shadow: 0 0 0 3px rgba(0, 68, 190, 0.12);
}

.contact-field textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: #374151;
  cursor: pointer;
}

.contact-checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--brago-blue);
}

.contact-submit-btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brago-blue);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 68, 190, 0.26);
  transition: background-color 0.25s ease, transform 0.25s var(--smooth);
}

.contact-submit-btn:hover {
  background: var(--brago-blue-dark);
  transform: translateY(-2px);
}

.contact-form__status {
  min-height: 20px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
}

.contact-form__status.is-error {
  color: #b91c1c;
}

.contact-form__status.is-ok {
  color: #047857;
}

@media (max-width: 1024px) {
  .inst-hero,
  .inst-story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .inst-branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .inst-hero__stats,
  .inst-branches-grid,
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   VITRINE INTELIGENTE POR SEGMENTO (WINTHOR -> BOTÕES DA HOME)
   ===================================================================== */
.segment-card.is-active {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--brago-blue), 0 16px 32px rgba(0, 68, 190, 0.28);
  transform: translateY(-4px) scale(1.03);
}

.segment-card.is-active .segment-card__bg-img {
  opacity: 0.45;
  transform: scale(1.05);
}

.segment-card.is-active .segment-card__overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 50, 148, 0.72) 0%, rgba(0, 32, 102, 0.88) 100%);
}

.segment-card.is-active .segment-card__icon {
  transform: translateY(-2px) scale(0.96);
}

.segment-card.is-active .segment-card__title {
  opacity: 1;
  transform: none;
  text-shadow: 0 2px 8px rgba(0, 12, 42, 0.65);
}

.segment-card.is-active::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brago-orange);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  z-index: 4;
}

.segment-showcase {
  width: min(1300px, calc(100% - 40px));
  margin: -8px auto 34px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 26px;
  background: linear-gradient(160deg, #f4f8ff 0%, #ffffff 55%);
  border: 1px solid #dbe5f6;
  box-shadow: 0 18px 42px rgba(0, 40, 120, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cardEnter 0.4s var(--smooth) both;
}

.segment-showcase[hidden] {
  display: none;
}

.segment-showcase__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.segment-showcase__intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.segment-showcase__eyebrow {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brago-blue);
  background: #e7f0ff;
  padding: 5px 12px;
  border-radius: 999px;
}

.segment-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  color: #0b1b3a;
  line-height: 1.18;
}

.segment-showcase__sub {
  font-family: var(--font-sans);
  font-size: clamp(11.5px, 0.88vw, 13px);
  color: #4b5563;
  line-height: 1.45;
}

.segment-showcase__header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.segment-showcase__quote-link {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brago-blue);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.segment-showcase__quote-link:hover {
  background: var(--brago-blue-dark);
  transform: translateY(-1px);
}

.segment-showcase__close {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #cdd8ec;
  background: #ffffff;
  color: #374151;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.segment-showcase__close:hover {
  border-color: var(--brago-blue);
  color: var(--brago-blue);
  background: #f2f6ff;
}

.segment-showcase__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segment-filter-pill {
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid #d5e0f2;
  background: #ffffff;
  color: #374151;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.segment-filter-pill:hover {
  border-color: var(--brago-blue);
  color: var(--brago-blue);
}

.segment-filter-pill.is-active {
  background: var(--brago-blue);
  border-color: var(--brago-blue);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 68, 190, 0.2);
}

.segment-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.segment-products-grid .product-card.is-entering {
  animation-duration: 0.32s;
  animation-delay: 0ms;
}

.segment-products-grid .product-card {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 332px;
  display: flex;
  flex-direction: column;
  padding: 14px 12px 16px;
  gap: 10px;
}

.segment-products-grid .product-card__img-wrap {
  position: static;
  width: 100%;
  height: 174px;
  flex-shrink: 0;
}

.segment-products-grid .product-card__body {
  position: static;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.segment-products-grid .catalog-skeleton {
  width: 100%;
  min-width: 0;
}

.segment-products-grid .catalog-empty {
  grid-column: 1 / -1;
}

.segment-product-cat-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(0, 68, 190, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
  border: 1px solid rgba(0, 68, 190, 0.12);
}

.segment-product-meta {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.segment-showcase__footer {
  display: flex;
  justify-content: center;
}

.segment-showcase__more {
  width: auto;
  min-width: 240px;
  padding: 0 26px;
}

@media (max-width: 1100px) {
  .segment-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .segment-showcase {
    width: calc(100% - 24px);
    padding: 18px 14px;
    border-radius: 20px;
  }
  .segment-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .segment-products-grid {
    grid-template-columns: 1fr;
  }
}
