/* =========================================================
   GAIAH — Alquimistas de Metais
   Site institucional · versão premium
   ========================================================= */

:root {
  /* superfícies */
  --paper: #FFFFFF;
  --card: #FFFFFF;
  --ink: #16211C;
  --muted: #56655D;
  --line: #E4E8E5;

  /* verdes da marca */
  --emerald: #00A96E;
  --emerald-400: #22C085;
  --emerald-dark: #007A52;
  --pine: #0E4534;
  --pine-900: #0A2E22;
  --pine-ink: #061a13;

  /* acentos */
  --lime: #D9F470;
  --lime-soft: #EEF9CE;

  /* pontos coloridos do símbolo Gaiah */
  --dot-red: #E4572E;
  --dot-blue: #2D9CDB;
  --dot-violet: #9B51E0;

  /* superfície de apoio (seções claras sobre o branco) */
  --surface: #F7F8F7;

  --shadow-sm: 0 2px 10px rgba(14, 69, 52, .06);
  --shadow-md: 0 10px 28px rgba(14, 69, 52, .10);
  --shadow-lg: 0 20px 48px rgba(6, 32, 24, .20);

  --radius: 14px;
  --radius-lg: 18px;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(48px, 6vw, 80px) 0; }

/* --------- tipografia utilitária --------- */
.serif { font-family: var(--serif); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: 12.5px; font-weight: 700; color: var(--emerald-dark);
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--lime));
}
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5vw, 50px); line-height: 1.1; letter-spacing: -.005em;
  margin: 16px 0 18px; text-wrap: balance;
}
h2 em { font-style: italic; color: var(--emerald-dark); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { color: var(--muted); font-size: 18px; }
.center { text-align: center; margin-inline: auto; }

/* --------- botões --------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 16.5px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 0; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 10px 28px rgba(0, 169, 110, .32); }
.btn-primary:hover { background: var(--emerald-dark); box-shadow: 0 16px 34px rgba(0, 169, 110, .42); }
.btn-lime { background: var(--lime); color: var(--pine-ink); }
.btn-lime:hover { background: #cbe95a; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-dark { border: 1.5px solid var(--line); color: var(--emerald-dark); background: var(--card); }
.btn-ghost-dark:hover { border-color: var(--emerald); }

/* --------- reveal on scroll --------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

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

/* =========================================================
   HEADER
   ========================================================= */
header.top {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
header.top.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 var(--line);
}
/* na home, no topo (antes de rolar), o cabeçalho fica transparente
   para o fundo do hero passar por trás — sem faixa branca, e com um
   respiro acima do menu (some ao rolar, deixando o header compacto) */
body.home header.top:not(.scrolled) {
  background: transparent;
}
/* o hero sobe para trás do cabeçalho, para que o fundo esverdeado
   apareça atrás do menu transparente (sem faixa branca no topo) */
body.home .hero {
  margin-top: calc(-1 * var(--header-h, 92px));
  padding-top: calc(var(--header-h, 92px) + clamp(24px, 3.5vw, 40px));
}

.top-inner { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.top-inner:has(.brand-logo-only) { min-height: 92px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .tile {
  width: 48px; height: 48px; border-radius: 13px; background: #0b0b0b;
  display: grid; place-items: center; overflow: hidden; flex: none;
  box-shadow: var(--shadow-sm);
}
.brand .tile img { width: 40px; height: auto; }
/* cabeçalho apenas com a logo (sem texto ao lado): logo maior e mais legível */
.brand-logo-only .tile { width: 74px; height: 74px; border-radius: 17px; }
.brand-logo-only .tile img { width: 64px; }
.brand b { font-family: var(--serif); font-size: 21px; letter-spacing: .02em; transition: color .3s; }
.brand-name { display: block; height: 19px; width: auto; margin-bottom: 3px; }
.brand-name-light { filter: brightness(0) invert(1); }
.brand span span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); transition: color .3s; white-space: nowrap; }
nav.main { margin-left: auto; display: flex; gap: 20px; }
nav.main a { font-family: "DM Sans", var(--sans); text-decoration: none; font-size: 15.5px; font-weight: 500; letter-spacing: .01em; padding: 6px 2px; transition: color .2s; white-space: nowrap; }
nav.main a:hover { color: var(--emerald-dark); }
.top .btn { min-height: 42px; padding: 9px 18px; font-size: 14.5px; white-space: nowrap; }

.menu-btn {
  display: none; margin-left: auto; width: 50px; height: 50px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--card);
  color: var(--emerald-dark); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 940px) {
  nav.main { display: none; }
  .menu-btn { display: inline-flex; }
  body.menu-open nav.main {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 14px 24px 26px; box-shadow: var(--shadow-md);
  }
  body.menu-open nav.main a { color: var(--emerald-dark) !important; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* =========================================================
   HERO editorial
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3.5vw, 40px) 0 clamp(28px, 4vw, 48px);
  background:
    radial-gradient(120% 95% at 82% 12%, rgba(0,169,110,.22) 0%, rgba(0,169,110,0) 60%),
    radial-gradient(80% 70% at 2% 6%, rgba(0,169,110,.14) 0%, rgba(0,169,110,0) 55%),
    radial-gradient(95% 85% at 0% 100%, rgba(217,244,112,.24) 0%, rgba(217,244,112,0) 55%),
    linear-gradient(180deg, #DCEBDD 0%, #E8F0E8 30%, #FFFFFF 78%);
}
/* véu suave de pontos para dar textura (bem discreto) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(14,69,52,.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 5vw, 64px); align-items: center;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.01em;
  margin: 16px 0 20px; text-wrap: balance;
}
.hero h1 em {
  font-style: italic; color: var(--pine);
  background: linear-gradient(transparent 62%, var(--lime) 62%);
  padding: 0 .04em;
}
.hero p.sub { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 48ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; max-width: 440px; width: 100%; margin-left: auto; }
.hero-media .frame {
  position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: #0b2a20;
  border: 1px solid var(--line);
}
.hero-media .frame video { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; z-index: 2; left: -16px; bottom: 26px;
  background: var(--card); border-radius: 15px; padding: 12px 18px; box-shadow: var(--shadow-md);
  font-size: 14.5px; font-weight: 600; display: flex; gap: 12px; align-items: center;
}
.dots { display: inline-flex; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-left: -4px; border: 2px solid var(--card); }
.dots i:nth-child(1){background:var(--dot-red)} .dots i:nth-child(2){background:var(--dot-blue)}
.dots i:nth-child(3){background:var(--dot-violet)} .dots i:nth-child(4){background:var(--emerald)}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: none; margin-left: 0; }
  .hero-media .frame { aspect-ratio: 16 / 11; }
}

/* =========================================================
   CONTADOR DE IMPACTO
   ========================================================= */
.impact { background: var(--pine); color: #fff; }
.impact-inner {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: 6px 16px; text-align: center; padding: clamp(22px, 3vw, 30px) 0;
}
.impact-label { font-size: clamp(14px, 1.8vw, 17px); color: #C4DCC9; font-weight: 500; }
.impact-value { display: inline-flex; align-items: baseline; gap: 8px; }
.impact-value b {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 42px);
  color: var(--lime); line-height: 1; font-variant-numeric: tabular-nums;
}
.impact-value i { font-style: normal; font-size: clamp(14px, 1.8vw, 17px); color: #C4DCC9; }

/* =========================================================
   CLIENTES / PARCEIROS — logos em cartões
   ========================================================= */
.clients { background: var(--surface); border-block: 1px solid var(--line); padding: clamp(40px, 5vw, 56px) 0; }
.clients .label { text-align: center; font-size: 12.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 700; margin-bottom: 30px; }
.client-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1000px; margin: 0 auto;
}
.client-logo {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 96px; display: grid; place-items: center; padding: 20px 26px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.client-logo:hover { border-color: var(--emerald); box-shadow: var(--shadow-sm); }
.client-logo img {
  max-width: 100%; max-height: 46px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s;
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
/* logo que vem em branco (ex.: Colorfix): inverter p/ aparecer no fundo claro, preservando detalhes */
.client-logo img.logo-dark-src { filter: invert(1) grayscale(1) brightness(.5); opacity: .75; }
.client-logo:hover img.logo-dark-src { filter: invert(1) grayscale(1) brightness(.35); opacity: 1; }
/* logo mais "quadrado" (ex.: Colorfix): um pouco maior para equilibrar com os demais */
.client-logo img.logo-lg { max-height: 62px; }
/* cliente representado por texto (sem logo): cinza como os logos, azul no hover */
.client-text {
  font-family: var(--sans); font-weight: 700; font-size: clamp(16px, 2vw, 19px);
  letter-spacing: .01em; text-align: center; line-height: 1.15;
  color: #859a8c; opacity: .9; transition: color .25s, opacity .25s;
}
.client-logo:hover .client-text { color: #00557F; opacity: 1; }
@media (max-width: 760px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   SERVIÇOS — índice editorial
   ========================================================= */
/* seção Soluções em cartões sobre fundo off-white */
#servicos { background: #EDF1EE; border-block: 1px solid var(--line); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cdddd3; }
.svc-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--lime-soft); color: var(--emerald-dark);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.svc-ico svg { width: 24px; height: 24px; }
.svc-card:hover .svc-ico { background: var(--emerald); color: #fff; }
.svc-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2.3vw, 25px); line-height: 1.16; margin-bottom: 12px; transition: color .2s; }
.svc-card:hover h3 { color: var(--emerald-dark); }
.svc-card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.svc-tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--emerald-dark); text-transform: uppercase; letter-spacing: .1em; }
.svc-tag::before { content: "— "; }
@media (max-width: 920px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NÚMEROS sobre foto
   ========================================================= */
.num-band { position: relative; color: #fff; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0; }
.num-band .num-bg { position: absolute; inset: 0; z-index: 0; }
.num-band .num-bg img { width: 100%; height: 100%; object-fit: cover; }
.num-band .num-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,19,.86), rgba(6,26,19,.6) 50%, rgba(6,26,19,.9)); }
.num-band .wrap { position: relative; z-index: 1; }
.num-band .eyebrow { color: var(--lime); } .num-band .eyebrow::before { background: var(--lime); }
.num-band h2 { color: #fff; max-width: 20ch; }
.num-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 44px; max-width: 1100px; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.14); }
.num-cell { background: rgba(6,26,19,.55); padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; min-height: 158px; }
.num-val { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.num-cell b { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; color: var(--lime); font-variant-numeric: tabular-nums; }
.num-cell .num-val i { font-style: normal; font-family: var(--serif); font-size: clamp(15px, 1.8vw, 20px); color: var(--lime); opacity: .85; white-space: nowrap; }
.num-desc { color: #C6DACb; font-size: 15px; }
.num-band .iso { margin-top: 34px; color: #C6DACb; font-size: 15px; max-width: 70ch; }
.num-band .iso b { color: #fff; }
@media (max-width: 1040px) { .num-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .num-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .num-grid { grid-template-columns: 1fr; } .num-cell { min-height: 120px; } }

/* =========================================================
   VÍDEO institucional — encerramento (antes do footer)
   ========================================================= */
.film-end { background: var(--pine-ink); padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 40px); }
.film-end .film-frame {
  position: relative; max-width: 1000px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9; background: #000;
}
.film-end .film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   FAIXA DE ENCERRAMENTO — frase sobre vídeo de fundo
   ========================================================= */
.closing { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 140px) clamp(20px, 4vw, 40px); text-align: center; color: #fff; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,26,19,.72), rgba(6,26,19,.6) 45%, rgba(6,26,19,.82)); }
.closing-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.closing-quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(26px, 4vw, 44px); line-height: 1.18; text-wrap: balance; }
.closing-sub { color: #C6DACb; font-size: clamp(16px, 2vw, 19px); margin: 18px auto 30px; max-width: 52ch; }
@media (prefers-reduced-motion: reduce) { .closing-bg { display: none; } .closing { background: var(--pine-ink); } }

/* =========================================================
   PROCESSO — ciclo numerado editorial
   ========================================================= */
#processo { background: #EDF1EE; border-block: 1px solid var(--line); }
.cycle {
  counter-reset: etapa; margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cycle li {
  counter-increment: etapa;
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.cycle li:hover { border-color: var(--emerald); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.cycle li::before {
  content: counter(etapa, decimal-leading-zero);
  display: inline-block; margin-bottom: 14px;
  font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--emerald); line-height: 1;
}
.cycle li::after {
  content: ""; position: absolute; top: 30px; right: 24px;
  width: 26px; height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--lime)); opacity: .5;
}
.cycle h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin-bottom: 5px; }
.cycle p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .cycle { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cycle { grid-template-columns: 1fr; } }

/* =========================================================
   FAIXA DE FOTO com parallax
   ========================================================= */
.photo-band { height: clamp(200px, 28vw, 340px); overflow: hidden; position: relative; }
.photo-band img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.photo-band .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px clamp(20px,4vw,40px); background: linear-gradient(transparent, rgba(6,26,19,.75)); color: #fff; }
.photo-band .cap p { font-family: var(--serif); font-size: clamp(20px, 3vw, 30px); max-width: 24ch; }
/* faixa com imagem CLARA: gradiente mais forte para a legenda branca ler bem */
.photo-band-light .cap { background: linear-gradient(transparent, rgba(6,26,19,.35) 30%, rgba(6,26,19,.88)); padding-top: 90px; }
.photo-band-light .cap p { text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* =========================================================
   QUEM SOMOS + TIMELINE
   ========================================================= */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-copy p { margin-bottom: 15px; max-width: 60ch; }
.about-copy .muted { color: var(--muted); }
.about-copy .quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 26px); color: var(--emerald-dark); line-height: 1.35; margin-top: 22px; padding-left: 20px; border-left: 3px solid var(--lime); }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-photo figcaption { font-size: 13px; color: var(--muted); padding: 12px 4px 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo img { aspect-ratio: 16/11; } }

/* =========================================================
   COMPROMISSOS
   ========================================================= */
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; }
.value-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.value-item:hover { border-color: var(--emerald); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.value-ico {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--lime-soft); color: var(--emerald-dark);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.value-ico svg { width: 26px; height: 26px; }
.value-item:hover .value-ico { background: var(--emerald); color: #fff; }
.value-item h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 6px; }
.value-item p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 700px) { .value-list { grid-template-columns: 1fr; gap: 18px; } }

/* Compromissos em fundo verde escuro (contraste com Quem somos) */
.commit-dark { background: var(--pine); color: #EAF6EE; border-block: 1px solid var(--pine-900); }
.commit-dark .eyebrow { color: var(--lime); }
.commit-dark .eyebrow::before { background: var(--lime); }
.commit-dark h2 { color: #fff; }
.commit-dark .value-item {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14);
}
.commit-dark .value-item:hover { border-color: var(--emerald-400); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.commit-dark .value-item h3 { color: #fff; }
.commit-dark .value-item p { color: #BFD6C7; }
.commit-dark .value-ico { background: rgba(217,244,112,.16); color: var(--lime); }
.commit-dark .value-item:hover .value-ico { background: var(--emerald); color: #fff; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact-band { background: var(--pine-ink); color: #EAF6EE; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 60px); position: relative; z-index: 1; }
.contact-band .eyebrow { color: var(--lime); } .contact-band .eyebrow::before { background: var(--lime); }
.contact-band h2 { color: #fff; }
.contact-band p.big { color: #C4DCC9; max-width: 46ch; margin-bottom: 26px; font-size: 18px; }
.contact-info { display: grid; gap: 16px; font-size: 15.5px; margin-top: 30px; }
.contact-info .ci { display: flex; gap: 12px; align-items: start; }
.contact-info .ci svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 3px; }
.contact-info b { color: var(--lime); font-weight: 600; display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.form-card .field { margin-bottom: 16px; }
.form-card label { font-size: 13px; font-weight: 600; color: #C4DCC9; display: block; margin-bottom: 6px; }
.form-card input, .form-card textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  border-radius: 12px; padding: 13px 14px; color: #fff; font-size: 15px; font-family: inherit; transition: border-color .2s, background .2s;
}
.form-card input::placeholder, .form-card textarea::placeholder { color: #8FA99A; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--lime); background: rgba(255,255,255,.07); }
.form-card .hp { position: absolute; left: -9999px; opacity: 0; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: #9DB8A4; margin-top: 12px; text-align: center; }
.form-note a { color: var(--lime); }
.form-msg { display: none; border-radius: 12px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 16px; }
.form-msg.ok { display: block; background: rgba(0,169,110,.18); border: 1px solid var(--emerald); color: #dffaee; }
.form-msg.err { display: block; background: rgba(228,87,46,.16); border: 1px solid var(--dot-red); color: #ffe3d8; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
footer.site { background: var(--pine-ink); color: rgba(255,255,255,.72); padding: 56px 0 40px; font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
footer.site .brand b { color: #fff; } footer.site .brand span span { color: rgba(255,255,255,.6); }
/* restaura o layout lado-a-lado da marca no rodapé (a regra .foot-col a força block) */
footer.site .brand { display: inline-flex; align-items: center; gap: 14px; padding: 0; }
footer.site .brand .brand-name { margin-bottom: 5px; }
.foot-col h4 { color: var(--lime); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.foot-col a { display: block; color: rgba(255,255,255,.75); text-decoration: none; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-desc { margin: 16px 0 0; max-width: 40ch; color: rgba(255,255,255,.6); font-size: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding-top: 26px; font-size: 13px; }
.foot-bottom a { color: rgba(255,255,255,.8); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-col.brandcol { grid-column: 1 / -1; } }

/* =========================================================
   PÁGINA LEGAL (política de privacidade)
   ========================================================= */
.legal { padding: 140px 0 80px; }
.legal .lead { color: var(--muted); font-size: 18px; max-width: 70ch; margin-top: 12px; }
.legal h2 { font-size: clamp(24px, 3.4vw, 34px); margin-top: 44px; }
.legal h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 26px 0 8px; }
.legal p, .legal li { color: #33463d; max-width: 74ch; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--emerald-dark); }
.legal .updated { margin-top: 8px; font-size: 14px; color: var(--muted); }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--emerald-dark); text-decoration: none; }
.legal .back:hover { gap: 12px; }

/* =========================================================
   WHATSAPP flutuante
   ========================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  text-decoration: none; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

/* botão voltar ao topo */
.to-top {
  position: fixed; right: 24px; bottom: 94px; z-index: 89;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--pine); color: #fff; border: 0;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--pine-ink); }
.to-top svg { width: 22px; height: 22px; }
