/* ============================================================
   VetClinic Hub — Design System
   Paleta original:
   --navy:    #0F172A  (azul-marinho profundo)
   --emerald: #10B981  (verde-esmeralda)
   --gray-bg: #F8FAFC
   --gray-mid:#64748B
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', sans-serif; color: #0F172A; background: #fff; }

/* ---- CSS Variables ---- */
:root {
  --navy:         #0F172A;
  --navy-light:   #1E293B;
  --navy-muted:   #334155;
  --emerald:      #10B981;
  --emerald-dark: #059669;
  --emerald-light:#D1FAE5;
  --gray-bg:      #F8FAFC;
  --gray-mid:     #64748B;
  --gray-light:   #E2E8F0;
  --white:        #FFFFFF;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-bg); }
::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 99px; }

/* ---- Selection ---- */
::selection { background: var(--emerald); color: white; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-float  { animation: float  6s ease-in-out infinite; }
.animate-floatB { animation: floatB 6s ease-in-out 2s infinite; }
.animate-floatC { animation: floatC 6s ease-in-out 4s infinite; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1),
              transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-right.visible { opacity: 1; transform: none; }

/* Grid stagger */
.reveal:nth-child(2)  { transition-delay:.06s; }
.reveal:nth-child(3)  { transition-delay:.12s; }
.reveal:nth-child(4)  { transition-delay:.18s; }
.reveal:nth-child(5)  { transition-delay:.24s; }
.reveal:nth-child(6)  { transition-delay:.30s; }
.reveal:nth-child(7)  { transition-delay:.36s; }
.reveal:nth-child(8)  { transition-delay:.40s; }

/* ============================================================
   UTILITY COMPONENTS
   ============================================================ */
.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,.08);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(16,185,129,.2);
  letter-spacing: .01em;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--navy-muted);
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 5px 13px;
  border-radius: 99px;
  box-shadow: 0 1px 4px rgba(15,23,42,.05);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar { background: transparent; }
#navbar.scrolled #navbar-inner {
  background: rgba(255,255,255,.97) !important;
  box-shadow: 0 2px 20px rgba(15,23,42,.08);
}

/* ============================================================
   HERO HEADLINE — emerald solid (sem gradiente multi-cor)
   ============================================================ */
.hero-headline-grad {
  color: var(--emerald);
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--gray-light);
  transition: all .3s cubic-bezier(.22,1,.36,1);
  cursor: default;
}
.feat-card:hover {
  border-color: rgba(16,185,129,.25);
  box-shadow: 0 16px 40px rgba(16,185,129,.07);
  transform: translateY(-3px);
}
.feat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform .25s ease;
}
.feat-card:hover .feat-icon { transform: scale(1.08); }
.feat-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.feat-desc  { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-feature-row { display: flex; align-items: flex-start; gap: 12px; }
.ai-icon {
  width: 34px; height: 34px;
  background: rgba(16,185,129,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}

/* ============================================================
   SCREEN CARDS
   ============================================================ */
.screen-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.screen-card:hover {
  box-shadow: 0 20px 48px rgba(15,23,42,.12);
  transform: translateY(-4px);
}
.screen-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
}
.screen-label {
  background: var(--gray-bg);
  border-top: 1px solid var(--gray-light);
  padding: 9px 16px;
  font-size: 10.5px; font-weight: 600;
  color: var(--gray-mid);
  text-align: center;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.internacao-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 10px;
  padding: 6px 8px; border: 1px solid;
}

/* ============================================================
   BENEFIT CARDS
   ============================================================ */
.benefit-card {
  padding: 32px; border-radius: 22px;
  border: 1px solid var(--gray-light);
  transition: all .3s cubic-bezier(.22,1,.36,1);
  background: var(--white);
}
.benefit-card:hover {
  border-color: rgba(16,185,129,.2);
  box-shadow: 0 16px 40px rgba(15,23,42,.07);
  transform: translateY(-3px);
}
.benefit-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

/* ============================================================
   FOR WHO CARDS
   ============================================================ */
.forquem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 24px; padding: 36px;
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.forquem-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(16,185,129,.25);
  transform: translateY(-4px);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comp-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.comp-feat {
  padding: 14px 24px; font-size: 14px; font-weight: 500;
  color: var(--navy); display: flex; align-items: center;
}
.comp-yes {
  padding: 14px; display: flex; align-items: center;
  justify-content: center; background: rgba(15,23,42,.02);
}
.comp-no  {
  padding: 14px; display: flex; align-items: center;
  justify-content: center; gap: 4px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white); border-radius: 22px; padding: 28px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition: all .3s cubic-bezier(.22,1,.36,1);
}
.testimonial-card:hover {
  box-shadow: 0 16px 40px rgba(15,23,42,.08);
  transform: translateY(-3px);
  border-color: rgba(16,185,129,.18);
}

/* ============================================================
   FORM
   ============================================================ */
.form-group { display: flex; flex-direction: column; }
.form-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.input-wrapper { position: relative; }
.input-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 15px; height: 15px; color: #94A3B8; pointer-events: none;
}
.form-input {
  width: 100%; padding: 12px 14px 12px 40px;
  border-radius: 12px; border: 1.5px solid var(--gray-light);
  font-size: 14px; color: var(--navy); background: var(--gray-bg);
  outline: none; transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.form-input.error { border-color: #F87171; background: #FFF8F8; }
.form-input.error:focus { box-shadow: 0 0 0 3px rgba(248,113,113,.1); }
.form-input.success { border-color: var(--emerald); background: var(--emerald-light); }
.form-error { font-size: 12px; color: #EF4444; margin-top: 4px; min-height: 18px; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-link {
  font-size: 13px; color: #64748B; text-decoration: none; transition: color .2s;
}
.footer-link:hover { color: #CBD5E1; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #64748B; transition: all .2s;
}
.social-btn:hover {
  background: var(--emerald); border-color: var(--emerald);
  color: white; transform: translateY(-2px);
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
#scroll-top { display: none; }
#scroll-top.show { display: flex; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .comp-feat { padding: 10px 12px; font-size: 12px; }
  .comp-yes, .comp-no { padding: 10px 6px; }
  .feat-card, .benefit-card, .testimonial-card { padding: 20px; }
  .forquem-card { padding: 24px; }
}
@media (max-width: 480px) {
  .comp-feat { padding: 8px 8px; font-size: 11px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-right { transition: none; opacity: 1; transform: none; }
  .animate-float, .animate-floatB, .animate-floatC { animation: none; }
  * { animation-duration: .01ms !important; }
}
