/* GRUPO CACHINA - CSS PRINCIPAL */
/* Cores: #378CBB (azul principal), #1e4373 (azul escuro) */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Gotham:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --primary-blue: #378cbb;
  --dark-blue: #1e4373;
  --white: #ffffff;
  /* Updated color scheme for dark theme */
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --bg-card: #242b3d;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #334155;
  --border-light: #475569;
  /* End dark theme colors */
  --success-green: #25d366;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(135deg, #1e4373 0%, #378cbb 100%);
  min-height: 100vh;
}

/* Gotham font for headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Gotham", "Inter", sans-serif;
  font-weight: 700;
}

/* TIPOGRAFIA */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  /* Updated heading colors for dark theme */
  color: var(--white);
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* LAYOUT PRINCIPAL */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

/* HEADER E NAVEGAÇÃO */
.header {
  /* Updated header background for dark theme */
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  /* Updated nav link colors for dark theme */
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

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

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  /* Updated dropdown background for dark theme */
  background: var(--bg-card);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 1rem 0;
  z-index: 1001;
  border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  /* Updated dropdown item colors for dark theme */
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-item:hover {
  /* Updated dropdown hover for dark theme */
  background: var(--bg-secondary);
  color: var(--primary-blue);
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: var(--success-green);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

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

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

/* HERO SECTION */
.hero {
  /* Enhanced gradient for dark theme */
  background: linear-gradient(135deg, #1e4373 0%, #378cbb 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Updated grid pattern opacity for dark theme */
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

/* CARDS */
.card {
  /* Updated card background and border for dark theme */
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  /* Added border glow effect on hover */
  border-color: var(--primary-blue);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
  /* Updated card heading color for dark theme */
  color: var(--white);
}

.card p {
  /* Updated card text color for dark theme */
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* GRID LAYOUTS */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* SEÇÕES ESPECÍFICAS */
.stats {
  /* Enhanced stats section background */
  background: linear-gradient(135deg, #1e4373 0%, #378cbb 100%);
  color: var(--white);
  text-align: center;
}

.stat-item h3 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  opacity: 0.9;
}

/* DEPOIMENTOS */
.testimonial {
  /* Updated testimonial background for dark theme */
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  /* Updated avatar background for dark theme */
  background: var(--bg-secondary);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* FOOTER */
.footer {
  /* Enhanced footer background */
  background: linear-gradient(135deg, #1e4373 0%, #378cbb 100%);
  color: var(--white);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  /* Updated footer link colors for better contrast */
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  /* Updated footer bottom border for dark theme */
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  /* Updated opacity for better readability */
  color: var(--text-secondary);
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--success-green);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #128c7e;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* SEÇÕES DE PREÇOS */
.pricing-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary-blue);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(55, 140, 187, 0.2);
}

.pricing-card.featured::before {
  content: "MAIS POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-blue);
  box-shadow: 0 15px 30px rgba(55, 140, 187, 0.15);
}

.pricing-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-card li::before {
  content: "✓";
  color: var(--success-green);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* SEÇÕES DE METODOLOGIA E PROCESSOS */
.methodology-section,
.process-section {
  padding: 80px 0;
}

.methodology-steps,
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.methodology-step,
.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.methodology-step:hover,
.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(55, 140, 187, 0.1);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #378cbb, #1e4373);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

/* SEÇÕES DE TECNOLOGIAS */
.tech-stack-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.tech-category h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-items span {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* SEÇÕES DE BENEFÍCIOS E RECURSOS */
.benefits-section,
.features-section,
.compliance-section,
.expertise-section {
  padding: 80px 0;
}

.benefits-grid,
.features-grid,
.compliance-grid,
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item,
.feature-item,
.compliance-item,
.expertise-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.benefit-item:hover,
.feature-item:hover,
.compliance-item:hover,
.expertise-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(55, 140, 187, 0.1);
}

.benefit-item h3,
.feature-item h3,
.compliance-item h3,
.expertise-item h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.benefit-item p,
.feature-item p,
.compliance-item p,
.expertise-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* SEÇÕES DE DEPOIMENTOS MELHORADAS */
.testimonials-section {
  background: var(--bg-secondary);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-blue);
  box-shadow: 0 15px 30px rgba(55, 140, 187, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  font-weight: 900;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}

.testimonial-author {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.testimonial-author strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* HERO ESPECÍFICO PARA PÁGINAS DE SEGMENTO */
.hero-segment {
  background: linear-gradient(135deg, #1e4373 0%, #378cbb 100%);
  color: var(--white);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-segment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
}

.hero-segment .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-segment .hero-content {
  text-align: left;
}

.hero-segment .hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 1001;
  padding: 2rem;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-menu {
  list-style: none;
}

.mobile-nav-menu li {
  margin-bottom: 1rem;
}

.mobile-nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
  position: relative;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.mobile-dropdown.active .mobile-nav-link i {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin: 0.5rem 0;
}

.mobile-dropdown.active .mobile-dropdown-content {
  max-height: 500px;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.mobile-dropdown-item:last-child {
  border-bottom: none;
}

.mobile-dropdown-item:hover {
  color: #ffffff;
  background: var(--primary-blue);
  padding-left: 1.5rem;
}

/* VDI CloudBox Specific Styles */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-item i {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-item p {
  color: var(--text-secondary);
  margin: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card i {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-card p {
  color: var(--text-secondary);
  margin: 0;
}

.efficiency-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.efficiency-card:hover {
  transform: translateY(-5px);
}

.efficiency-card i {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.efficiency-card h4 {
  color: var(--text-primary);
  margin: 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-question h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.faq-question i {
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-secondary);
  margin: 0;
}

/* Consultoria Specific Styles */
.partners-container {
  text-align: center;
  padding: 2rem 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item i {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.service-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-item p {
  color: var(--text-secondary);
  margin: 0;
}

.recognition-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.recognition-card:hover {
  transform: translateY(-5px);
}

.recognition-card i {
  color: var(--primary-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.recognition-card h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.recognition-card p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
}

.newsletter-content h2 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.newsletter-content p {
  color: var(--text-secondary);
  margin: 0;
}

.newsletter-form-inner {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form-inner input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.newsletter-disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.newsletter-disclaimer a {
  color: var(--primary-blue);
  text-decoration: none;
}

.newsletter-disclaimer a:hover {
  text-decoration: underline;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 15px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-segment .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-segment .hero-content {
    text-align: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .methodology-steps,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .tech-categories {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ANIMAÇÕES */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FORMULÁRIOS */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  /* Updated form label color for dark theme */
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  /* Updated form input styling for dark theme */
  border: 2px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  /* Added subtle glow effect on focus */
  box-shadow: 0 0 0 3px rgba(55, 140, 187, 0.1);
}

.form-input::placeholder {
  /* Updated placeholder color for dark theme */
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* UTILITÁRIOS */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

/* Clínicas Enhanced Styles */
.hero-clinicas {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 255, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: -1;
}

.hero-main-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: floatIcon 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.floating-icon:nth-child(2) {
  top: 30%;
  right: 15%;
  animation-delay: 1s;
}
.floating-icon:nth-child(3) {
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}
.floating-icon:nth-child(4) {
  top: 70%;
  right: 10%;
  animation-delay: 3s;
}
.floating-icon:nth-child(5) {
  top: 40%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.integration-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.workflow-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.workflow-image:hover {
  transform: scale(1.05);
}

.solution-main-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.solution-main-image:hover {
  transform: scale(1.05);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.comparison-item:hover {
  transform: translateY(-5px);
}

.comparison-bad {
  text-align: center;
  padding: 1.5rem;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(231, 76, 60, 0.3);
}

.comparison-good {
  text-align: center;
  padding: 1.5rem;
  background: rgba(39, 174, 96, 0.1);
  border-radius: 12px;
  border: 2px solid rgba(39, 174, 96, 0.3);
}

.comparison-bad i {
  color: #e74c3c;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.comparison-good i {
  color: #27ae60;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.comparison-bad h4,
.comparison-good h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.comparison-bad p,
.comparison-good p {
  color: var(--text-secondary);
  margin: 0;
}

.urgency-section {
  position: relative;
  overflow: hidden;
}

.urgency-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Compact Chat Styles */
.compact-chat {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.compact-messages {
  height: 120px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.compact-messages .bot-message {
  margin-bottom: 0.5rem;
}

.compact-messages .message-content {
  max-width: 85%;
}

.compact-messages .message-text {
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.chat-actions {
  padding: 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.chat-actions .btn {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Gotham", sans-serif;
}

.chat-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(55, 140, 187, 0.3);
}

/* Chat Completo Compacto */
.full-chat {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.full-chat .chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.full-chat .bot-message {
  margin-bottom: 0.5rem;
}

.full-chat .message-content {
  max-width: 85%;
}

.full-chat .message-text {
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.full-chat .user-message {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.full-chat .user-message .message-content {
  max-width: 85%;
}

.full-chat .user-message .message-text {
  background: var(--primary-blue);
  color: var(--white);
  border: none;
}

/* Responsividade do Chat Compacto */
@media (max-width: 768px) {
  .compact-messages {
    height: 100px;
    padding: 0.75rem;
  }

  .chat-actions {
    padding: 0.75rem;
  }

  .compact-messages .message-text {
    font-size: 0.85rem;
    padding: 0.625rem 0.875rem;
  }

  .full-chat .chat-messages {
    height: 250px;
    padding: 0.75rem;
  }

  .full-chat .message-text {
    font-size: 0.85rem;
    padding: 0.625rem 0.875rem;
  }
}

/* Advanced Chat Form Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css");

/* Animações */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Scrollbar personalizada para o chat */
.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.5);
  border-radius: 2px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.7);
}

/* Hover effects para botões */
.start-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.option-button:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
  transform: translateX(5px);
}

#sendButton:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

#messageInput:focus,
#messageTextarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Transições suaves */
.feature-item {
  transition: all 0.3s ease;
}

.whatsapp-cta {
  transition: all 0.3s ease;
}

/* Responsividade */
@media (max-width: 1200px) {
  .container {
    padding: 0 4rem !important;
  }

  .presentation-column h2 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 968px) {
  .container {
    padding: 0 2rem !important;
  }

  .container > div {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

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

  .presentation-column h2 {
    font-size: 2.2rem !important;
  }

  .presentation-column > div:last-child {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .chat-container {
    height: 500px !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0 !important;
  }

  .container {
    padding: 0 1.5rem !important;
  }

  .presentation-column h2 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
  }

  .presentation-column > p {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
  }

  .whatsapp-cta {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }

  .feature-item {
    padding: 15px !important;
  }

  .feature-item h4 {
    font-size: 0.9rem !important;
  }

  .feature-item p {
    font-size: 0.8rem !important;
  }

  .chat-container {
    height: 450px !important;
  }

  .chat-header {
    padding: 15px !important;
  }

  .chat-messages {
    padding: 15px !important;
    gap: 12px !important;
  }

  .message {
    max-width: 90% !important;
  }

  .message-content {
    padding: 12px 15px !important;
    font-size: 0.9rem !important;
  }

  .button-options {
    min-width: auto !important;
  }

  .option-button {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .presentation-column h2 {
    font-size: 1.6rem !important;
  }

  .presentation-column > p {
    font-size: 1rem !important;
  }

  .whatsapp-cta {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
  }

  .feature-item {
    padding: 12px !important;
  }

  .feature-item div:first-child {
    width: 40px !important;
    height: 40px !important;
  }

  .feature-item i {
    font-size: 16px !important;
  }

  .chat-container {
    height: 400px !important;
    border-radius: 15px !important;
  }

  .chat-header div:first-child div:first-child {
    width: 40px !important;
    height: 40px !important;
  }

  .chat-header h3 {
    font-size: 14px !important;
  }

  .chat-header span {
    font-size: 11px !important;
  }

  .chat-input {
    padding: 15px !important;
  }

  #sendButton {
    width: 35px !important;
    height: 35px !important;
  }

  #sendButton i {
    font-size: 12px !important;
  }
}

/* Variáveis CSS para consistência */
:root {
  --white: #ffffff;
  --text-secondary: #cbd5e1;
  --primary-blue: #3b82f6;
  --primary-blue-dark: #2563eb;
  --success-green: #10b981;
  --success-green-dark: #059669;
  --background-dark: #0f172a;
  --background-card: rgba(30, 41, 59, 0.8);
  --border-light: rgba(255, 255, 255, 0.1);
}

/* Melhorias de acessibilidade */
.start-button:focus,
.option-button:focus,
#sendButton:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

#messageInput:focus,
#messageTextarea:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Animação suave para elementos que aparecem */
.message {
  animation: fadeInUp 0.3s ease-out;
}

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

/* Compact Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-header {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--dark-blue) 100%
  );
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

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

.form-info h4 {
  margin: 0;
  color: var(--white);
  font-family: "Gotham", sans-serif;
}

.compact-form {
  padding: 2rem;
  background: var(--bg-primary);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Gotham", sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(55, 140, 187, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-block {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(55, 140, 187, 0.3);
}

/* Responsividade do Formulário Compacto */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .compact-form {
    padding: 1.5rem;
  }

  .form-header {
    padding: 1rem;
  }

  .form-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Chat Form Styles */
.chat-form-section {
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-card) 100%
  );
  border-radius: 20px;
  margin: 2rem 0;
  padding: 3rem 0;
}

.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.chat-header {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--dark-blue) 100%
  );
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

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

.chat-info h4 {
  margin: 0;
  color: var(--white);
  font-family: "Gotham", sans-serif;
}

.status {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.chat-messages {
  height: 500px;
  overflow-y: auto;
  padding: 2rem;
  background: var(--bg-primary);
}

.bot-message,
.user-message {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
  gap: 1rem;
}

.user-message {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: var(--primary-blue);
  color: var(--white);
}

.user-message .message-avatar {
  background: var(--success-green);
  color: var(--white);
}

.message-content {
  max-width: 70%;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  position: relative;
}

.user-message .message-content {
  background: var(--primary-blue);
  color: var(--white);
}

.message-text {
  line-height: 1.5;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-button {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.option-button:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.final-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.final-buttons .btn {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.chat-input-container {
  padding: 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

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

.chat-input input {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(55, 140, 187, 0.1);
}

.chat-input input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-input button {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: var(--primary-blue);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input button:hover:not(:disabled) {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

.chat-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsividade do Chat */
@media (max-width: 768px) {
  .chat-messages {
    height: 400px;
    padding: 1rem;
  }

  .message-content {
    max-width: 85%;
  }

  .final-buttons {
    flex-direction: column;
  }

  .final-buttons .btn {
    min-width: auto;
  }

  .chat-input {
    flex-direction: column;
  }

  .chat-input button {
    width: 100%;
    height: 45px;
  }
}

/* Dynamic Form Styles */
.dynamic-form-section {
  background: linear-gradient(
    135deg,
    var(--bg-secondary) 0%,
    var(--bg-card) 100%
  );
  border-radius: 20px;
  margin: 2rem 0;
  padding: 3rem 0;
}

.form-benefits h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-family: "Gotham", sans-serif;
}

.benefit-list {
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-item i {
  color: var(--success-green);
  font-size: 1.2rem;
}

.benefit-item span {
  color: var(--text-primary);
  font-weight: 500;
}

.ai-agents-promo {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--dark-blue) 100%
  );
  padding: 2rem;
  border-radius: 16px;
  color: var(--white);
}

.ai-agents-promo h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-family: "Gotham", sans-serif;
}

.ai-agents-promo p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.agent-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.agent-card:hover {
  transform: translateY(-5px);
}

.agent-card i {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.agent-card h5 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-family: "Gotham", sans-serif;
}

.agent-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dynamic-form .form-group {
  margin-bottom: 1.5rem;
}

.dynamic-form input,
.dynamic-form select,
.dynamic-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.dynamic-form input:focus,
.dynamic-form select:focus,
.dynamic-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(55, 140, 187, 0.1);
}

.dynamic-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-block {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(55, 140, 187, 0.3);
}

/* Clínicas Specific Styles */
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 4px solid #e74c3c;
  transition: transform 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-3px);
}

.problem-item i {
  color: #e74c3c;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.problem-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.problem-item p {
  color: var(--text-secondary);
  margin: 0;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 4px solid #27ae60;
  transition: transform 0.3s ease;
}

.solution-item:hover {
  transform: translateY(-3px);
}

.solution-item i {
  color: #27ae60;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.solution-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.solution-item p {
  color: var(--text-secondary);
  margin: 0;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.step-item:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
}

.case-study {
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border-radius: 16px;
}

.testimonial {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-blue);
}

.testimonial h4 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

.bonus-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.bonus-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.bonus-item i {
  color: #f39c12;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bonus-item h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.bonus-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

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

.objections-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.objection-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
}

.objection-item h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.objection-item p {
  color: var(--text-secondary);
  margin: 0;
}

/* Consultoria Mobile Responsiveness */
@media (max-width: 768px) {
  .newsletter-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .newsletter-form-inner {
    flex-direction: column;
  }

  .service-item {
    flex-direction: column;
    text-align: center;
  }

  .recognition-card {
    padding: 1.5rem;
  }

  .partners-container {
    padding: 1rem 0;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .bonus-container {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .objections-container {
    grid-template-columns: 1fr;
  }

  .hero-clinicas {
    min-height: 80vh;
  }

  .floating-icons {
    display: none;
  }

  .comparison-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .comparison-bad,
  .comparison-good {
    padding: 1rem;
  }

  .hero-main-image {
    animation: none;
  }

  .workflow-image:hover,
  .solution-main-image:hover {
    transform: none;
  }

  /* Dynamic Form Mobile Responsiveness */
  .dynamic-form-section {
    padding: 2rem 0;
  }

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .agent-card {
    padding: 1rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .benefit-item {
    padding: 0.75rem;
  }

  .ai-agents-promo {
    padding: 1.5rem;
  }
}

/* ===== CARROSSEL DE CLIENTES ===== */
.clients-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1e4373, #378cbb);
  border-radius: 16px;
  padding: 2rem 0;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(55, 140, 187, 0.2);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: brightness(1.1) contrast(1.2);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pausar animação no hover */
.clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
  .clients-carousel {
    padding: 1.5rem 0;
    margin: 1.5rem 0;
  }

  .clients-track {
    gap: 2rem;
  }

  .client-logo {
    width: 100px;
    height: 60px;
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .clients-track {
    gap: 1.5rem;
  }

  .client-logo {
    width: 80px;
    height: 50px;
    padding: 0.6rem;
  }
}

/* ========================================
   CARROSSEL DE SOLUÇÕES
   ======================================== */

.solutions-carousel {
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--bg-card) 0%,
    var(--bg-secondary) 100%
  );
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1.5rem;
}

.solution-card {
  flex: 0 0 calc(33.333% - 1rem);
  max-width: calc(33.333% - 1rem);
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-blue);
}

.solution-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.solution-logo img {
  max-width: 180px;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.solution-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--success-green)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.solution-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.9rem;
  flex: 1;
}

.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-tag {
  background: linear-gradient(135deg, #378cbb, #1e4373);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: linear-gradient(135deg, #378cbb, #1e4373);
  border: none;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(55, 140, 187, 0.4);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary-blue);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: var(--success-green);
  transform: scale(1.1);
}

/* Responsividade do Carrossel */
@media (max-width: 1024px) {
  .solution-card {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 1rem;
  }

  .solution-card {
    flex: 0 0 calc(100% - 0.75rem);
    max-width: calc(100% - 0.75rem);
    padding: 1.5rem;
    min-height: 350px;
  }

  .solution-logo img {
    max-width: 150px;
    max-height: 60px;
  }

  .solution-content h3 {
    font-size: 1.25rem;
  }

  .carousel-controls {
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .solution-card {
    padding: 1rem;
    min-height: 300px;
  }

  .solution-logo img {
    max-width: 120px;
    max-height: 50px;
  }

  .solution-content h3 {
    font-size: 1.1rem;
  }

  .solution-content p {
    font-size: 0.9rem;
  }

  .feature-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}
