/* =========================================================
   Abilitá Tecnologia — Design System
   Cores extraídas da marca: azul #003399 | cinza #8A8A8A
   ========================================================= */

:root {
  --abt-blue: #003399;
  --abt-blue-dark: #001F5C;
  --abt-blue-light: #E8EDFB;
  --abt-gray: #8A8A8A;
  --abt-gray-light: #F5F6F8;
  --abt-ink: #16181D;
  --abt-ink-70: rgba(22, 24, 29, 0.7);
  --font-heading: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--abt-ink);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--abt-ink);
  font-weight: 700;
}

a { text-decoration: none; }

.section-padding { padding: 100px 0; }
@media (max-width: 767.98px) {
  .section-padding { padding: 64px 0; }
}

.bg-light-custom { background-color: var(--abt-gray-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--abt-blue);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--abt-blue);
  margin-right: 10px;
}
.section-title {
  font-size: clamp(1.75rem, 2.4vw + 1rem, 2.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-text {
  color: var(--abt-ink-70);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-heading { margin-bottom: 3rem; }

.text-light-70 { color: rgba(255,255,255,.7) !important; }

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background-color: var(--abt-blue);
  border: 1px solid var(--abt-blue);
  color: #fff;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-primary-custom:hover {
  background-color: var(--abt-blue-dark);
  border-color: var(--abt-blue-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-custom {
  background-color: transparent;
  border: 1px solid var(--abt-gray);
  color: var(--abt-ink);
  font-weight: 600;
  transition: all .25s ease;
}
.btn-outline-custom:hover {
  background-color: var(--abt-ink);
  border-color: var(--abt-ink);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background-color: rgba(255,255,255,0);
  padding: 20px 0;
  transition: all .3s ease;
}
.navbar-custom.scrolled {
  background-color: rgba(255,255,255,.97);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  padding: 12px 0;
  backdrop-filter: blur(6px);
}
.brand-logo { height: 34px; width: auto; }
@media (max-width: 991.98px) {
  #navMenu.navbar-collapse {
    background-color: #fff;
    margin-top: 14px;
    padding: 12px 16px 18px;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0,0,0,.14);
  }
}
.navbar-custom .nav-link {
  position: relative;
  color: var(--abt-ink);
  font-weight: 500;
  padding: .5rem 1rem;
  transition: color .2s ease;
}
.navbar-custom .nav-link:hover { color: var(--abt-blue); }
.navbar-custom .nav-link.active {
  color: var(--abt-blue);
  font-weight: 700;
}
.navbar-custom .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--abt-blue);
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  padding: 190px 0 100px;
  background: linear-gradient(180deg, #F7F9FD 0%, #FFFFFF 100%);
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .hero-section { padding: 150px 0 60px; }
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, var(--abt-blue-light) 0%, transparent 40%),
                     radial-gradient(circle at 85% 60%, var(--abt-blue-light) 0%, transparent 45%);
  z-index: 0;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  background: var(--abt-blue-light);
  color: var(--abt-blue);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 18px;
  border-radius: 50px;
}
.hero-title {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.text-gradient {
  background: linear-gradient(90deg, var(--abt-blue), #3E6CD4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--abt-ink-70);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--abt-ink-70);
}
.trust-item i { color: var(--abt-blue); margin-right: 6px; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 0 1.5rem; }
.node-graphic { width: 100%; max-width: 420px; height: auto; }
.pulse-node { animation: pulseNode 2.4s ease-in-out infinite; transform-origin: 220px 210px; }
@keyframes pulseNode {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* ---------- Fade-in animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .8s ease forwards;
}
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .34s; }
.delay-4 { animation-delay: .46s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Clientes ---------- */
.clients-bar {
  background: var(--abt-blue);
  padding: 56px 0;
}
.clients-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.25rem;
}
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  background: #fff;
  border: 1px dashed rgba(255,255,255,.5);
  border-radius: 12px;
  padding: .75rem 1.25rem;
  filter: grayscale(1);
  opacity: .85;
  transition: opacity .25s ease, filter .25s ease, border-color .25s ease;
}
.client-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: #fff;
}

/* ---------- About ---------- */
.about-checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .9rem;
  color: var(--abt-ink-70);
  font-size: 1rem;
}
.about-checklist i { color: var(--abt-blue); margin-top: 3px; }

.about-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.mini-card {
  background: var(--abt-gray-light);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,51,153,.08);
}
.mini-card i { font-size: 1.6rem; color: var(--abt-blue); margin-bottom: .75rem; display: block; }
.mini-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.mini-card p { font-size: .92rem; color: var(--abt-ink-70); margin: 0; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border: 1px solid #ECEEF2;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,51,153,.1);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--abt-blue-light);
  color: var(--abt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.service-card h4 { font-size: 1.2rem; margin-bottom: .75rem; }
.service-card p { color: var(--abt-ink-70); font-size: .96rem; line-height: 1.6; margin-bottom: 1.25rem; }
.service-link { color: var(--abt-blue); font-weight: 600; font-size: .92rem; }
.service-link i { transition: transform .2s ease; display: inline-block; }
.service-link:hover i { transform: translateX(4px); }

/* ---------- Diferenciais ---------- */
.diff-item {
  background: var(--abt-gray-light);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
}
.diff-item i { font-size: 1.5rem; color: var(--abt-blue); margin-bottom: .75rem; display: block; }
.diff-item h5 { font-size: 1rem; margin-bottom: .5rem; }
.diff-item p { font-size: .9rem; color: var(--abt-ink-70); margin: 0; }

/* ---------- Segmentos (dentro de Serviços) ---------- */
.segments-subsection {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid #E1E4EA;
}
.segments-title {
  font-size: clamp(1.5rem, 1.8vw + 1rem, 2rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
.segment-card {
  background: #fff;
  border: 1px solid #ECEEF2;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,51,153,.08);
  border-color: transparent;
}
.segment-card i { font-size: 1.6rem; color: var(--abt-blue); margin-bottom: .75rem; display: block; }
.segment-card h5 { color: var(--abt-ink); font-size: 1rem; margin: 0; font-weight: 600; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--abt-blue) 0%, var(--abt-blue-dark) 100%);
  padding: 90px 0;
}

/* ---------- Contact ---------- */
.contact-info-list { margin-top: 2rem; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info-item > div { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.contact-info-item i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--abt-blue-light);
  color: var(--abt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-item span { display: block; font-size: .8rem; color: var(--abt-ink-70); }
.contact-info-item strong { font-size: 1rem; }
.contact-info-item strong a { color: var(--abt-ink); }
.contact-info-item strong a:hover { color: var(--abt-blue); text-decoration: underline; }

.social-icons { display: flex; gap: .75rem; }
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--abt-blue-light);
  color: var(--abt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
}
.social-icons a:hover { background: var(--abt-blue); color: #fff; }

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,51,153,.08);
}
.contact-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  border: 1px solid #E1E4EA;
  padding: .7rem 1rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--abt-blue);
  box-shadow: 0 0 0 .2rem rgba(0,51,153,.12);
}

/* ---------- Footer ---------- */
.footer-custom {
  background: #0B1220;
  color: #fff;
  padding: 70px 0 30px;
}
.footer-logo-badge {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-block;
}
.footer-logo-badge img { height: 30px; width: auto; display: block; }
.footer-heading {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  margin-bottom: .7rem;
  display: flex;
  align-items: flex-start;
}
.footer-links li i { margin-top: .2em; flex-shrink: 0; }
.footer-links a {
  color: rgba(255,255,255,.7);
  transition: color .2s ease;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.footer-links a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.12); margin: 2.5rem 0 1.5rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--abt-blue);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,51,153,.3);
  transition: transform .2s ease, opacity .2s ease;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }

@media (max-width: 575.98px) {
  .about-card-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.4rem; bottom: 18px; right: 18px; }
  .back-to-top { display: none !important; }
}
