:root {
  --bg-cream: #fbf8f2;
  --bg-parchment: #f3ece0;
  --bg-sand: #e8decb;
  --forest-950: #091c14;
  --forest-900: #0d261c;
  --forest-800: #15382a;
  --forest-700: #1f4d3a;
  --espresso-950: #160f0b;
  --espresso-900: #231710;
  --espresso-700: #4a3325;
  --gold-500: #c89b54;
  --gold-400: #dfb673;
  --gold-300: #ebd09e;
  --terracotta: #b84a27;
  --terracotta-dark: #943719;
  --text-main: #1f1916;
  --text-muted: #5c5048;
  --text-light: #f9f5ed;
  --border-subtle: rgba(35, 23, 16, 0.11);
  --border-gold: rgba(200, 155, 84, 0.35);
  --success: #1b7a46;
  --warning: #b7791f;
  --danger: #b83227;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 30px rgba(22, 15, 11, 0.07);
  --shadow-elevated: 0 22px 50px rgba(13, 38, 28, 0.16);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.container {
  width: min(1220px, 92%);
  margin-inline: auto;
}

/* Barra de anúncio superior */
.topbar {
  background: var(--forest-950);
  color: var(--gold-300);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(200, 155, 84, 0.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-highlights {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(200, 155, 84, 0.28);
}

.lang-btn {
  color: rgba(249, 245, 237, 0.72);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--gold-500);
  color: var(--forest-950);
}

.track-link-btn {
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.2s;
}

.track-link-btn:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

/* Cabeçalho Principal */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(22, 15, 11, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--espresso-900);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--terracotta);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--forest-900);
  color: var(--text-light);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 6px 18px rgba(13, 38, 28, 0.2);
}

.cart-trigger:hover {
  background: var(--forest-800);
  transform: translateY(-1px);
}

.cart-count {
  background: var(--gold-500);
  color: var(--forest-950);
  font-weight: 800;
  font-size: 0.76rem;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: var(--espresso-900);
}

/* Hero Cinematográfico */
.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background: var(--forest-950);
  color: var(--text-light);
  overflow: hidden;
  padding: 4.5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(102deg, rgba(9, 28, 20, 0.93) 0%, rgba(13, 38, 28, 0.82) 52%, rgba(22, 15, 11, 0.52) 100%),
    url('../img/hero-sitio.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--gold-400);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.65rem, 5vw, 4.35rem);
  font-weight: 600;
  line-height: 1.06;
  margin-bottom: 1.35rem;
  color: #fffdf8;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(249, 245, 237, 0.88);
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), #b5843b);
  color: var(--forest-950);
  box-shadow: 0 10px 26px rgba(200, 155, 84, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-forest {
  background: var(--forest-900);
  color: var(--text-light);
}

.btn-forest:hover {
  background: var(--forest-800);
  transform: translateY(-1px);
}

.btn-outline-light {
  border: 1.5px solid rgba(249, 245, 237, 0.38);
  color: var(--text-light);
}

.btn-outline-light:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark {
  border: 1.5px solid var(--espresso-900);
  color: var(--espresso-900);
}

.btn-outline-dark:hover {
  background: var(--espresso-900);
  color: var(--text-light);
}

.hero-seals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.seal-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--gold-400);
  line-height: 1.1;
}

.seal-item span {
  font-size: 0.8rem;
  color: rgba(249, 245, 237, 0.78);
}

.hero-showcase-card {
  background: rgba(13, 38, 28, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-elevated);
  position: relative;
}

.hero-card-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4.55;
  margin-bottom: 1.1rem;
  background: var(--espresso-950);
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.85s ease;
}

.hero-slide-img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-floating-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(16, 11, 8, 0.78);
  backdrop-filter: blur(8px);
  color: var(--gold-300);
  border: 1px solid rgba(200, 155, 84, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  background: rgba(16, 11, 8, 0.55);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 22px;
  background: var(--gold-400);
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero-card-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
}

.hero-card-meta p {
  font-size: 0.83rem;
  color: rgba(249, 245, 237, 0.75);
}

/* Faixa de diferenciais */
.trust-strip {
  background: var(--bg-parchment);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.6rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--forest-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
}

.trust-box h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--espresso-900);
}

.trust-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Seções Gerais */
.section {
  padding: 5.2rem 0;
}

.section-header {
  text-align: center;
  max-width: 690px;
  margin: 0 auto 3.2rem;
}

.section-header .eyebrow {
  justify-content: center;
  color: var(--terracotta);
}

.section-header .eyebrow::before {
  background: var(--terracotta);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  color: var(--forest-900);
  line-height: 1.12;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Configurador Interativo de Café */
.configurator-section {
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-parchment) 100%);
}

.configurator-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.config-visual {
  background: var(--espresso-950);
  color: var(--text-light);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.config-img-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(200, 155, 84, 0.25);
}

.config-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sensory-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.4rem;
}

.sensory-row {
  font-size: 0.8rem;
}

.sensory-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  color: rgba(249, 245, 237, 0.82);
}

.sensory-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  overflow: hidden;
}

.sensory-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--terracotta));
  border-radius: 99px;
  transition: width 0.35s ease;
}

.config-controls {
  padding: 2.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.config-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pill-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(13, 38, 28, 0.09);
  color: var(--forest-900);
}

.pill-tag.gold {
  background: rgba(200, 155, 84, 0.22);
  color: #6e4e19;
}

.config-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--forest-900);
}

.config-notes {
  font-size: 0.94rem;
  color: var(--terracotta);
  font-weight: 600;
}

.selector-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.selector-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
}

.choice-btn {
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-cream);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  text-align: left;
  transition: all 0.18s ease;
}

.choice-btn strong {
  display: block;
  font-size: 0.92rem;
  color: var(--espresso-900);
}

.choice-btn small {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.choice-btn:hover:not(:disabled) {
  border-color: var(--forest-700);
}

.choice-btn.active {
  background: var(--forest-900);
  border-color: var(--forest-900);
}

.choice-btn.active strong {
  color: #fff;
}

.choice-btn.active small {
  color: var(--gold-300);
}

.choice-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.config-buy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.price-display .price-value {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--forest-900);
  line-height: 1;
}

.price-display .price-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.qty-buy-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-subtle);
  border-radius: 999px;
  background: var(--bg-cream);
}

.qty-stepper button {
  width: 38px;
  height: 42px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--espresso-900);
}

.qty-stepper span {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
}

/* Simulador rápido de frete no produto */
.inline-shipping-box {
  background: var(--bg-cream);
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(13, 38, 28, 0.22);
}

.inline-shipping-form {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.inline-shipping-form input {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  width: 150px;
  background: #fff;
}

.inline-shipping-results {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--espresso-900);
}

/* Grade de todos os produtos */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.filter-tab {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--bg-parchment);
  color: var(--espresso-900);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.filter-tab:hover {
  border-color: var(--forest-700);
}

.filter-tab.active {
  background: var(--forest-900);
  color: var(--text-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-img-box {
  position: relative;
  aspect-ratio: 4 / 4.1;
  background: var(--espresso-950);
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 38, 28, 0.9);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.weight-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(251, 248, 242, 0.95);
  color: var(--espresso-950);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.product-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-specs {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.spec-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  background: var(--bg-parchment);
  color: var(--espresso-700);
}

.spec-pill.dark-roast {
  background: #2b1d14;
  color: #f3dfc1;
}

.product-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.22;
  color: var(--espresso-950);
  margin-bottom: 0.4rem;
}

.product-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
}

.card-price {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--forest-900);
}

.card-actions {
  display: flex;
  gap: 0.45rem;
}

.btn-icon-detail {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--espresso-900);
  transition: all 0.2s;
}

.btn-icon-detail:hover {
  background: var(--bg-parchment);
}

.btn-add-card {
  background: var(--forest-900);
  color: var(--text-light);
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.btn-add-card:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

/* Seção Nossa História & Legado */
.story-section {
  background: var(--forest-900);
  color: var(--text-light);
}

.story-section .section-header h2 {
  color: #fff;
}

.story-section .section-header p {
  color: rgba(249, 245, 237, 0.8);
}

.story-section .eyebrow {
  color: var(--gold-400);
}

.story-section .eyebrow::before {
  background: var(--gold-400);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

.story-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-photos img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 290px;
  object-fit: cover;
  border: 1px solid rgba(200, 155, 84, 0.28);
}

.story-photos img.tall {
  grid-column: span 2;
  height: 310px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  padding-left: 1.35rem;
  border-left: 2px solid var(--gold-500);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
}

.timeline-item h4 {
  font-size: 1.05rem;
  margin: 0.2rem 0 0.35rem;
  color: #fff;
}

.timeline-item p {
  font-size: 0.92rem;
  color: rgba(249, 245, 237, 0.82);
}

/* Sustentabilidade & Galeria */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mosaic-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
}

.mosaic-card.wide {
  grid-column: span 2;
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-card:hover img {
  transform: scale(1.05);
}

.mosaic-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1rem 0.9rem;
  background: linear-gradient(0deg, rgba(16, 11, 8, 0.88) 0%, transparent 100%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

/* Seção Exportação & Atacado B2B */
.b2b-section {
  background: var(--bg-parchment);
}

.b2b-banner {
  background: linear-gradient(125deg, var(--espresso-950) 0%, #2c1d14 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  border: 1px solid var(--border-gold);
}

.b2b-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: #fff;
  margin-bottom: 0.85rem;
}

.b2b-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.b2b-stats div strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--gold-400);
}

.b2b-stats div span {
  font-size: 0.8rem;
  color: rgba(249, 245, 237, 0.75);
}

.b2b-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Rodapé */
.site-footer {
  background: var(--forest-950);
  color: rgba(249, 245, 237, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 62px;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Gaveta da Sacola (Cart Drawer) */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.58);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--bg-cream);
  z-index: 210;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.22);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  background: var(--forest-900);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.close-btn {
  color: currentColor;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  opacity: 0.8;
}

.close-btn:hover {
  opacity: 1;
}

.free-ship-banner {
  background: var(--bg-parchment);
  padding: 0.75rem 1.5rem;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border-subtle);
}

.free-ship-bar {
  height: 6px;
  background: rgba(13, 38, 28, 0.12);
  border-radius: 99px;
  margin-top: 0.4rem;
  overflow: hidden;
}

.free-ship-progress {
  height: 100%;
  background: var(--success);
  transition: width 0.3s ease;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  background: #fff;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.cart-item img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.84rem;
  color: var(--forest-800);
  font-weight: 700;
}

.cart-qty-mini {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  margin-top: 0.35rem;
}

.cart-qty-mini button {
  padding: 0.15rem 0.5rem;
  font-weight: 700;
}

.cart-qty-mini span {
  padding: 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border-subtle);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.summary-line.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest-900);
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1rem;
}

/* Modais (Checkout, Detalhe do Produto, Rastreio) */
.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 10, 8, 0.65);
  backdrop-filter: blur(5px);
}

.modal-wrap.open {
  display: flex;
}

.modal-card {
  background: var(--bg-cream);
  width: min(820px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--forest-900);
  color: #fff;
  padding: 1.15rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.modal-body {
  padding: 1.75rem;
}

/* Formulário de Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.6rem;
}

.form-section-title {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--forest-900);
  margin: 1.1rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.field.full {
  grid-column: span 2;
}

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--espresso-700);
}

.field input, .field select {
  padding: 0.68rem 0.85rem;
  border-radius: 8px;
  border: 1.5px solid rgba(35, 23, 16, 0.16);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.field input:focus, .field select:focus {
  border-color: var(--forest-800);
}

.shipping-options-list, .payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.radio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--border-subtle);
  background: #fff;
  cursor: pointer;
  transition: all 0.18s;
}

.radio-card.selected {
  border-color: var(--forest-900);
  background: rgba(13, 38, 28, 0.04);
}

.radio-card-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.checkout-summary-panel {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  align-self: start;
}

/* Tela de QR Code Pix */
.pix-payment-screen {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 1rem 0;
}

.qr-frame {
  width: 230px;
  height: 230px;
  margin: 1.15rem auto;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--forest-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pix-copy-box {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.pix-copy-box input {
  flex: 1;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.8rem;
  background: #fff;
}

.status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(183, 121, 31, 0.14);
  color: #8a560c;
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d69e2e;
  animation: pulseAnim 1.4s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.3); }
}

.demo-alert {
  background: #fff9eb;
  border: 1px solid #f0d48a;
  color: #74510c;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-top: 1rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--forest-950);
  color: #fff;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-gold);
  z-index: 400;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Botão flutuante discreto de suporte */
.floating-help {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  background: #1f8b4c;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(31, 139, 76, 0.38);
  transition: transform 0.2s;
}

.floating-help:hover {
  transform: scale(1.07);
}

/* Responsivo */
@media (max-width: 980px) {
  .hero-grid,
  .configurator-card,
  .story-grid,
  .b2b-banner,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 1.2rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .products-grid,
  .trust-grid,
  .footer-grid,
  .form-grid,
  .hero-seals {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: span 1;
  }

  .config-controls, .config-visual {
    padding: 1.5rem;
  }

  .b2b-banner {
    padding: 1.75rem;
  }

  .topbar-highlights span:nth-child(n+2) {
    display: none;
  }
}
