/* =====================================================
   ALMEIDA SITES — Layout Digital Agency
   ===================================================== */

:root {
  /* Brand palette */
  --primary:        #2563eb;   /* Blue */
  --primary-600:    #1d4ed8;
  --primary-700:    #1e40af;
  --primary-50:     #eff6ff;
  --primary-100:    #dbeafe;

  --accent:         #60a5fa;
  --accent-light:   #93c5fd;

  /* Navy / dark */
  --navy:           #0b1e3f;
  --navy-700:       #0f2748;
  --navy-800:       #0a1c38;
  --navy-900:       #07142a;

  /* Ink / neutrals */
  --ink-900:        #0f172a;
  --ink-800:        #1e293b;
  --ink-700:        #334155;
  --ink-600:        #475569;
  --ink-500:        #64748b;
  --ink-400:        #94a3b8;
  --ink-300:        #cbd5e1;
  --ink-200:        #e2e8f0;
  --ink-100:        #f1f5f9;
  --ink-50:         #f8fafc;

  --white:          #ffffff;

  /* Radii */
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md:  0 6px 18px rgba(15, 23, 42, .07);
  --shadow-lg:  0 18px 40px rgba(15, 23, 42, .10);
  --shadow-xl:  0 30px 60px rgba(15, 23, 42, .15);
  --shadow-blue: 0 14px 30px rgba(37, 99, 235, .22);

  /* Typography */
  --font:       'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container:  1200px;
  --nav-h:      78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 .6rem;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p  { margin: 0 0 1rem; color: var(--ink-600); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

/* ============== Highlight helpers ============== */
.text-highlight {
  position: relative;
  display: inline-block;
  color: var(--primary);
  padding: 0 4px;
  background: linear-gradient(120deg,
    rgba(37, 99, 235, .15) 0%,
    rgba(96, 165, 250, .22) 50%,
    rgba(37, 99, 235, .15) 100%);
  background-size: 200% 100%;
  animation: highlightShimmer 4s ease-in-out infinite;
  border-radius: 4px;
}
.text-highlight-light {
  color: var(--accent);
}
@keyframes highlightShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ============== Reveal animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }
.reveal.d4.in { transition-delay: .32s; }

/* ============== Kicker ============== */
.kicker, .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  background: var(--primary-50);
  border-radius: var(--r-full);
  border: 1px solid var(--primary-100);
  margin-bottom: 1rem;
}
.kicker.centered { justify-content: center; }
.kicker .dot, .hero-eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: .94rem;
  font-family: var(--font);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .22s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, .35);
  color: var(--white);
}
.btn-primary:hover::after { left: 125%; }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--ink-200);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm  { padding: 8px 16px; font-size: .85rem; }
.btn-lg  { padding: 14px 28px; font-size: 1rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}
.navbar-custom.scrolled {
  background: rgba(255,255,255,.98);
  border-bottom-color: var(--ink-100);
  box-shadow: 0 2px 14px rgba(15,23,42,.04);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li { position: relative; }
.nav-links > li > a,
.nav-links .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--ink-700);
  font-weight: 500;
  font-size: .94rem;
  border-radius: var(--r-full);
  transition: color .2s ease, background .2s ease;
}
.nav-links > li > a:hover,
.nav-links .dropdown-toggle:hover,
.nav-links > li > a.active {
  color: var(--primary);
  background: var(--primary-50);
}
.nav-links .dropdown-toggle::after { display: none !important; }

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 8px;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1000;
}
.nav-links .dropdown:hover > .dropdown-menu,
.nav-links .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .dropdown-menu .dropdown-item {
  display: block;
  padding: 9px 12px;
  color: var(--ink-700);
  font-size: .9rem;
  border-radius: 8px;
  transition: all .2s ease;
  text-decoration: none;
}
.nav-links .dropdown-menu .dropdown-item:hover {
  background: var(--primary-50);
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 8px;
  color: var(--navy);
  cursor: pointer;
}

.d-none { display: none !important; }
@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
}

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 63, .5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 998;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu-container {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  background: var(--white);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.12);
}
.mobile-menu-container.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ink-100);
}
.btn-close-mobile {
  background: var(--ink-50);
  border: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-700);
  cursor: pointer;
}

.mobile-menu-content {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.btn-block-mobile { display: flex; width: 100%; margin-bottom: 1rem; }
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-item .mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  color: var(--ink-800);
  font-weight: 500;
  border-bottom: 1px solid var(--ink-100);
}
.mobile-submenu {
  list-style: none;
  padding: 0 0 8px 14px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-submenu.open { max-height: 400px; }
.mobile-submenu li a {
  display: block;
  padding: 10px 6px;
  color: var(--ink-600);
  font-size: .92rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 50px) 0 70px;
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
.hero-blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 70%);
  top: -120px; right: -80px;
  animation: blobDrift 14s ease-in-out infinite;
}
.hero-blob-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(96, 165, 250, .28), transparent 70%);
  bottom: -100px; left: -60px;
  animation: blobDrift 18s ease-in-out infinite reverse;
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .55; }
  33%      { transform: translate(30px, -25px) scale(1.08); opacity: .65; }
  66%      { transform: translate(-25px, 20px) scale(.95); opacity: .5; }
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  animation: dotsFloat 30s linear infinite;
}
@keyframes dotsFloat {
  0%   { background-position: 0 0; }
  100% { background-position: 26px 26px; }
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-title { margin: 8px 0 18px; color: var(--navy); }
.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-600);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Mockup Laptop + Phone ---- */
.hero-mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.mockup-laptop {
  position: relative;
  width: 100%;
  max-width: 540px;
  animation: floatLaptop 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes floatLaptop {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(-.4deg); }
}
.mockup-laptop-screen {
  background: var(--white);
  border-radius: 14px 14px 4px 4px;
  border: 2px solid var(--ink-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.mockup-laptop-base {
  height: 14px;
  margin: 0 -20px;
  background: linear-gradient(180deg, var(--ink-200), var(--ink-300));
  border-radius: 0 0 18px 18px;
  position: relative;
}
.mockup-laptop-base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 80px; height: 6px;
  background: var(--ink-100);
  border-radius: 0 0 8px 8px;
}
.mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--ink-100);
  background: var(--ink-50);
}
.mock-browser-bar > span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-300);
}
.mock-browser-bar > span:nth-child(1) { background: #ff5f57; }
.mock-browser-bar > span:nth-child(2) { background: #febc2e; }
.mock-browser-bar > span:nth-child(3) { background: #28c840; }
.mock-url {
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border: 1px solid var(--ink-200);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .7rem;
  color: var(--ink-500);
  min-width: 180px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.url-caret {
  display: inline-block;
  width: 1.5px;
  height: 10px;
  background: var(--primary);
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink {
  50% { opacity: 0; }
}

.mock-content {
  padding: 18px;
  display: grid;
  gap: 12px;
}
.mock-hero-block {
  position: relative;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  overflow: hidden;
}
.mock-hero-block .shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,.5) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: shineSweep 3.5s ease-in-out infinite;
}
@keyframes shineSweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.mock-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-stat-card {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-line {
  height: 5px;
  background: var(--ink-200);
  border-radius: 3px;
  width: 70%;
}
.m-num {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
}

.mock-chart {
  height: 80px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 6px;
  padding: 6px;
}
.mock-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}
.chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2.4s ease-out .4s forwards;
}
.chart-area {
  opacity: 0;
  animation: fadeIn .9s ease-out 1.6s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}
.mbar {
  flex: 1;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 4px 4px 2px 2px;
  animation: barGrow 1.1s cubic-bezier(.34,1.56,.64,1) var(--d, 0s) forwards,
             barPulse 3s ease-in-out calc(var(--d, 0s) + 1.5s) infinite;
}
@keyframes barGrow {
  to { height: var(--h); }
}
@keyframes barPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .75; }
}

.mockup-phone {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 130px;
  height: 250px;
  background: var(--navy);
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--ink-800);
  animation: floatPhone 5s ease-in-out infinite;
  animation-delay: .8s;
  will-change: transform;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(.6deg); }
}
.mockup-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 5px;
  background: var(--ink-900);
  border-radius: 0 0 6px 6px;
  z-index: 1;
}
.mockup-phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 16px;
  padding: 18px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-phone-bar {
  height: 8px;
  width: 50%;
  background: var(--ink-200);
  border-radius: 4px;
  margin: 0 auto;
}
.mock-phone-block {
  position: relative;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  overflow: hidden;
}
.mock-phone-block .shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,.45) 50%,
    transparent 70%);
  transform: translateX(-100%);
  animation: shineSweep 4s ease-in-out 1s infinite;
}
.mock-phone-list { display: flex; flex-direction: column; gap: 6px; }
.mock-phone-list span {
  height: 10px;
  background: var(--ink-100);
  border-radius: 3px;
}
.mock-phone-list span:nth-child(2) { width: 75%; }
.mock-phone-list span:nth-child(3) { width: 55%; }
.mock-phone-cta {
  position: relative;
  margin-top: auto;
  height: 26px;
  background: var(--primary);
  border-radius: 6px;
  overflow: hidden;
}
.cta-pulse {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.25);
  border-radius: 6px;
  animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(.85); opacity: 0; }
  50%      { transform: scale(1); opacity: 1; }
}

/* ---- Floating Badges ---- */
.float-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  will-change: transform;
}
.float-badge-stat {
  top: 18px;
  left: -28px;
  animation: floatBadge 5.5s ease-in-out infinite;
}
.float-badge-rating {
  bottom: 28px;
  left: -18px;
  animation: floatBadge 6.5s ease-in-out 1s infinite reverse;
}
.float-badge-live {
  top: -8px;
  right: 14px;
  padding: 7px 13px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--navy);
  animation: floatBadge 5s ease-in-out .4s infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-10px) rotate(1.5deg); }
}

.fb-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.fb-text strong {
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
}
.fb-text span {
  color: var(--ink-500);
  font-size: .68rem;
}

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.fb-stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbf24;
}
.float-badge-rating {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.float-badge-rating span {
  font-size: .68rem;
  color: var(--ink-500);
  font-weight: 600;
}

/* ---- Hero Stats ---- */
.hero-stats {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-md);
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-info { display: flex; flex-direction: column; }
.stat-info strong {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
}
.stat-info span {
  color: var(--ink-500);
  font-size: .85rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { padding: 100px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-700);
  font-size: .98rem;
}
.feat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--primary-50);
  color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.dashboard-mock {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.dash-head {
  padding: 14px 18px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-title {
  width: 90px; height: 10px;
  background: var(--ink-300);
  border-radius: 3px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-300);
}
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-body { padding: 22px; }
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.dash-stat {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.dash-stat .d-num {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}
.dash-stat .d-label {
  color: var(--ink-500);
  font-size: .75rem;
}
.dash-chart { width: 100%; }
.dash-chart svg { width: 100%; height: 120px; display: block; }

.dashboard-mock-phone {
  position: absolute;
  right: -10px;
  bottom: -30px;
  width: 100px;
  height: 200px;
  background: var(--navy);
  border-radius: 22px;
  padding: 6px;
  box-shadow: var(--shadow-xl);
}
.phone-screen-mini {
  background: var(--white);
  height: 100%;
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-screen-mini span {
  height: 8px;
  background: var(--ink-100);
  border-radius: 3px;
}
.phone-screen-mini span:nth-child(1) { width: 60%; }
.phone-screen-mini span:nth-child(2) { width: 80%; }
.phone-screen-mini span:nth-child(3) { width: 50%; }
.phone-cta-mini {
  margin-top: auto;
  height: 22px;
  background: var(--primary);
  border-radius: 6px;
}

/* ============================================
   SECTION HEAD
   ============================================ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--ink-500); font-size: 1.02rem; margin: 0; }

/* ============================================
   SERVICES
   ============================================ */
.services-section {
  padding: 100px 0;
  background: var(--ink-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .3s ease;
  color: var(--ink-700);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: all .3s ease;
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}
.service-card h4 { color: var(--navy); margin: 0; }
.service-card p {
  color: var(--ink-500);
  font-size: .92rem;
  margin: 0;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  margin-top: 6px;
  transition: gap .25s ease;
}
.service-card:hover .service-link { gap: 10px; }

/* ============================================
   PROJECTS
   ============================================ */
.projects-section {
  padding: 100px 0;
  background: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .3s ease;
  color: var(--ink-700);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-100);
  box-shadow: var(--shadow-lg);
}
.project-thumb {
  position: relative;
  aspect-ratio: 700 / 500;
  background: var(--ink-50);
  overflow: hidden;
}
.project-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.03); }
.project-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.project-body { padding: 22px; }
.project-body h4 { color: var(--navy); margin-bottom: 6px; }
.project-body p { color: var(--ink-500); font-size: .92rem; margin-bottom: 12px; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  transition: gap .25s ease;
}
.project-card:hover .project-link { gap: 10px; }

.project-placeholder {
  background: linear-gradient(135deg, var(--primary-50), var(--ink-50));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.placeholder-mock {
  width: 100%;
  background: var(--white);
  padding: 14px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-md);
}
.ph-line {
  height: 8px;
  background: var(--ink-100);
  border-radius: 3px;
}
.ph-line.short { width: 65%; }
.ph-block {
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 6px;
}

/* ============================================
   TECH SECTION
   ============================================ */
.tech-section {
  padding: 100px 0;
  background: var(--ink-50);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.tech-item {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .25s ease;
}
.tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-100);
}
.tech-item svg { display: block; }
.tech-item span {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-700);
}

/* ============================================
   BLOG
   ============================================ */
.blog-section {
  padding: 100px 0;
  background: var(--white);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.blog-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink-100);
  overflow: hidden;
  display: block;
}
.blog-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.blog-body { padding: 22px; }
.blog-meta-date {
  font-size: .78rem;
  color: var(--ink-500);
  font-weight: 500;
  margin-bottom: 6px;
}
.blog-body h4 { margin-bottom: 8px; }
.blog-body h4 a { color: var(--navy); transition: color .2s ease; }
.blog-body h4 a:hover { color: var(--primary); }
.blog-body p { color: var(--ink-500); font-size: .92rem; margin-bottom: 12px; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: .88rem;
  transition: gap .25s ease;
}
.blog-card:hover .blog-read-more { gap: 10px; }

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  padding: 80px 0;
  background: var(--white);
}
.cta-final-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 70%, var(--primary-700) 130%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-final-card::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(96, 165, 250, .25), transparent 70%);
  top: -150px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.cta-final-text { position: relative; z-index: 1; }
.cta-final-text h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  margin-bottom: 14px;
}
.cta-final-text p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 26px;
}
.cta-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-final-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.dark-mock {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.dark-mock .dash-head {
  background: rgba(255,255,255,.04);
  border-bottom-color: rgba(255,255,255,.08);
}
.dark-mock .dash-title { background: rgba(255,255,255,.2); }
.dark-mock .dash-dots span { background: rgba(255,255,255,.2); }

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 100px 0;
  background: var(--ink-50);
}
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--white) !important;
  border: 1px solid var(--ink-100) !important;
  border-radius: var(--r-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all .25s ease;
}
.accordion-item:hover {
  border-color: var(--primary-100) !important;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  padding: 18px 22px !important;
  background: var(--white) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  font-family: var(--font) !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: var(--r-md) !important;
}
.accordion-button:not(.collapsed) {
  background: var(--primary-50) !important;
  color: var(--primary) !important;
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
}
.accordion-body {
  padding: 0 22px 20px !important;
  color: var(--ink-600);
  font-size: .95rem;
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 18px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
}
.footer-brand p {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: all .25s ease;
}
.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: var(--white);
}

.footer-col h6 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links, .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-links li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.65);
  font-size: .92rem;
}
.footer-contact li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact li a {
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}
.footer-contact li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.6);
  transition: color .2s ease;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  z-index: 999;
  transition: transform .25s ease;
  animation: floatPulse 2.2s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.08); color: var(--white); }
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .35); }
  50%      { box-shadow: 0 12px 28px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================
   COOKIES
   ============================================ */
.box-cookies {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--ink-100);
  z-index: 998;
}
.box-cookies.hide { display: none; }
.msg-cookies {
  flex: 1;
  font-size: .85rem;
  color: var(--ink-600);
}
.msg-cookies a { color: var(--primary); }
.btn-cookies { padding: 8px 18px; font-size: .85rem; }

/* ============================================
   INTERNAL PAGES
   ============================================ */
body:not(#home) main {
  padding-top: var(--nav-h);
}

.page-hero {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--ink-100);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 235, .12), transparent 70%);
  top: -120px; right: -80px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--navy);
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.page-hero .page-lead {
  color: var(--ink-500);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-full);
  font-size: .82rem;
}
.page-breadcrumb a {
  color: var(--ink-600);
  transition: color .2s ease;
}
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb .sep { color: var(--ink-300); }
.page-breadcrumb .current { color: var(--navy); font-weight: 600; }

/* ============================================
   ARTICLE + SIDEBAR
   ============================================ */
.article-section {
  padding: 70px 0;
  background: var(--white);
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 50px;
  align-items: start;
}
.article-main { min-width: 0; }

.article-hero-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}
.article-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  color: var(--ink-700);
  font-size: 1.02rem;
  line-height: 1.75;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: .8rem;
}
.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.3rem; }
.article-content h4 { font-size: 1.1rem; }
.article-content h2:first-child,
.article-content h3:first-child { margin-top: 0; }
.article-content p { margin-bottom: 1rem; color: var(--ink-600); }
.article-content strong { color: var(--navy); font-weight: 600; }
.article-content ul,
.article-content ol {
  padding-left: 0;
  margin-bottom: 1.4rem;
  list-style: none;
}
.article-content ul li,
.article-content ol li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink-600);
}
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 16px;
  width: 14px; height: 14px;
  background: var(--primary-50);
  border-radius: 50%;
}
.article-content ul li::after {
  content: "";
  position: absolute;
  left: 8px; top: 20px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.article-content ol { counter-reset: a-counter; }
.article-content ol li { counter-increment: a-counter; }
.article-content ol li::before {
  content: counter(a-counter);
  position: absolute;
  left: 0; top: 9px;
  width: 22px; height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.article-content a {
  color: var(--primary);
  font-weight: 500;
  border-bottom: 1px solid var(--primary-100);
  transition: border-color .2s ease;
}
.article-content a:hover { border-color: var(--primary); }
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
  margin: 1.5rem 0;
}
.article-content blockquote {
  border-left: 3px solid var(--primary);
  background: var(--primary-50);
  padding: 16px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--ink-700);
  margin: 1.5rem 0;
}

/* ============================================
   SIDEBAR CARD
   ============================================ */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-card {
  background: linear-gradient(160deg, var(--white) 0%, var(--ink-50) 100%);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}
.sidebar-card .kicker { margin-bottom: .9rem; }
.sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.sidebar-card p {
  color: var(--ink-500);
  font-size: .94rem;
  margin-bottom: 18px;
}
.sidebar-card .btn { margin-bottom: 18px; }

.sidebar-info {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink-100);
  padding-top: 16px;
}
.sidebar-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.sidebar-info li + li { border-top: 1px solid var(--ink-100); }
.info-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-50);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-info li div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.sidebar-info li strong {
  font-size: .75rem;
  color: var(--ink-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.sidebar-info li a,
.sidebar-info li span {
  color: var(--navy);
  font-weight: 500;
  font-size: .92rem;
}
.sidebar-info li a:hover { color: var(--primary); }

.w-100 { width: 100%; }

/* Categorias do sidebar do blog */
.sidebar-cats {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-cats li { margin-bottom: 6px; }
.sidebar-cats li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 10px;
  color: var(--ink-700);
  font-size: .92rem;
  font-weight: 500;
  transition: all .2s ease;
}
.sidebar-cats li a:hover {
  border-color: var(--primary);
  background: var(--primary-50);
  color: var(--primary);
  transform: translateX(2px);
}
.cat-count {
  background: var(--ink-100);
  color: var(--ink-600);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  transition: all .2s ease;
}
.sidebar-cats li a:hover .cat-count {
  background: var(--primary);
  color: var(--white);
}

/* Lista de posts recentes no sidebar */
.sidebar-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sidebar-posts li {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-100);
}
.sidebar-posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.sidebar-posts .post-thumb {
  flex-shrink: 0;
  width: 78px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink-100);
}
.sidebar-posts .post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.sidebar-posts li:hover .post-thumb img { transform: scale(1.06); }
.post-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.post-meta {
  font-size: .72rem;
  color: var(--ink-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.sidebar-posts h5 {
  font-size: .88rem;
  margin: 0;
  line-height: 1.35;
}
.sidebar-posts h5 a {
  color: var(--navy);
  transition: color .2s ease;
}
.sidebar-posts h5 a:hover { color: var(--primary); }

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
  border-color: var(--navy-700);
  color: var(--white);
  text-align: center;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(96, 165, 250, .25), transparent 70%);
  top: -80px; right: -50px;
  border-radius: 50%;
  pointer-events: none;
}
.sidebar-cta > * { position: relative; z-index: 1; }
.sidebar-cta .cta-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  margin: 0 auto 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar-cta h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.sidebar-cta p {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  margin-bottom: 18px;
}

/* ============================================
   RELATED SECTION
   ============================================ */
.related-section {
  padding: 80px 0;
  background: var(--ink-50);
}
.related-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-card .kicker { margin-bottom: .9rem; }
.form-card h2 { color: var(--navy); margin-bottom: 6px; }
.form-card > p { color: var(--ink-500); margin-bottom: 28px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  position: relative;
}
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-field .req { color: var(--primary); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--ink-800);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 38px;
}
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--ink-300);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
  background: var(--white);
}
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-field input.is-invalid:focus,
.form-field select.is-invalid:focus,
.form-field textarea.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .15);
}
.field-error {
  display: block;
  min-height: 18px;
  font-size: .78rem;
  color: #dc2626;
  margin-top: 6px;
  line-height: 1.3;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-actions .btn { min-width: 200px; }
.form-disclaimer {
  font-size: .78rem;
  color: var(--ink-500);
  flex: 1;
  line-height: 1.4;
}

/* Botão com loading state */
#submitBtn .btn-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: btnSpin .7s linear infinite;
}
#submitBtn.loading .btn-label,
#submitBtn.loading .btn-arrow { opacity: 0; visibility: hidden; position: absolute; }
#submitBtn.loading .btn-spinner { display: inline-block; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* Feedback (sucesso/erro) */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 22px;
  font-size: .93rem;
  line-height: 1.45;
  animation: feedbackIn .35s ease;
}
.form-feedback.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.form-feedback.success svg { color: #10b981; }
.form-feedback.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.form-feedback.error svg { color: #ef4444; }
.form-feedback svg { flex-shrink: 0; margin-top: 2px; }
@keyframes feedbackIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PORTFOLIO LIST PAGE
   ============================================ */
.portfolio-filter-section {
  padding: 30px 0;
  background: var(--white);
  border-bottom: 1px solid var(--ink-100);
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.96);
}
.portfolio-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-full);
  padding: 10px 18px;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
  color: var(--ink-500);
}
.filter-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font);
  font-size: .92rem;
  width: 100%;
  color: var(--ink-800);
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.filter-pill {
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
  font-size: .85rem;
  font-weight: 500;
  transition: all .2s ease;
}
.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}

.portfolio-list-section {
  padding: 50px 0 80px;
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state svg { margin-bottom: 16px; }
.empty-state h3 { color: var(--navy); margin-bottom: 6px; }
.empty-state p { color: var(--ink-500); }
.empty-state a { color: var(--primary); text-decoration: underline; }

.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--ink-100);
  background: var(--white);
  color: var(--ink-700);
  font-weight: 600;
  font-size: .88rem;
  transition: all .2s ease;
}
.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  pointer-events: none;
}
.page-ellipsis {
  color: var(--ink-400);
  padding: 0 4px;
}

/* Portfolio CTA on home */
.projects-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-mockup { order: -1; max-width: 540px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cta-final-card { grid-template-columns: 1fr; padding: 44px 30px; }
  .cta-final-visual { display: none; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Hide rating badge on small breakpoints, scale others */
@media (max-width: 1024px) {
  .float-badge-rating { display: none; }
  .float-badge-stat { left: -8px; top: 8px; }
}

/* Respect user preferences */
@media (prefers-reduced-motion: reduce) {
  .mockup-laptop,
  .mockup-phone,
  .hero-blob-1,
  .hero-blob-2,
  .float-badge,
  .text-highlight,
  .mock-hero-block .shine,
  .mock-phone-block .shine,
  .cta-pulse,
  .live-dot,
  .mbar,
  .url-caret,
  .hero-dots {
    animation: none !important;
  }
  .chart-line { stroke-dashoffset: 0 !important; }
  .chart-area { opacity: 1 !important; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .nav-links { display: none; }
  .nav-cta { display: none !important; }

  .float-badge-stat { display: none; }
  .float-badge-live { right: 8px; top: -4px; }

  .hero { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 50px; }
  .hero-title { font-size: 1.85rem; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
    margin-top: 40px;
  }
  .stat-icon { width: 38px; height: 38px; }
  .stat-info strong { font-size: .92rem; }
  .stat-info span { font-size: .76rem; }

  .about-section, .services-section, .projects-section, .tech-section, .blog-section, .faq-section,
  .article-section, .related-section {
    padding: 60px 0;
  }
  .page-hero { padding: 50px 0 40px; }
  .related-grid { grid-template-columns: 1fr; }
  .sidebar-card { padding: 22px 20px; }
  .section-head { margin-bottom: 34px; }

  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .blog-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-filter { flex-direction: column; align-items: stretch; }
  .filter-search { max-width: 100%; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 18px; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .form-disclaimer { flex: none; }

  .cta-final-card { padding: 36px 24px; }
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn { width: 100%; }

  .footer { padding: 50px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }

  .float-wa { width: 52px; height: 52px; right: 18px; bottom: 18px; }
  .float-wa svg { width: 24px; height: 24px; }

  .mockup-phone { width: 100px; height: 200px; }

  .nav-logo-img { height: 36px; }
}
