/* ============================================================
   DELIVERYGO - DESIGN SYSTEM & ESTILOS PRINCIPAIS (MOBILE FIRST)
   Paleta: Dark Emerald Moderno + Glassmorphism + Neon Accents
   100% Responsivo e Otimizado para Celulares (Sem estouro de tela)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-body: #070b12;
  --bg-surface: #0d1320;
  --bg-card: rgba(15, 23, 38, 0.85);
  --bg-card-hover: rgba(22, 34, 56, 0.95);
  --bg-glass: rgba(13, 19, 32, 0.92);
  
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-glow: #00f29d;
  --primary-dark: #059669;
  --accent-cyan: #06b6d4;
  --accent-amber: #f59e0b;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-active: rgba(0, 242, 157, 0.45);
  --border-hover: rgba(52, 211, 153, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(0, 242, 157, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET TOTAL E PROTEÇÃO CONTRA OVERFLOW */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0; /* Impede que filhos de flex/grid quebrem a largura do pai */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Glow decorativo de fundo seguro */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 450px);
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: normal;
}

p {
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ============================================================
   TYPOGRAPHY & UTILITIES
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, var(--primary-light) 65%, var(--primary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.28);
  max-width: 100%;
  overflow-wrap: break-word;
}

.badge-free {
  background: rgba(0, 242, 157, 0.18);
  color: var(--primary-glow);
  border: 1px solid rgba(0, 242, 157, 0.4);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.74rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-glow);
  box-shadow: 0 0 8px var(--primary-glow);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section-header .badge {
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 10px;
}

.section-header p {
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  color: var(--text-secondary);
}

/* ============================================================
   HEADER / NAVBAR (TOTALMENTE RESPONSIVA)
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 900;
  background: rgba(7, 11, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: 100%;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03150d;
  font-size: 1rem;
  box-shadow: 0 0 14px rgba(0, 242, 157, 0.3);
  flex-shrink: 0;
}

.logo-text span {
  color: var(--primary-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 5px 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

/* Botões exclusivos do menu gaveta mobile: NUNCA aparecem na barra horizontal do desktop */
.mobile-drawer-btn {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-actions .btn {
  min-height: 36px;
  padding: 6px 14px;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-change-profile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 11px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  min-height: 36px;
  flex-shrink: 0;
}

.btn-change-profile:hover {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  border-color: var(--border-hover);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-main);
  width: 40px;
  height: 40px;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   BOTÕES TOUCH-FRIENDLY
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-align: center;
  min-height: 44px;
  touch-action: manipulation;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover, .btn-primary:active {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover, .btn-whatsapp:active {
  background: linear-gradient(135deg, #2ce470 0%, #159b8c 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover, .btn-outline:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--primary-light);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.95rem;
  min-height: 48px;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ============================================================
   MODAL DE PRIMEIRO ACESSO (100% RESPONSIVO)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 12, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(150deg, rgba(16, 24, 40, 0.98), rgba(9, 14, 25, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.15);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px 18px;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-header .badge {
  margin-bottom: 8px;
}

.modal-header h2 {
  font-size: clamp(1.25rem, 3.8vw, 1.85rem);
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 560px;
  margin: 0 auto;
}

.modal-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
  width: 100%;
}

.modal-choice-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.modal-choice-card:hover, .modal-choice-card:active {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--border-active);
}

.choice-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.choice-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.modal-choice-card h3 {
  font-size: clamp(1.1rem, 3.2vw, 1.25rem);
  margin-bottom: 6px;
  color: #fff;
}

.modal-choice-card p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.choice-features {
  margin-bottom: 16px;
}

.choice-features li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.choice-features li span.check {
  color: var(--primary-light);
  font-weight: bold;
}

.choice-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

.modal-choice-card:hover .choice-action-btn {
  background: var(--primary);
  color: #03150d;
}

.modal-footer {
  text-align: center;
  padding-top: 6px;
}

.modal-footer-skip {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 6px 10px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding: 30px 0 40px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.hero-content .badge {
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(1.65rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.18;
}

.hero-description {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.15rem, 3.2vw, 1.45rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.trust-number span {
  color: var(--primary-light);
}

.trust-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* HERO VISUAL CARD */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px 16px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.hero-card-header span:first-child {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  padding: 4px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-delivery-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
  width: 100%;
}

.hero-delivery-item:last-child {
  margin-bottom: 0;
}

.delivery-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.delivery-item-info {
  flex: 1 1 auto;
  min-width: 0;
}

.delivery-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-item-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.delivery-item-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================================
   BANNER SELETOR RÁPIDO
   ============================================================ */
.profile-selector-banner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  margin-bottom: 40px;
  width: 100%;
}

.selector-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.selector-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
}

.selector-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.selector-text h4 {
  font-size: 0.96rem;
}

.selector-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.selector-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   QUEM SOMOS (ABOUT US)
   ============================================================ */
.section-about {
  padding: 45px 0;
  position: relative;
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.about-text h3 {
  font-size: clamp(1.4rem, 3.8vw, 1.95rem);
  margin-bottom: 14px;
}

.about-text p {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.pillar-icon {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--primary-light);
}

.pillar-card h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.pillar-card p {
  font-size: 0.78rem;
  margin-bottom: 0;
  color: var(--text-muted);
}

.about-stats-card {
  background: linear-gradient(145deg, rgba(20, 29, 48, 0.85), rgba(12, 18, 32, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px 18px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.stats-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
}

.stat-box-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-box-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ============================================================
   O QUE OFERECEMOS (SERVICES)
   ============================================================ */
.section-services {
  padding: 45px 0;
  background: rgba(13, 19, 32, 0.5);
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary-light);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  padding: 3px 8px;
  color: var(--text-secondary);
}

/* ============================================================
   PREÇOS E PLANOS (PRICING)
   ============================================================ */
.section-pricing {
  padding: 45px 0;
  width: 100%;
}

.pricing-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  width: 100%;
}

.pricing-tabs {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  max-width: 100%;
}

.pricing-tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pricing-tab-btn.active {
  background: var(--primary);
  color: #03140c;
}

.pricing-panels {
  position: relative;
  width: 100%;
}

.pricing-panel {
  display: none;
  width: 100%;
}

.pricing-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.pricing-card.featured {
  background: linear-gradient(150deg, rgba(20, 32, 54, 0.95), rgba(12, 19, 34, 0.98));
  border-color: var(--primary);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.card-single-column {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.popular-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #03150d;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 16px;
}

.plan-type {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: 4px;
  display: block;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.pricing-currency {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-val {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.plan-features {
  flex-grow: 1;
  margin-bottom: 20px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.plan-features li svg {
  width: 15px;
  height: 15px;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   SIMULADOR DE TAXAS
   ============================================================ */
.simulator-box {
  background: linear-gradient(145deg, rgba(16, 25, 43, 0.9), rgba(10, 15, 27, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  margin-top: 36px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.simulator-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 20px;
}

.simulator-header h3 {
  font-size: clamp(1.2rem, 3.2vw, 1.55rem);
  margin-bottom: 6px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.sim-input-group {
  margin-bottom: 16px;
}

.sim-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.sim-label span.value-highlight {
  color: var(--primary-light);
  font-size: 0.95rem;
}

.sim-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.sim-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-glow);
  box-shadow: 0 0 10px var(--primary-glow);
  cursor: pointer;
  border: 2px solid #fff;
}

.simulator-result {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
}

.sim-result-title {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.sim-result-price {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 4px;
  line-height: 1;
}

.sim-result-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   DEPOIMENTOS / PROVA SOCIAL
   ============================================================ */
.section-testimonials {
  padding: 45px 0;
  background: rgba(13, 19, 32, 0.5);
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: 100%;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.test-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
  font-style: italic;
}

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

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.86rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 0.86rem;
  color: #fff;
}

.author-role {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ============================================================
   WHATSAPP & CONTATO DIRETO
   ============================================================ */
.section-contact {
  padding: 45px 0 65px;
  position: relative;
  width: 100%;
}

.contact-card {
  background: linear-gradient(145deg, rgba(16, 26, 45, 0.92), rgba(9, 14, 25, 0.97));
  border: 1px solid rgba(0, 242, 157, 0.25);
  border-radius: var(--radius-xl);
  padding: 28px 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.1);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  width: 100%;
}

.contact-info h2 {
  font-size: clamp(1.4rem, 3.8vw, 1.95rem);
  margin-bottom: 12px;
}

.contact-info p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact-points {
  margin-bottom: 20px;
}

.contact-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.86rem;
}

.point-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.whatsapp-chat-preview {
  background: rgba(10, 15, 25, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.whatsapp-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.wa-status-avatar {
  width: 34px;
  height: 34px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  flex-shrink: 0;
}

.wa-status-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #00f29d;
  border: 2px solid #0a0f19;
  border-radius: 50%;
}

.wa-header-info h4 {
  font-size: 0.88rem;
  color: #fff;
}

.wa-header-info span {
  font-size: 0.72rem;
  color: #25D366;
}

.wa-chat-bubble {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 12px 12px 12px 2px;
  padding: 12px;
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 14px;
}

.wa-chat-bubble .timestamp {
  display: block;
  text-align: right;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.wa-custom-msg-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  margin-bottom: 10px;
  outline: none;
  transition: var(--transition-fast);
}

.wa-custom-msg-input:focus {
  border-color: #25D366;
}

/* Formulário de contato / WhatsApp */
.contact-form-box {
  background: rgba(10, 15, 25, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.contact-form-box h3 {
  color: #fff;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  min-height: 90px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-textarea:focus {
  border-color: #25D366;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #04070d;
  border-top: 1px solid var(--border-subtle);
  padding: 38px 0 20px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
  width: 100%;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 12px;
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   BOTAO FLUTUANTE DE WHATSAPP
   ============================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-whatsapp-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp-tooltip {
  background: rgba(13, 19, 32, 0.95);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ============================================================
   MEDIA QUERIES ESPECÍFICAS PARA CELULAR & TABLET
   ============================================================ */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-card,
  .simulator-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  
  .services-grid,
  .pricing-panel.active,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 1200px) {
  .navbar {
    height: 60px;
  }

  /* Na barra superior mobile/tablet/notebooks compactos, mantemos o logo na esquerda e o hamburger na direita */
  .mobile-toggle {
    display: flex;
  }
  
  .nav-actions .btn-change-profile,
  .nav-actions .btn-whatsapp {
    display: none; /* Esconde no topo para não esmagar a barra; fica dentro do menu gaveta */
  }

  /* Gaveta do menu mobile */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(7, 11, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 18px;
    gap: 14px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-160%);
    transition: transform var(--transition-normal);
    z-index: 899;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
  }
  
  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1rem;
    width: 100%;
    text-align: center;
    padding: 6px 0;
  }

  .nav-menu .mobile-drawer-btn {
    display: flex !important;
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 768px) {

  /* Seções empilhadas no mobile */
  .services-grid,
  .pricing-panel.active,
  .testimonials-grid,
  .about-pillars,
  .stats-highlight-grid,
  .modal-options-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .card-single-column {
    grid-column: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .pricing-card {
    max-width: 100% !important;
    width: 100% !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
    margin-top: 10px;
  }

  .popular-ribbon {
    font-size: 0.65rem !important;
    padding: 3px 10px !important;
    top: -10px !important;
    white-space: normal !important;
    text-align: center;
    max-width: 90%;
  }

  .pricing-amount {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
  }

  .pricing-val {
    font-size: 2.2rem !important;
    line-height: 1.1 !important;
  }

  .pricing-period {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .plan-features li {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    display: flex;
  }

  .floating-whatsapp-tooltip {
    display: none;
  }
}

/* ============================================================
   TABELA COMPARATIVA & CALCULADORA: ENTREGA PRÓPRIA VS IFOOD
   ============================================================ */
.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  margin-top: 32px;
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.comparison-table th, 
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.4);
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table th.col-highlight {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary-light);
  border-left: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
}

.comparison-table td.col-highlight {
  background: rgba(16, 185, 129, 0.05);
  border-left: 1px solid rgba(16, 185, 129, 0.25);
  border-right: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
  color: #fff;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.profit-calc-card {
  background: linear-gradient(145deg, rgba(16, 25, 43, 0.95), rgba(10, 15, 27, 0.98));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  margin-top: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.profit-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.loss-alert-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
  text-align: center;
}

.loss-alert-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  font-weight: 800;
  color: #f87171;
  line-height: 1;
  margin: 6px 0;
}

.gain-alert-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
}

.gain-alert-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin: 6px 0;
}

.ifood-badge-vs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .profit-calc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* REGRAS MOBILE DEFINITIVAS PARA PAINÉIS E CARDS DE PREÇO */
  .pricing-panels {
    width: 100% !important;
    max-width: 100% !important;
  }

  .pricing-panel,
  .pricing-panel.active,
  #tab-parceria,
  #tab-app-empresa {
    display: none;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pricing-panel.active,
  #tab-parceria.active,
  #tab-app-empresa.active {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pricing-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 26px 18px !important;
    margin: 0 !important;
  }

  .card-single-column {
    max-width: 100% !important;
    width: 100% !important;
  }

  .pricing-amount {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }

  .pricing-val {
    font-size: 2.3rem !important;
    line-height: 1.1 !important;
  }

  .pricing-period {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }

  .plan-features li {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }

  .popular-ribbon {
    font-size: 0.65rem !important;
    padding: 3px 12px !important;
    top: -11px !important;
    max-width: 90% !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .pricing-tabs {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-lg);
  }

  .pricing-tab-btn {
    width: 100%;
    text-align: center;
    white-space: normal !important;
    padding: 10px 14px !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

