/* ==============================================================
   CLAW DESIGN — STYLE.CSS v4.0
   Paleta  : Branco (#ffffff) · Preto (#0a0a0a) · Azul Royal (#2251cc)
   Fundo   : BRANCO — efeitos sutis em azul e cinza
   Títulos : Neue Haas Grotesk stack
   Body    : Montserrat
   ============================================================== */

/* ──────────────────────────────────────────────────────────────
   1. TOKENS
────────────────────────────────────────────────────────────── */
:root {
  /* Fundo */
  --bg:        #f3f3f3;
  --bg-soft:   #f1f1f1;     /* seções alternadas */
  --bg-card:   #ebebeb;
  --bg-input:  #f4f5f9;

  /* Texto */
  --ink:       #0a0a0a;
  --ink2:      #1e1e2e;
  --muted:     #5a6072;
  --muted2:    #8a91a8;

  /* Azul Royal */
  --royal:     #2251cc;
  --royal2:    #1a42b3;     /* hover escuro */
  --royal3:    #4a7aff;     /* accent/glow */
  --royal-bg:  rgba(34,81,204,.07);
  --royal-bd:  rgba(34,81,204,.22);

  /* Bordas */
  --border:    rgba(10,10,10,.10);
  --border-s:  rgba(10,10,10,.06);

  /* Sombras */
  --shadow-xs: 0 1px 4px rgba(10,10,10,.06);
  --shadow-sm: 0 4px 16px rgba(10,10,10,.08);
  --shadow-md: 0 12px 40px rgba(10,10,10,.10);
  --shadow-lg: 0 24px 64px rgba(10,10,10,.12);
  --shadow-b:  0 8px 40px rgba(34,81,204,.18);

  /* Raios */
  --r8:  8px;
  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
  --r24: 24px;
  --r32: 32px;

  /* Layout */
  --container: 1200px;
  --ease: cubic-bezier(.22,.8,.2,1);
  --ring: 0 0 0 3px rgba(34,81,204,.22);
}

/* ──────────────────────────────────────────────────────────────
   2. STACKS DE FONTE
────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.hero__title, .section__title, .cta__title,
.port-title, .modal__title, .hcard__title,
.card__title, .impact__title, .site-name,
.client-name, .tcard__name, .port-section-title,
.step__title, .process__caption strong,
.intro__text {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

body, p, a, span, li, button, input, textarea, select,
.section__sub, .hero__lead, .tcard__text,
.card__text, .hcard__text,
.muted, .site-desc, .client-desc, .port-lead,
.nav__link, .chip, .btn, .field span,
.form__note, .mnav__link, .brand__sub,
.eyebrow, .card__tag, .pitem__badge,
.impact__kicker, .impact__hint {
  font-family: 'Montserrat', 'DM Sans', system-ui, sans-serif;
}

/* ──────────────────────────────────────────────────────────────
   3. RESET
────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html, body { min-height: 100%; }

body {
  color: var(--ink);
  background-color: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a    { color: inherit; text-decoration: none; }
img  { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font-family: inherit; }

:focus         { outline: none; }
:focus-visible { box-shadow: var(--ring); border-radius: var(--r12); }

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

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ──────────────────────────────────────────────────────────────
   4. INTRO OVERLAY
────────────────────────────────────────────────────────────── */
#intro {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
#intro.is-on  { opacity: 1; pointer-events: auto; }
#intro.is-off { opacity: 0; pointer-events: none; }

.intro__inner { text-align: center; padding: 20px; }

.intro__badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--royal-bd);
  background: var(--royal-bg);
  font-weight: 700;
  letter-spacing: .20em;
  font-size: 11px;
  color: var(--royal);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.intro__text {
  margin-top: 20px;
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 68px);
  letter-spacing: -0.035em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.intro__text.is-show { opacity: 1; transform: translateY(0); }

.intro__hint {
  margin-top: 14px;
  color: var(--muted2);
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
}

/* ──────────────────────────────────────────────────────────────
   5. HEADER
────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 12px;
  z-index: 1200;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(231, 231, 231, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--r32);
  padding: 12px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s;
}
.header.is-scrolled .header__row {
  border-color: var(--royal-bd);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--royal-bg);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand__icon {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.brand__divider {
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.brand__wordmark { display: flex; flex-direction: column; gap: 2px; }
.brand__name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--ink);
  line-height: 1;
  text-transform: uppercase;
}
.brand__tagline {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: .26em;
  color: var(--muted2);
  text-transform: uppercase;
  line-height: 1;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav__link {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink2);
  transition: color .2s, background .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.nav__link:hover { color: var(--royal); background: var(--royal-bg); }

/* Header actions */
.header__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 11px;
  transition: .2s var(--ease);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.chip--ghost {
  background: var(--bg);
  color: var(--ink2);
}
.chip--ghost .chip-icon { width: 15px; height: 15px; flex-shrink: 0; }
.chip--ghost:hover {
  border-color: var(--royal-bd);
  background: var(--royal-bg);
  color: var(--royal);
}

.chip--primary {
  background: var(--royal);
  border-color: var(--royal);
  color: #fff;
  box-shadow: var(--shadow-b);
}
.chip--primary .chip-icon { width: 15px; height: 15px; flex-shrink: 0; }
.chip--primary:hover {
  background: var(--royal2);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(34,81,204,.30);
}

/* Hamburger */
.hamb {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r12);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hamb span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 10px;
  transition: .25s var(--ease);
}
.hamb.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamb.is-active span:nth-child(2) { opacity: 0; }
.hamb.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mnav {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.35);
  opacity: 0;
  pointer-events: none;
  transition: .25s var(--ease);
  z-index: 1300;
}
.mnav.is-open { opacity: 1; pointer-events: auto; }

.mnav__panel {
  position: absolute;
  right: 14px; top: 80px;
  width: min(340px, calc(100% - 28px));
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r20);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.mnav__link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r16);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink2);
  transition: .2s var(--ease);
}
.mnav__link:hover { background: var(--bg-soft); color: var(--ink); }
.mnav__cta {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border-radius: var(--r16);
  border: none;
  background: var(--royal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .2s var(--ease);
}
.mnav__cta:hover { background: var(--royal2); }
.mnav__div { height: 1px; background: var(--border); margin: 10px 0; }

/* ──────────────────────────────────────────────────────────────
   6. REVEAL ANIMATION
────────────────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────────────────────────────────────
   7. HERO
────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

/* Efeito de fundo: grade pontilhada sutil + blob azul */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 820px 560px at 75% 20%, rgba(34,81,204,.07), transparent 65%),
    radial-gradient(ellipse 500px 400px at 10% 80%, rgba(74,122,255,.05), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grid pontilhado discreto */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(34,81,204,.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, #000 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--royal-bd);
  background: var(--royal-bg);
  color: var(--royal);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero__title {
  margin-top: 18px;
  font-weight: 700;
  line-height: 1.04;
  font-size: clamp(38px, 4.8vw, 72px);
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  color: var(--royal);
}

.hero__lead {
  margin-top: 18px;
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.78;
  font-weight: 400;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .2s var(--ease);
  color: var(--ink2);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--royal);
  border-color: var(--royal);
  color: #fff;
  box-shadow: var(--shadow-b);
}
.btn--primary:hover {
  background: var(--royal2);
  box-shadow: 0 16px 48px rgba(34,81,204,.30);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--ink2);
  background: var(--bg);
}
.btn--ghost:hover {
  border-color: var(--royal-bd);
  color: var(--royal);
  background: var(--royal-bg);
}

.btn--subtle {
  background: var(--bg-soft);
  border-color: var(--border-s);
  color: var(--muted);
}
.btn--subtle:hover {
  border-color: var(--border);
  color: var(--ink);
}

.w100 { width: 100%; }

/* Stats hero */
.hero__stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat {
  padding: 16px;
  border-radius: var(--r20);
  background: var(--bg-soft);
  border: 1px solid var(--border-s);
}
.stat strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

/* Hero card lateral */
.hero__card {
  padding: 28px;
  border-radius: var(--r24);
  background: var(--bg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
/* Acento azul no canto superior direito do card */
.hero__card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,81,204,.10), transparent 65%);
  pointer-events: none;
}

.hcard__pill {
  position: relative; z-index: 1;
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
}
.hcard__title {
  position: relative; z-index: 1;
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.hcard__text {
  position: relative; z-index: 1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
}
.hcard__mini {
  position: relative; z-index: 1;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

/* ──────────────────────────────────────────────────────────────
   8. SEÇÕES
────────────────────────────────────────────────────────────── */
.section { padding: 92px 0; }

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-s);
  position: relative;
}
/* Efeito de linha de acento nas seções alternadas */
.section--soft::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 320px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--royal-bd), transparent);
  border-radius: 999px;
}

.section__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}
.section__title {
  font-weight: 800;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--ink);
  letter-spacing: -.03em;
}
.section__sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  max-width: 58ch;
  line-height: 1.78;
  font-weight: 400;
}

/* ──────────────────────────────────────────────────────────────
   9. CARDS — Serviços
────────────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  text-align: left;
  border-radius: var(--r20);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 28px 24px 26px;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--royal-bg) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  border-radius: inherit;
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--royal-bd);
  box-shadow: var(--shadow-md), var(--shadow-b);
}
.card:hover::after { opacity: 1; }

.card__tag {
  position: relative; z-index: 1;
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--royal-bg);
  border: 1px solid var(--royal-bd);
  font-weight: 700;
  font-size: 10px;
  color: var(--royal);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.card__title {
  position: relative; z-index: 1;
  margin-top: 14px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.card__text {
  position: relative; z-index: 1;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
}
.card__more {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--royal);
  transition: gap .2s;
}
.card:hover .card__more { gap: 6px; }

/* ──────────────────────────────────────────────────────────────
   10. PORTFÓLIO (cases home)
────────────────────────────────────────────────────────────── */
.portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pitem {
  text-align: left;
  border-radius: var(--r20);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 24px 22px 22px;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pitem:hover {
  transform: translateY(-5px);
  border-color: var(--royal-bd);
  box-shadow: var(--shadow-md), var(--shadow-b);
}

.pitem__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--royal-bg);
  border: 1px solid var(--royal-bd);
  font-weight: 700;
  font-size: 10px;
  color: var(--royal);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.4;
}
.pitem strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.pitem__sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  flex: 1;
}

/* ──────────────────────────────────────────────────────────────
   11. DEPOIMENTOS
────────────────────────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tcard {
  padding: 26px;
  border-radius: var(--r24);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .3s, border-color .3s;
}
.tcard:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--royal-bd);
}

.tcard__stars { color: #e8a118; font-size: 15px; letter-spacing: 3px; }
.tcard__text  { color: var(--ink2); font-size: 14px; line-height: 1.8; flex: 1; font-weight: 400; }
.tcard__author { display: flex; align-items: center; gap: 12px; }
.tcard__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.tcard__avatar--blue   { background: rgba(34,81,204,.12);  color: var(--royal); }
.tcard__avatar--green  { background: rgba(22,163,74,.10);  color: #16a34a; }
.tcard__avatar--purple { background: rgba(124,58,237,.10); color: #7c3aed; }
.tcard__name { font-weight: 700; font-size: 13px; color: var(--ink); }
.tcard__role { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* ──────────────────────────────────────────────────────────────
   12. PROCESSO
────────────────────────────────────────────────────────────── */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 28px;
}

.process__rail {
  position: absolute;
  left: 14px; right: 14px; top: 44px;
  height: 2px;
  background: var(--border);
  border-radius: 999px;
  pointer-events: none;
}
.process__progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--royal), var(--royal3));
  border-radius: 999px;
  transition: width .6s var(--ease);
}

.step {
  border-radius: var(--r20);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  color: var(--ink);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--royal-bd);
  box-shadow: var(--shadow-sm);
}

.step__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.step__title { font-weight: 700; font-size: 14px; color: var(--ink); }
.step__sub   { color: var(--muted); font-weight: 500; font-size: 12px; }

.step.is-active { border-color: var(--royal-bd); box-shadow: var(--shadow-b); }
.step.is-active .step__dot {
  background: var(--royal);
  border-color: var(--royal);
  box-shadow: 0 0 0 4px var(--royal-bg);
}
.step.is-done { border-color: rgba(22,163,74,.30); }
.step.is-done .step__dot {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,.10);
}

.process__caption {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--r24);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.process__caption strong { font-weight: 700; color: var(--ink); }
.process__caption span   { color: var(--muted); font-size: 14px; font-weight: 400; }

/* ──────────────────────────────────────────────────────────────
   13. IMPACTO
────────────────────────────────────────────────────────────── */
.impact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.impact__card {
  text-align: left;
  border-radius: var(--r24);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.impact__card::after {
  content: "";
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--royal-bg), transparent 70%);
  transition: opacity .3s;
  opacity: 0;
}
.impact__card:hover {
  transform: translateY(-6px);
  border-color: var(--royal-bd);
  box-shadow: var(--shadow-md), var(--shadow-b);
}
.impact__card:hover::after { opacity: 1; }

.impact__kicker {
  display: block;
  font-weight: 700;
  font-size: 11px;
  color: var(--royal);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.impact__title  { display: block; font-weight: 700; font-size: 18px; margin-bottom: 12px; color: var(--ink); }
.impact__hint   { color: var(--muted); font-size: 13px; font-weight: 500; }

/* ──────────────────────────────────────────────────────────────
   14. CTA + FORMULÁRIO
────────────────────────────────────────────────────────────── */
.cta {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.cta__title {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ink);
}
.cta__lead {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.78;
  font-weight: 400;
}

.cta__checks { margin-top: 18px; display: grid; gap: 10px; }
.check {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r20);
  border: 1px solid var(--border-s);
  background: var(--bg-soft);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink2);
}
.check span {
  width: 22px; height: 22px;
  border-radius: var(--r8);
  display: grid;
  place-items: center;
  background: rgba(22,163,74,.10);
  border: 1px solid rgba(22,163,74,.25);
  color: #16a34a;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.form {
  padding: 24px;
  border-radius: var(--r24);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field { display: grid; gap: 8px; margin-top: 14px; }
.field span {
  font-weight: 700;
  font-size: 11px;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: .10em;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r16);
  border: 1.5px solid var(--border);
  background: var(--bg-input);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--royal);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--royal-bg);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted2); }

.form__note {
  margin-top: 14px;
  color: var(--muted2);
  font-size: 12px;
  text-align: center;
}

/* ──────────────────────────────────────────────────────────────
   15–16. FOOTER — dark, minimalista, impactante
────────────────────────────────────────────────────────────── */

/* ── Footer dark container ── */
.footer {
  background: var(--ink);          /* #0a0a0a — fundo preto total */
  color: rgba(255,255,255,.62);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Glow azul sutil no topo */
.footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 560px; max-width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--royal), transparent);
  border-radius: 999px;
  z-index: 1;
}

/* Blob azul decorativo fundo */
.footer::after {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(34,81,204,.10), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ── Bloco CTA interno (topo do footer) ── */
.footer__cta-band {
  position: relative; z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 56px 0;
  text-align: center;
}
.footer__cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 42px);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
}
.footer__cta-band p {
  margin: 12px auto 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.52);
  font-weight: 400;
}
.footer__cta-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* Botão primário dentro do footer dark */
.footer__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--royal);
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(34,81,204,.38);
}
.footer__btn-primary:hover {
  background: var(--royal2);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(34,81,204,.48);
}
.footer__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.80);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.footer__btn-ghost:hover {
  border-color: var(--royal);
  color: #fff;
  background: rgba(34,81,204,.10);
}

/* ── Linha de info (base do footer) ── */
.footer__base {
  position: relative; z-index: 1;
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* Brand no footer dark — ícone + wordmark em branco */
.footer__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.footer__brand-icon {
  width: 30px; height: 30px;
  display: block;
  object-fit: contain;
  filter: invert(1);        /* inverte: ícone preto → branco */
  opacity: .90;
}
.footer__brand-divider {
  display: block;
  width: 1px; height: 18px;
  background: rgba(255,255,255,.20);
  flex-shrink: 0;
}
.footer__brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.90);
  text-transform: uppercase;
  line-height: 1;
}

/* Links de rodapé + CNPJ — coluna central, centralizado */
.footer__base-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-self: center;
}
.footer__base-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__base-link {
  padding: 4px 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
  border-radius: 999px;
}
.footer__base-link:hover { color: rgba(255,255,255,.85); }
.footer__base-sep {
  color: rgba(255,255,255,.18);
  font-size: 12px;
  user-select: none;
  padding: 0 2px;
}
.footer__base-cnpj {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,.24);
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}

/* Social icons inline */
.footer__social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  transition: border-color .2s, color .2s, background .2s, transform .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.footer__social-btn svg { width: 15px; height: 15px; display: block; }
.footer__social-btn:hover {
  border-color: var(--royal);
  color: #fff;
  background: rgba(34,81,204,.18);
  transform: translateY(-2px);
}

/* Copy text — não usado diretamente; mantido para compatibilidade */
.footer__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,.24);
  white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────
   17. MODAIS
────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10,10,10,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 3000;
  padding: 16px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.modal.is-open { opacity: 1; pointer-events: auto; }

.modal__box {
  width: min(560px, calc(100% - 28px));
  border-radius: var(--r24);
  background: var(--bg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
  animation: pop .35s var(--ease);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.modal__box--wide { width: min(980px, calc(100% - 28px)); }

@keyframes pop {
  from { transform: translateY(12px) scale(.982); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal__x {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: var(--r12);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, border-color .2s;
}
.modal__x:hover { background: var(--royal-bg); border-color: var(--royal-bd); color: var(--royal); }

.modal__title { font-size: 22px; font-weight: 700; color: var(--ink); padding-right: 48px; }
.modal__sub   { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.75; font-weight: 400; }
.modal__list  {
  margin-top: 12px; padding-left: 18px;
  display: grid; gap: 8px;
  color: var(--ink2); font-size: 14px; line-height: 1.75;
}
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.mblock {
  padding: 18px;
  border-radius: var(--r20);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
}
.mblock h4 { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.muted { color: var(--muted); line-height: 1.75; font-size: 14px; font-weight: 400; }

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.gallery__frame {
  border-radius: var(--r20);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.gallery__frame img {
  width: 100%; height: 360px;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery__frame img.is-on { opacity: 1; transform: scale(1); }

.gallery__nav {
  width: 44px; height: 44px;
  border-radius: var(--r12);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.gallery__nav:hover { border-color: var(--royal-bd); color: var(--royal); box-shadow: var(--shadow-b); }

/* Landing models overlay */
.gallery__frame--landing { position: relative; }
.landing-models {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex; gap: 8px; z-index: 6; flex-wrap: wrap;
}
.landing-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  color: #fff;
  background: rgba(10,10,10,.70);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.20);
  transition: transform .2s, background .2s, box-shadow .2s;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.landing-btn:hover {
  transform: translateY(-2px);
  background: var(--royal);
  box-shadow: 0 6px 20px rgba(34,81,204,.35);
}

/* ──────────────────────────────────────────────────────────────
   18. BOTÃO WA FLUTUANTE
────────────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,.42);
  /* Transição inclui opacity e visibility para sumir suavemente */
  transition: transform .2s var(--ease), box-shadow .2s,
              opacity .35s var(--ease), visibility .35s;
  animation: waPulse 2.8s ease-in-out infinite;
  opacity: 1;
  visibility: visible;
}
/* JS adiciona .wa-float--hidden quando footer está na viewport */
.wa-float--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 36px rgba(37,211,102,.55);
  animation: none;
}
.wa-float svg { width: 24px; height: 24px; display: block; }
/* Tooltip ao hover */
.wa-float::after {
  content: "WhatsApp";
  position: absolute;
  right: 60px;
  top: 50%; transform: translateY(-50%);
  background: rgba(10,10,10,.82);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.wa-float:hover::after { opacity: 1; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,.38); }
  50%       { box-shadow: 0 8px 52px rgba(37,211,102,.65); }
}

/* ──────────────────────────────────────────────────────────────
   19. RESPONSIVO
────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cards        { grid-template-columns: repeat(2, 1fr); }
  .portfolio    { grid-template-columns: repeat(2, 1fr); }
  .impact       { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .hero__grid   { grid-template-columns: 1fr; }
  .hero__stats  { grid-template-columns: repeat(3, 1fr); }
  .cta          { grid-template-columns: 1fr; }
  .modal__grid  { grid-template-columns: 1fr; }
  .footer__cta-band h2 { font-size: clamp(20px, 4vw, 30px); }
  .footer__base {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer__base-nav { justify-content: center; }
  .process      { grid-template-columns: repeat(3, 1fr); }
  .process__rail { display: none; }
}

@media (max-width: 920px) {
  .nav             { display: none; }
  .header__actions { display: none; }
  .hamb            { display: flex; }
  .form__row       { grid-template-columns: 1fr; }
  .gallery__frame img { height: 280px; }
  .process         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header__row       { padding: 10px 12px; }
  .hero              { padding: 86px 0 60px; }
  .section           { padding: 64px 0; }
  .cards             { grid-template-columns: 1fr; }
  .portfolio         { grid-template-columns: 1fr; }
  .impact            { grid-template-columns: 1fr; }
  .testimonials      { grid-template-columns: 1fr; }
  .hero__stats       { grid-template-columns: 1fr; }
  .process           { grid-template-columns: 1fr; }
  .gallery__frame img{ height: 220px; }
  .gallery           { grid-template-columns: 36px 1fr 36px; }
  .gallery__nav      { width: 36px; height: 36px; font-size: 18px; }
  .landing-models    { flex-direction: column; left: 12px; bottom: 12px; }
  .landing-btn       { font-size: 11px; padding: 7px 12px; }
  .modal__box        { padding: 20px; }
  .modal__grid       { grid-template-columns: 1fr; }
  .cta__title        { font-size: 28px; }
  /* wa-float já é circular em todos os tamanhos */
}
