/* ==========================================
   CLARINHA — Estilos Globais
   Produtos Químicos Orion SA
   ========================================== */

:root {
  --primary: #1a6eb5;
  --primary-dark: #0f5190;
  --primary-light: #3a8fd6;
  --secondary: #f9c833;
  --secondary-dark: #e0a800;
  --accent: #e8f4fd;
  --white: #ffffff;
  --off-white: #f9fbfe;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --gray-500: #718096;
  --gray-700: #4a5568;
  --gray-900: #1a202c;
  --text: #2d3748;
  --text-light: #718096;
  --success: #48bb78;
  --danger: #fc8181;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(26, 110, 181, 0.10);
  --shadow-md: 0 8px 32px rgba(26, 110, 181, 0.14);
  --shadow-lg: 0 16px 48px rgba(26, 110, 181, 0.18);
  --transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Baloo 2', 'Nunito', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--gray-900); }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--gray-900); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--primary); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== CONTAINERS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 840px; margin: 0 auto; padding: 0 20px; }

/* ===== SEÇÕES ===== */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; max-width: 560px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-subtitle { margin: 0 auto; }
.label-tag {
  display: inline-block; padding: 5px 16px;
  background: var(--accent); color: var(--primary);
  border-radius: 50px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 12px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,110,181,0.09);
  padding: 0 20px;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.navbar-logo { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 800; color: var(--primary); font-family: 'Baloo 2', sans-serif; }
.navbar-logo img { height: 52px; width: auto; object-fit: contain; }
.navbar-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.navbar-links a { color: var(--gray-700); font-weight: 600; font-size: 0.95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.navbar-links a:hover, .navbar-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.navbar-cta { margin-left: 12px; }
.navbar-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--primary); }

@media (max-width: 900px) {
  .navbar-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 0; box-shadow: var(--shadow-md); }
  .navbar-links.open { display: flex; }
  .navbar-links li { width: 100%; border-bottom: 1px solid var(--gray-200); }
  .navbar-links a { display: block; padding: 12px 0; }
  .navbar-toggle { display: block; }
  .navbar-cta { display: none; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #e8f4fd 0%, #dbeeff 50%, #f0f8ff 100%);
  padding: 90px 20px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='38' stroke='%231a6eb5' stroke-opacity='0.04' stroke-width='2'/%3E%3C/svg%3E") repeat;
  opacity: 0.4;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-tag { display: inline-block; padding: 6px 18px; background: var(--primary); color: var(--white); border-radius: 50px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--primary-dark); margin-bottom: 18px; }
.hero h1 span { color: var(--secondary-dark); }
.hero p { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { flex: 1; max-width: 520px; position: relative; z-index: 1; }
.hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-img { max-width: 100%; }
  .hero { padding: 60px 20px; }
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--gray-100); }
.card-body { padding: 20px; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--gray-900); }
.card-text { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }
.card-price { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.card-price-old { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; margin-right: 6px; }
.card-badge {
  display: inline-block; padding: 3px 10px;
  background: var(--secondary); color: var(--gray-900);
  border-radius: 50px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 8px;
}
.card-badge.blue { background: var(--accent); color: var(--primary); }
.card-badge.green { background: #e6ffed; color: #276749; }

/* ===== GRID ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #0f3d6b 0%, #081f3a 100%);
  color: rgba(255,255,255,0.85);
  padding-top: 64px;
}
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 0 20px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { font-family: 'Baloo 2', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--white); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo img { height: 42px; width: auto; }
.footer-brand p { font-size: 0.92rem; color: rgba(255,255,255,0.7); line-height: 1.7; max-width: 310px; }
.footer-brand .cnpj { margin-top: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-family: 'Baloo 2', sans-serif; color: var(--white); font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 0.91rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact p { font-size: 0.91rem; color: rgba(255,255,255,0.7); margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact p i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--gray-900); transform: translateY(-2px); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 0.83rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--secondary); }
.footer-badges { display: flex; gap: 10px; margin-top: 20px; }
.footer-badge {
  background: rgba(255,255,255,0.1); border-radius: var(--radius-sm);
  padding: 7px 12px; font-size: 0.78rem; color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 6px;
}
.footer-badge i { color: var(--secondary); }

@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: wa-pulse 3s ease-in-out infinite;
  cursor: pointer;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.6); background: #1da851; }
.whatsapp-btn i { color: var(--white); font-size: 1.7rem; }
.whatsapp-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
  background: var(--white); color: var(--gray-900);
  padding: 7px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  white-space: nowrap; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.whatsapp-tooltip::after {
  content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--white); border-right: none;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 36px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.10); }
}

/* ===== JOGOS DA CLARINHA BUTTON ===== */
.jogos-btn {
  position: fixed; bottom: 100px; right: 28px; z-index: 9999;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, #f5b800 100%);
  color: var(--gray-900);
  border-radius: 50px;
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-size: 0.88rem; font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(249,200,51,0.45);
  transition: var(--transition);
  animation: jogos-bounce 3s ease-in-out infinite;
  white-space: nowrap;
}
.jogos-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,200,51,0.6);
  background: linear-gradient(135deg, #f5b800 0%, var(--secondary) 100%);
  color: var(--gray-900);
}
.jogos-btn i {
  font-size: 1.1rem;
  color: var(--primary);
}

@keyframes jogos-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--gray-100);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-light); }
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner .sep { color: var(--gray-300); }
.breadcrumb-inner .current { color: var(--gray-900); font-weight: 600; }

/* ===== HERO PAGES ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 64px 20px;
  text-align: center;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.page-hero .label-tag { background: rgba(255,255,255,0.15); color: var(--white); margin-bottom: 16px; }

/* ===== POLÍTICA PAGES ===== */
.policy-content { max-width: 860px; margin: 0 auto; padding: 60px 20px; }
.policy-content h2 { font-size: 1.35rem; margin: 40px 0 12px; color: var(--primary-dark); }
.policy-content h3 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--gray-900); }
.policy-content p { margin-bottom: 16px; line-height: 1.8; color: var(--text); }
.policy-content ul, .policy-content ol { margin: 0 0 16px 24px; }
.policy-content li { margin-bottom: 8px; line-height: 1.7; color: var(--text); }
.policy-content .highlight-box {
  background: var(--accent); border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 24px 0;
}
.policy-content .highlight-box p { margin: 0; color: var(--primary-dark); font-weight: 600; }
.policy-date { font-size: 0.85rem; color: var(--text-light); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-200); }

/* ===== MISC ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.stars { color: var(--secondary-dark); font-size: 0.9rem; }
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 40px 0; }
.badge-ribbon {
  position: absolute; top: 16px; left: 16px;
  background: var(--secondary); color: var(--gray-900);
  padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}
.badge-ribbon.red { background: #fc8181; color: var(--white); }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease both; }
