/* ==========================================================================
   Luming — site institucional (rascunho v1)
   Layout: coluna única de até 1200px, texto alinhado à esquerda; faixas
   claras (branco / névoa) alternam com faixas grafite. O anel do símbolo
   Luming é o único gesto gráfico forte (hero); o resto fica quieto.
   Cores e tipografia seguem o Manual de Identidade Visual (Lato, #383f3e,
   #70bb80, #ffffff). O verde da marca não tem contraste para texto sobre
   branco, então textos verdes em fundo claro usam --green-ink.
   ========================================================================== */

:root {
  /* Cor */
  --graphite: #383f3e;        /* cinza grafite da marca: texto e faixas escuras */
  --graphite-deep: #2c3231;   /* rodapé */
  --green: #70bb80;           /* verde da marca: grafismos, botões, texto sobre grafite */
  --green-ink: #2e7d47;       /* verde para texto/links sobre fundo claro (contraste AA) */
  --paper: #ffffff;
  --mist: #f2f6f3;            /* faixa clara alternada, neutro puxado para o verde */
  --muted: #5f6866;           /* texto secundário sobre claro */
  --line: #d5ddd8;            /* fios e divisórias */
  --line-strong: #7f8a87;     /* bordas de campos de formulário (3:1) */
  --on-dark: #ffffff;
  --on-dark-muted: #c7c9c9;
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --danger: #b42318;

  /* Tipo */
  --font: "Lato", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --fs-display: clamp(2.45rem, 1.55rem + 3.6vw, 4.3rem);
  --fs-h2: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-title: clamp(1.55rem, 1.3rem + 1vw, 2.1rem);
  --fs-h3: 1.125rem;
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Espaço */
  --wrap: 1200px;
  --gutter-l: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --band: clamp(64px, 8.5vw, 120px);
  --radius: 6px;
  --header-h: 68px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* faixa da área segura (iPhone em apps) pintada na cor do cabeçalho */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--graphite);
  z-index: 60;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
abbr[title] { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
sub { font-size: 0.7em; line-height: 0; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--green);
  color: var(--graphite);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: calc(16px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 80px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

section[id], article[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

/* pilhas verticais em grid: a coluna nunca cresce além do contêiner */
.section-head,
.about-intro,
.product-body,
.feature-body,
.contact-intro,
.invest,
.email-box,
.footer-brand,
.footer-contact,
.more-content,
.field,
.form-actions,
.video-text {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- Tipografia ---------- */
.display {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display-cont {
  display: block;
  margin-top: 0.55em;
  max-width: 24ch;
  font-size: clamp(1.2rem, 0.95rem + 1vw, 1.65rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--green);
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.title {
  font-size: var(--fs-title);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.35;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.kicker {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green-ink);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(32px, 4.5vw, 56px);
  max-width: 820px;
}

/* ---------- Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--green); color: var(--graphite); }
.btn-primary:hover { background: #86c693; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.06); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.link-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-ink);
  text-decoration: none;
  white-space: nowrap;
}
.link-ext .icon { width: 16px; height: 16px; }
.link-ext:hover { text-decoration: underline; text-underline-offset: 3px; }

/* marcador de lista: um pequeno anel, eco do símbolo */
.rings li {
  position: relative;
  padding-left: 1.5rem;
}
.rings li + li { margin-top: 0.55rem; }
.rings li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--graphite);
  color: var(--on-dark);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--on-dark-line), 0 8px 24px rgba(0, 0, 0, 0.18); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--on-dark);
  text-decoration: none;
  padding: 6px 0;
}
.brand-logo { width: 116px; height: 31px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.menu-toggle .icon { width: 26px; height: 26px; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--on-dark-muted);
  font-size: 0.975rem;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav .nav-cta {
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  color: var(--on-dark);
  font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--green); color: var(--graphite); }

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--graphite);
    border-top: 1px solid var(--on-dark-line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    padding: 0.5rem var(--gutter-r) 1.5rem var(--gutter-l);
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--on-dark-line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 1rem; }
  .site-nav a { display: block; padding: 0.95rem 0; font-size: 1.125rem; color: var(--on-dark); }
  .site-nav .nav-cta { text-align: center; padding: 0.85rem 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--graphite);
  color: var(--on-dark);
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 8vw, 112px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-lead {
  margin-top: 1.75rem;
  max-width: 40ch;
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.hero .actions { margin-top: 2.25rem; }

.hero-visual { min-width: 0; }
.ring {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1 / 1;
}
.ring-geo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring-photo {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  object-fit: cover;
}
.geo-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: geo-spin 140s linear infinite;
}
@keyframes geo-spin { to { transform: rotate(360deg); } }

.hero-visual figcaption {
  margin-top: 1rem;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
}
@media (max-width: 899px) {
  .ring { max-width: 380px; }
}

/* ---------- Clientes e Parceiros ---------- */
.clients {
  padding-top: clamp(40px, 5.5vw, 72px);
  padding-bottom: clamp(40px, 5.5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.clients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
.clients-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.clients-title span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--muted);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 14px;
  background: var(--paper);
}
.logo-grid img {
  height: var(--h, 36px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s, opacity 0.25s;
}
@media (hover: hover) {
  .logo-grid li:hover img { filter: none; opacity: 1; }
}
@media (min-width: 640px) {
  .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .clients-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; }
}

/* ---------- Sobre ---------- */
.band { padding-top: var(--band); padding-bottom: var(--band); }
.band-mist { background: var(--mist); }
.band-dark { background: var(--graphite); color: var(--on-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 88px);
}
.about-intro { min-width: 0; display: grid; gap: 1.5rem; align-content: start; }
.about-intro .h2 { max-width: 20ch; }
.about-close {
  font-size: 1.125rem;
  font-weight: 700;
}
.ods { margin-top: 0.75rem; width: 100%; max-width: 400px; }

.benefits { min-width: 0; border-bottom: 1px solid var(--line); }
.benefit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.benefit .icon { width: 30px; height: 30px; color: var(--green-ink); margin-top: 2px; }
.benefit p { grid-column: 2; color: var(--muted); }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

/* ---------- Soluções e Tecnologias ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-body {
  min-width: 0;
  padding: clamp(24px, 4vw, 52px);
  display: grid;
  gap: 1.5rem;
  align-content: center;
}
.product-name {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.product-name .icon { width: 40px; height: 40px; color: var(--green-ink); }
.product-media { min-width: 0; }
.product-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

.spec {
  border-top: 1px solid var(--line);
}
.spec div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.spec dt { color: var(--muted); font-size: 0.95rem; }
.spec dd { font-weight: 700; }

@media (min-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 859px) {
  .product-media img { max-height: 400px; }
}

.sub-block { margin-top: clamp(56px, 7vw, 96px); }
.sub-block > .h3 { margin-bottom: 1.75rem; font-size: 1.25rem; }

/* processo em 4 etapas */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.35rem 1.25rem;
  padding-bottom: 1.75rem;
}
.step-icon {
  grid-row: span 2;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--mist);
  color: var(--graphite);
}
.step-icon .icon { width: 26px; height: 26px; }
.step h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; padding-top: 0.35rem; }
.step h4 b { color: var(--green-ink); margin-right: 0.35rem; }
.step p { color: var(--muted); font-size: 0.975rem; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 4px;
  width: 2px;
  background-image: linear-gradient(var(--green) 50%, transparent 50%);
  background-size: 2px 10px;
  opacity: 0.8;
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step-icon { grid-row: auto; margin-bottom: 0.75rem; }
  .step:not(:last-child)::after {
    left: 68px;
    right: -1.5rem;
    top: 27px;
    bottom: auto;
    width: auto;
    height: 2px;
    background-image: linear-gradient(90deg, var(--green) 50%, transparent 50%);
    background-size: 10px 2px;
  }
}

/* setores */
.sector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 2rem;
}
.sector {
  min-width: 0;
  padding: 1.5rem 0;
  border-top: 2px solid var(--graphite);
}
.sector h4 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.sector h4 .icon { color: var(--green-ink); }
.sector li { font-size: 0.975rem; }
@media (min-width: 640px) {
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Soluções Complementares ---------- */
.comp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.invest {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--on-dark);
  display: grid;
  gap: 2.25rem;
  align-items: start;
}
.invest > * { position: relative; }
.invest-main,
.invest-side {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-content: start;
}
.invest-arc {
  position: absolute;
  right: -175px;
  bottom: -175px;
  width: 300px;
  height: 300px;
  pointer-events: none;
}
@media (min-width: 1000px) {
  .invest { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem 4.5rem; }
}
@media (max-width: 639px) {
  .invest-arc { display: none; }
}
.invest .kicker { color: var(--green); }
.invest-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.invest-lead { font-size: var(--fs-lead); color: var(--on-dark-muted); max-width: 38ch; }

.model {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.6rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--on-dark-line);
}
.model-sum {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.model-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 0.6rem;
  border: 1.5px solid var(--on-dark-line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.model-item .icon { width: 22px; height: 22px; color: var(--green); }
.model-op { color: var(--green); font-size: 1.35rem; font-weight: 300; line-height: 1; }
.model-result { background: var(--green); border-color: var(--green); color: var(--graphite); }
.model-result .icon { color: var(--graphite); }
.model-note {
  flex-basis: 100%;
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
}

.invest .rings li { color: var(--on-dark); }
.invest .actions { margin-top: 0.5rem; }

.gestao {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(24px, 3.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.gestao-media img { margin: 0 auto; width: 100%; max-width: 460px; }
.gestao-body { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.gestao .title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); max-width: 24ch; }
.gestao .rings li { color: var(--graphite); }
@media (min-width: 860px) {
  .gestao { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 3rem; }
}

/* ---------- Projetos ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-media { min-width: 0; position: relative; }
.feature-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.feature-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 50, 49, 0.82);
  color: var(--on-dark);
  font-size: 0.8rem;
}
.feature-body {
  min-width: 0;
  padding: clamp(24px, 4vw, 52px);
  display: grid;
  gap: 1.1rem;
  align-content: center;
}
.client-logo { width: auto; height: 34px; max-width: 100%; align-self: flex-start; justify-self: start; object-fit: contain; object-position: left center; }
.feature-body .title { max-width: 22ch; }
.strong { font-weight: 700; }
.feature-body p:not(.strong) { color: var(--muted); }

.video-link {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--graphite);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.video-link:hover { border-color: var(--green); background: var(--mist); }
.video-thumb { position: relative; border-radius: 4px; overflow: hidden; }
.video-thumb img { width: 132px; height: 74px; object-fit: cover; }
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--graphite);
}
.video-play .icon { width: 18px; height: 18px; margin-left: 2px; }
.video-text { display: grid; gap: 0.15rem; min-width: 0; }
.video-text strong { font-size: 1rem; }
.video-text span { font-size: var(--fs-small); color: var(--muted); }

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 899px) {
  .feature-media img { max-height: 420px; }
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem 1.4rem 1.5rem;
  flex: 1;
}
.card .client-logo { height: 26px; }
.card .h3 { font-size: 1.05rem; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-top: 0.25rem;
}
.stats div { display: grid; }
.stats dt { order: 2; font-size: var(--fs-small); color: var(--muted); }
.stats dd {
  order: 1;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.more { margin-top: auto; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-ink);
}
.more summary::-webkit-details-marker { display: none; }
.more summary .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.more[open] summary .icon { transform: rotate(45deg); }
.more-content { display: grid; gap: 0.9rem; margin-top: 0.9rem; font-size: 0.95rem; color: var(--muted); }
.more-content blockquote p { font-style: italic; color: var(--graphite); }
.more-content cite { display: block; margin-top: 0.4rem; font-style: normal; font-size: var(--fs-small); color: var(--muted); }

/* ---------- News e Mídia ---------- */
.press { border-bottom: 1px solid var(--line); }
.press-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.press-logo { height: var(--h, 30px); width: auto; opacity: 0.85; }
.press-item blockquote { min-width: 0; }
.press-item blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  max-width: 68ch;
}
.press-meta { font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 860px) {
  .press-item {
    grid-template-columns: 200px minmax(0, 1fr) 150px;
    gap: 2.5rem;
    align-items: center;
  }
  .press-item > .link-ext { justify-self: end; }
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
}
.contact-intro { min-width: 0; display: grid; gap: 1.5rem; }
.contact .lead { color: var(--on-dark-muted); }

.email-box {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
}
.email-label { font-size: var(--fs-small); color: var(--on-dark-muted); }
.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.email {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.email:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: 700 0.9rem/1 var(--font);
  cursor: pointer;
}
.copy-btn .icon { width: 16px; height: 16px; }
.copy-btn:hover { border-color: var(--on-dark); }
.copy-btn.is-done { border-color: var(--green); color: var(--green); }

.contact-form {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 1.25rem;
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--graphite);
}
@media (min-width: 600px) {
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-weight: 700; font-size: 0.925rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.req { color: var(--green-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  color: var(--graphite);
  font: 400 1rem/1.4 var(--font);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(112, 187, 128, 0.5);
  outline-offset: 0;
  border-color: var(--green-ink);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 0; font-size: var(--fs-small); color: var(--danger); }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: grid; gap: 0.75rem; justify-items: start; }
.form-actions .btn { min-width: 220px; }
.form-note { font-size: var(--fs-small); color: var(--muted); }
.form-status {
  padding: 0.9rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  background: var(--mist);
  border-left: 4px solid var(--line-strong);
}
.form-status.is-success { background: #e9f4ec; border-left-color: var(--green-ink); }
.form-status.is-error { background: #fcebea; border-left-color: var(--danger); }
@media (max-width: 599px) {
  .form-actions .btn { width: 100%; }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--graphite-deep);
  color: var(--on-dark-muted);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr); }
}
.footer-brand { display: grid; gap: 1rem; align-content: start; color: var(--on-dark); }
.footer-logo { width: 176px; height: 47px; }
.footer-brand p { color: var(--on-dark-muted); max-width: 34ch; }
.footer-title { margin-bottom: 0.9rem; font-size: 0.9rem; font-weight: 700; color: var(--on-dark); }
.footer-nav li + li { margin-top: 0.45rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-contact { display: grid; gap: 0.9rem; align-content: start; justify-items: start; }
.footer-contact .footer-title { margin-bottom: 0; }
.social { display: flex; gap: 0.5rem; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--on-dark-line);
  border-radius: 50%;
}
.social a:hover { border-color: var(--green); color: var(--green); }
.social .icon { width: 20px; height: 20px; }
address { font-style: normal; line-height: 1.55; }
.footer-legal {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 1.25rem;
  border-top: 1px solid var(--on-dark-line);
  font-size: var(--fs-small);
}

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