/* =========================================================
   Vale Engenharia e Manutenção Industrial - Landing Page
   ========================================================= */
:root {
  --c-bg: #0f1f17;
  --c-bg-2: #152a1f;
  --c-bg-3: #1d3828;
  --c-surface: #ffffff;
  --c-surface-2: #f4f6f8;
  --c-text: #1b2330;
  --c-text-muted: #5b6775;
  --c-text-inv: #f5f7fa;
  --c-text-inv-muted: #b4bec9;
  --c-primary: #e9b949;      /* dourado do logo */
  --c-primary-dark: #c99a2a;
  --c-red: #1f4d2e;          /* verde escuro do logo (usado nos destaques) */
  --c-blue: #2f7d4a;         /* verde do logo */
  --c-accent: #3f9b5b;       /* verde folha do logo */
  --c-line: #e3e8ee;
  --c-line-dark: rgba(255,255,255,.08);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15,20,25,.12);
  --font-display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-surface);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.1; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head p { color: var(--c-text-muted); font-size: 1.08rem; margin-top: .9rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: .7rem;
}
.icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-primary); color: #141414; box-shadow: 0 8px 20px rgba(233,185,73,.35); }
.btn--primary:hover { background: #f3c85c; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--light { background: #fff; color: var(--c-text); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,31,23,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line-dark);
  color: #fff;
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo__mark { height: 52px; width: 52px; flex-shrink: 0; }
.logo__wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: .03em; color: #fff; text-transform: uppercase; white-space: nowrap; }
.logo__text span { color: var(--c-primary); }
.logo__tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-inv-muted); margin-top: .25rem; font-weight: 600; white-space: nowrap; }
.nav { display: flex; gap: 1.15rem; margin-left: auto; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--c-text-inv-muted); padding: .4rem 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--c-primary); transition: width .2s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header__cta { padding: .6rem 1.1rem; font-size: .92rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto;
}
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(233,185,73,.22), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(63,155,91,.28), transparent 45%),
    linear-gradient(160deg, #142a1e 0%, #0f1f17 60%, #0a150f 100%);
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,31,23,.92) 0%, rgba(15,31,23,.6) 55%, rgba(15,31,23,.35) 100%);
}
.hero::before {
  /* padrão de linhas técnico */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .05;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__content { position: relative; z-index: 1; padding: clamp(60px, 9vw, 110px) 0; max-width: 820px; }
.hero h1 strong { color: var(--c-primary); }
.hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--c-text-inv-muted); max-width: 640px; margin: 1.4rem 0 2rem; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-line-dark); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.hero__stats span { font-size: .9rem; color: var(--c-text-inv-muted); margin-top: .3rem; }

/* ---------- Faixa de clientes (carrossel) ---------- */
.trust { background: var(--c-bg-2); color: #fff; padding: 36px 0 32px; border-top: 1px solid var(--c-line-dark); }
.trust__title { text-align: center; color: var(--c-text-inv-muted); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: 0 0 auto; height: 84px; min-width: 150px; padding: 0 1.6rem;
  background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.marquee__item img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }
.marquee__item--text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; color: #1f4d2e; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee__track .marquee__item.is-clone { display: none; }
}
@media (max-width: 640px) {
  .marquee__item { height: 68px; min-width: 120px; padding: 0 1.1rem; }
  .marquee__item img { height: 38px; max-width: 140px; }
  .marquee__item--text { font-size: 1.1rem; }
}

/* ---------- Serviços ---------- */
.services { background: var(--c-surface); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__media { margin: 0; aspect-ratio: 16/10; background: var(--c-bg-3); position: relative; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(47,125,74,.12); color: var(--c-blue); margin-bottom: 1rem;
}
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--c-text-muted); font-size: .97rem; flex: 1; }
.service__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.service__tags li { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--c-surface-2); color: var(--c-text-muted); }
.service--cta { background: linear-gradient(150deg, var(--c-bg-2), var(--c-bg)); color: #fff; border: 0; justify-content: center; grid-column: 1 / -1; }
.service--cta .service__body { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 2rem; align-items: center; padding: 2rem 2.2rem; }
.service--cta h3 { grid-column: 1; }
.service--cta p { grid-column: 1; margin: 0; }
.service--cta .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.service--cta h3 { color: #fff; font-size: 1.8rem; }
.service--cta p { color: var(--c-text-inv-muted); flex: 0; }
.service--cta .btn { align-self: flex-start; margin-top: .6rem; }

/* ---------- Terceirização de mão de obra ---------- */
.staffing { background: var(--c-surface-2); }
.eyebrow--new { display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow--new::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(63,155,91,.2); }
.staffing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.staff { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.6rem 1.4rem; transition: .2s; display: flex; flex-direction: column; }
.staff:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.staff__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1rem; color: #fff; }
.staff__icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.staff__icon--kitchen { background: linear-gradient(145deg, #e9b949, #c99a2a); color: #1f2a1f; }
.staff__icon--security { background: linear-gradient(145deg, #2f7d4a, #1f4d2e); }
.staff__icon--cleaning { background: linear-gradient(145deg, #3f9b5b, #2f7d4a); }
.staff__icon--industrial { background: linear-gradient(145deg, #243a2d, #0f1f17); }
.staff h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.staff p { color: var(--c-text-muted); font-size: .93rem; flex: 1; }
.staff__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.staff__tags li { font-size: .76rem; font-weight: 600; padding: .22rem .6rem; border-radius: 999px; background: rgba(63,155,91,.12); color: #1f4d2e; }
.staffing__how { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; margin-top: 1.6rem; }
.staffing__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.5rem; }
.staffing__steps li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 3px solid var(--c-primary); }
.staffing__steps strong { font-size: .98rem; }
.staffing__steps span { font-size: .88rem; color: var(--c-text-muted); }
.staffing__cta { background: linear-gradient(150deg, var(--c-bg-2), var(--c-bg)); color: #fff; border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.staffing__cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: .5rem; }
.staffing__cta p { color: var(--c-text-inv-muted); font-size: .95rem; }
.staffing__cta .btn { align-self: flex-start; }

/* destaque no hero */
.hero__badge { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.8rem; padding: .55rem 1rem .55rem .55rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; font-size: .9rem; font-weight: 500; transition: .2s; }
.hero__badge:hover { background: rgba(255,255,255,.14); border-color: rgba(233,185,73,.6); }
.hero__badge-tag { background: var(--c-primary); color: #141414; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.hero__badge-arrow { color: var(--c-primary); font-weight: 700; }

/* ---------- Fluxo de beneficiamento ---------- */
.flow { background: var(--c-bg); color: #fff; position: relative; overflow: hidden; }
.flow::before { content: ""; position: absolute; inset: 0; opacity: .05; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 48px 48px; }
.flow .container { position: relative; }
.flow .section__head p { color: var(--c-text-inv-muted); }
.flow__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.flow__grid li { background: rgba(255,255,255,.04); border: 1px solid var(--c-line-dark); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; transition: .2s; }
.flow__grid li:hover { background: rgba(255,255,255,.07); border-color: rgba(233,185,73,.5); transform: translateY(-3px); }
.flow__n { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--c-primary); letter-spacing: .05em; }
.flow__grid h3 { color: #fff; font-size: 1.25rem; margin: .35rem 0 .3rem; }
.flow__grid p { color: var(--c-text-inv-muted); font-size: .9rem; margin: 0; }
.flow__cta { text-align: center; margin-top: 2.4rem; }

/* ---------- Segmentos ---------- */
.segments { background: var(--c-surface-2); }
.segments__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.segment {
  background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-accent); transition: .2s;
}
.segment:hover { border-top-color: var(--c-red); transform: translateY(-3px); box-shadow: var(--shadow); }
.segment > span { font-size: 1.9rem; display: block; margin-bottom: .6rem; }
.segment h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.segment p { color: var(--c-text-muted); font-size: .92rem; margin: 0; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--c-bg-3); position: relative; box-shadow: var(--shadow); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body p { color: var(--c-text-muted); font-size: 1.03rem; }
.about__body h2 { margin-bottom: 1.2rem; }
.about__points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; margin: 1.6rem 0 2rem; }
.about__points li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 3px solid var(--c-blue); }
.about__points strong { font-size: 1rem; }
.about__points span { font-size: .9rem; color: var(--c-text-muted); }

/* ---------- Processo ---------- */
.process { background: var(--c-bg); color: #fff; }
.process .section__head p { color: var(--c-text-inv-muted); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.process__steps li { background: var(--c-bg-2); border: 1px solid var(--c-line-dark); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.process__steps li > span { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--c-primary); line-height: 1; display: block; margin-bottom: .8rem; }
.process__steps h3 { color: #fff; margin-bottom: .4rem; }
.process__steps p { color: var(--c-text-inv-muted); font-size: .95rem; margin: 0; }

/* ---------- Portfólio ---------- */
.portfolio__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.portfolio__item { margin: 0; position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-3); cursor: pointer; }
.portfolio__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio__item:hover img { transform: scale(1.06); }
.portfolio__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; font-size: .92rem;
}
.portfolio__item:nth-child(1), .portfolio__item:nth-child(6), .portfolio__item:nth-child(7) { grid-column: span 2; aspect-ratio: 2/1; }

/* ---------- Placeholders (quando a foto ainda não existe) ---------- */
.placeholder-label { display: none; }
.is-missing img { display: none; }
.is-missing {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #26402f, #16281d);
}
.is-missing .placeholder-label,
.is-missing figcaption {
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: absolute; inset: 0; padding: 1rem;
  color: var(--c-text-inv-muted); font-size: .9rem; font-weight: 500; background: none;
}
.is-missing figcaption::before, .is-missing .placeholder-label::before {
  content: ""; display: block; width: 44px; height: 44px; margin-right: .6rem; flex-shrink: 0; opacity: .6;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4bec9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><circle cx='9' cy='10' r='2'/><path d='m21 16-5-5-8 8'/></svg>") center/contain no-repeat;
}
.portfolio__item.is-missing figcaption { flex-direction: column; }
.portfolio__item.is-missing figcaption::before { margin: 0 0 .5rem; }

/* ---------- Faixa CTA ---------- */
.cta-band { background: linear-gradient(100deg, #1a3f27, #2f7d4a); color: #fff; padding: 48px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.cta-band p { margin: .4rem 0 0; font-weight: 500; }

/* ---------- Contato ---------- */
.contact { background: var(--c-surface-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info p { color: var(--c-text-muted); }
.contact__list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.contact__list li { display: flex; flex-direction: column; padding: 1rem 1.2rem; background: #fff; border-radius: 12px; border: 1px solid var(--c-line); }
.contact__list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); }
.contact__list a, .contact__list span:not(strong) { font-weight: 600; font-size: 1.05rem; }
.contact__list a:hover { color: var(--c-primary-dark); }
.contact__form { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--c-line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--c-text); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem .95rem; border-radius: 10px; border: 1px solid #cfd6de; background: #fff; color: var(--c-text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(233,185,73,.35); }
.field input.is-invalid { border-color: #d64545; }
.field textarea { resize: vertical; min-height: 110px; }
.form__hint { font-size: .82rem; color: var(--c-text-muted); text-align: center; margin: .7rem 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--c-bg); color: var(--c-text-inv-muted); padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 40px; border-bottom: 1px solid var(--c-line-dark); }
.footer__brand p { margin-top: .8rem; font-size: .95rem; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: .5rem; }
.footer__col h4 { color: #fff; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }
.footer__col a:hover { color: var(--c-primary); }
.footer__bottom { padding: 20px 0; font-size: .85rem; }
.footer__legal { margin: 0 0 .5rem; font-size: .85rem; color: var(--c-text-inv-muted); line-height: 1.6; }
.footer__crea { color: #fff; font-weight: 600; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1240px) {
  .logo__tag { display: none; }
  .nav { gap: .9rem; }
  .nav a { font-size: .9rem; }
  .header__cta { padding: .55rem .9rem; font-size: .88rem; }
}
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .segments__grid { grid-template-columns: repeat(3, 1fr); }
  .flow__grid { grid-template-columns: repeat(3, 1fr); }
  .staffing__grid { grid-template-columns: repeat(2, 1fr); }
  .staffing__how { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio__item:nth-child(1), .portfolio__item:nth-child(6), .portfolio__item:nth-child(7) { grid-column: span 1; aspect-ratio: 1/1; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--c-bg); border-bottom: 1px solid var(--c-line-dark);
    padding: .5rem 16px 1rem; transform: translateY(-110%); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--c-line-dark); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .header__cta span { display: none; }
  .logo__tag { display: none; }
  .logo__mark { height: 40px; width: 40px; }
  .logo__text { font-size: 1.5rem; }
  .header__cta { padding: .6rem; margin-left: auto; }
  .nav-toggle { display: flex; margin-left: 0; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .services__grid, .segments__grid, .process__steps { grid-template-columns: 1fr; }
  .flow__grid { grid-template-columns: 1fr 1fr; }
  .staffing__grid, .staffing__steps { grid-template-columns: 1fr; }
  .hero__badge { align-items: flex-start; border-radius: 16px; }
  .service--cta .service__body { grid-template-columns: 1fr; }
  .service--cta .btn { grid-column: 1; grid-row: auto; margin-top: 1rem; justify-self: start; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__form { grid-template-columns: 1fr; }
  .about__points { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.4rem; }
  .hero__actions .btn { width: 100%; }
}
