:root {
  /* Paleta da identidade Igor Pinheiro (azul-marinho + preto + branco + cinza).
     Nomes mantidos por compatibilidade; valores atualizados 2026-06-25.
     --forest/--forest-2 = azul-marinho; --gold = cor de CTA (navy); --clay = slate. */
  --ink: #11141a;        /* texto principal (quase preto) */
  --muted: #5b5e66;      /* texto secundario (cinza-medio) */
  --paper: #f4f5f7;      /* fundo do body (cinza-claro frio) */
  --surface: #ffffff;    /* cards/superficies (branco) */
  --forest: #1e2b4a;     /* AZUL-MARINHO principal (titulos, marca, secoes escuras, CTA) */
  --forest-2: #2a3a5e;   /* azul-marinho secundario */
  --gold: #1e2b4a;       /* cor do botao primario (navy) — texto branco por cima */
  --clay: #3d4f72;       /* slate (numeros dos cards, detalhe) */
  --sky: #e7eaf1;        /* fundo claro da secao de contato (azulado) */
  --line: rgba(17, 24, 40, 0.14);
  --shadow: 0 20px 60px rgba(17, 24, 40, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--forest);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 244, 237, 0.94);
  box-shadow: 0 12px 30px rgba(17, 24, 40, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 48px;
  background-color: currentColor; /* monograma adapta a cor ao contexto (branco no hero/rodape, escuro ao rolar) */
  -webkit-mask: url("logo-monograma.png") center / contain no-repeat;
  mask: url("logo-monograma.png") center / contain no-repeat;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  opacity: 0.74;
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(30, 43, 74, 0.88), rgba(30, 43, 74, 0.52) 48%, rgba(30, 43, 74, 0.18)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-content {
  width: min(760px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1120px) / 2));
  padding: 8rem 0 6rem;
  color: #fff;
}

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

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 650px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.muted-action {
  cursor: default;
  opacity: 0.64;
}

.muted-action:hover {
  transform: none;
}

.button.primary {
  background: var(--gold);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.64);
  color: #fff;
}

.button.secondary.dark {
  border-color: var(--forest);
  color: var(--forest);
}

.button.light {
  background: #fff;
  color: var(--forest);
}

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

.intro-band {
  padding: 0 0 3rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.metrics div {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--forest);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--forest);
  font-size: 1.18rem;
  line-height: 1.25;
}

.prose p:first-child {
  margin-top: 0;
}

.prose p,
.section-heading p,
.education p,
.contact-panel p,
.product-card p,
.site-footer p {
  color: var(--muted);
}

.services-section {
  background: #eef0f4;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.service-card,
.testimonial-card,
.product-card {
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card span,
.product-card span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--clay);
  font-weight: 800;
}

.service-card p,
.testimonial-card p {
  color: var(--muted);
}

.service-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  background: var(--forest);
  color: #fff;
}

.service-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  font-weight: 700;
}

.service-highlight strong {
  color: #fff;
  line-height: 1.4;
}

.education {
  background: var(--forest);
  color: #fff;
}

.education h2,
.education .eyebrow {
  color: #fff;
}

.education p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.education-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.testimonial-card {
  min-height: 180px;
  background: linear-gradient(180deg, #fff, #eef1f6);
}

.testimonial-card strong {
  color: var(--forest);
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.client-strip span {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed rgba(30, 43, 74, 0.34);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.52);
}

.contact-section {
  background: var(--sky);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-panel p {
  max-width: 560px;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  background: #0f1626;
}

.site-footer .brand {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2rem;
}

.footer-grid address {
  display: grid;
  gap: 0.45rem;
  font-style: normal;
}

.footer-grid address a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-ic {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-grid strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.page-hero {
  position: relative;
  padding: 9rem 0 5rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(30, 43, 74, 0.9), rgba(30, 43, 74, 0.62)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

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

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card h2 {
  font-size: 1.55rem;
}

.product-card .button {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    color: var(--ink);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(30, 43, 74, 0.86), rgba(30, 43, 74, 0.62)),
      url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1200&q=80") center/cover;
  }

  .metrics,
  .split,
  .services-grid,
  .placeholder-grid,
  .client-strip,
  .footer-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .education-inner,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Galeria de provas sociais ===== */
.provas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.prova-thumb {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 0;
  display: block;
  width: 100%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.prova-thumb:hover,
.prova-thumb:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.prova-thumb[hidden] {
  display: none;
}

.prova-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.provas-more {
  text-align: center;
  margin-top: 2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 14, 25, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lb-img {
  max-width: min(86vw, 640px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  user-select: none;
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.lb-counter {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
  pointer-events: none;
}

.lb-close,
.lb-prev,
.lb-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 160ms ease;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 860px) {
  .provas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lb-prev,
  .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    padding-top: 7rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
  }
}
