/* =========================
   Validar Food - Professional Theme V7 Final (Interactive + Dark Footer)
   ========================= */

:root {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --text: #1e293b;
  --muted: #64748b;
  --card: #ffffff;
  --border: rgba(148, 163, 184, 0.2);

  --primary: #f59e0b;
  --primary2: #f97316;
  --primaryDark: #d97706;
  
  --darkSection: #0f172a; 

  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadowSoft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);

  --radius: 16px;
  --radius2: 24px;
  
  --max: 1350px; 
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*{ box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  background-image: 
    radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primaryDark); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER & LOGO --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; padding: 0; }
.logo-img { height: 200px; width: auto; display: block; object-fit: contain; }

.menu { display: flex; gap: 24px; align-items: center; }
.menu a { font-size: 15px; font-weight: 500; color: var(--muted); }
.menu a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--text); font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all 0.2s ease; box-shadow: var(--shadowSoft);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--text); }
.btn-primary {
  border: none; background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white; box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
}
.btn-primary:hover { color: white; filter: brightness(1.1); }

/* --- HERO --- */
.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr; 
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-flex; align-items: center; padding: 6px 12px;
  border-radius: 99px; background: rgba(245, 158, 11, 0.1);
  color: #b45309; font-weight: 700; font-size: 12px; text-transform: uppercase;
  margin-bottom: 24px;
}
.h1 {
  margin: 0 0 16px; font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #0f172a;
}
.h1 .accent { color: var(--primaryDark); }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 50ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.checklist { display: flex; flex-direction: column; gap: 12px; font-weight: 500; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: center; }
.check i {
  width: 20px; height: 20px; background: rgba(245, 158, 11, 0.2);
  border-radius: 50%; position: relative; flex-shrink: 0;
}
.check i:after {
  content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 8px;
  border-bottom: 2px solid #b45309; border-right: 2px solid #b45309; transform: rotate(45deg);
}

/* Hero Card */
.hero-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 8px;
  box-shadow: var(--shadow); transition: transform 0.3s ease; position: relative;
}
.hero-card:hover { transform: translateY(-5px); }
.image-container {
  position: relative; width: 100%; border-radius: 18px;
  overflow: hidden; line-height: 0; background: #f1f5f9;
}
.hero-img { width: 100%; height: auto; display: block; object-fit: cover; }
.hero-card .float {
  position: absolute; left: -20px; bottom: 30px;
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow);
  backdrop-filter: blur(5px); z-index: 2;
}
.hero-card .float b { display: block; color: var(--text); font-size: 14px; }
.hero-card .float small { color: var(--primaryDark); font-weight: 700; font-size: 12px; }

/* --- STATS SECTION --- */
.stats-section {
  background: var(--darkSection);
  color: white;
  padding: 60px 0;
  margin-top: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  display: block; font-size: 42px; font-weight: 800; color: var(--primary); margin-bottom: 5px; line-height: 1;
}
.stat-label { font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.7); }

/* --- CARROSSEL INFINITO (Marquee) --- */
.marquee-container {
  width: 100%; overflow: hidden; white-space: nowrap; position: relative;
}
.marquee-container:before, .marquee-container:after {
  content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
  pointer-events: none; 
}
.marquee-container:before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee-container:after { right: 0; background: linear-gradient(to left, #fff, transparent); }

.marquee-content {
  display: inline-flex; gap: 60px; animation: marquee 40s linear infinite;
}
.marquee-content img {
  height: 60px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: 0.3s;
}
.marquee-content img:hover { filter: grayscale(0%); opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } 
}

/* --- SECTIONS GERAL --- */
.section { padding: 90px 0; }
.section h2 { margin: 0 0 12px; font-size: 36px; font-weight: 800; color: #0f172a; }
.section p.sub { margin: 0 0 40px; color: var(--muted); font-size: 18px; max-width: 60ch; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadowSoft); transition: all 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(245, 158, 11, 0.3); }

.problem-card { border-left: 4px solid #ef4444; }
.solution-card { border-left: 4px solid #22c55e; background: #f0fdf4; border-color: #22c55e; }
.card-icon { font-size: 32px; margin-bottom: 12px; }
.comparison-list { padding-left: 20px; margin: 10px 0 0; color: var(--muted); }
.comparison-list li { margin-bottom: 8px; }

/* --- INTERACTIVE LABEL (HOTSPOTS) --- */
.interactive-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-wrapper { display: flex; justify-content: center; }

.label-frame {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.interactive-img { width: 100%; height: auto; display: block; }

.hotspot {
  position: absolute; cursor: pointer;
  border: 2px solid transparent; border-radius: 8px;
  transition: all 0.3s ease; z-index: 10;
}
.hotspot.active, .hotspot:hover {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.15);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.info-list { display: flex; flex-direction: column; gap: 12px; }

.info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px; border-radius: 12px;
  border: 1px solid transparent; transition: all 0.3s ease;
  cursor: default;
}

.info-icon {
  font-size: 24px; background: #f1f5f9; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; transition: 0.3s;
}

.info-item h4 { margin: 0 0 4px; font-size: 16px; color: var(--text); }
.info-item p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

.info-item.active, .info-item:hover {
  background: #fff; border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateX(10px);
}
.info-item.active .info-icon, .info-item:hover .info-icon {
  background: var(--primary); color: #fff;
}

/* PRICING */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.price {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 32px; box-shadow: var(--shadowSoft);
  display: flex; flex-direction: column;
}
.price.featured {
  background: #0f172a; color: #fff; border: 1px solid #1e293b; position: relative; overflow: hidden;
}
.price.featured h3 { color: #fff; }
.price .value { font-size: 48px; font-weight: 800; margin: 16px 0 24px; }
.price ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.price li:before { content: "✓"; font-weight: 900; color: var(--primaryDark); }
.price.featured li:before { color: #fbbf24; }

/* --- FOOTER PREMIUM (DARK) --- */
.footer {
  background-color: #0f172a; /* Fundo Escuro (Slate 900) */
  color: #94a3b8; /* Texto cinza claro (Slate 400) */
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Coluna da marca é maior */
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  filter: brightness(0) invert(1); /* Inverte a cor para branco */
  height: 45px;
  margin-bottom: 200px;
  opacity: 0.9;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 300px;
}

/* Links Sociais */
.social-links {
  display: flex;
  gap: 16px;
}
.social-links a {
  color: #fff;
  background: rgba(255,255,255,0.1);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
}
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}
.social-links svg { width: 18px; height: 18px; }

/* Títulos e Listas */
.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  transition: 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px; /* Efeitinho de deslizar */
}

/* Barra Inferior (Copyright) */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.legal-links {
  display: flex;
  gap: 24px;
}
.legal-links a {
  color: #64748b;
}
.legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --- MOBILE RESPONSIVE --- */
.btn-mobile-toggle { display: none; background: none; border: none; color: var(--text); padding: 5px; }
.mobile-nav-overlay {
  display: none; position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 49; padding: 24px; flex-direction: column; gap: 0; overflow-y: auto;
}
.mobile-nav-overlay.active { display: flex; }
.mobile-nav-overlay a { font-size: 20px; font-weight: 600; color: var(--text); padding: 20px 0; border-bottom: 1px solid var(--bg2); }

.whats-float {
  position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px;
  border-radius: 50%; background: #25D366; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; transition: transform 0.2s; z-index: 100;
}
.whats-float:hover { transform: scale(1.1); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .menu, .nav-cta { display: none; }
  .btn-mobile-toggle { display: block; }
  .hero-grid, .grid-2, .pricing, .stats-grid, .interactive-container { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; text-align: left; }
  .hero-card { order: -1; margin-bottom: 40px; }
  .logo-img { height: 50px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hotspot { border-color: rgba(0,0,0,0.05); } /* Visual no mobile */
  
  /* Ajuste Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr; /* Tudo em uma coluna */
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}


