/* ============================================================
   M2 SERVIÇOS — Design System & Stylesheet
   Versão: 1.0 | Fase: Prototipagem
   ============================================================ */

/* ===== 01. CUSTOM PROPERTIES ===== */
:root {
  /* Brand */
  --blue:         #17629e;
  --blue-dark:    #0f4b7c;
  --blue-light:   #d0e7f5;
  --dark:         #231f20;
  --dark-2:       #2d2829;

  /* Neutros */
  --white:        #ffffff;
  --gray-50:      #f7f9fb;
  --gray-100:     #eef2f6;
  --gray-200:     #dde4ec;
  --gray-400:     #9aaabb;
  --gray-600:     #5a6978;
  --gray-800:     #2e3a48;

  /* Texto */
  --text-primary: #1a2433;
  --text-secondary: #4a5a6a;
  --text-muted:   #7a8a9a;
  --text-light:   rgba(255,255,255,0.88);
  --text-light-muted: rgba(255,255,255,0.65);

  /* WhatsApp */
  --wa:           #25D366;
  --wa-dark:      #128C7E;

  /* Sombras */
  --shadow-xs:    0 1px 3px rgba(0,0,0,0.07);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.09);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);
  --shadow-xl:    0 16px 64px rgba(0,0,0,0.20);
  --shadow-blue:  0 8px 32px rgba(23,98,158,0.35);

  /* Bordas */
  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-full:  9999px;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --header-h:         110px;
  --header-h-scrolled: 68px;

  /* Transição */
  --ease:         cubic-bezier(.4,0,.2,1);
  --t-fast:       .18s var(--ease);
  --t-base:       .28s var(--ease);
  --t-slow:       .42s var(--ease);
}

/* ===== 02. RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--gray-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ===== 03. TIPOGRAFIA ===== */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--text-primary); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }
p  { color: var(--text-secondary); }

/* ===== 04. LAYOUT UTILS ===== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header p {
  margin-top: .875rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

/* ===== 05. BADGE ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .875rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-blue {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.badge-white {
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.25);
}
.badge-dark {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===== 06. BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: var(--radius-full);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast),
              border-color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-lg { padding: .9375rem 2rem; font-size: 1rem; }

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 36px rgba(23,98,158,0.45);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37,211,102,0.38);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  box-shadow: 0 10px 36px rgba(37,211,102,0.48);
  transform: translateY(-2px);
}
.btn-whatsapp svg { flex-shrink: 0; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== 07. HEADER & NAVBAR ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--t-base), box-shadow var(--t-base), height var(--t-base);
  background: transparent;
}
.header.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  height: var(--header-h-scrolled);
}
.header.scrolled + .mobile-menu { top: var(--header-h-scrolled); }
.header.scrolled .nav-link { color: rgba(255,255,255,0.85); }
.header.scrolled .nav-link:hover { color: var(--white); }

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 99px; width: auto; transition: height var(--t-base); }
.header.scrolled .logo img { height: 64px; }
.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}
.logo-text span {
  color: var(--blue-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-link svg.chevron {
  transition: transform var(--t-fast);
}
.nav-item:hover .nav-link svg.chevron,
.nav-item:focus-within .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  border: 1px solid var(--gray-100);
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .625rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--blue);
}
.dropdown-menu a svg {
  color: var(--blue);
  flex-shrink: 0;
}

.nav-cta { margin-left: .75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: .65rem;
  margin-left: auto;
  background: var(--blue);
  border-radius: 8px;
  border: none;
}
.hamburger span {
  display: block;
  width: 31px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--dark);
  padding: 1.25rem var(--container-pad) 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .875rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mobile-submenu { padding-left: 1rem; }
.mobile-menu .mobile-submenu a {
  font-size: .9375rem;
  color: rgba(255,255,255,0.65);
  border-bottom: none;
  padding: .5rem 0;
}
.mobile-cta { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.mobile-cta .btn { display: flex; width: 80%; justify-content: center; text-align: center; }

/* ===== 08. HERO ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(35,31,32,0.69) 0%,
    rgba(23,98,158,0.59) 60%,
    rgba(15,75,124,0.66) 100%
  );
}
.hero-overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, #052443, transparent);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 7rem);
}

.hero-content { max-width: 600px; }

.hero-content .badge { margin-bottom: 1.5rem; }

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.375rem;
  letter-spacing: -.02em;
}
.hero-title span { color: var(--blue-light); }

.hero-text {
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero Visual — card flutuante */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }

.hero-card {
  background: rgba(23,98,158,0.10);
  border: 1px solid rgba(23,98,158,0.35);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 360px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-card-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.hero-card-badge {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: #4ade80;
}
.hero-card-badge::before {
  content: '';
  display: block;
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-service-item:last-child { border-bottom: none; }
.hero-service-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-light);
}
.hero-service-info { flex: 1; }
.hero-service-name {
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  display: block;
}
.hero-service-desc {
  font-size: .75rem;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: .1rem;
}
.hero-service-check {
  color: #4ade80;
  flex-shrink: 0;
}

.hero-card-footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-stat {
  text-align: center;
}
.hero-card-stat-num {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
}
.hero-card-stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-card-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== 09. CLIENTES BAR ===== */
.clients-bar {
  background: var(--white);
  padding-top: 1.25rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.clients-bar .clients-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.clients-bar .clients-track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.clients-bar .clients-track {
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.clients-bar .client-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.75rem;
  box-sizing: border-box;
}

.clients-bar .client-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter var(--t-base), opacity var(--t-base);
}

.clients-bar .client-logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.clients-bar .clients-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  padding: 0;
  transition: background var(--t-base), color var(--t-base);
}

.clients-bar .clients-arrow:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== 10. STATS BAR ===== */
.stats-bar {
  background: var(--blue);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  padding: 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-number span { color: var(--blue-light); }
.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ===== 10. SERVIÇOS ===== */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--blue-light);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--t-slow);
}
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}
.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .625rem;
  color: var(--text-primary);
}
.service-card-body p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--t-fast), color var(--t-fast);
}
.service-card-link:hover { gap: .625rem; color: var(--blue-dark); }

/* Card de serviço sem foto — fundo ícone centralizado */
.service-card-img--icon {
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img--icon svg {
  width: 52px;
  height: 52px;
  color: var(--blue);
  opacity: .6;
}

/* Hero lead (subtítulo abaixo do H1) */
.hero-lead {
  font-size: clamp(1rem, 1.75vw, 1.125rem);
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: .875rem;
}

/* ===== 11. POR QUE M2 ===== */
.why-m2 {
  background: #dee6ef;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.why-content .section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 2rem;
}
.why-features { display: flex; flex-direction: column; gap: 1.125rem; }
.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.why-feature:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}
.why-feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.why-feature-text h4 {
  font-size: .9375rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--text-primary);
}
.why-feature-text p {
  font-size: .8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.why-actions { margin-top: 25px; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

.why-visual { position: static; }
.why-img-container { position: relative; }
.why-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.why-img-wrap img { width: 100%; height: 520px; object-fit: cover; object-position: center top; }
.why-badge-float {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .875rem;
  border: 1px solid var(--gray-100);
}
.why-badge-float-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.why-badge-float-text strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.why-badge-float-text span {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== 12. SEGMENTOS ===== */
.segments { background: var(--gray-50); padding-bottom: clamp(1.5rem, 3vw, 2rem); }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.segment-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.segment-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin: 0 auto 1rem;
}
.segment-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.segment-card p { font-size: .8125rem; color: var(--text-muted); line-height: 1.5; }

/* ===== 13. PROVA SOCIAL / CONFIANÇA ===== */
.trust { background: var(--blue); padding-block: clamp(2rem, 4vw, 3rem); }
.trust .trust-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: unset;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: rgba(255,255,255,0.9);
}
.trust-item-icon { color: var(--blue-light); flex-shrink: 0; }
.trust-item strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
}
.trust-item span {
  font-size: .8125rem;
  color: rgba(255,255,255,0.65);
}
.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* ===== 14. CTA FINAL ===== */
.cta-final {
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(23,98,158,0.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}
.cta-final p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== 14b. FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 820px;
  margin: 3rem auto 0;
}
.faq-item {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq-item.is-open {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(23,98,158,0.10);
}
.faq-question { margin: 0; }
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  transition: color var(--t-base);
}
.faq-toggle:hover { color: var(--blue); }
.faq-item.is-open .faq-toggle { color: var(--blue); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.35s ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  padding: 0 1.75rem;
  transition: padding 0.35s ease;
}
.faq-item.is-open .faq-answer-inner { padding: 0 1.75rem 1.5rem; }
.faq-answer-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.25rem;
}
.faq-answer-inner strong { color: var(--dark); }

/* — Split variant (Home) — */
.cta-final--split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  text-align: left;
}
.cta-final--split .cta-copy  { flex: 1; }
.cta-final--split h2         { margin-bottom: 0.75rem; }
.cta-final--split p          { margin-inline: 0; margin-bottom: 0; }
.cta-final--split .cta-actions {
  flex-direction: column;
  flex-shrink: 0;
  width: 280px;
}
@media (max-width: 900px) {
  .cta-final--split .container   { flex-direction: column; text-align: center; }
  .cta-final--split p            { margin-inline: auto; }
  .cta-final--split .cta-actions { width: 100%; flex-direction: row; }
}

/* — Compact variant (páginas internas) — */
.cta-final--compact    { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-final--compact h2 { margin-bottom: 2rem; }

/* ===== 15. FOOTER ===== */
.footer {
  background: #1a1718;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.footer-logo { margin-bottom: 1rem; display: flex; justify-content: center; }
.footer-logo img { height: 168px; width: auto; }
.footer-about {
  font-size: .875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: .625rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.footer-col h4 {
  font-size: .875rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: .875rem;
}
.footer-contact-item svg { color: var(--blue-light); flex-shrink: 0; }
.footer-contact-item strong { display: block; color: rgba(255,255,255,0.85); margin-bottom: .1rem; }
.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer-wa-btn:hover { background: #1ebe5a; transform: translateY(-2px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--t-fast); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }
.footer-contact-item a { color: rgba(255,255,255,0.85); transition: color var(--t-fast); }
.footer-contact-item a:hover { color: var(--white); }
.footer-dev { display: flex; align-items: center; }
.footer-dev-logo { height: 26px; width: auto; opacity: .75; transition: opacity var(--t-fast); }
.footer-dev-logo:hover { opacity: 1; }

/* ===== 16. WHATSAPP FLUTUANTE ===== */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: .625rem;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: .9rem 1.375rem .9rem 1rem;
  font-size: .9375rem;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px rgba(37,211,102,0.55);
  background: #1ebe5a;
}
.wa-float svg { flex-shrink: 0; }
.wa-float-label { white-space: nowrap; }
@media (max-width: 480px) {
  .wa-float-label { display: none; }
  .wa-float { padding: 1rem; border-radius: 50%; }
}

/* ===== 17. ANIMAÇÕES ===== */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ===== 18. CONTACT PAGE ===== */
.contact-section { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  margin-bottom: .5rem;
}
.contact-form-wrap .form-subtitle {
  color: var(--text-muted);
  font-size: .9375rem;
  margin-bottom: 1.75rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: var(--blue); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #d1dbe8;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: #f8fafc;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,98,158,.12);
  background: var(--white);
}
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form-submit {
  width: 100%;
  margin-top: .5rem;
  justify-content: center;
}

/* Info cards */
.contact-info-col { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--t-fast);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon--wa { background: #d5f5e3; color: var(--wa); }
.contact-info-body strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .2rem;
}
.contact-info-body a,
.contact-info-body span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.contact-info-body a:hover { color: var(--blue); }

/* Responsive */
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .contact-info-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== 19. SERVICE DETAIL PAGE ===== */
.service-detail { background: var(--light); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.service-detail-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: 1rem;
  line-height: 1.5;
}
.service-list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-img { order: -1; }
  .service-detail-img img { height: 260px; }
}

/* ===== 20. CENTRAL DE SOLUÇÕES ===== */
.articles-hub { background: var(--white); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.875rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card-meta {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.article-card-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: .2rem .6rem;
  border-radius: 20px;
  letter-spacing: .04em;
}
.article-card-tag {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin: 0;
}
.article-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.article-card-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .25rem;
}
.article-card-link:hover { text-decoration: underline; }

.article-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.article-section:nth-child(odd) { background: var(--light); }
.article-section:nth-child(even) { background: var(--white); }

.article-inner { max-width: 820px; }
.article-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .625rem;
}
.article-title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin: 0 0 1rem;
}
.article-subtitle {
  font-size: 1.0625rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--blue-light);
}
.article-body {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.85;
}

/* ===== 21. RESPONSIVE ===== */

/* Tablet Landscape */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-badge-float { left: -.5rem; }
}

/* Tablet Portrait */
@media (max-width: 900px) {
  .trust .trust-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .trust-divider      { display: none; }
  .hero .container    { grid-template-columns: 1fr; }
  .hero-visual      { display: none; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .stat-item           { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child,
  .stat-item:nth-last-child(2) { border-bottom: none; }
  .why-grid            { grid-template-columns: 1fr; }
  .why-img-wrap        { display: none; }
  .why-badge-float     { display: none; }
  .nav-menu            { display: none; }
  .nav-cta             { display: none; }
  .hamburger           { display: flex; }
}

/* Mobile */
@media (max-width: 600px) {
  .services-grid    { grid-template-columns: 1fr; }
  .segments-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid       { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .footer-col       { text-align: center; }
  .footer-links     { align-items: center; }
  .footer-social    { justify-content: center; }
  .footer-contact-item { justify-content: center; }
  .footer-wa-btn    { margin-inline: auto; }
  .hero-actions     { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .trust .trust-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .trust-divider      { display: none; }
  .cta-actions      { flex-direction: column; align-items: center; }
}

/* Print */
@media print {
  .header, .wa-float, .hamburger, .mobile-menu { display: none !important; }
  body { background: white; }
}

/* ===== 19. HEADER ESTÁTICO (páginas internas — sem hero de fundo) ===== */
.header--static {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ===== 20. PAGE HERO (banner de páginas internas) ===== */
.page-hero {
  background: var(--dark);
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 420px;
  background: radial-gradient(circle, rgba(23,98,158,0.22) 0%, transparent 70%);
  top: 0;
  right: 8%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .badge     { margin-bottom: 1rem; }

.page-hero-title {
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: .875rem;
}
.page-hero-subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.75;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .375rem;
  margin-bottom: 1.375rem;
  font-size: .8125rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--t-fast);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.breadcrumb-current {
  color: var(--blue-light);
  font-weight: 500;
}

/* ===== 21. QUEM SOMOS — HISTÓRIA ===== */
.about-story { background: var(--gray-50); }
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-story-content .section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 1.75rem;
}
.about-story-content .body-text p { color: var(--text-secondary); line-height: 1.75; }
.about-story-content .body-text p + p { margin-top: 1rem; }

.about-inline-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.about-stat-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}
.about-stat-card strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .3rem;
}
.about-stat-card span {
  font-size: .8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-story-visual { position: relative; }
.about-story-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-story-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}

/* ===== 22. QUEM SOMOS — MISSÃO / VISÃO / VALORES ===== */
.about-values { background: var(--white); }
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.value-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--text-primary);
}
.value-card p {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Responsive páginas internas ── */
@media (max-width: 900px) {
  .about-story-grid   { grid-template-columns: 1fr; }
  .about-story-visual { display: none; }
  .about-values-grid  { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  .about-inline-stats { grid-template-columns: 1fr 1fr; }
  .about-values-grid  { grid-template-columns: 1fr; }
}
