/* =========================================================================
   QUALIS UPHOLSTERY CLEANING - MINIMALIST CSS
   ========================================================================= */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #003882; /* Qualis Deep Blue */
  --primary-light: #1A54A0;
  --accent: #00C853; /* Qualis Vibrant Green */
  --accent-light: #4DE383;
  --accent-hover: #00A844;
  
  --text-dark: #1e293b;
  --text-body: #475569;
  --text-light: #94a3b8;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #eff6ff;
  --border-light: rgba(0, 56, 130, 0.08);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 100px; /* Ajuste para o menu não cobrir o título */
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.3);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 0;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 250px; 
  height: auto;
  max-width: 100%; 
  object-fit: contain;
}

@media (min-width: 992px) {
  .logo img {
    width: 240px;
  }
}

.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: 1.5rem; /* Espaço reduzido para caber tudo */
}

.nav-link {
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  font-size: 1rem;
  white-space: nowrap; /* Impede que "Quem Somos" quebre em 2 linhas */
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-toggle { display: none; }
}
.d-none-mobile { display: none; }
@media (min-width: 992px) {
  .d-none-mobile { display: inline-flex; }
}

.btn-whatsapp-header {
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-whatsapp-header span {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.btn-whatsapp-header i {
  font-size: 1.6rem;
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); z-index: 1001;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.mobile-menu {
  position: fixed; top: 0; right: -320px; width: 320px; height: 100vh;
  background: white; z-index: 1002; padding: 2rem;
  display: flex; flex-direction: column;
  transition: right 0.4s ease; box-shadow: var(--shadow-lg);
}
.mobile-menu.active { right: 0; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-light);
}
.close-menu { background: none; border: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer;}
.mobile-nav-list { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.mobile-nav-link { font-size: 1.2rem; font-weight: 500; color: var(--primary); }

/* Hero Section (Minimalist) */
.hero {
  position: relative;
  padding-top: 140px; 
  padding-bottom: 8rem;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
}

.hero-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
}

.shape-1 {
  top: -10%; left: -5%; width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(0, 56, 130, 0.05) 0%, rgba(255,255,255,0) 70%);
}
.shape-2 {
  bottom: -10%; right: -5%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.05) 0%, rgba(255,255,255,0) 70%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-hover);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 200, 83, 0.2);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4rem; }
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Quem Somos */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .mvv-grid { grid-template-columns: 1fr 1fr; }
}

.mvv-card {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: left;
}

.mvv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 200, 83, 0.2);
}

.mvv-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(0, 56, 130, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.mvv-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.mvv-card p {
  font-size: 1rem;
  margin-bottom: 0;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.values-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-main);
  padding: 1rem;
  border-radius: 12px;
}

.values-icon {
  color: var(--accent);
  font-size: 1.5rem;
}

.values-text strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.values-text span {
  font-size: 0.95rem;
}

/* Diferenciais */
.differentials {
  background-color: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

.diff-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.diff-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.diff-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(0, 200, 83, 0.1);
  color: var(--accent-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.diff-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.diff-card p {
  font-size: 1rem;
}

/* Pet Care Section */
.pet-care {
  background-color: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.pet-shape {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.05) 0%, rgba(0, 200, 83, 0.01) 100%);
  border-bottom-left-radius: 100%;
  z-index: 0;
}

.pet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 992px) {
  .pet-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.pet-header h2 {
  font-size: 2.8rem;
  color: var(--accent-hover);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pet-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.pet-benefits {
  background: var(--bg-main);
  padding: 2rem;
  border-radius: 20px;
  border-left: 6px solid var(--accent);
  margin-top: 2rem;
}

.pet-benefits h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.pet-benefits ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
}

.pet-benefits ul li i {
  color: var(--accent);
  font-size: 1.5rem;
}

.pet-applications {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.pet-app-tag {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pet-app-tag i { color: var(--accent); }

.pet-cta {
  background: var(--primary);
  color: white;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pet-cta h3 { color: white; font-size: 2rem; margin-bottom: 1rem; }
.pet-cta p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }

/* Eco-Friendly / Sustentabilidade */
.eco-section {
  background: white;
  position: relative;
  overflow: hidden;
}

.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 992px) {
  .eco-grid { grid-template-columns: 1fr 1fr; }
}

.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 83, 0.15);
  color: var(--accent-hover);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.eco-badge i { font-size: 1.2rem; }

.eco-content h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  line-height: 1.2;
}

.eco-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: var(--text-body);
}

.eco-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eco-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.eco-benefits li i {
  background: var(--accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
}

.eco-benefits li strong { color: var(--primary); font-size: 1.15rem; display: block; margin-bottom: 0.2rem; }
.eco-benefits li span { color: var(--text-body); font-size: 1.05rem; }

.eco-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

.eco-circle-bg {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0,200,83,0.15) 0%, rgba(0,200,83,0) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  color: var(--accent);
  opacity: 0.9;
  position: relative;
}

.eco-circle-bg::after {
  content: '';
  position: absolute;
  top: 5%; left: 5%; right: 5%; bottom: 5%;
  border: 2px dashed rgba(0,200,83,0.4);
  border-radius: 50%;
  animation: rotate 25s linear infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

/* Eco Policy Banner */
.eco-policy-banner {
  background: var(--bg-main);
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-left: 5px solid var(--accent);
  padding: 2.5rem;
  border-radius: 20px;
  margin-top: 4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.eco-policy-banner:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.policy-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.policy-header i {
  font-size: 2.5rem;
  color: var(--accent);
}

.policy-header h3 {
  font-size: 1.8rem;
  color: var(--primary);
}

.eco-policy-banner > p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.policy-list p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  background: white;
  padding: 1.2rem;
  border-radius: 12px;
  border-left: 3px solid var(--border-light);
}

.policy-list p:last-child {
  margin-bottom: 0;
}

.policy-list strong {
  color: var(--primary);
}

/* Dicas Rápidas */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

@media (min-width: 768px) {
  .tips-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.tip-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--accent);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 56, 130, 0.05);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.tip-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.tip-card p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-body);
}

.tip-alert {
  background: #fff8e1;
  color: #e65100;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-top: auto; /* Empurra pro fundo do card */
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-left: 4px solid #ffb300;
}

.tip-alert i {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.5fr; }
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent); transform: translateY(-3px);
}

.footer h3 {
  color: white; font-size: 1.3rem; margin-bottom: 1.5rem; font-family: var(--font-heading);
}

.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a { color: rgba(255,255,255,0.7); font-size: 1rem; }
.footer-links ul li a:hover { color: var(--accent); padding-left: 5px; }

.contact-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  color: rgba(255,255,255,0.8); margin-bottom: 1.5rem;
  line-height: 1.5;
}
.contact-list li i { font-size: 1.6rem; color: var(--accent); flex-shrink: 0; margin-top: 0.1rem; }
.contact-list li strong { color: white; font-weight: 500; font-family: var(--font-heading); }

.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
}

/* Payment Methods */
.payment-methods {
  margin-bottom: 2rem;
}

.payment-methods h4 {
  color: white; 
  font-size: 1.05rem; 
  margin-bottom: 1.2rem; 
  font-family: var(--font-heading); 
  font-weight: 500;
  opacity: 0.9;
}

.payment-methods-list {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 1rem;
}

.payment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  transition: var(--transition);
}

.payment-tag i {
  color: var(--accent);
  font-size: 1.4rem;
}

.payment-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Chat Widget Styles */
.chat-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-trigger {
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.chat-trigger:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--accent-hover);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.chat-widget {
  width: 340px;
  background-color: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom right;
  border: 1px solid var(--border-light);
}

.chat-widget.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agent-avatar {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.agent-info {
  display: flex;
  flex-direction: column;
}

.agent-info strong {
  font-size: 1.05rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.agent-info span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.agent-info span::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4DE383;
  border-radius: 50%;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.chat-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.chat-body {
  padding: 1.5rem;
  height: 250px;
  overflow-y: auto;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-message {
  max-width: 85%;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.4;
  animation: fadeIn 0.3s ease-in-out;
}

.agent-message {
  background-color: white;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.user-message {
  background-color: #dcf8c6;
  color: var(--text-dark);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  box-shadow: var(--shadow-sm);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-footer {
  padding: 1rem;
  background-color: white;
  border-top: 1px solid var(--border-light);
}

.chat-footer form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#chatInput {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

#chatInput:focus {
  border-color: var(--primary);
}

.btn-send-chat {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 200, 83, 0.3);
}

.btn-send-chat:hover {
  background-color: var(--accent-hover);
  transform: scale(1.05);
}

/* Animations Tools */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
