/* ========================================
   VAREJO PRO — Site Institucional
   varejo.pro
   ======================================== */

/* ---------- Custom Properties ---------- */
:root {
  --primary:    #1D3557;
  --secondary:  #2A9D8F;
  --accent:     #E63946;
  --bg:         #F8FAFC;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --success:    #16A34A;
  --danger:     #DC2626;

  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --transition: 240ms cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.section-eyebrow.danger { color: var(--accent); }
.section-eyebrow.success { color: var(--success); }

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

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
}

.section-text {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.text-danger  { color: var(--accent); }
.text-success { color: var(--success); }
.highlight    { color: var(--secondary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: #152843;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,53,87,.3);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #c62f3a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,57,70,.35);
}

.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-1px);
}

.btn-lg  { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-xl  { padding: 18px 40px; font-size: 1.1rem; border-radius: 12px; font-weight: 700; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Logo ---------- */
.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo-varejo { color: var(--primary); }
.logo-pro    { color: var(--secondary); }
.logo-light .logo-varejo { color: var(--white); }
.logo-light .logo-pro    { color: var(--secondary); }

/* Logo no header transparente: branco sobre o hero azul */
.header .logo .logo-varejo { color: var(--white); }
.header.scrolled .logo .logo-varejo { color: var(--primary); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay  { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }

/* ==========================================
   HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
  padding: 10px 0;
}
.header.scrolled .logo-varejo { color: var(--primary); }
.header.scrolled .nav-link    { color: var(--gray-600); }
.header.scrolled .nav-login   { color: var(--gray-600); }
.header.scrolled .hamburger span { background: var(--primary); }

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.header.scrolled .nav-link:hover { background: var(--gray-100); color: var(--primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-login {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}
.nav-login:hover { color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 99;
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-overlay.visible { opacity: 1; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  background: var(--primary);
  color: var(--white);
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(42,157,143,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 20%, rgba(230,57,70,.12) 0%, transparent 60%),
    linear-gradient(135deg, #1D3557 0%, #162944 100%);
  pointer-events: none;
}

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

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,157,143,.2);
  border: 1px solid rgba(42,157,143,.4);
  color: #7FDED5;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-title .highlight { color: var(--secondary); }

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-trust {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 240px;
  height: 490px;
  background: #0f172a;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 40px 80px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 80px;
  height: 20px;
  background: #0f172a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 4px;
  position: relative;
  z-index: 3;
}

.phone-screen {
  background: var(--gray-50);
  border-radius: 28px;
  height: calc(100% - 28px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-header {
  background: var(--primary);
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.app-logo-small {
  font-size: .65rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .04em;
}
.app-logo-small b { color: var(--secondary); font-weight: 900; }
.app-store-name {
  font-size: .7rem;
  color: rgba(255,255,255,.7);
}

.app-stats {
  display: flex;
  padding: 8px 8px 6px;
  gap: 4px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.app-stat {
  flex: 1;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: .75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-num.green { color: var(--secondary); }
.stat-label {
  display: block;
  font-size: .5rem;
  color: var(--gray-400);
  line-height: 1.2;
}

.app-section-title {
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  padding: 6px 10px 3px;
}

.app-semaphore {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 10px 6px;
}
.sem-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .62rem;
  color: var(--gray-600);
}
.sem-item b { margin-left: auto; font-weight: 700; }
.sem-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sem-item.green .sem-dot { background: #16A34A; }
.sem-item.yellow .sem-dot { background: #D97706; }
.sem-item.red .sem-dot { background: var(--accent); }

.app-notif {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  margin: 0 8px 6px;
  padding: 6px 8px;
  border-radius: 8px;
  border-left: 3px solid #16A34A;
}
.notif-icon { flex-shrink: 0; }
.notif-content {
  font-size: .58rem;
  color: #166534;
  line-height: 1.4;
}
.notif-content b { display: block; }
.notif-time { font-size: .5rem; opacity: .7; }

.app-recent {
  padding: 0 8px 8px;
  flex: 1;
}
.recent-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.recent-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: .5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.recent-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.recent-info span {
  font-size: .62rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-info small {
  font-size: .5rem;
  color: var(--gray-400);
}
.recent-badge {
  font-size: .55rem;
  color: var(--white);
  background: #16A34A;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Floating Cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.float-card > div { display: flex; flex-direction: column; }
.float-card strong { font-size: .8rem; color: var(--gray-800); white-space: nowrap; }
.float-card small  { font-size: .7rem; color: var(--gray-400); }
.float-icon { font-size: 1.3rem; }

.float-card-1 {
  right: -20px;
  top: 60px;
  animation-delay: 0s;
}
.float-card-2 {
  left: -20px;
  bottom: 80px;
  animation-delay: 2s;
}

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

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; }

/* ==========================================
   PROBLEMA + SOLUÇÃO
   ========================================== */
.section-problema {
  background: var(--white);
}

.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problema-col .section-title { font-size: clamp(1.4rem, 3vw, 2rem); }

.problema-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.problema-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--gray-600);
}
.problema-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.problema-item.bad svg  { stroke: var(--accent); }
.problema-item.good svg { stroke: var(--success); }

/* ==========================================
   COMO FUNCIONA (STEPS)
   ========================================== */
.section-steps {
  background: var(--bg);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}

.step-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  margin-top: 8px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-text {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  width: 48px;
  padding: 0 4px;
}
.step-connector svg { width: 100%; }

.steps-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.steps-cta-note {
  font-size: .85rem;
  color: var(--gray-400);
}

/* ==========================================
   FUNCIONALIDADES
   ========================================== */
.section-features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon { font-size: 1.5rem; line-height: 1; }

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-text {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================
   PARA QUEM
   ========================================== */
.section-paraquem {
  background: var(--bg);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.segment-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}
.segment-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(42,157,143,.1);
  transform: translateY(-2px);
}

.segment-icon { font-size: 1.5rem; flex-shrink: 0; }

.segment-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

.segments-note {
  text-align: center;
  color: var(--gray-400);
  font-size: .9rem;
}

/* ==========================================
   PREÇO
   ========================================== */
.section-preco {
  background: var(--white);
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(42,157,143,.25) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.pricing-plan {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 8px;
  line-height: 1;
}
.price-prefix { font-size: 1.2rem; font-weight: 700; margin-top: 12px; }
.price-amount { font-size: 4rem; font-weight: 900; }
.price-cents  { font-size: 1.5rem; font-weight: 700; margin-top: 16px; }
.price-period { font-size: 1rem; color: rgba(255,255,255,.6); margin-top: 24px; margin-left: 4px; }

.pricing-trial {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.pricing-features svg {
  width: 16px;
  height: 16px;
  stroke: var(--secondary);
  flex-shrink: 0;
}

.pricing-disclaimer {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin-top: 12px;
}

/* Comparison */
.pricing-comparison {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.comparison-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.comparison-icon.bad  { background: #fee2e2; color: var(--danger); }
.comparison-icon.good { background: #dcfce7; color: var(--success); }
.comparison-item > div { display: flex; flex-direction: column; gap: 3px; }
.comparison-item strong { font-size: .95rem; font-weight: 700; color: var(--gray-800); }
.comparison-item small  { font-size: .85rem; color: var(--gray-400); }

/* ==========================================
   CTA FINAL
   ========================================== */
.section-cta-final {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.section-cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(42,157,143,.2) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(230,57,70,.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-final-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-final-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-final-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
}

.cta-final-note {
  margin-top: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,.7);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}

.footer-link {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer-made { color: rgba(255,255,255,.25); }

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 200;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet: 900px */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-badge { margin: 0 auto 24px; }

  .hero-visual { display: flex; }
  .float-card-1 { right: -10px; }
  .float-card-2 { left: -10px; }

  .problema-grid { grid-template-columns: 1fr; gap: 48px; }

  .steps-grid {
    flex-direction: column;
    gap: 32px;
  }
  .step-card { width: 100%; max-width: 400px; margin: 0 auto; }
  .step-connector { transform: rotate(90deg); }

  .pricing-wrap { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

/* Mobile: 640px */
@media (max-width: 640px) {
  .section { padding: 60px 0; }

  .nav-links,
  .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu — slides in */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    padding: 80px 24px 40px;
    box-shadow: -4px 0 40px rgba(0,0,0,.15);
    z-index: 100;
    overflow-y: auto;
  }
  .nav-links.mobile-open .nav-link {
    color: var(--gray-800);
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
    font-size: 1rem;
  }
  .nav-links.mobile-open .nav-link:last-child { border-bottom: none; }

  .hero { padding: 120px 0 80px; }

  .phone-mockup { width: 200px; height: 400px; }

  .float-card { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-card { padding: 20px 16px; }

  .segments-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .segment-card { flex-direction: column; text-align: center; padding: 16px 12px; }

  .pricing-card { padding: 28px 24px; }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* Small Mobile: 380px */
@media (max-width: 380px) {
  .features-grid  { grid-template-columns: 1fr; }
  .segments-grid  { grid-template-columns: 1fr; }
  .hero-ctas      { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}
