/* ============================================================
   ANDRADE SOLUÇÕES — Global CSS
   Paleta oficial + Fonte Outfit
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  /* ---- Paleta Oficial Andrade ---- */
  --brand-deep:    #161b22;
  --brand-navy:    #2b364f;
  --brand-blue:    #2f5099;
  --brand-cyan:    #3da6ce;
  --brand-neutral: #cbcac9;

  /* ---- Aliases ---- */
  --navy:      var(--brand-deep);
  --navy-deep: #0e1218;
  --blue:      var(--brand-blue);
  --blue-mid:  var(--brand-blue);
  --accent:    var(--brand-cyan);
  --accent2:   var(--brand-cyan);
  --green:     #22c55e;
  --text:      #1a1f2e;
  --muted:     #64748b;
  --bg:        #f4f6f9;
  --white:     #ffffff;
  --border:    #e2e8f0;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius:    14px;
  --shadow:    0 8px 32px rgba(0,0,0,0.10);
  --trans:     0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-blue); margin-bottom: 10px; display: block;
}
.section-label.light { color: var(--brand-cyan); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; color: var(--brand-deep);
  letter-spacing: -0.2px; line-height: 1.15; margin-bottom: 14px;
}
.section-title.light { color: #fff; }

.section-sub { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 560px; }
.section-sub.light  { color: rgba(255,255,255,0.6); }
.section-sub.center { margin: 0 auto; text-align: center; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 9px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; transition: var(--trans); white-space: nowrap;
}
.btn-primary {
  background: var(--brand-cyan); color: var(--brand-deep);
  box-shadow: 0 4px 18px rgba(61,166,206,0.35);
}
.btn-primary:hover {
  background: #2f92b8; color: #fff;
  transform: translateY(-1px); box-shadow: 0 6px 24px rgba(61,166,206,0.5);
}
.btn-navy   { background: var(--brand-navy); color: #fff; }
.btn-navy:hover { background: var(--brand-blue); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.28); }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost  { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.14); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(22,27,34,0.88); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--trans);
}
#navbar.scrolled { background: rgba(14,18,24,0.98); }

.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo-img { height: 38px; width: auto; display: block; }

.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  padding: 7px 14px; border-radius: 7px;
  color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 500; transition: var(--trans);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.09); }
.nav-links a.active { color: var(--brand-cyan); background: rgba(61,166,206,0.1); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; display: block; transition: var(--trans); }

/* ---- FOOTER ---- */
footer { background: var(--brand-deep); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top {
  max-width: 1160px; margin: 0 auto; padding: 56px 32px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 13px; line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-logo-img { height: 44px; width: auto; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.45); font-size: 13px; transition: color var(--trans); }
.footer-col ul a:hover { color: var(--brand-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  max-width: 1160px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { color: rgba(255,255,255,0.28); font-size: 12px; }

/* ---- CARDS ---- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: var(--trans); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-accent { padding-top: 28px; position: relative; overflow: hidden; }
.card-accent::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

/* ---- PAGE HERO BASE ---- */
.page-hero {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-navy) 60%, #1d2c48 100%);
  padding: 128px 0 80px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,166,206,0.10) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61,166,206,0.2); }
  50%       { box-shadow: 0 0 0 12px rgba(61,166,206,0.06); }
}
.animate-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--brand-deep); padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08); gap: 4px; z-index: 999;
  }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; }
}
/* PARCEIROS */

.partners-section {
  padding: 80px 0;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
}

.partner-box {
  width: 180px;
  height: 100px;

  background: #fff;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 15px;

  transition: 0.3s ease;
}

.partner-box:hover {
  transform: translateY(-5px);
}

.partner-box img {
  max-width: 100%;
  max-height: 70px;

  object-fit: contain;
  display: block;
}