/* ==========================================================================
   RBytes Noivas — landing.css
   --------------------------------------------------------------------------
   Estilo do site público (páginas deslogadas): home, contato, legal.

   Identidade: vinho profundo (#3f0f24 → #952552) como base, champanhe
   (#c9a961) nos detalhes, marfim nos fundos claros e Cormorant Garamond nos
   títulos — elegante como um ateliê, direto como uma ferramenta de trabalho.

   Carregado ANTES de mobile.css, que continua responsável pelos ajustes de
   celular (seção 12 daquele arquivo).
   ========================================================================== */

:root {
  --rb-vinho-950: #2a0a18;
  --rb-vinho-900: #3f0f24;
  --rb-vinho-800: #5c1634;
  --rb-vinho-700: #7a1d44;
  --rb-vinho-600: #952552;
  --rb-vinho-500: #b02f63;
  --rb-vinho-400: #c9558a;
  --rb-vinho-300: #de8fb3;
  --rb-vinho-200: #efc3d8;
  --rb-vinho-100: #f8e4ee;
  --rb-vinho-050: #fdf4f8;

  --rb-ouro-700: #9a7a35;
  --rb-ouro-500: #c9a961;
  --rb-ouro-300: #e6d4a3;
  --rb-ouro-100: #f7efdc;

  --rb-salvia-700: #3f6b5a;
  --rb-salvia-500: #6f9683;
  --rb-salvia-200: #d5e4dc;
  --rb-salvia-050: #f1f6f3;

  --rb-ink-950: #1a1216;
  --rb-ink-900: #241a1f;
  --rb-text: #2a2027;
  --rb-muted: #726671;
  --rb-line: #e9e1e6;
  --rb-surface: #ffffff;
  --rb-surface-2: #faf6f8;
  --rb-marfim: #f7f1ea;

  --primary: var(--rb-vinho-600);
  --primary-dark: var(--rb-vinho-700);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --rb-radius: 18px;
  --rb-radius-lg: 24px;
  --rb-shadow-sm: 0 1px 2px rgba(42, 10, 24, .05), 0 4px 12px -6px rgba(42, 10, 24, .10);
  --rb-shadow: 0 14px 36px -16px rgba(42, 10, 24, .28);
  --rb-shadow-lg: 0 34px 76px -28px rgba(42, 10, 24, .38);
  --rb-nav-h: 76px;
  --rb-ease: cubic-bezier(.4, 0, .2, 1);

  /* Fundo escuro da marca */
  --rb-fundo-escuro:
    radial-gradient(1000px 620px at 8% -10%, rgba(201, 169, 97, .22), transparent 62%),
    radial-gradient(900px 560px at 100% 0%, rgba(176, 47, 99, .55), transparent 60%),
    radial-gradient(760px 500px at 50% 112%, rgba(201, 85, 138, .22), transparent 62%),
    linear-gradient(160deg, #2a0a18 0%, #3f0f24 38%, #5c1634 72%, #7a1d44 100%);

  /* Paleta do Bootstrap afinada com a marca (bg-*, text-*, badge) */
  --bs-primary: #2a6f77;  --bs-primary-rgb: 42, 111, 119;
  --bs-success: #3f7d5c;  --bs-success-rgb: 63, 125, 92;
  --bs-info: #2b8aa6;     --bs-info-rgb: 43, 138, 166;
  --bs-warning: #c98a12;  --bs-warning-rgb: 201, 138, 18;
  --bs-danger: #952552;   --bs-danger-rgb: 149, 37, 82;
  --bs-dark: #2a1f27;     --bs-dark-rgb: 42, 31, 39;
  --bs-body-color: #2a2027;
  --bs-link-color: #952552; --bs-link-color-rgb: 149, 37, 82;
  --bs-link-hover-color: #7a1d44; --bs-link-hover-color-rgb: 122, 29, 68;
  --bs-danger-text-emphasis: #6b1a3b; --bs-danger-bg-subtle: #f8e4ee; --bs-danger-border-subtle: #efc3d8;
  --bs-success-text-emphasis: #2c5a42; --bs-success-bg-subtle: #e6f2ec; --bs-success-border-subtle: #bcdac9;
  --bs-font-sans-serif: var(--font-sans);
}


/* ==========================================================================
   1. BASE
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--rb-text);
  background: var(--rb-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id] { scroll-margin-top: calc(var(--rb-nav-h) + 16px); }

::selection { background: rgba(149, 37, 82, .18); color: var(--rb-ink-900); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid rgba(149, 37, 82, .45);
  outline-offset: 3px;
}

body .bg-light { background-color: var(--rb-surface-2) !important; }
body .bg-marfim { background-color: var(--rb-marfim) !important; }

.py-6 { padding-top: 96px !important; padding-bottom: 96px !important; }
.section-flow-bottom { padding-bottom: 32px !important; }
.section-flow-top { padding-top: 40px !important; }

h1, h2, h3, .h1, .h2, .h3 { color: var(--rb-ink-900); }


/* ==========================================================================
   2. BOTÕES
   ========================================================================== */
.btn {
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .22s var(--rb-ease), box-shadow .22s var(--rb-ease),
              background-color .22s, border-color .22s, color .22s, filter .22s;
}

.btn-brand,
.btn-danger {
  background-image: linear-gradient(135deg, var(--rb-vinho-600) 0%, var(--rb-vinho-800) 100%);
  background-color: var(--rb-vinho-600);
  border: none;
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(149, 37, 82, .95);
}
.btn-brand:hover, .btn-brand:focus,
.btn-danger:hover, .btn-danger:focus {
  background-image: linear-gradient(135deg, var(--rb-vinho-500) 0%, var(--rb-vinho-700) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(149, 37, 82, 1);
}
.btn-brand:active, .btn-danger:active { transform: translateY(0); }

/* Champanhe: a ação principal sobre o fundo vinho */
.btn-ouro {
  background-image: linear-gradient(135deg, #e6d4a3 0%, var(--rb-ouro-500) 60%, var(--rb-ouro-700) 100%);
  background-color: var(--rb-ouro-500);
  border: none;
  color: var(--rb-vinho-950);
  font-weight: 700;
  box-shadow: 0 12px 30px -12px rgba(201, 169, 97, .95);
}
.btn-ouro:hover, .btn-ouro:focus {
  background-image: linear-gradient(135deg, #f0e3bd 0%, #d4b56e 60%, var(--rb-ouro-700) 100%);
  color: var(--rb-vinho-950);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(201, 169, 97, 1);
}

.btn-outline-danger {
  border: 1.5px solid rgba(149, 37, 82, .45);
  color: var(--rb-vinho-700);
  background: transparent;
}
.btn-outline-danger:hover, .btn-outline-danger:focus {
  background: var(--rb-vinho-600);
  border-color: var(--rb-vinho-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(149, 37, 82, .85);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}
.btn-outline-light:hover, .btn-outline-light:focus {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--rb-vinho-700);
  border: none;
  font-weight: 700;
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, .75);
}
.btn-white:hover, .btn-white:focus {
  background: #fff;
  color: var(--rb-vinho-800);
  transform: translateY(-2px);
  box-shadow: 0 26px 54px -22px rgba(0, 0, 0, .85);
}


/* ==========================================================================
   3. NAVBAR
   ========================================================================== */
.landing-nav {
  background: rgba(63, 15, 36, .88) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 12px 0;
  transition: background-color .35s var(--rb-ease), padding .35s var(--rb-ease),
              box-shadow .35s var(--rb-ease), border-color .35s var(--rb-ease);
}
.landing-nav.fixed-top:not(.is-scrolled) {
  background: transparent !important;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 20px 0;
}
.landing-nav.is-scrolled { box-shadow: 0 14px 40px -22px rgba(0, 0, 0, .95); }
.landing-nav.fixed-top.is-menu-open {
  background: rgba(63, 15, 36, .97) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, .08);
  padding: 12px 0;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  color: #fff !important;
}
.landing-brand img {
  height: 40px;
  width: auto;
  max-width: 62vw;
  object-fit: contain;
  transition: transform .3s var(--rb-ease);
}
.landing-brand:hover img { transform: scale(1.03); }

.landing-nav .nav-link {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .76) !important;
  padding: .5rem .3rem !important;
  margin: 0 .55rem;
  transition: color .2s;
}
.landing-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rb-ouro-300), var(--rb-ouro-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--rb-ease);
}
.landing-nav .nav-link:hover { color: #fff !important; }
.landing-nav .nav-link:hover::after { transform: scaleX(1); }

.landing-nav .btn-sm { padding: .48rem 1.15rem; font-size: .875rem; border-radius: 11px; }

.landing-nav .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: .38rem .58rem;
}
.landing-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(201, 169, 97, .4); }


/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--rb-nav-h) + 40px) 0 130px;
  color: #fff;
  background: var(--rb-fundo-escuro);
}

.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::before {
  width: 560px; height: 560px;
  right: -160px; top: -140px;
  background: radial-gradient(circle at 32% 32%, rgba(201, 169, 97, .28), transparent 66%);
  filter: blur(26px);
  animation: rb-float-a 16s ease-in-out infinite;
}
.hero-section::after {
  width: 460px; height: 460px;
  left: -140px; bottom: -120px;
  background: radial-gradient(circle at 60% 40%, rgba(201, 85, 138, .32), transparent 66%);
  filter: blur(30px);
  animation: rb-float-b 20s ease-in-out infinite;
}
@keyframes rb-float-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-26px, 30px, 0) scale(1.08); }
}
@keyframes rb-float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(30px, -24px, 0) scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 50% 46%, transparent 52%, rgba(20, 4, 12, .5) 100%);
}

.hero-content { position: relative; z-index: 1; padding: 24px 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rb-ouro-300);
  background: rgba(201, 169, 97, .12);
  border: 1px solid rgba(201, 169, 97, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.hero-badge .bi { color: var(--rb-ouro-500); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #fff;
  margin: 22px 0 18px;
  text-wrap: balance;
}
.hero-highlight {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f0e3bd 0%, var(--rb-ouro-500) 50%, #e6d4a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: rgba(255, 255, 255, .76);
  line-height: 1.75;
  max-width: 560px;
  margin: 0;
  text-wrap: pretty;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta .btn { padding: .95rem 2rem; font-size: 1rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .66);
}
.hero-trust .bi { color: var(--rb-ouro-500); font-size: .95rem; }

/* Composição à direita: prévia do painel + cartões soltos */
.hero-visual { position: relative; min-height: 440px; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, .22), transparent 70%);
  filter: blur(46px);
}
.hero-card {
  position: absolute;
  background: #fff;
  color: var(--rb-text);
  border-radius: 18px;
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .5);
}
.hero-card-main {
  left: 4%; top: 8%; right: 10%;
  padding: 20px 22px;
  animation: rb-float-card 7s ease-in-out infinite;
}
.hero-card-main .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hero-card-main .hc-top img { height: 22px; width: auto; }
.hero-card-main .hc-top .badge { font-weight: 600; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.hc-stat { padding: 12px; border-radius: 12px; background: var(--rb-surface-2); border: 1px solid var(--rb-line); }
.hc-stat .n { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--rb-vinho-700); }
.hc-stat .l { font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rb-muted); margin-top: 4px; }
.hc-list { display: flex; flex-direction: column; }
.hc-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rb-line); font-size: .82rem; }
.hc-item:first-child { border-top: 0; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.hc-item .badge { margin-left: auto; font-size: .64rem; }

.hero-card-peca {
  right: 0; bottom: 6%;
  width: 230px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  animation: rb-float-card 9s ease-in-out infinite reverse;
}
.hero-card-peca .foto {
  width: 58px; height: 72px; border-radius: 10px; flex: 0 0 auto;
  background: linear-gradient(160deg, var(--rb-vinho-200), var(--rb-vinho-500));
  display: grid; place-items: center; color: #fff; font-size: 1.4rem;
}
.hero-card-peca .t { font-size: .82rem; font-weight: 700; color: var(--rb-ink-900); }
.hero-card-peca .s { font-size: .72rem; color: var(--rb-muted); }
.hero-card-peca .p { font-size: .9rem; font-weight: 700; color: var(--rb-vinho-700); margin-top: 4px; }

.hero-card-prova {
  left: 0; bottom: 18%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: rb-float-card 8s ease-in-out infinite 1s;
}
.hero-card-prova .ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--rb-ouro-100); color: var(--rb-ouro-700); font-size: 1.1rem;
}
.hero-card-prova .t { font-size: .8rem; font-weight: 700; color: var(--rb-ink-900); }
.hero-card-prova .s { font-size: .7rem; color: var(--rb-muted); }

@keyframes rb-float-card {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 108px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .55);
  font-size: 1.05rem;
  text-decoration: none;
  animation: rb-bounce 2.4s infinite;
  transition: color .2s, background-color .2s, border-color .2s;
}
.hero-scroll-indicator:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); }
@keyframes rb-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-10px); }
}


/* ==========================================================================
   5. FAIXA DE NÚMEROS (cavalga o hero)
   ========================================================================== */
.stats-section { position: relative; background: transparent; padding: 0 0 72px; }

.stats-band {
  position: relative;
  z-index: 2;
  margin-top: -78px;
  padding: 36px 16px;
  border-radius: var(--rb-radius-lg);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--rb-shadow-lg);
}
.stat-item { position: relative; }
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--rb-vinho-700);
}
.stat-label {
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--rb-muted);
  margin-top: 8px;
}
@media (min-width: 768px) {
  .stats-band [class*="col-"] + [class*="col-"] .stat-item::before {
    content: '';
    position: absolute;
    left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
    top: 10%; bottom: 10%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--rb-line), transparent);
  }
}


/* ==========================================================================
   6. CABEÇALHOS DE SEÇÃO
   ========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 17px;
  border-radius: 999px;
  background: var(--rb-ouro-100);
  border: 1px solid rgba(201, 169, 97, .45);
  color: var(--rb-ouro-700);
  font-size: .71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rb-ouro-500);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .22);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--rb-ink-900);
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 600; color: var(--rb-vinho-600); }

.section-subtitle {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--rb-muted);
  max-width: 660px;
  margin: 0 auto;
  text-wrap: pretty;
}


/* ==========================================================================
   7. PARA QUEM É (segmentos)
   ========================================================================== */
.segmento-card {
  height: 100%;
  padding: 26px 24px;
  border-radius: var(--rb-radius);
  background: var(--rb-surface);
  border: 1px solid var(--rb-line);
  box-shadow: var(--rb-shadow-sm);
  transition: transform .3s var(--rb-ease), box-shadow .3s var(--rb-ease), border-color .3s;
}
.segmento-card:hover { transform: translateY(-5px); box-shadow: var(--rb-shadow); border-color: rgba(201, 169, 97, .5); }
.segmento-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  color: var(--rb-vinho-700);
  background: var(--rb-vinho-100);
  margin-bottom: 16px;
}
.segmento-card h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.segmento-card p { font-size: .9rem; line-height: 1.65; color: var(--rb-muted); margin: 0; }


/* ==========================================================================
   8. CARDS DE RECURSOS
   ========================================================================== */
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--rb-surface);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 30px 26px;
  box-shadow: var(--rb-shadow-sm);
  transition: transform .32s var(--rb-ease), box-shadow .32s var(--rb-ease), border-color .32s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rb-vinho-600), var(--rb-vinho-300) 60%, var(--rb-ouro-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s var(--rb-ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rb-shadow-lg);
  border-color: rgba(149, 37, 82, .26);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--rb-vinho-700);
  background: var(--rb-vinho-100);
  box-shadow: inset 0 0 0 1px rgba(42, 10, 24, .05);
  transition: transform .32s var(--rb-ease);
}
.feature-card:hover .feature-icon { transform: scale(1.07) rotate(-4deg); }
.feature-icon.ouro { color: var(--rb-ouro-700); background: var(--rb-ouro-100); }
.feature-icon.salvia { color: var(--rb-salvia-700); background: var(--rb-salvia-050); }
.feature-icon.ink { color: var(--rb-ink-900); background: #efe9ec; }

.feature-title {
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  color: var(--rb-ink-900);
  margin-bottom: 8px;
}
.feature-desc {
  color: var(--rb-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}


/* ==========================================================================
   9. PASSO A PASSO + PRÉVIA DO PAINEL
   ========================================================================== */
.steps-list { display: flex; flex-direction: column; }

.step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-bottom: 30px;
}
.step-item:last-child { padding-bottom: 0; }
.step-item::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 60px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(201, 169, 97, .55), rgba(201, 169, 97, .05));
}
.step-item:last-child::before { display: none; }

.step-num {
  position: relative;
  z-index: 1;
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 17px;
  background: linear-gradient(140deg, var(--rb-vinho-500), var(--rb-vinho-800));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 14px 28px -14px rgba(149, 37, 82, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.step-title {
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.01em;
  color: var(--rb-ink-900);
  margin-bottom: 6px;
}
.step-desc { font-size: .93rem; line-height: 1.7; margin: 0; }

.dashboard-preview { position: relative; perspective: 1500px; }
.dashboard-preview::before {
  content: '';
  position: absolute;
  inset: 10% 6%;
  background: radial-gradient(circle at 50% 50%, rgba(149, 37, 82, .22), transparent 70%);
  filter: blur(44px);
}
.preview-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-lg);
  box-shadow: var(--rb-shadow-lg);
  transform: rotateY(-7deg) rotateX(4deg);
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
  animation: rb-float-card 7s ease-in-out infinite;
}
.preview-card:hover { transform: rotateY(0deg) rotateX(0deg) translateY(-6px); animation-play-state: paused; }
.preview-stat { border: 1px solid var(--rb-line); transition: transform .22s var(--rb-ease); }
.preview-card:hover .preview-stat { transform: translateY(-2px); }
.preview-dot { width: 8px; height: 8px; flex-shrink: 0; }
.preview-item { border-color: var(--rb-line) !important; }


/* ==========================================================================
   10. PLANOS
   ========================================================================== */
.plan-card {
  position: relative;
  background: var(--rb-surface);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius-lg);
  padding: 34px 26px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--rb-shadow-sm);
  transition: transform .3s var(--rb-ease), box-shadow .3s var(--rb-ease), border-color .3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(149, 37, 82, .3);
  box-shadow: var(--rb-shadow-lg);
}

/* O plano em destaque ganha borda em degradê vinho → champanhe */
.plan-featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--rb-surface), var(--rb-surface)) padding-box,
    linear-gradient(150deg, var(--rb-vinho-500), var(--rb-vinho-700) 55%, var(--rb-ouro-500)) border-box;
  box-shadow: 0 34px 76px -30px rgba(149, 37, 82, .55);
}
.plan-featured:hover { border-color: transparent; }
@media (min-width: 992px) {
  .plan-featured { transform: translateY(-10px); }
  .plan-featured:hover { transform: translateY(-16px); }
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rb-ink-900), #3f2f3a);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .85);
}
.plan-featured .plan-badge {
  background: linear-gradient(135deg, var(--rb-vinho-600), var(--rb-vinho-800));
  box-shadow: 0 12px 26px -12px rgba(149, 37, 82, .95);
}
.plan-badge.ouro { background: linear-gradient(135deg, var(--rb-ouro-500), var(--rb-ouro-700)); color: var(--rb-vinho-950); }

.plan-header {
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px dashed var(--rb-line);
}
.plan-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--rb-ink-900);
  margin-bottom: 4px;
}
.plan-tagline { font-size: .8rem; color: var(--rb-muted); margin-bottom: 12px; }
.plan-price {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--rb-vinho-700);
  margin: 0;
}
.plan-price small { font-size: 1rem; font-weight: 700; vertical-align: top; margin-right: 2px; }
.plan-period { font-size: .92rem; font-weight: 500; color: var(--rb-muted); letter-spacing: 0; }

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}
.plan-features li {
  font-size: .88rem;
  line-height: 1.45;
  color: #4a4049;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.plan-features li .bi { flex-shrink: 0; font-size: 1rem; line-height: 1.3; }
.plan-features li .bi-check-circle-fill { color: var(--rb-salvia-700); }
.plan-features li .bi-x-circle { color: #c6bcc3; }
.plan-features li.off { color: #a79fa5; }
.plan-features li strong { color: var(--rb-ink-900); font-weight: 600; }
.plan-card .btn { width: 100%; padding: .8rem 1rem; }


/* ==========================================================================
   11. DEPOIMENTOS
   ========================================================================== */
.testimonial-card {
  position: relative;
  overflow: hidden;
  background: var(--rb-surface);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 32px 30px 26px;
  box-shadow: var(--rb-shadow-sm);
  transition: transform .3s var(--rb-ease), box-shadow .3s var(--rb-ease), border-color .3s;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 2px; right: 22px;
  font-family: var(--font-serif);
  font-size: 6.5rem;
  line-height: 1;
  color: rgba(201, 169, 97, .25);
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--rb-shadow); border-color: rgba(201, 169, 97, .5); }

.testimonial-stars { color: var(--rb-ouro-500); font-size: 1rem; letter-spacing: .14em; margin-bottom: 14px; }
.testimonial-text {
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: #3d3340;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-author strong { display: block; color: var(--rb-ink-900); font-size: .9rem; }
.testimonial-author span { color: var(--rb-muted); font-size: .82rem; }
.testimonial-author:empty { display: none; }


/* ==========================================================================
   12. FAQ
   ========================================================================== */
#faqAccordion .accordion-item {
  background: var(--rb-surface);
  border: 1px solid var(--rb-line);
  border-radius: 16px !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--rb-shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
#faqAccordion .accordion-item:last-child { margin-bottom: 0; }
#faqAccordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(149, 37, 82, .28);
  box-shadow: var(--rb-shadow);
}
#faqAccordion .accordion-button {
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--rb-ink-900);
  background: transparent;
  box-shadow: none !important;
}
#faqAccordion .accordion-button:not(.collapsed) {
  color: var(--rb-vinho-700);
  background: linear-gradient(120deg, var(--rb-vinho-050), transparent 70%);
}
#faqAccordion .accordion-button::after {
  content: "\f282";
  font-family: bootstrap-icons;
  background-image: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--rb-vinho-100);
  color: var(--rb-vinho-700);
  font-size: .8rem;
  transition: transform .3s var(--rb-ease), background-color .25s;
}
#faqAccordion .accordion-button:not(.collapsed)::after { transform: rotate(180deg); background-color: var(--rb-vinho-200); }
#faqAccordion .accordion-body { padding: 0 24px 22px; color: var(--rb-muted); font-size: .96rem; line-height: 1.78; }


/* ==========================================================================
   13. CHAMADA FINAL
   ========================================================================== */
.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--rb-fundo-escuro);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}
.cta-title em { font-style: italic; font-weight: 600; color: var(--rb-ouro-300); }
.cta-subtitle { font-size: 1.05rem; color: rgba(255, 255, 255, .78); max-width: 560px; margin: 12px auto 0; }
.cta-section .btn-ouro { padding: .95rem 2.4rem; font-size: 1rem; }
.cta-section .hero-trust { margin-top: 22px; justify-content: center; }
.cta-section .hero-trust li { color: rgba(255, 255, 255, .8); }


/* ==========================================================================
   14. PÁGINAS INTERNAS (contato, legal)
   ========================================================================== */
.contato-hero {
  background: var(--rb-fundo-escuro);
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 20px 72px;
  color: #fff;
}
.contato-hero h1 { font-family: var(--font-serif); font-size: 2.9rem; font-weight: 700; color: #fff; margin: 0 0 10px; }
.contato-hero h1 .bi { color: var(--rb-ouro-500); }
.contato-hero p { color: rgba(255, 255, 255, .76); font-size: 1.05rem; margin: 0; }

.contato-card {
  background: #fff;
  border-radius: var(--rb-radius-lg);
  box-shadow: var(--rb-shadow-lg);
  padding: 48px 48px;
  max-width: 680px;
  margin: -56px auto 48px;
  position: relative;
}
.contato-card h2 { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; }

.contato-field { position: relative; margin-bottom: 20px; }
.contato-field label { font-size: .76rem; font-weight: 700; color: var(--rb-muted); letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.contato-field .field-icon {
  position: absolute; left: 14px; bottom: 13px;
  color: #b3a9b1; font-size: 1rem; pointer-events: none;
  transition: color .2s;
}
.contato-field input,
.contato-field textarea,
.contato-field select {
  width: 100%; padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--rb-line); border-radius: 12px;
  font-size: .95rem; color: var(--rb-text); background: #fdfbfc;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.contato-field textarea { padding-top: 12px; resize: vertical; min-height: 130px; }
.contato-field input:focus,
.contato-field textarea:focus { border-color: var(--rb-vinho-500); box-shadow: 0 0 0 3px rgba(149, 37, 82, .1); background: #fff; }
.contato-field input:focus ~ .field-icon,
.contato-field textarea:focus ~ .field-icon { color: var(--rb-vinho-600); }
.contato-field .text-danger { font-size: .78rem; margin-top: 4px; display: block; }

.captcha-box {
  background: var(--rb-surface-2); border: 1.5px dashed var(--rb-line); border-radius: 12px;
  padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.captcha-label { font-size: .85rem; color: #4a4049; font-weight: 600; white-space: nowrap; }
.captcha-question {
  background: var(--rb-vinho-900); color: #fff; border-radius: 8px;
  padding: 8px 16px; font-size: 1.1rem; font-weight: 800; font-family: monospace;
  letter-spacing: 2px;
}
.captcha-input {
  width: 80px !important; padding: 8px 12px !important;
  text-align: center; font-size: 1rem !important; font-weight: 700;
  border: 1.5px solid var(--rb-line) !important; border-radius: 8px !important;
}
.captcha-input:focus { border-color: var(--rb-vinho-500) !important; box-shadow: 0 0 0 3px rgba(149, 37, 82, .1) !important; }

.btn-enviar {
  width: 100%; padding: 14px; color: #fff;
  background-image: linear-gradient(135deg, var(--rb-vinho-600), var(--rb-vinho-800));
  border: none; border-radius: 12px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 12px 28px -12px rgba(149, 37, 82, .9);
}
.btn-enviar:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -14px rgba(149, 37, 82, 1); filter: brightness(1.05); }
.btn-enviar:active { transform: translateY(0); }

.info-cards { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; justify-content: center; }
.info-card {
  background: #fff; border-radius: 16px; border: 1px solid var(--rb-line); box-shadow: var(--rb-shadow-sm);
  padding: 24px 28px; flex: 1; min-width: 180px; text-align: center;
}
.info-card i { font-size: 1.8rem; color: var(--rb-vinho-600); margin-bottom: 10px; display: block; }
.info-card h6 { font-size: .74rem; font-weight: 700; color: var(--rb-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.info-card p { font-size: .9rem; color: var(--rb-text); margin: 0; font-weight: 500; }

/* Páginas legais: conteúdo corrido num cartão */
.legal-main { padding: 48px 0 72px; max-width: 920px; }
.legal-main h1 { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; }
.legal-main h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--rb-vinho-800); }
.legal-main .card { border-radius: var(--rb-radius-lg); border-color: var(--rb-line); }
.legal-main .badge.text-bg-danger { background-color: var(--rb-vinho-600) !important; }
.legal-main .badge.text-bg-ouro { background-color: var(--rb-ouro-100); color: var(--rb-ouro-700); }
.landing-nav.landing-nav-solida { position: sticky; top: 0; z-index: 1030; }


/* ==========================================================================
   15. RODAPÉ
   ========================================================================== */
.landing-footer {
  background: linear-gradient(180deg, var(--rb-vinho-900) 0%, var(--rb-vinho-950) 100%) !important;
  color: rgba(255, 255, 255, .62);
  padding: 64px 0 0 !important;
  text-align: left;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-brand img { height: 42px; width: auto; max-width: 100%; object-fit: contain; }
.footer-desc {
  font-size: .92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .58);
  max-width: 340px;
  margin: 0;
}
.footer-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--rb-ouro-300);
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s, transform .2s var(--rb-ease);
}
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-links .bi { color: var(--rb-ouro-500); font-size: .85rem; }

.footer-bottom {
  margin-top: 52px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer-bottom strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
.footer-bottom a { color: var(--rb-ouro-300); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: #fff; }


/* ==========================================================================
   16. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(140deg, #34e07a, #1faa50);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .85);
  transition: transform .22s var(--rb-ease), box-shadow .22s var(--rb-ease);
  text-decoration: none;
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: rb-pulse 2.6s ease-out infinite;
}
@keyframes rb-pulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .95); }
.whatsapp-float svg { display: block; position: relative; z-index: 1; }


/* ==========================================================================
   17. ENTRADA DOS BLOCOS AO ROLAR (classes aplicadas por landing.js)
   ========================================================================== */
.rb-reveal {
  opacity: 0;
  translate: 0 26px;
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), translate .7s cubic-bezier(.2, .7, .3, 1);
}
.rb-reveal.is-visible { opacity: 1; translate: none; }


/* ==========================================================================
   18. LARGURAS INTERMEDIÁRIAS (os 4 planos dividem a linha)
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .plan-card { padding: 30px 20px 26px; }
  .plan-price { font-size: 1.8rem; }
  .plan-badge { font-size: .64rem; padding: 4px 12px; }
  .plan-features li { font-size: .83rem; }
}


/* ==========================================================================
   19. MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-section::before,
  .hero-section::after,
  .hero-scroll-indicator,
  .hero-card,
  .preview-card,
  .whatsapp-float::after { animation: none !important; }

  .rb-reveal { opacity: 1 !important; translate: none !important; transition: none !important; }
  .preview-card { transform: none; }

  .btn:hover,
  .feature-card:hover,
  .segmento-card:hover,
  .plan-card:hover,
  .testimonial-card:hover,
  .footer-links a:hover { transform: none !important; }
}


/* ==========================================================================
   20. NAVBAR EM NOTEBOOK (992–1199px): cabe tudo numa linha só
   ========================================================================== */
.landing-nav .nav-link { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .landing-brand img { height: 34px; }
  .landing-nav .nav-link { font-size: .84rem; margin: 0 .2rem; }
  .landing-nav .navbar-nav { gap: .35rem !important; }
  .landing-nav .btn-sm { padding: .42rem .8rem; font-size: .8rem; }
}
