/* ============================================================
   BIRD'S EYE — style.css
   Design System: Brand colors, dark/light mode, animations
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-primary:    #0f3a69;
  --color-primary-light: #1a5499;
  --color-primary-dark:  #092748;
  --color-secondary:  #6c757d;
  --color-accent:     #28a745;
  --color-accent-dark:#1e7e34;

  /* Light Mode */
  --bg:               #f8f9fa;
  --bg-card:          #ffffff;
  --bg-glass:         rgba(255,255,255,0.7);
  --text:             #212529;
  --text-muted:       #6c757d;
  --text-inverse:     #ffffff;
  --border:           rgba(15,58,105,0.12);
  --shadow:           0 8px 32px rgba(15,58,105,0.10);
  --shadow-lg:        0 20px 60px rgba(15,58,105,0.18);
  --nav-bg:           rgba(248,249,250,0.85);

  /* WhatsApp Colors */
  --wa-header:        #075E54;
  --wa-bg:            #ECE5DD;
  --wa-bubble-in:     #ffffff;
  --wa-bubble-out:    #DCF8C6;
  --wa-text:          #111b21;
  --wa-text-muted:    #667781;

  /* Spacing & Radius */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-pill: 999px;

  /* Transition */
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg:               #0a1628;
  --bg-card:          #0d1f3c;
  --bg-glass:         rgba(13,31,60,0.75);
  --text:             #e8edf5;
  --text-muted:       #8899b3;
  --text-inverse:     #ffffff;
  --border:           rgba(255,255,255,0.07);
  --shadow:           0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:        0 20px 60px rgba(0,0,0,0.5);
  --nav-bg:           rgba(10,22,40,0.9);
  --wa-bg:            #0d1b2a;
  --wa-bubble-in:     #1e2f45;
  --wa-bubble-out:    #005c4b;
  --wa-text:          #e8edf5;
  --wa-text-muted:    #8899b3;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Utilities ---------- */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(40,167,69,0.3);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(40,167,69,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-inverse);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
[data-theme="dark"] .logo { color: var(--text); }

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
#footer .logo-img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); }
[data-theme="dark"] .nav-links a:hover { color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Theme Toggle */
#theme-toggle {
  width: 56px;
  height: 28px;
  background: var(--color-secondary);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
  overflow: hidden;
}
#theme-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  z-index: 1;
}
.toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  z-index: 0;
  transition: opacity 0.3s;
}
.toggle-sun {
  left: 6px;
  color: #f9a825;
  opacity: 0;
}
.toggle-moon {
  right: 6px;
  color: #fff;
  opacity: 1;
}
[data-theme="dark"] #theme-toggle { background: var(--color-accent); }
[data-theme="dark"] #theme-toggle::after { transform: translateX(28px); }
[data-theme="dark"] .toggle-sun { opacity: 1; }
[data-theme="dark"] .toggle-moon { opacity: 0; }

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(40,167,69,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1.5px solid rgba(40,167,69,0.5);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.hero-title span { color: var(--color-accent); }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ---------- PHONE MOCKUP (Hero) ---------- */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-float {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-18px); }
}

/* ---------- PHONE COMPONENT (shared) ---------- */
.phone {
  width: 280px;
  background: #1c1c1e;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  flex-shrink: 0;
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--wa-bg);
  display: flex;
  flex-direction: column;
  height: 540px;
}

/* WhatsApp header bar */
.wa-header {
  background: var(--wa-header);
  padding: 10px 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.wa-header-back { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.wa-contact { flex: 1; }
.wa-contact-name { font-size: 0.88rem; font-weight: 600; color: #fff; }
.wa-contact-status { font-size: 0.68rem; color: rgba(255,255,255,0.7); }
.wa-header-icons { display: flex; gap: 14px; color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* Chat body */
.wa-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wa-body::-webkit-scrollbar { width: 0; }
.wa-body { scroll-behavior: smooth; }

/* Bubbles */
.bubble {
  max-width: 75%;
  padding: 7px 10px 5px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.bubble.show { opacity: 1; transform: translateY(0); }

.bubble-in {
  background: var(--wa-bubble-in);
  color: var(--wa-text);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.bubble-out {
  background: var(--wa-bubble-out);
  color: var(--wa-text);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.bubble-time {
  font-size: 0.6rem;
  color: var(--wa-text-muted);
  text-align: right;
  margin-top: 2px;
}
.bubble-check { color: #53bdeb; }

/* Input bar */
.wa-input-bar {
  background: var(--wa-bg);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wa-input-field {
  flex: 1;
  background: var(--wa-bubble-in);
  color: var(--wa-text);
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
}
.wa-send-btn {
  width: 36px; height: 36px;
  background: var(--wa-header);
  border: none; border-radius: 50%;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}
.wa-send-btn:hover { background: #128C7E; transform: scale(1.1); }


/* ============================================================
   VANTAGENS SECTION
   ============================================================ */
#vantagens {
  padding: 100px 0;
  background: var(--bg);
  transition: background var(--transition);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vantagem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s, background var(--transition), border-color var(--transition);
}
.vantagem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vantagem-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.vantagem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.vantagem-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ============================================================
   SOLUÇÕES SECTION
   ============================================================ */
#solucoes {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
  transition: background var(--transition);
}

.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solucao-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s, background var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.solucao-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solucao-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.solucao-icon-wrap.view     { background: linear-gradient(135deg, #0f3a69, #1a5499); }
.solucao-icon-wrap.call     { background: linear-gradient(135deg, #075E54, #25D366); }
.solucao-icon-wrap.flock    { background: linear-gradient(135deg, #e67e22, #f39c12); }
.solucao-icon-wrap.intel    { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.solucao-icon-wrap.whistle  { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.solucao-icon-wrap.insights { background: linear-gradient(135deg, #2980b9, #3498db); }
.solucao-icon-wrap.crowd    { background: linear-gradient(135deg, #16a085, #1abc9c); }
.solucao-icon-wrap.rewards  { background: linear-gradient(135deg, #d4a017, #f1c40f); }

.solucao-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.solucao-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.solucao-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.solucao-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1rem;
  flex: 1;
}
.solucao-features li {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.solucao-features li::before {
  content: '→';
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.solucao-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}
.solucao-link:hover {
  gap: 10px;
  color: var(--color-accent);
}
[data-theme="dark"] .solucao-link { color: var(--color-accent); }
[data-theme="dark"] .solucao-link:hover { color: #fff; }


/* ============================================================
   DEMOS SECTION (formerly FEATURES)
   ============================================================ */
#demos {
  padding: 100px 0;
  background: var(--bg);
  transition: background var(--transition);
}

/* Feature Cards */
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-card.reverse { direction: rtl; }
.feature-card.reverse > * { direction: ltr; }

.feature-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.feature-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.6rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(15,58,105,0.08);
  color: var(--color-primary);
  border: 1px solid rgba(15,58,105,0.12);
}
[data-theme="dark"] .tag {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border-color: var(--border);
}

.feature-card-phone {
  display: flex;
  justify-content: center;
}

/* Demo start button */
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 1rem;
}
.demo-btn:hover { background: var(--color-primary-light); transform: translateY(-1px); }

/* ---------- DEMO B — Audio ---------- */
.audio-bubble-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-bubble-out);
  border-radius: 8px;
  border-bottom-right-radius: 2px;
  padding: 8px 12px;
  align-self: flex-end;
  max-width: 85%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.audio-bubble-wrap.show { opacity: 1; transform: translateY(0); }

.audio-play-icon {
  width: 28px; height: 28px;
  background: var(--wa-header);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.7rem;
  flex-shrink: 0;
}
[data-theme="dark"] .audio-play-icon {
  background: #34b171;
}
.audio-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}
.audio-waveform span {
  display: inline-block;
  width: 3px;
  background: var(--wa-header);
  border-radius: 2px;
  opacity: 0.6;
}
[data-theme="dark"] .audio-waveform span {
  background: #8bedb2;
  opacity: 0.8;
}
.audio-duration { font-size: 0.68rem; color: var(--wa-text-muted); white-space: nowrap; }

/* Waveform animation */
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1); }
}

/* Summary card inside chat */
.summary-card {
  background: var(--wa-bubble-in);
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  padding: 10px;
  align-self: flex-start;
  max-width: 88%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.summary-card.show { opacity: 1; transform: translateY(0); }
.summary-card h5 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wa-header);
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.summary-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.summary-card ul li {
  font-size: 0.72rem;
  color: var(--wa-text);
  display: flex; align-items: flex-start; gap: 5px;
}
.summary-card ul li::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Thinking indicator */
.thinking-bubble {
  background: var(--wa-bubble-in);
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  padding: 8px 12px;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: flex; align-items: center; gap: 6px;
}
.thinking-bubble.show { opacity: 1; transform: translateY(0); }
.thinking-bubble span {
  width: 6px; height: 6px;
  background: var(--wa-text-muted);
  border-radius: 50%;
  animation: dot-bounce 1.2s infinite ease;
}
.thinking-bubble span:nth-child(2) { animation-delay: 0.2s; }
.thinking-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* ---------- DEMO C — Shelf Recognition ---------- */
.shelf-img-bubble {
  align-self: flex-end;
  max-width: 88%;
  border-radius: 8px;
  border-bottom-right-radius: 2px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.shelf-img-bubble.show { opacity: 1; transform: translateY(0); }
.shelf-img-bubble img { width: 100%; display: block; height: 120px; object-fit: cover; }

/* Bounding boxes overlay */
.bbox-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bbox {
  position: absolute;
  border: 2px solid #ff3b3b;
  border-radius: 3px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bbox.show { opacity: 1; transform: scale(1); }
.bbox-label {
  position: absolute;
  top: -18px; left: -1px;
  background: #ff3b3b;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Report card (demo C) */
.report-card {
  background: var(--wa-bubble-in);
  border-radius: 8px;
  border-bottom-left-radius: 2px;
  padding: 9px;
  align-self: flex-start;
  max-width: 90%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}
.report-card.show { opacity: 1; transform: translateY(0); }
.report-card h5 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--wa-header);
  margin-bottom: 5px;
  display: flex; align-items: center; gap: 5px;
}
.report-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--wa-text);
  padding: 3px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.report-row:last-child { border-bottom: none; }
.report-row strong { color: var(--color-accent); }


/* ============================================================
   SOBRE NÓS SECTION
   ============================================================ */
#sobre {
  padding: 100px 0;
  background: var(--bg-card);
  transition: background var(--transition);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.sobre-content .section-title {
  text-align: left;
}

.sobre-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sobre-num {
  text-align: center;
}
.sobre-num strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 12px;
  color: #fff;
  font-size: 1.1rem;
  margin: 0 auto 0.6rem;
}
.sobre-num span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 500;
}

/* Floating cards visual */
.sobre-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-card-stack {
  position: relative;
  width: 100%;
  height: 340px;
}

.sobre-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: card-float 5s ease-in-out infinite;
}
.sobre-float-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-lg);
}

.sobre-float-card i {
  font-size: 1.4rem;
  color: var(--color-primary);
}
[data-theme="dark"] .sobre-float-card i {
  color: var(--color-accent);
}
.sobre-float-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.sobre-float-card.card-1 { top: 10%; left: 5%; animation-delay: 0s; }
.sobre-float-card.card-2 { top: 5%;  right: 5%; animation-delay: 1.2s; }
.sobre-float-card.card-3 { bottom: 25%; left: 10%; animation-delay: 0.6s; }
.sobre-float-card.card-4 { bottom: 5%; right: 10%; animation-delay: 1.8s; }

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}


/* ============================================================
   CTA SECTION
   ============================================================ */
#cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(40,167,69,0.15) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #060f1e;
  color: rgba(255,255,255,0.5);
  padding: 50px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--color-accent); }
.footer-legal-links { display: flex; gap: 10px; align-items: center; }
.footer-legal-links span { color: rgba(255,255,255,0.2); }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .solucoes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone-wrap { display: none; }

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

  .feature-card { grid-template-columns: 1fr; gap: 40px; }
  .feature-card.reverse { direction: ltr; }
  .feature-card-phone { order: -1; }

  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-visual { min-height: 280px; }
  .sobre-content .section-title { text-align: center; }
  .sobre-content { text-align: center; }

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

  .nav-links { display: none; }
  .nav-right .btn-primary { display: none; }
  .mobile-menu-btn { display: flex; }
  .logo-img { height: 42px; }
}

@media (max-width: 600px) {
  .vantagens-grid { grid-template-columns: 1fr; }
  .solucoes-grid { grid-template-columns: 1fr; }
  .sobre-numbers { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .phone { width: 240px; }
  .phone-screen { height: 460px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}


