:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-alt: #f9fafc;
  --text: #23252b;
  --muted: #5f6572;
  --line: #dfe2e8;
  --line-strong: #cfd5df;
  --brand: #1f4fd6;
  --brand-dark: #173da8;
  --brand-soft: #eaf0ff;
  --teal: #108a7f;
  --teal-soft: #e7f7f4;
  --amber: #dc7a1d;
  --amber-soft: #fff4e8;
  --accent: #ff6a0a;
  --ok: #1e8d49;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(31, 79, 214, 0.1), transparent 36%),
    radial-gradient(circle at 92% 15%, rgba(255, 106, 10, 0.08), transparent 32%),
    radial-gradient(circle at 52% 100%, rgba(16, 138, 127, 0.08), transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

@keyframes rise-glow {
  from {
    box-shadow: 0 0 0 rgba(16, 24, 40, 0);
  }
  to {
    box-shadow: var(--shadow-sm);
  }
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.2rem 0;
}

h1,
h2,
h3,
.brand,
.footer-logo {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.02em;
  color: #16191f;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  background: rgba(244, 245, 248, 0.8);
}

.topbar-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  font-size: 1.16rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand img {
  width: auto;
  height: 26px;
  border-radius: 0;
}

.top-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.top-nav a {
  text-decoration: none;
  color: #3b4351;
  font-weight: 700;
  font-size: 0.92rem;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--teal);
}

.hero {
  padding: 3.4rem 0 2.1rem;
}

.hero-grid {
  display: grid;
  gap: 1.3rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  color: var(--teal);
  font-weight: 800;
}

.hero-description {
  color: #434b5a;
  max-width: 64ch;
  font-size: 1.05rem;
}

.hero-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: #2f3746;
}

.hero-bullets li {
  margin-bottom: 0.35rem;
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.82rem 1.24rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 79, 214, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
}

.btn-secondary {
  border-color: #9dcac4;
  background: var(--teal-soft);
  color: #155950;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #d5efe9;
  box-shadow: 0 8px 18px rgba(16, 138, 127, 0.2);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.proof-strip div {
  background: linear-gradient(145deg, #ffffff, #f5f7fb);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.proof-strip strong {
  display: block;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.35rem;
  color: var(--teal);
}

.proof-strip span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
}

.meta-source {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: #7a8291;
  font-weight: 700;
}

.note-inline {
  margin-top: 0.7rem;
  color: #5f6778;
  font-size: 0.83rem;
}

.hero-panel,
.benefit-item,
.credibility,
.service-card,
.project-card,
.timeline-step,
.social-proof,
.lead-form,
.faq details,
.logo-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit-item:hover,
.credibility:hover,
.service-card:hover,
.project-card:hover,
.timeline-step:hover,
.social-proof:hover,
.lead-form:hover,
.logo-item:hover {
  transform: translateY(-3px);
  border-color: #c6d3ef;
  box-shadow: var(--shadow-lg);
}

.hero-panel {
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
}

.panel-title,
.section-kicker,
.project-tag,
.step {
  margin: 0 0 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-title,
.section-kicker,
.step {
  color: #495164;
}

.hero-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.hero-panel ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #3f4756;
}

.hero-panel li {
  margin-bottom: 0.45rem;
}

.hero-image img {
  border: 1px solid var(--line);
}

.section-head {
  max-width: 72ch;
  margin-bottom: 1.4rem;
}

.section-note {
  color: var(--muted);
  margin-top: 0.65rem;
}

.two-col,
.service-grid,
.project-grid,
.timeline,
.logo-carousel,
.conversion-grid,
.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.benefit-item {
  padding: 1.1rem;
}

.benefit-item + .benefit-item {
  margin-top: 0.7rem;
}

.benefit-item h3 i,
.service-card h3 i,
.timeline-step h3 i {
  color: var(--teal);
  margin-right: 0.35rem;
}

.credibility {
  padding: 1.1rem;
  background: linear-gradient(165deg, #ffffff, #f3f8ff);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.badge {
  border: 1px solid #a5d7cf;
  border-radius: 999px;
  padding: 0.4rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #155950;
  background: #f1fbf9;
}

blockquote {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border-left: 4px solid var(--teal);
  background: #f4fbfa;
  color: #333b4a;
}

blockquote cite {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.services {
  background:
    radial-gradient(circle at 8% 30%, rgba(31, 79, 214, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), #eef4ff 28%, rgba(255, 255, 255, 0) 100%);
}

.service-card,
.timeline-step {
  padding: 1.2rem;
}

.service-card h3,
.timeline-step h3 {
  margin-bottom: 0.5rem;
}

.step {
  color: #5e6780;
}

.projects {
  background:
    radial-gradient(circle at 92% 22%, rgba(220, 122, 29, 0.11), transparent 30%),
    var(--surface-alt);
  border-top: 1px solid #eaedf3;
  border-bottom: 1px solid #eaedf3;
}

.methodology {
  background:
    radial-gradient(circle at 8% 85%, rgba(16, 138, 127, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfcff, #f6fbfa 70%);
}

#varejo-360 {
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
}

#varejo-360 .timeline .step {
  color: var(--brand);
}

.why {
  background:
    radial-gradient(circle at 88% 0%, rgba(31, 79, 214, 0.08), transparent 34%),
    #f9fbff;
}

.clients {
  background:
    radial-gradient(circle at 6% 20%, rgba(220, 122, 29, 0.11), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f7f9fd 100%);
}

#nichos {
  position: relative;
  background:
    radial-gradient(circle at 10% 15%, rgba(31, 79, 214, 0.2), transparent 38%),
    radial-gradient(circle at 92% 78%, rgba(16, 138, 127, 0.2), transparent 36%),
    linear-gradient(180deg, #eef4ff 0%, #f3f9ff 100%);
  border-top: 1px solid #d9e5ff;
  border-bottom: 1px solid #d9e5ff;
}

#nichos .section-head {
  background: linear-gradient(120deg, rgba(31, 79, 214, 0.1), rgba(16, 138, 127, 0.1));
  border: 1px solid #c9dbff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

#nichos .section-kicker {
  color: #0f5f95;
}

#nichos .service-grid {
  gap: 1.1rem;
}

#nichos .niche-card {
  position: relative;
  border: 1px solid #a8c7ff;
  background: linear-gradient(165deg, #ffffff, #f3f8ff);
  box-shadow: 0 12px 28px rgba(23, 61, 168, 0.12);
  padding: 1.25rem;
}

#nichos .niche-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 16px 0 0 16px;
  background: linear-gradient(180deg, #1f4fd6, #108a7f);
}

#nichos .niche-card:hover,
#nichos .niche-card:focus-within {
  transform: translateY(-4px);
  border-color: #79a9ff;
  box-shadow: 0 18px 34px rgba(23, 61, 168, 0.2);
}

.project-card {
  overflow: hidden;
}

.project-card header,
.project-card > p,
.project-card .result-box {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.project-card header {
  padding-top: 1.2rem;
}

.project-card > p:last-of-type {
  margin-bottom: 0;
}

.project-tag {
  color: var(--brand);
}

.result-box {
  margin: 0.95rem 1.2rem 1.2rem;
  padding: 1rem;
  border: 1px solid #cdd8f4;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #f3f7ff, #edf6ff);
}

.result-box strong {
  color: #152f82;
}

.project-card img {
  border-radius: 0;
  border-top: 1px solid var(--line);
  min-height: 220px;
  object-fit: cover;
}

.logo-carousel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.logo-item {
  min-height: 84px;
  padding: 0.75rem;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  color: #374157;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.conversion {
  background:
    radial-gradient(circle at 0% 100%, rgba(16, 138, 127, 0.12), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(31, 79, 214, 0.1), transparent 32%),
    radial-gradient(circle at 78% 34%, rgba(220, 122, 29, 0.09), transparent 28%),
    transparent;
}

.social-proof,
.lead-form {
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.seal {
  display: inline-block;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  border: 1px solid #bee8cc;
  background: #e8f8ee;
  color: #146c36;
  padding: 0.45rem 0.76rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  margin-top: 0.7rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 125;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50%;
  width: 3.1rem;
  height: 3.1rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.whatsapp-float i {
  font-size: 1.45rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1fb65a;
  transform: translateY(-1px);
}

body.modal-open .whatsapp-float {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.lead-form label {
  display: block;
  margin-bottom: 0.34rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #c8d0dc;
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  margin-bottom: 0.85rem;
  background: #fff;
  color: #1f2430;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.btn:focus-visible,
details summary:focus-visible,
.top-nav a:focus-visible {
  outline: 3px solid rgba(31, 79, 214, 0.2);
  outline-offset: 2px;
}

.btn-submit {
  width: 100%;
  border-radius: 12px;
  background: var(--ok);
  color: #fff;
}

.privacy-note {
  font-size: 0.81rem;
  color: var(--muted);
}

.form-status {
  min-height: 1.1rem;
  margin: 0.1rem 0 0.55rem;
  font-size: 0.84rem;
  color: #1f4fd6;
  font-weight: 700;
}

.faq details {
  padding: 0.95rem;
  margin-bottom: 0.7rem;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--teal);
}

.faq p {
  margin-top: 0.55rem;
  color: #434d5d;
}

.site-footer {
  border-top: 1px solid #d8dde6;
  background: linear-gradient(180deg, #eef2f8, #e9eef7);
  color: #3b4455;
  padding: 2.2rem 0 1.1rem;
}

.footer-logo {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.footer-logo-img {
  width: auto;
  height: 76px;
  border-radius: 0;
  margin-bottom: 0.55rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  color: #1e356d;
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-links a {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #a5d7cf;
  background: #f1fbf9;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: #6bb9ad;
  color: #0f766d;
}

.niche-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.55rem;
  color: #123b9e;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #8fb3f9;
  background: #eaf1ff;
  border-radius: 999px;
  padding: 0.46rem 0.78rem;
}

.niche-link:hover,
.niche-link:focus-visible {
  text-decoration: none;
  background: #dce8ff;
  border-color: #6a97f2;
}

.enterprise-box {
  margin-top: 1rem;
}

body.modal-open {
  overflow: hidden;
}

.niche-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.niche-modal.is-open {
  display: block;
}

.niche-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(2px);
}

.niche-modal-content {
  position: relative;
  width: min(980px, 92vw);
  height: min(78vh, 760px);
  margin: 7vh auto 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #c7d6f7;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.34);
  padding: 0.8rem;
}

.niche-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9ebcf5;
  background: #ecf3ff;
  color: #173a94;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  margin-bottom: 0.6rem;
}

.niche-modal-close:hover,
.niche-modal-close:focus-visible {
  background: #dce9ff;
}

#niche-modal-frame {
  width: 100%;
  height: calc(100% - 2.2rem);
  border: 1px solid #d9e4ff;
  border-radius: 12px;
  background: #f8fbff;
}

.footer-links-group .panel-title {
  margin-bottom: 0.6rem;
}

.footer-company-info {
  margin-top: 0.55rem;
  border: 1px solid #ced9ee;
  background: linear-gradient(180deg, #f5f8fe, #edf3fc);
  border-radius: 12px;
  padding: 0.82rem 0.9rem;
}

.footer-company-text {
  margin: 0 0 0.55rem;
  color: #2f3b51;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-address {
  margin: 0;
  color: #4e5970;
  font-size: 0.84rem;
  line-height: 1.5;
}

html.motion-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.95s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

html.motion-ready main section.reveal-on-scroll {
  transform: translateY(36px);
}

html.motion-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.motion-ready .reveal-on-scroll.is-visible.service-card,
html.motion-ready .reveal-on-scroll.is-visible.project-card,
html.motion-ready .reveal-on-scroll.is-visible.timeline-step,
html.motion-ready .reveal-on-scroll.is-visible.logo-item,
html.motion-ready .reveal-on-scroll.is-visible.social-proof,
html.motion-ready .reveal-on-scroll.is-visible.lead-form {
  animation: rise-glow 1s ease both;
}

.section-kicker {
  color: var(--brand);
}

.methodology .section-kicker,
.methodology .step {
  color: var(--teal);
}

.projects .section-kicker,
.projects .project-tag {
  color: var(--amber);
}

.clients .section-kicker {
  color: #8c4c12;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  html.motion-ready .reveal-on-scroll,
  html.motion-ready main section.reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

.legal-note {
  width: min(1140px, 92%);
  margin: 1.2rem auto 0;
  padding-top: 0.75rem;
  border-top: 1px solid #ccd6ea;
  font-size: 0.84rem;
  font-weight: 700;
  color: #3e4b63;
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .topbar-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.7rem;
    padding: 0.8rem 0;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .niche-modal-content {
    width: 94vw;
    height: 84vh;
    margin-top: 4vh;
    padding: 0.65rem;
  }

  .footer-company-info {
    margin-bottom: 0.35rem;
  }

  .whatsapp-float {
    right: 0.7rem;
    bottom: 0.7rem;
    width: 3rem;
    height: 3rem;
  }
}

@media (min-width: 840px) {
  .hero-grid,
  .two-col,
  .conversion-grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    align-items: start;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-carousel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .section {
    padding: 5rem 0;
  }

  #varejo-360 {
    padding-top: 5.4rem;
    padding-bottom: 5.4rem;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Clickable client logos */
.logo-item {
  text-decoration: none;
}

.logo-item img {
  width: 100%;
  max-width: 150px;
  max-height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
