/* =============================================
   VIP Feno — Base CSS
   Variáveis, reset, header, footer, fab
   ============================================= */

/* === Variáveis === */
:root {
  --vf-green:       #1E5C2E;
  --vf-lime:        #6DBE45;
  --vf-green-light: #EDFBE2;
  --vf-chalk:       #F5F2EC;
  --vf-white:       #FFFFFF;
  --vf-dark:        #1A1A1A;
  --vf-text:        #1A1A1A;
  --vf-muted:       #5A5A5A;
  --vf-radius:      8px;
  --vf-shadow:      0 2px 16px rgba(0,0,0,0.08);
  --vf-transition:  0.2s ease;
  --vf-header-h:    72px;
  --vf-container:   1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        color: var(--vf-text); background: var(--vf-white); line-height: 1.6; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* === Utilitários === */
.vf-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--vf-green);
  margin-bottom: 16px;
  line-height: 1.2;
}
.vf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--vf-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--vf-transition), color var(--vf-transition), transform var(--vf-transition);
}
.vf-btn:hover { transform: translateY(-1px); }
.vf-btn--dark  { background: var(--vf-green); color: var(--vf-white); }
.vf-btn--dark:hover { background: var(--vf-lime); color: var(--vf-dark); }
.vf-btn--lime  { background: var(--vf-lime); color: var(--vf-dark); }
.vf-btn--lime:hover { background: #5aaa38; color: var(--vf-white); }
.vf-btn--outline {
  background: transparent;
  color: var(--vf-green);
  border: 2px solid var(--vf-green);
}
.vf-btn--outline:hover { background: var(--vf-green); color: var(--vf-white); }

/* === Reveal — animação ao scroll === */
.vf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
.vf-reveal--left  { transform: translateX(-36px); }
.vf-reveal--right { transform: translateX(36px); }
.vf-reveal--scale { transform: scale(0.93) translateY(16px); }
.vf-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vf-reveal { opacity: 1; transform: none; transition: none; }
}

/* === Barra de progresso de scroll === */
#vf-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--vf-lime);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* === Header === */
.vf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--vf-chalk);
  transition: box-shadow var(--vf-transition);
}
.vf-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.12); }

.vf-header__inner {
  max-width: var(--vf-container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--vf-header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.vf-header__logo         { flex-shrink: 0; display: flex; align-items: center; }
.vf-header__logo-img     { height: 57px; width: auto; }
.vf-header__logo-text    { font-size: 1.25rem; font-weight: 700; color: var(--vf-green); }

.vf-nav { display: flex; align-items: center; gap: 28px; margin: 0 auto; }
.vf-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--vf-text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--vf-transition);
}
.vf-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--vf-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--vf-transition);
}
.vf-nav__link:hover,
.vf-nav__link--active          { color: var(--vf-green); }
.vf-nav__link:hover::after,
.vf-nav__link--active::after   { transform: scaleX(1); }

.vf-header__social {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.vf-header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--vf-green);
  transition: background var(--vf-transition), color var(--vf-transition);
}
.vf-header__social-link:hover {
  background: var(--vf-green);
  color: var(--vf-white);
}

/* Toggle mobile */
.vf-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.vf-nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--vf-green);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.vf-nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vf-nav__toggle.open span:nth-child(2) { opacity: 0; }
.vf-nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Footer === */
.vf-footer { background: var(--vf-dark); color: rgba(255,255,255,0.65); padding: 48px 24px 32px; }
.vf-footer__inner {
  max-width: var(--vf-container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.vf-footer__logo      { height: 47px; width: auto; filter: brightness(0) invert(1); }
.vf-footer__logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; }
.vf-footer__nav       { display: flex; gap: 20px; flex-wrap: wrap; }
.vf-footer__nav-link  { font-size: 0.88rem; transition: color var(--vf-transition); }
.vf-footer__nav-link:hover { color: var(--vf-lime); }
.vf-footer__wa {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--vf-lime); font-size: 0.88rem;
  transition: opacity var(--vf-transition);
}
.vf-footer__wa:hover { opacity: 0.8; }
.vf-footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.vf-footer__dev { color: rgba(255,255,255,0.25); }
.vf-footer__dev a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--vf-transition);
}
.vf-footer__dev a:hover { color: var(--vf-lime); }

.vf-footer__utils {
  display: flex;
  gap: 16px;
  align-items: center;
}
.vf-footer__util-link {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  transition: color var(--vf-transition);
}
.vf-footer__util-link:hover { color: rgba(255,255,255,0.55); }

/* === Botão Flutuante WhatsApp (FAB) === */
.vf-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--vf-lime);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(109,190,69,0.45);
  transition: transform var(--vf-transition), box-shadow var(--vf-transition);
  animation: vf-pulse 2.5s ease-in-out infinite;
}
.vf-fab:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 6px 28px rgba(109,190,69,0.65);
}
@keyframes vf-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(109,190,69,0.45); }
  50%     { box-shadow: 0 4px 32px rgba(109,190,69,0.75); }
}

/* === Responsividade Global === */
@media (max-width: 768px) {
  :root { --vf-header-h: auto; }

  .vf-header__inner {
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 12px;
  }
  .vf-nav__toggle   { display: flex; order: 3; }
  .vf-header__social { order: 2; }

  .vf-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    order: 4;
    padding: 4px 0 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .vf-nav.open        { display: flex; }
  .vf-nav__link       { padding: 12px 4px; font-size: 1rem; width: 100%; }
  .vf-nav__link::after { display: none; }

  .vf-fab { bottom: 16px; right: 16px; }

  .vf-footer__inner   { flex-direction: column; align-items: flex-start; }
  .vf-footer__copy    { text-align: left; }
  .vf-footer__utils   { margin-top: 4px; }
}
