:root {
  --brand: #2369d8;
  --brand-2: #39c6e6;
  --brand-soft: #eaf2ff;
  --ink: #121b2f;
  --ink-soft: #657083;
  --surface: #f8fafc;
  --white: #fff;
  --border: #e3e8ef;
  --hero: #071226;
  --radius: 16px;
  --shadow: 0 12px 35px rgba(18, 27, 47, .08);
  --shadow-brand: 0 18px 45px rgba(35, 105, 216, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; backdrop-filter: blur(16px); border-bottom: 1px solid rgba(227,232,239,.85); }
.header-scroll {
   background: rgba(18, 27, 47, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: 1s;
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 310px; height: 310px; object-fit: contain; }
.brand > span { font-family: "Sora", sans-serif; font-weight: 800; font-size: 21px; }
.brand > span > span { color: var(--brand); }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { font-size: 14px; font-weight: 600; color: #fff; transition: .2s; }
.desktop-nav a:hover { color: var(--brand); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.mobile-menu { max-height: 0; overflow: hidden; background: #fff; transition: max-height .3s ease; border-top: 1px solid transparent; }
.mobile-menu.open { max-height: 480px; border-color: var(--border); }
.mobile-menu-inner { display: flex; flex-direction: column; padding-top: 18px; padding-bottom: 22px; gap: 5px; }
.mobile-menu-inner > a:not(.btn) { padding: 12px 8px; border-radius: 8px; font-weight: 600; color: var(--ink-soft); }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border: 0; border-radius: 12px; font-weight: 700; font-size: 15px; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow-brand); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.05); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.full { width: 100%; }

.hero { position: relative; min-height: 690px; padding: 150px 0 100px; display: flex; align-items: center; background: radial-gradient(ellipse at top left, #173f8e, var(--hero) 60%); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url('../img/hero-tech.jpg') center/cover no-repeat; opacity: .10; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(57,198,230,.3), transparent 62%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-copy { max-width: 850px; }
.pill { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 6px rgba(57,198,230,.10); }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; letter-spacing: -.025em; margin-top: 0; }
.hero h1 { margin-bottom: 24px; color: #fff; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; }
.gradient-text { background: linear-gradient(135deg, #4e91ff, #57e5f3); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 760px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.7; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions.center { justify-content: center; }

.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; padding-top: 36px; padding-bottom: 36px; }
.stats-grid div { display: flex; flex-direction: column; gap: 4px; }
.stats-grid strong { font-family: "Sora", sans-serif; font-size: 38px; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { color: var(--ink-soft); font-size: 14px; }

.section { padding: 100px 0; }
.section-soft { background: var(--surface); }
.section-header { max-width: 700px; margin-bottom: 54px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow span { width: 32px; height: 1px; background: var(--brand); }
.section-header h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.12; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--ink-soft); line-height: 1.7; margin: 0; }
.two-cols { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 64px; align-items: start; }
.rich-text { color: var(--ink-soft); line-height: 1.8; font-size: 16px; }
.rich-text p { margin: 0 0 20px; }
.rich-text strong { color: var(--ink); }
.values-wrap { position: relative; padding: 16px; }
.dots { position: absolute; inset: 0; border-radius: 28px; background-image: radial-gradient(rgba(35,105,216,.18) 1px, transparent 1px); background-size: 24px 24px; }
.values-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.values-card h3 { font-size: 22px; margin-bottom: 24px; }
.values-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.values-card li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.values-card i { color: var(--brand); font-size: 19px; }

.cards { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(35,105,216,.35); }
.card h3 { margin-bottom: 10px; font-size: 20px; }
.card p, .card blockquote { margin: 0; color: var(--ink-soft); line-height: 1.7; }
.card.compact { padding: 24px; }
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.card-title h3 { margin: 0; }
.icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 12px; }
.icon-gradient { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-size: 20px; margin-bottom: 22px; }
.icon-soft { width: 42px; height: 42px; flex-basis: 42px; color: var(--brand); background: var(--brand-soft); font-size: 18px; }
.cols-4 .card h3 { font-size: 18px; }
.cols-4 .card p, .compact p { font-size: 14px; }
.testimonial { display: flex; flex-direction: column; }
.quote { font-size: 30px; color: rgba(35,105,216,.32); margin-bottom: 18px; }
.testimonial blockquote { flex: 1; }
.testimonial figcaption { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.testimonial figcaption span { color: var(--ink-soft); font-size: 14px; }

.cta-section { padding-top: 40px; }
.cta-box { position: relative; overflow: hidden; border-radius: 30px; padding: 72px 40px; background: radial-gradient(ellipse at top left, #173f8e, var(--hero) 65%); }
.cta-content { position: relative; z-index: 2; max-width: 850px; margin: auto; text-align: center; }
.cta-content h2 { font-size: clamp(34px, 4.5vw, 54px); color: #fff; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,.72); font-size: 18px; margin: 0; }

.contact-grid { gap: 64px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
a.contact-item:hover { border-color: rgba(35,105,216,.4); transform: translateY(-2px); }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: var(--ink-soft); margin-bottom: 4px; }
.contact-item strong { overflow-wrap: anywhere; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; margin-bottom: 25px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field label span { color: var(--brand); }
.field input, .field textarea { width: 100%; border: 1px solid var(--border); background: #fff; color: var(--ink); border-radius: 10px; padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input { min-height: 48px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(35,105,216,.12); }
.privacy { margin: 12px 0 0; font-size: 12px; color: var(--ink-soft); text-align: center; line-height: 1.5; }
.form-retorno { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-retorno.success { display: block; background: #eaf9ef; color: #1a7a3a; border: 1px solid #bfe8cc; }
.form-retorno.error { display: block; background: #fff0f0; color: #b42318; border: 1px solid #f5c2c0; }

.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; margin-bottom: 48px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand > span { color: #fff; }
.footer-grid p { line-height: 1.7; margin: 0; font-size: 14px; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.footer-grid a { transition: color .2s; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #fff; }
.footer-grid i { width: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.48); }
.footer-bottom p { margin: 0; }

.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 16px 35px rgba(37,211,102,.35); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

@media (max-width: 1000px) {
  .desktop-nav, .desktop-whatsapp { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .cols-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 780px) {
  .container { width: min(100% - 30px, 1200px); }
  .header-inner { height: 68px; }
  html { scroll-padding-top: 76px; }
  .hero { min-height: auto; padding: 118px 0 74px; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .stats-grid strong { font-size: 32px; }
  .section { padding: 76px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 16px; }
  .two-cols, .cols-3 { grid-template-columns: 1fr; }
  .two-cols { gap: 38px; }
  .about-grid .section-header { margin-bottom: 28px; }
  .contact-grid { gap: 40px; }
  .cta-box { padding: 54px 22px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 520px) {
  .brand > span { font-size: 19px; }
  .brand img { width: 100px; height: 100px; }
  .hero h1 { font-size: 39px; }
  .pill { font-size: 11px; padding: 7px 11px; }
  .stats-grid { gap: 20px 12px; }
  .stats-grid strong { font-size: 29px; }
  .section-header h2 { font-size: 32px; }
  .cols-4 { grid-template-columns: 1fr; }
  .card, .card.compact { padding: 22px; }
  .contact-form { padding: 22px; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 27px; }
}
