/* Estilos das páginas de serviço (HTML estático, sem runtime) — mesmo visual da home */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: #0B1421; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: Manrope, system-ui, sans-serif;
  color: #E8EEF5;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: #10A98E; text-decoration: none; }
a:hover { color: #14C7A6; }
::selection { background: #10A98E; color: #0B1421; }

h1, h2, h3 { font-family: Sora, sans-serif; color: #fff; letter-spacing: -0.03em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 32px); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 33, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
/* Mesmas medidas do header da home: 1200px, logo à esquerda, menu no meio, ações à direita */
.top .wrap { max-width: 1200px; display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); padding-top: 14px; padding-bottom: 14px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.top-nav a { color: #9FB0C4; }
.top-nav a:hover { color: #fff; }
@media (max-width: 860px) { .top-nav { display: none; } }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 38px; border-radius: 9px; display: block; }
.brand span { font-family: Sora, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand b { color: #10A98E; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #10A98E; color: #04231E; font-weight: 700;
  padding: 15px 26px; border-radius: 12px;
  box-shadow: 0 12px 34px rgba(16, 169, 142, 0.3);
}
.btn:hover { background: #14C7A6; color: #04231E; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: clamp(10px, 2.5vw, 16px); }
.ig {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: #CBD7E4;
}
.ig:hover { border-color: rgba(16, 169, 142, 0.6); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 15px 26px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16); color: #E8EEF5; font-weight: 600;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

/* Breadcrumb */
.crumbs { font-size: 13.5px; color: #8496AA; padding-top: 28px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #3A4757; }
.crumbs a { color: #9FB0C4; }

/* Hero */
.hero {
  padding: clamp(36px, 7vw, 64px) 0 clamp(48px, 8vw, 80px);
  background: radial-gradient(700px 380px at 15% 20%, rgba(16, 169, 142, 0.14), transparent 70%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(16, 169, 142, 0.35); background: rgba(16, 169, 142, 0.08);
  color: #7FE3D0; font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
}
.hero h1 {
  font-weight: 800; font-size: clamp(32px, 6vw, 52px); line-height: 1.08;
  letter-spacing: -0.035em; margin: 22px 0 0; max-width: 820px; text-wrap: balance;
}
.lead { font-size: clamp(16px, 2.3vw, 19px); color: #A6B6C8; max-width: 720px; margin: 20px 0 0; text-wrap: pretty; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero-grid h1 { font-size: clamp(30px, 5vw, 48px); }
.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; animation: svFloat 7s ease-in-out infinite; }
@keyframes svFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 8px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

/* Imagens e mockups dentro das seções */
.media { margin: 36px 0 0; }
.media img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.09); }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 36px; }
.shot { display: block; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); background: #101B2E; transition: border-color .25s, transform .25s; }
.shot:hover { border-color: rgba(16, 169, 142, 0.5); transform: translateY(-3px); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top center; }
.shot figcaption { padding: 16px 18px; color: #9FB0C4; font-size: 14px; }
.shot figcaption strong { display: block; color: #fff; font-family: Sora, sans-serif; font-size: 16px; }

/* Seções */
.section { padding: clamp(48px, 9vw, 80px) 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.section.alt { background: #0E1A2B; }
.section h2 { font-weight: 700; font-size: clamp(26px, 4.5vw, 36px); line-height: 1.15; margin: 0; max-width: 760px; }
/* Desktop: títulos de seção em uma linha só (o hero continua quebrando normalmente) */
@media (min-width: 1024px) {
  .section h2, .cta h2 { max-width: none; white-space: nowrap; }
  section.cta h2 { font-size: clamp(26px, 2.6vw, 34px); }
}

/* Ícones UIcons by Flaticon — subset só com os ícones usados (assets/fonts/uicons-sv.woff2) */
@font-face {
  font-family: "uicons-sv";
  src: url(/assets/fonts/uicons-sv.woff2) format("woff2");
  font-display: block;
}
.fi { font-family: "uicons-sv" !important; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; -webkit-font-smoothing: antialiased; }
.fi-stethoscope::before { content: "\f1c3"; }
.fi-tooth::before { content: "\f2e0"; }
.fi-calculator::before { content: "\e306"; }
.fi-shopping-bag::before { content: "\f06c"; }
.fi-scissors::before { content: "\eff7"; }
.fi-house-chimney::before { content: "\e9f7"; }
.fi-tools::before { content: "\f2df"; }
.fi-balance-scale-right::before { content: "\e172"; }
.fi-building::before { content: "\e2d5"; }
.fi-industry-alt::before { content: "\ea4b"; }
.fi-shop::before { content: "\f068"; }
.fi-graduation-cap::before { content: "\e8e9"; }
.fi-truck-side::before { content: "\f35f"; }
.fi-headset::before { content: "\e99f"; }
.fi-comments::before { content: "\e50b"; }
.fi-user-headset::before { content: "\f3c9"; }
.fi-users-alt::before { content: "\f405"; }
.fi-briefcase::before { content: "\e2af"; }
.fi-spa::before { content: "\f12d"; }

.card-icon {
  width: 48px; height: 48px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px; font-size: 22px;
  color: #14C7A6; background: rgba(16, 169, 142, 0.12);
  border: 1px solid rgba(16, 169, 142, 0.3);
}
.section > .wrap > p { color: #9FB0C4; font-size: 17px; max-width: 760px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.card {
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px; padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}
.card h3 { font-size: 19px; font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.card p { color: #9FB0C4; font-size: 15.5px; margin: 10px 0 0; }
a.card { display: block; transition: border-color .25s, transform .25s; }
a.card:hover { border-color: rgba(16, 169, 142, 0.45); transform: translateY(-3px); }

/* "Outros serviços": 4 colunas no desktop, 2 em telas menores e no mobile */
.grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .grid.grid-4 { gap: 12px; }
  .grid.grid-4 .card { padding: 18px; }
  .grid.grid-4 .card h3 { font-size: 16.5px; }
  .grid.grid-4 .card p { font-size: 14px; }
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 20px 22px 20px 70px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 255, 255, 0.02);
  color: #9FB0C4;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 22px; top: 19px;
  font-family: Sora, sans-serif; font-weight: 700; color: #10A98E;
}
.steps strong { color: #fff; }

.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; color: #CBD7E4; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16, 169, 142, 0.16); color: #10A98E;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.faq { display: grid; gap: 14px; margin-top: 36px; max-width: 820px; }
.faq details {
  border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px;
  padding: 18px 22px; background: rgba(255, 255, 255, 0.02);
}
.faq summary { cursor: pointer; font-family: Sora, sans-serif; font-weight: 600; font-size: 16.5px; color: #fff; }
.faq p { color: #9FB0C4; font-size: 15px; margin: 14px 0 0; }

/* CTA */
.cta {
  margin: clamp(48px, 9vw, 80px) auto;
  border-radius: 24px; border: 1px solid rgba(16, 169, 142, 0.28);
  background: linear-gradient(135deg, #0F2A28, #101B2E 60%);
  padding: clamp(32px, 7vw, 56px) clamp(24px, 6vw, 48px);
}
.cta h2 { font-weight: 800; font-size: clamp(26px, 5vw, 38px); line-height: 1.12; margin: 0; }
.cta p { color: #B4C3D3; font-size: 17px; max-width: 620px; }

/* Footer */
.foot { border-top: 1px solid rgba(255, 255, 255, 0.07); padding: 34px 0; font-size: 14px; color: #8496AA; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 18px; }
.foot nav a { color: #9FB0C4; }
.foot nav a:hover { color: #fff; }

.wa-float {
  position: fixed; right: clamp(16px, 5vw, 26px); bottom: clamp(16px, 5vw, 26px); z-index: 60;
  width: clamp(50px, 14vw, 60px); height: clamp(50px, 14vw, 60px);
  border-radius: 50%; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.wa-float img { width: 100%; height: 100%; display: block; object-fit: cover; }

@media (max-width: 600px) {
  .btn-sm { padding: 9px 14px; font-size: 13px; }
}

/* Hero com foto à direita (CRM, automação) — cada página define --hero-img e --hero-img-sm */
.hero--crm { --hero-img: url(/assets/hero-crm.webp); --hero-img-sm: url(/assets/hero-crm-800.webp); }
.hero--zap { --hero-img: url(/assets/hero-zap.webp); --hero-img-sm: url(/assets/hero-zap-800.webp); }
.hero--photo {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(calc(100svh - 67px), 860px);
  padding: 20px 0 clamp(56px, 8vw, 96px);
  background: radial-gradient(700px 420px at 12% 40%, rgba(16, 169, 142, 0.12), transparent 70%), #0B1421;
}
.hero--photo::before {
  content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0;
  width: min(66%, 1150px);
  background: var(--hero-img) 30% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero--photo .wrap { max-width: 1340px; width: 100%; }
.hero--photo .crumbs { padding-top: 0; margin-bottom: clamp(36px, 7vw, 72px); }
.hero-copy { max-width: 600px; }
.hero--photo .eyebrow { padding: 8px 16px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #14C7A6; box-shadow: 0 0 10px rgba(20, 199, 166, 0.8); }
.eyebrow.caps { text-transform: uppercase; letter-spacing: 0.04em; font-size: 13.5px; }
.eyebrow svg { color: #14C7A6; flex: none; }
.hero--photo h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.04em; margin-top: 28px; }
.hero--photo h1 .grad {
  background: linear-gradient(90deg, #14C7A6 0%, #3FD3C4 35%, #8EC5FF 60%, #14C7A6 80%, #E8F7F4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--photo h1 .hl { color: #19D9A8; }
.hero--photo .lead { font-size: clamp(16px, 1.6vw, 18.5px); color: #C3CFDC; margin-top: 26px; }
.hero--photo .lead strong { color: #fff; font-weight: 700; }
.hero--photo .actions { margin-top: 40px; gap: 22px; }
.hero--photo .btn { box-shadow: 0 14px 40px rgba(16, 169, 142, 0.35); }
.hero--photo .btn-ghost { border-color: rgba(255, 255, 255, 0.55); background: rgba(11, 20, 33, 0.4); gap: 12px; }

/* Linha de benefícios com ícones no hero */
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 18px 30px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.35; color: #D5DEE8; }
.perks svg { color: #19D9A8; flex: none; }
.hero--photo .perks + .actions { margin-top: 36px; }

.hero--zap .hero-copy { max-width: 720px; }
.hero--zap h1 { font-size: clamp(36px, 4.6vw, 66px); }
.hero--zap .lead { max-width: 560px; }
.hero--zap::before { width: min(62%, 1100px); }
@media (min-width: 901px) { .hero--zap .perks { flex-wrap: nowrap; gap: 26px; } }

@media (max-width: 900px) {
  .hero--photo { min-height: 0; padding-top: 16px; }
  .hero--photo::before {
    width: 100%;
    background-image: var(--hero-img-sm);
    background-position: 70% center;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 40%);
  }
  .perks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
