/* =============================================================
   components.css — Botões, Nav, Hero, Footer e Flutuantes
   ============================================================= */

/* ── BOTÕES ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--red);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--red);
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--red-light); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-white:hover { background: var(--red-light); }

.btn-green {
  display: inline-block;
  background: rgb(21, 70, 0);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 900;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

/* ── BOTÃO FIXO EXPERIMENTE GRÁTIS ── */
.btn-experimente {
  position: fixed;
  top: 90px;
  right: 20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(200, 18, 26, 0.35);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  animation: bounceIn 0.6s ease both;
}
.btn-experimente:hover {
  background: var(--red-dark);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 28px rgba(200, 18, 26, 0.45);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  width: 128px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--red-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown (Desktop) */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown .arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  list-style: none;
  min-width: 180px;
  display: none;
  z-index: 110;
}

.dropdown-menu li {
  padding: 0px 20px;
  display: block;
  color: var(--gray-800);
  white-space: nowrap;
}

.dropdown-menu li a {
  padding: 8px 20px;
  display: block;
  color: var(--gray-800);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: var(--gray-200);
  color: var(--red);
}
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .dropdown:hover .arrow {
    transform: rotate(180deg);
  }
}
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 6px 0;
    margin-top: 4px;
    background: var(--white);
  }
  .dropdown.active .dropdown-menu {
    display: block;
  }
  .dropdown.active .arrow {
    transform: rotate(180deg);
  }
}

/* ── HERO PRINCIPAL ── */
.hero-section {
  background: var(--red);
  padding: 40px 5%;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 400px;
}
.hero-text {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  width: fit-content;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--gray-800);
  margin-bottom: 1rem;
}
.hero-text h1 em { font-style: normal; color: var(--red); }
.hero-text > p {
  font-size: 0.97rem;
  color: var(--gray-500);
  margin-bottom: 1.8rem;
  max-width: 400px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  display: block;
  margin-top: 3px;
}
.hero-img {
  position: relative;
  overflow: hidden;
  background: var(--red-light);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero Funcionalidades (varejo.html) */
.hero-func {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 55%, #e85d00 100%);
  padding: 72px 5% 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-func::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-func-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.hero-func-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(4px);
}
.hero-func h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.hero-func p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.hero-func-cta {
  display: inline-block;
  background: #fff;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-func-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ── FOOTER ── */
footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 56px 5% 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto 36px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  display: block;
}
.footer-logo em { font-style: normal; color: #e53935; }
footer p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}
footer h4 {
  font-family: var(--font-head);
  font-size: 0.87rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.9rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 7px; }
footer ul a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
footer ul a:hover { color: var(--white); }
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}
.footer-contact strong { color: rgba(255, 255, 255, 0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p,
.footer-bottom a { font-size: 0.8rem; color: rgba(255, 255, 255, 0.35); }
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); }

/* ── WHATSAPP FLUTUANTE ── */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}