/**
 * TELLI & ASSOCIADOS — DESIGN SYSTEM HIGH-END CORPORATE
 * Identidade: Consultoria Independente & Corretora de Saúde Premium
 * Tipografia: Poppins (Headings/UI com autoridade e peso geométrico nítido) + Open Sans & Inter (Leitura Executiva)
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Paleta Corporativa Telli */
  --telli-navy: #0A192F;
  --telli-navy-dark: #071120;
  --telli-navy-light: #1E293B;
  --telli-blue: #0052CC;
  --telli-blue-hover: #0747A6;
  --telli-blue-light: #EFF6FF;
  --telli-blue-border: #BFDBFE;
  --telli-teal: #00A389;
  --telli-gold: #C9A227;
  
  /* Superfícies */
  --bg-white: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --border-light: #E2E8F0;
  --border-card: #E5E7EB;

  /* Tipografia */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  /* Fontes Enterprise */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Open Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Sombras Profissionais */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.10), 0 6px 16px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(0, 82, 204, 0.20);

  --transition-smooth: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
h1.text-white, h2.text-white, h3.text-white, h4.text-white, h5.text-white, h6.text-white {
  color: #FFFFFF !important;
}

/* Botões com Ergonomia Executiva */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--telli-blue);
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.25);
}
.btn-primary:hover {
  background-color: var(--telli-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #FFFFFF;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--telli-blue);
  color: var(--telli-blue);
  background-color: var(--telli-blue-light);
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.btn-whatsapp-header:hover {
  background-color: #DCFCE7;
  color: #166534;
}

/* ==========================================================================
   WIDGET FLUTUANTE CHATBOT WHATSAPP (Estilo Amil Dental)
   ========================================================================== */
.whelp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.whelp-bubble {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(10, 25, 47, 0.15);
  max-width: 290px;
  font-size: 13px;
  color: #333333;
  position: relative;
  animation: whelpFloatIn 0.4s ease-out;
}
.whelp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #FFFFFF;
}
.whelp-btn {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF !important;
  border-radius: 50px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
}
.whelp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

@media (max-width: 640px) {
  .whelp-widget {
    bottom: 16px;
    right: 16px;
  }
  .whelp-bubble {
    max-width: 260px;
    font-size: 12px;
    padding: 12px 14px;
  }
  .whelp-bubble::after {
    right: 20px;
  }
  .whelp-btn {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@keyframes whelpFloatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   MENU DROPDOWN DE OPERADORAS
   ========================================================================== */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(10, 25, 47, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 60;
}
.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s ease;
  text-decoration: none;
}
.nav-dropdown-item:hover {
  background-color: #F8FAFC;
  color: #0052CC;
  padding-left: 22px;
}

/* Formulário de Cotação Rápida */
.form-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: #FFFFFF;
  transition: var(--transition-smooth);
  outline: none;
}
.form-input:focus {
  border-color: var(--telli-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.form-select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: #FFFFFF;
  transition: var(--transition-smooth);
  outline: none;
  cursor: pointer;
}
.form-select:focus {
  border-color: var(--telli-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

/* Badges e Pílulas */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0052CC;
  background-color: #EFF6FF;
  border: 1px solid #DBEAFE;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

/* Cards de Soluções */
.card-solucao {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}
.card-solucao:hover {
  border-color: #93C5FD;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-clean-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-clean-item.active {
  border-color: var(--telli-blue);
  box-shadow: var(--shadow-sm);
}
.faq-clean-question {
  width: 100%;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.faq-clean-question:hover {
  color: var(--telli-blue);
}
.faq-clean-icon {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--telli-blue);
  transition: transform 0.25s ease;
}
.faq-clean-item.active .faq-clean-icon {
  transform: rotate(180deg);
}
.faq-clean-answer {
  padding: 0 1.25rem 1.1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
}
.faq-clean-item.active .faq-clean-answer {
  display: block;
}

/* Utilitário para ocultar scrollbars nativas em carrosseis e tracks */
.hide-scrollbar,
#operators-carousel {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}
.hide-scrollbar::-webkit-scrollbar,
#operators-carousel::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

