/* ==========================================================
   Contact Hub - Estilos Customizados
   Paleta: Laranja #ff9000 | Cinza escuro #181d27 | Preto #0f1219
   Fonte: Poppins
   ========================================================== */

:root {
  --ch-orange: #ff9000;
  --ch-orange-dark: #e57e00;
  --ch-dark: #181d27;
  --ch-black: #0f1219;
  --ch-light: #f8f9fa;
  --ch-white: #ffffff;
  --ch-muted: #b7bdcc;
  --ch-border-dark: rgba(255, 255, 255, 0.08);
  --ch-border-light: rgba(0, 0, 0, 0.06);
  --ch-radius: 14px;
  --ch-shadow: 0 20px 60px -20px rgba(255, 144, 0, 0.25);
  --ch-shadow-dark: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
}

* {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ch-light);
  color: #2b3040;
  overflow-x: hidden;
}

.text-orange {
  color: var(--ch-orange) !important;
}
.bg-orange {
  background-color: var(--ch-orange) !important;
}
.text-muted-2 {
  color: var(--ch-muted) !important;
}

/* ============ BUTTONS ============ */
.btn {
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.7rem 1.4rem;
  transition: all 0.25s ease;
}
.btn-orange {
  background: linear-gradient(135deg, var(--ch-orange), #ffb347);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px -12px rgba(255, 144, 0, 0.75);
}
.btn-orange:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(255, 144, 0, 0.9);
}
.btn-outline-light-2 {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.btn-outline-light-2:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-outline-dark-2 {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--ch-dark);
  background: transparent;
}
.btn-outline-dark-2:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--ch-black);
  color: #d8dce7;
  padding: 8px 0;
  border-bottom: 1px solid var(--ch-border-dark);
  font-size: 0.85rem;
}
.topbar a:hover {
  color: var(--ch-orange) !important;
}
.topbar .social-ico {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #d8dce7;
  font-size: 12px;
  transition: 0.25s;
}
.topbar .social-ico:hover {
  background: var(--ch-orange);
  color: #fff;
}

/* ============ NAVBAR ============ */
.ch-navbar {
  background: rgba(15, 18, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ch-border-dark);
  transition: background 0.3s ease;
  padding: 10px 0;
}
.ch-navbar.scrolled {
  background: rgba(15, 18, 25, 0.97);
}
.ch-navbar .nav-link {
  color: #e5e8f0 !important;
  font-weight: 500;
  margin: 0 6px;
  position: relative;
  transition: color 0.2s;
}
.ch-navbar .nav-link:hover,
.ch-navbar .nav-link.active {
  color: var(--ch-orange) !important;
}
.ch-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ch-orange);
  transition: all 0.25s;
  transform: translateX(-50%);
}
.ch-navbar .nav-link:hover::after,
.ch-navbar .nav-link.active::after {
  width: 60%;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 144, 0, 0.18), transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(0, 120, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #0f1219 0%, #181d27 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.badge-partner {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 144, 0, 0.12);
  color: var(--ch-orange);
  border: 1px solid rgba(255, 144, 0, 0.35);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 18px 0 20px;
}
.hero-title .grad {
  background: linear-gradient(90deg, #ff9000, #ffcf70);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  color: var(--ch-muted);
  font-size: 1.05rem;
  max-width: 560px;
}
.hero-trust i {
  color: var(--ch-orange);
}
.hero-image-wrap {
  position: relative;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 144, 0, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--ch-border-dark);
  box-shadow: var(--ch-shadow);
}
.hero-image-wrap img {
  border-radius: 18px;
  width: 100%;
  height: auto;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}
.section-light {
  background: var(--ch-light);
}
.section-dark {
  background: var(--ch-dark);
  color: #e5e8f0;
}
.section-darker {
  background: var(--ch-black);
  color: #e5e8f0;
}
.section h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ch-orange);
  margin-bottom: 8px;
}
.eyebrow.orange {
  color: var(--ch-orange);
}
.lead-2 {
  max-width: 720px;
  margin: 0 auto;
  color: #5b6172;
  font-size: 1.02rem;
}
.section-dark .lead-2,
.section-darker .lead-2 {
  color: var(--ch-muted);
}

/* ============ CARDS ============ */
.feature-card {
  background: #fff;
  border: 1px solid var(--ch-border-light);
  border-radius: var(--ch-radius);
  padding: 30px 26px;
  height: 100%;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 144, 0, 0.4);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.15);
}
.feature-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 144, 0, 0.12);
  color: var(--ch-orange);
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  color: #5b6172;
  font-size: 0.95rem;
  margin: 0;
}

/* Dark variant */
.dark-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ch-border-dark);
  border-radius: var(--ch-radius);
  padding: 30px 26px;
  height: 100%;
  transition: 0.3s;
}
.dark-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 144, 0, 0.5);
  background: rgba(255, 144, 0, 0.05);
}
.dark-card .icon-circle {
  background: rgba(255, 144, 0, 0.15);
  color: var(--ch-orange);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.dark-card h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}
.dark-card p {
  color: var(--ch-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Solution card */
.solution-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--ch-border-dark);
  border-radius: var(--ch-radius);
  padding: 34px 28px;
  height: 100%;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--ch-orange);
}
.solution-card .icon-circle {
  background: var(--ch-orange);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.solution-card h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.solution-card ul {
  color: var(--ch-muted);
  padding-left: 1.1rem;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.solution-card ul li {
  margin-bottom: 6px;
}
.solution-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ============ COMPARATIVO ============ */
.compare-wrap {
  background: #fff;
  border: 1px solid var(--ch-border-light);
  border-radius: var(--ch-radius);
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.15);
}
.compare-wrap.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  min-width: 620px;
}
.compare-table {
  margin: 0;
}
.compare-table th,
.compare-table td {
  padding: 18px 22px;
  vertical-align: middle;
  border-color: var(--ch-border-light);
}
.compare-table thead th {
  background: #fafbfc;
  font-weight: 600;
  color: #2b3040;
  font-size: 0.98rem;
}
.compare-col-old {
  color: #8a8f9e;
}
.compare-col-new {
  color: var(--ch-orange);
  background: rgba(255, 144, 0, 0.05) !important;
}
.compare-table td.old {
  color: #8a8f9e;
  text-align: left;
}
.compare-table td.new {
  color: #2b3040;
  font-weight: 500;
  background: rgba(255, 144, 0, 0.04);
  text-align: left;
}
.compare-table td .fa-xmark {
  color: #d94848;
  margin-right: 6px;
}
.compare-table td .fa-check {
  color: var(--ch-orange);
  margin-right: 6px;
}
.compare-table td.label {
  font-weight: 600;
  color: #2b3040;
}

/* ============ FAQ ============ */
.faq-accordion .accordion-item {
  border: 1px solid var(--ch-border-light);
  border-radius: var(--ch-radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--ch-dark);
  padding: 20px 22px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--ch-orange);
  background: rgba(255, 144, 0, 0.06);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.faq-accordion .accordion-body {
  color: #5b6172;
  padding: 4px 22px 22px;
}

/* ============ CONTATO ============ */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: #e5e8f0;
  border-bottom: 1px solid var(--ch-border-dark);
}
.contact-list li:last-child {
  border-bottom: none;
}
.contact-list .icon-circle {
  background: rgba(255, 144, 0, 0.15);
  color: var(--ch-orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list a {
  color: #e5e8f0;
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--ch-orange);
}
.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ch-border-dark);
  border-radius: var(--ch-radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.contact-card .form-label {
  color: #d8dce7;
  font-size: 0.88rem;
  font-weight: 500;
}
.contact-card .form-control,
.contact-card .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ch-border-dark);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: var(--ch-orange);
  box-shadow: 0 0 0 3px rgba(255, 144, 0, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.contact-card .form-control::placeholder {
  color: #8a8f9e;
}
.contact-social a {
  color: #d8dce7;
}

/* ============ FOOTER ============ */
.ch-footer {
  background: var(--ch-black);
  color: var(--ch-muted);
}
.ch-footer h6 {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--ch-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: 0.2s;
}
.footer-links a:hover {
  color: var(--ch-orange);
  padding-left: 4px;
}
.ch-footer .social-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.ch-footer .social-ico:hover {
  background: var(--ch-orange);
  color: #fff;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 1050;
  transition: 0.25s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ============ THEME TOGGLE BUTTON (NAVBAR) ============ */
.theme-toggle-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  color: var(--ch-orange);
  border: 1.5px solid var(--ch-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.theme-toggle-nav:hover {
  background: var(--ch-orange);
  color: #fff;
  transform: scale(1.08);
}
body.light-theme .theme-toggle-nav {
  color: var(--ch-orange);
  border-color: var(--ch-orange);
}

/* ============ LIGHT THEME OVERRIDES ============ */
body.light-theme {
  background-color: #ffffff;
  color: #2b3040;
}
body.light-theme .topbar {
  background: #f4f5f8;
  color: #2b3040;
  border-bottom: 1px solid var(--ch-border-light);
}
body.light-theme .topbar a,
body.light-theme .topbar span {
  color: #2b3040 !important;
}
body.light-theme .topbar .social-ico {
  background: rgba(0, 0, 0, 0.05);
  color: #2b3040;
}
body.light-theme .ch-navbar {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid var(--ch-border-light);
}
body.light-theme .ch-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
}
body.light-theme .ch-navbar .nav-link {
  color: #2b3040 !important;
}
body.light-theme .ch-navbar .nav-link:hover,
body.light-theme .ch-navbar .nav-link.active {
  color: var(--ch-orange) !important;
}
body.light-theme .ch-navbar .navbar-toggler {
  filter: invert(1);
}
body.light-theme #nav-logo,
body.light-theme #footer-logo {
  filter: invert(1) hue-rotate(180deg);
}
body.light-theme .hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 144, 0, 0.15), transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(0, 120, 255, 0.08), transparent 55%),
    linear-gradient(135deg, #ffffff 0%, #f4f5f8 100%);
  color: #2b3040;
}
body.light-theme .hero-subtitle {
  color: #5b6172;
}
body.light-theme .section-dark,
body.light-theme .section-darker {
  background: #ffffff;
  color: #2b3040;
}
body.light-theme .section-light {
  background: #f4f5f8;
}
body.light-theme .section-dark .lead-2,
body.light-theme .section-darker .lead-2 {
  color: #5b6172;
}
body.light-theme .dark-card {
  background: #ffffff;
  border-color: var(--ch-border-light);
}
body.light-theme .dark-card h5 {
  color: #2b3040;
}
body.light-theme .dark-card p {
  color: #5b6172;
}
body.light-theme .solution-card {
  background: #ffffff;
  border-color: var(--ch-border-light);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.1);
}
body.light-theme .solution-card h4 {
  color: #2b3040;
}
body.light-theme .solution-card ul {
  color: #5b6172;
}
body.light-theme .contact-card {
  background: #ffffff;
  border-color: var(--ch-border-light);
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.15);
}
body.light-theme .contact-card .form-label {
  color: #2b3040;
}
body.light-theme .contact-card .form-control,
body.light-theme .contact-card .form-select {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #2b3040;
}
body.light-theme .contact-card .form-control::placeholder {
  color: #9096a5;
}
body.light-theme .contact-list li {
  color: #2b3040;
  border-bottom-color: var(--ch-border-light);
}
body.light-theme .contact-list a {
  color: #2b3040;
}
body.light-theme .contact-social a {
  color: #2b3040;
  background: rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .ch-footer {
  background: #f4f5f8;
  color: #5b6172;
}
body.light-theme .ch-footer h6,
body.light-theme .ch-footer #footer-about,
body.light-theme .ch-footer .footer-links a {
  color: #2b3040;
}
body.light-theme .ch-footer .footer-links a:hover {
  color: var(--ch-orange);
}
body.light-theme .ch-footer .social-ico {
  background: rgba(0, 0, 0, 0.06);
  color: #2b3040;
}

/* Light theme: force dark-gray on headings/titles/text explicitly marked white */
body.light-theme .section-dark .text-white,
body.light-theme .section-darker .text-white,
body.light-theme .ch-footer h6.text-white,
body.light-theme #contact-title,
body.light-theme #sol-title,
body.light-theme #func-title {
  color: #2b3040 !important;
}
body.light-theme .section-dark .text-muted-2,
body.light-theme .section-darker .text-muted-2,
body.light-theme .ch-footer .text-muted-2 {
  color: #5b6172 !important;
}
body.light-theme .solution-card .btn-outline-light-2 {
  color: #2b3040;
  border-color: rgba(0, 0, 0, 0.2);
}
body.light-theme .solution-card .btn-outline-light-2:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #2b3040;
}

/* "Ver soluções" (hero) usa o mesmo fundo do botão "Solicitar proposta" nos dois temas */
.hero .btn-outline-light-2 {
  background: linear-gradient(135deg, var(--ch-orange), #ffb347);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px -12px rgba(255, 144, 0, 0.75);
}
.hero .btn-outline-light-2:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(255, 144, 0, 0.9);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .hero {
    padding: 130px 0 70px;
  }
  .section {
    padding: 70px 0;
  }
  .ch-navbar {
    background: rgba(15, 18, 25, 0.97);
  }
  .navbar-collapse {
    padding-top: 14px;
  }
  .hero-image-wrap {
    margin-top: 32px;
  }
  .ch-navbar .nav-link {
    margin: 4px 0;
  }
  .ch-navbar .nav-link::after {
    display: none;
  }
}
@media (max-width: 576px) {
  .contact-card {
    padding: 22px;
  }
  .wa-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }
  .hero {
    padding: 110px 0 56px;
  }
  .section {
    padding: 56px 0;
  }
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero .btn,
  .hero .d-flex.flex-wrap .btn {
    width: 100%;
  }
  .hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-card,
  .dark-card,
  .solution-card {
    padding: 24px 20px;
  }
  .compare-table th,
  .compare-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .section h2 {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }
  .topbar {
    font-size: 0.78rem;
  }
  .topbar .container > .d-flex {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .contact-card .form-control,
  .contact-card .form-select {
    font-size: 0.95rem;
  }
}
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .badge-partner {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
}