:root {
  --bg: #f6f8fa;
  --bg-soft: #eef3f6;
  --surface: #ffffff;
  --surface-alt: #f8fbfd;
  --line: #d7e1e8;
  --text: #203847;
  --muted: #627786;
  --primary: #1f3f4f;
  --primary-2: #2f6f8f;
  --accent: #4fa3c1;
  --shadow-sm: 0 10px 24px rgba(31, 63, 79, 0.08);
  --shadow-md: 0 20px 50px rgba(31, 63, 79, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfd 0%, #f2f6f9 46%, #ffffff 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--primary);
}

.text-link:hover {
  color: var(--primary-2);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 500;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31,63,79,0.15);
}

.btn-solid:hover {
  background: var(--primary-2);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  padding: 0 20px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-weight: 600;
  color: var(--primary);
}

.mobile-nav.active {
  display: block;
}

.hero {
  padding: 56px 0 34px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 16px;
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-content p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-strip-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.hero-strip-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}

.hero-strip-item span {
  display: block;
  font-size: 14px;
  color: var(--muted);
}

.hero-panel-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.mini-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf5f9;
  color: var(--primary-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-panel-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-panel-card p {
  margin: 0;
  color: var(--muted);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.panel-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #fff;
}

.panel-item strong {
  display: block;
  margin-bottom: 6px;
}

.panel-item span {
  font-size: 13px;
  color: var(--muted);
}

.section {
  padding: 42px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-header.centered {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 28px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.company-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.company-side {
  display: grid;
  gap: 18px;
}

.company-logo-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.company-quick {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.company-quick div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.company-quick div:last-child {
  border-bottom: 0;
}

.company-quick strong {
  display: block;
  margin-bottom: 6px;
}

.company-quick span {
  color: var(--muted);
  font-size: 14px;
}

.company-content h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.company-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.value-card,
.difference-card,
.service-card,
.contact-card,
.app-benefits article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.value-card,
.difference-card,
.service-card,
.contact-card,
.app-benefits article {
  padding: 22px;
}

.value-card h3,
.difference-card h3,
.service-card h3,
.contact-card h3,
.app-benefits article h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.15;
}

.value-card p,
.difference-card p,
.service-card p,
.contact-card span,
.app-benefits article p {
  margin: 0;
  color: var(--muted);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eef6fa;
  color: var(--primary);
  margin-bottom: 18px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 100%;
  transition: .25s ease;
}

.service-card:hover,
.difference-card:hover,
.value-card:hover,
.contact-card:hover,
.app-benefits article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(31,63,79,0.12);
}

/* CLIENTES */
.clients-section {
  background: linear-gradient(180deg, #f2f7fa 0%, #fbfdff 100%);
  border-top: 1px solid #e8eff4;
  border-bottom: 1px solid #e8eff4;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.client-card {
  min-height: 180px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.flip-card {
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 180px;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.flip-card-front img {
  max-width: 100%;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(180deg, #f8fbfd 0%, #eef5f8 100%);
  text-align: center;
  flex-direction: column;
  gap: 8px;
}

.flip-card-back strong {
  font-size: 18px;
  line-height: 1.2;
  color: var(--primary);
}

.flip-card-back span {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* APP */
.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.app-left h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.app-left > p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.app-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.app-image-box {
  background: linear-gradient(180deg, #f6fbfe 0%, #edf5f8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

/* CONTATO */
.contact-section {
  background: #fbfdff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.contact-main h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.contact-main p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card p {
  margin: 0 0 8px;
  font-weight: 600;
  word-break: break-word;
}

.contact-card span {
  display: block;
  font-size: 14px;
}

/* FOOTER */
.site-footer {
  padding: 30px 0 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.footer-signature {
  text-align: center;
  font-size: 12px;
  color: #9aa8b3;
  padding: 12px 20px 0;
}

.footer-signature strong {
  font-weight: 600;
  color: #8c9aa5;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(37,211,102,0.28);
  font-weight: 700;
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
}

/* RESPONSIVO */
@media (max-width: 1180px) {
  .hero-layout,
  .company-layout,
  .app-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-strip,
  .panel-grid,
  .value-grid,
  .difference-grid,
  .services-grid,
  .clients-grid,
  .app-benefits,
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero-strip,
  .panel-grid,
  .value-grid,
  .difference-grid,
  .services-grid,
  .clients-grid,
  .app-benefits,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero-content h1,
  .company-content h2,
  .app-left h2,
  .contact-main h2,
  .section-header h2 {
    font-size: 34px;
  }

  .whatsapp-text {
    display: none;
  }

  .flip-card-inner {
    height: 160px;
  }

  .flip-card-front img {
    max-height: 88px;
  }

  .flip-card-back strong {
    font-size: 16px;
  }
}