/* ============================================================
   Godoy Engenharia — Design tokens & base styles
   Two variations (A: industrial-technical, B: editorial-premium)
   ============================================================ */

:root {
  /* Brand */
  --ge-green: #0a7a3c;            /* sober institutional green */
  --ge-green-deep: #054a22;       /* deeper accent for hover */
  --ge-green-bright: #2e8a52;     /* muted highlight for dark bg */
  --ge-green-glow: #4ca676;       /* desaturated stroke for SVG */
  --ge-ink: #0a0e0c;              /* near-black with green undertone */
  --ge-ink-2: #161c19;
  --ge-ink-3: #232b27;

  /* Neutrals (light side) */
  --ge-paper: #faf9f5;            /* warm off-white */
  --ge-paper-2: #f1efe7;          /* secondary surface */
  --ge-paper-3: #e5e3d8;
  --ge-line: #d8d5c8;             /* soft warm border */
  --ge-line-strong: #aaa698;
  --ge-muted: #5e655f;
  --ge-text: #15201a;

  /* Type */
  --ge-display: "Space Grotesk", "Archivo", system-ui, sans-serif;
  --ge-body: "Manrope", system-ui, sans-serif;
  --ge-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Scale (web — slide-scale not used here) */
  --ge-radius: 4px;
  --ge-radius-lg: 8px;

  /* Density */
  --ge-section-y: 88px;
  --ge-container: 1280px;
  --ge-gutter: 32px;
}

/* Variation B overrides — editorial / more whitespace, slightly different palette */
[data-variant="b"] {
  --ge-paper: #ffffff;
  --ge-paper-2: #f7f5ee;
  --ge-paper-3: #ecead8;
  --ge-line: #e9e4d0;
  --ge-line-strong: #c4bea6;
  --ge-section-y: 108px;
  --ge-display: "Archivo", "Space Grotesk", system-ui, sans-serif;
  --ge-body: "Manrope", system-ui, sans-serif;
}

/* ── Reset ────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
body {
  font-family: var(--ge-body);
  color: var(--ge-text);
  background: var(--ge-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; height: auto; }
/* Catch-all: no section may exceed the viewport width on mobile */
section, header, footer, main, .ge-section, .ge-pagehero, .ge-hero {
  max-width: 100%;
}
h1, h2, h3, h4, h5 {
  font-family: var(--ge-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ge-ink);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── Utilities ────────────────────────────────────── */
.ge-container {
  width: 100%;
  max-width: var(--ge-container);
  margin: 0 auto;
  padding: 0 var(--ge-gutter);
}
.ge-mono {
  font-family: var(--ge-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}
.ge-eyebrow {
  font-family: var(--ge-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ge-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ge-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ge-green);
}

/* ── Buttons ────────────────────────────────────── */
.ge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--ge-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: var(--ge-radius);
  transition: all 180ms cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  white-space: nowrap;
}
/* Mantém os ícones (svg) dos botões sempre no tamanho certo — sem o flexbox
   espremê-los a 0 quando o texto do botão é longo (ex.: e-mail no cabeçalho). */
.ge-btn svg { flex: none; }
.ge-btn--primary {
  background: var(--ge-green);
  color: #fff;
  border-color: var(--ge-green);
}
.ge-btn--primary:hover {
  background: var(--ge-green-deep);
  border-color: var(--ge-green-deep);
  transform: translateY(-1px);
}
.ge-btn--ghost {
  background: transparent;
  color: var(--ge-ink);
  border-color: rgba(0,0,0,0.18);
}
.ge-btn--ghost:hover {
  border-color: var(--ge-ink);
  background: var(--ge-ink);
  color: #fff;
}
.ge-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.ge-btn--ghost-light:hover {
  background: #fff;
  color: var(--ge-ink);
}

/* ── Nav ─────────────────────────────────────────── */
.ge-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ge-line);
  color: var(--ge-ink);
}
.ge-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.ge-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ge-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ge-ink);
  flex-shrink: 0;
}
.ge-nav__brand img {
  height: 56px;
  width: auto;
  display: block;
}
.ge-nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ge-nav__link {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ge-muted);
  border-radius: 4px;
  cursor: pointer;
  transition: color 150ms;
  position: relative;
  background: none;
  border: none;
  white-space: nowrap;
  font-family: inherit;
}
.ge-nav__link:hover, .ge-nav__link.is-active { color: var(--ge-ink); }
.ge-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--ge-green);
}
.ge-nav__cta { margin-left: 12px; }
.ge-nav__cta-secondary {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
@media (max-width: 1080px) { .ge-nav__cta-secondary { display: none !important; } }

/* Telefone/WhatsApp clicável no cabeçalho */
.ge-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 4px;
  padding: 8px 12px;
  font-family: var(--ge-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ge-ink);
  border: 1px solid var(--ge-line-strong);
  border-radius: var(--ge-radius);
  white-space: nowrap;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.ge-nav__phone svg { color: var(--ge-green); flex: none; }
.ge-nav__phone:hover {
  color: var(--ge-green);
  border-color: var(--ge-green);
  background: var(--ge-paper-2);
}

/* Dropdown */
.ge-nav__group { position: relative; }
.ge-nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 340px;
  background: #fff;
  color: var(--ge-ink);
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.18);
  border: 1px solid var(--ge-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 160ms;
}
.ge-nav__menu.is-open,
.ge-nav__group:hover .ge-nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ge-nav__menu-item {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 120ms;
  text-align: left;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
}
.ge-nav__menu-item:hover { background: var(--ge-paper-2); }
.ge-nav__menu-item-title { font-weight: 600; font-size: 14px; }
.ge-nav__menu-item-desc { font-size: 12px; color: var(--ge-muted); margin-top: 2px; }

/* ── Footer ──────────────────────────────────────── */
.ge-footer {
  background: var(--ge-ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
  font-size: 14px;
}
.ge-footer h4 {
  color: #fff;
  font-family: var(--ge-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.ge-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
}
.ge-footer a, .ge-footer button { color: rgba(255,255,255,0.7); display: block; padding: 4px 0; transition: color 150ms; background: none; border: none; text-align: left; font: inherit; cursor: pointer; }
.ge-footer a:hover, .ge-footer button:hover { color: var(--ge-green-bright); }

.ge-footer__social { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.ge-footer__social-label { color: rgba(255,255,255,0.4); margin-bottom: 14px; font-size: 10px; letter-spacing: 0.12em; }
.ge-footer__social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ge-footer__social-list li { padding: 0; }
.ge-footer__social-list a {
  display: grid !important;
  grid-template-columns: 28px 80px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 0 !important;
  color: rgba(255,255,255,0.75);
  background: transparent;
  transition: color 180ms ease;
}
.ge-footer__social-list a > svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px;
  color: rgba(255,255,255,0.65);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
  box-sizing: border-box;
}
.ge-footer__social-kind {
  font-family: var(--ge-display);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.005em;
}
.ge-footer__social-handle {
  font-family: var(--ge-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}
.ge-footer__social-list a:hover { color: var(--ge-green-bright); }
.ge-footer__social-list a:hover > svg {
  color: var(--ge-green-bright);
  border-color: var(--ge-green-bright);
  background: rgba(46,138,82,0.06);
}
.ge-footer__social-list a:hover .ge-footer__social-kind { color: var(--ge-green-bright); }
.ge-footer__norm-label { color: rgba(255,255,255,0.4); font-size: 10px; letter-spacing: 0.12em; align-self: center; margin-right: 4px; }
.ge-footer__bottom {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ge-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ── Hero ────────────────────────────────────────── */
.ge-hero {
  background: var(--ge-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ge-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 80%);
}
.ge-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 96px;
}
[data-variant="b"] .ge-hero__inner {
  grid-template-columns: 1fr;
  padding: 104px 0 112px;
  text-align: left;
  gap: 80px;
}
.ge-hero h1 {
  color: #fff;
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 900px;
}
.ge-hero h1 em {
  font-style: normal;
  color: var(--ge-green-bright);
  font-weight: 600;
}

/* Hero cover variant — matches reference: photo bleeds right, dark+green grade integrates it */
.ge-hero--cover {
  isolation: isolate;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
}
.ge-hero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ge-hero__cover img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  filter: saturate(0.7) brightness(0.62) contrast(1.06) hue-rotate(-6deg);
}
.ge-hero__cover-grade {
  position: absolute;
  inset: 0;
  background:
    /* hard dark left half */
    linear-gradient(90deg,
      rgba(5,11,8,1) 0%,
      rgba(5,11,8,1) 32%,
      rgba(5,11,8,0.92) 42%,
      rgba(5,11,8,0.55) 56%,
      rgba(5,11,8,0.32) 78%,
      rgba(5,11,8,0.50) 100%
    ),
    /* green institutional wash on right */
    linear-gradient(110deg,
      transparent 40%,
      rgba(10,79,46,0.45) 80%,
      rgba(7,55,32,0.55) 100%
    ),
    /* slight vertical darkening for legibility */
    linear-gradient(180deg, rgba(5,11,8,0.25), rgba(5,11,8,0.55));
}
.ge-hero--cover > .ge-hero__grid-bg,
.ge-hero--cover > .ge-container { position: relative; z-index: 2; }

.ge-hero__inner--cover {
  grid-template-columns: minmax(0, 760px) 1fr;
  padding: 112px 0 96px;
  align-items: start;
  gap: 0;
}
.ge-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ge-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ge-green-bright);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.ge-hero__tag-mark {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--ge-green-bright);
}
.ge-hero__h1 {
  color: #fff;
  font-size: clamp(56px, 6.6vw, 104px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 920px;
}
.ge-hero__h1 em {
  font-style: normal;
  color: var(--ge-green-bright);
  font-weight: 700;
}
.ge-hero--cover .ge-hero__lede {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
}
.ge-hero--cover .ge-hero__ctas {
  margin-top: 36px;
}
.ge-hero--cover .ge-hero__specs {
  margin-top: 56px;
  max-width: 580px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
}
@media (max-width: 980px) {
  .ge-hero__cover img {
    width: 100%;
    object-position: 60% center;
    filter: saturate(0.65) brightness(0.45) contrast(1.06) hue-rotate(-6deg);
  }
  .ge-hero__cover-grade {
    background:
      linear-gradient(180deg, rgba(5,11,8,0.55) 0%, rgba(5,11,8,0.88) 80%, rgba(5,11,8,1) 100%),
      linear-gradient(170deg, transparent 30%, rgba(10,79,46,0.4) 100%);
  }
  .ge-hero__inner--cover {
    grid-template-columns: 1fr;
    padding: 96px 0 72px;
  }
  .ge-hero__h1 { font-size: clamp(40px, 9vw, 64px); }
  .ge-hero__specs { gap: 18px; }
  .ge-hero--cover .ge-hero__ctas .ge-btn,
  .ge-hero__ctas .ge-btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .ge-hero__specs { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ge-hero__tag { font-size: 10px; gap: 10px; margin-bottom: 24px; }
}
.ge-hero__lede {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.74);
  max-width: 560px;
}
.ge-hero__ctas {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ge-hero__specs {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 640px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}
.ge-hero__spec-label {
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.ge-hero__spec-value {
  font-family: var(--ge-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.ge-hero__spec-value small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ge-green-bright);
  margin-left: 4px;
  font-family: var(--ge-mono);
}
.ge-hero__visual {
  position: relative;
  aspect-ratio: 4/5;
}
[data-variant="b"] .ge-hero__visual { display: none; }

/* Variation B hero: numbered marquee row of focuses */
[data-variant="b"] .ge-hero-b__marquee {
  display: flex;
  align-items: baseline;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  margin-top: 64px;
}
[data-variant="b"] .ge-hero-b__marquee-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--ge-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85);
}
[data-variant="b"] .ge-hero-b__marquee-num {
  font-family: var(--ge-mono);
  font-size: 11px;
  color: var(--ge-green-bright);
  letter-spacing: 0.1em;
}

/* ── Section base ────────────────────────────────── */
.ge-section {
  padding: var(--ge-section-y) 0;
  position: relative;
}
.ge-section--paper { background: var(--ge-paper); }
.ge-section--paper-2 { background: var(--ge-paper-2); }
.ge-section--ink { background: var(--ge-ink); color: #fff; }
.ge-section--ink h2, .ge-section--ink h3 { color: #fff; }
.ge-section__head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: end;
}
.ge-section__head h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.ge-section__head-meta { display: flex; flex-direction: column; gap: 12px; }
.ge-section__head-desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ge-muted);
  max-width: 600px;
}
.ge-section--ink .ge-section__head-desc { color: rgba(255,255,255,0.6); }

/* ── Services grid ───────────────────────────────── */
.ge-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ge-line);
  border: 1px solid var(--ge-line);
}
.ge-service-card {
  background: var(--ge-paper);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 180ms;
  position: relative;
  min-height: 280px;
}
[data-variant="b"] .ge-service-card { min-height: 320px; padding: 40px 36px; }
.ge-service-card:hover { background: #fff; }
.ge-service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--ge-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ge-service-card__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--ge-mono);
  font-size: 11px;
  color: var(--ge-muted);
  letter-spacing: 0.08em;
}
.ge-service-card__title {
  font-family: var(--ge-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ge-ink);
  margin-top: 8px;
}
.ge-service-card__bullets {
  font-size: 13.5px;
  color: var(--ge-muted);
  margin-top: auto;
}
.ge-service-card__bullets li {
  padding: 4px 0;
  border-top: 1px solid var(--ge-line);
  font-family: var(--ge-mono);
  letter-spacing: 0.04em;
  font-size: 11px;
  text-transform: uppercase;
}
.ge-service-card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ge-green);
  opacity: 0;
  transition: opacity 180ms, transform 180ms;
}
.ge-service-card:hover .ge-service-card__arrow { opacity: 1; transform: translateX(2px); }

/* ── Clients / operations served ─────────────────── */
.ge-clients__grid {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ge-line);
  border: 1px solid var(--ge-line);
}
.ge-clients__cell {
  background: #fff;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  transition: background 180ms ease, transform 180ms ease;
  position: relative;
  overflow: hidden;
}
.ge-clients__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 180ms ease;
}
.ge-clients__cell:hover {
  transform: translateY(-1px);
}
.ge-clients__cell:hover::before {
  border-color: var(--ge-green);
}
.ge-clients__logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: saturate(0.95);
  opacity: 0.95;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}
.ge-clients__cell:hover .ge-clients__logo {
  opacity: 1;
  filter: saturate(1);
  transform: scale(1.03);
}
.ge-clients__foot {
  margin-top: 32px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ge-muted);
  max-width: 760px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Pains (problema → solução técnica) ─────────── */
.ge-pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ge-pain {
  background: var(--ge-paper);
  border: 1px solid var(--ge-line);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  border-radius: 4px;
}
.ge-pain:hover {
  border-color: var(--ge-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px -16px rgba(10,14,12,0.18);
}
.ge-pain__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ge-ink);
  color: var(--ge-green-bright);
  border-radius: 3px;
  margin-bottom: 4px;
}
.ge-pain__title {
  font-family: var(--ge-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ge-ink);
  margin: 0;
}
.ge-pain__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ge-muted);
  flex: 1;
}
.ge-pain__cta {
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ge-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ge-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  align-self: flex-start;
  text-align: left;
  transition: color 180ms ease, gap 180ms ease;
}
.ge-pain__cta:hover {
  color: var(--ge-green-deep);
  gap: 10px;
}

/* ── Segment cards ───────────────────────────────── */
.ge-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ge-segment {
  background: var(--ge-ink-2);
  color: #fff;
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.06);
}
.ge-segment__icon {
  width: 36px;
  height: 36px;
  color: var(--ge-green-bright);
}
.ge-segment__title {
  font-family: var(--ge-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.ge-segment__desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
  margin-top: auto;
}

/* ── Obras ───────────────────────────────────────── */
.ge-obras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ── Estudos de caso (page Obras) ────────────────── */
.ge-cases {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.ge-case {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ge-line);
}
.ge-case:last-child { border-bottom: 0; padding-bottom: 0; }
.ge-case:nth-child(even) {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.05fr);
}
.ge-case:nth-child(even) .ge-case__media { order: 2; }
.ge-case:nth-child(even) .ge-case__body { order: 1; }
.ge-case__media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ge-paper-2);
  overflow: hidden;
}
.ge-case__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.ge-case__num { color: var(--ge-green); font-size: 11px; letter-spacing: 0.16em; }
.ge-case__cat {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ge-muted);
  padding: 4px 10px;
  border: 1px solid var(--ge-line);
  text-transform: uppercase;
  border-radius: 999px;
}
.ge-case__title {
  font-family: var(--ge-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ge-ink);
  margin: 0 0 28px;
  max-width: 28ch;
}
.ge-case__resumo {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ge-ink);
  margin: -12px 0 26px;
  max-width: 52ch;
}
.ge-case__field {
  margin-bottom: 22px;
}
.ge-case__field:last-child { margin-bottom: 0; }
.ge-case__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ge-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ge-case__value {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ge-ink);
}
.ge-case__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.ge-case__list li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ge-ink);
}
.ge-case__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}
.ge-case__grid .ge-case__field { margin-bottom: 0; }
.ge-case__norms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ge-case__norms span {
  padding: 4px 9px;
  border: 1px solid var(--ge-line);
  background: var(--ge-paper-2);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ge-ink);
  font-family: var(--ge-mono);
}
.ge-case__result {
  background: var(--ge-paper-2);
  padding: 18px 20px;
  border-left: 2px solid var(--ge-green);
  border-radius: 2px;
}
.ge-case__cta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ge-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ge-case__cta-q {
  font-family: var(--ge-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ge-ink);
  letter-spacing: -0.012em;
}
@media (max-width: 980px) {
  .ge-case, .ge-case:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ge-case:nth-child(even) .ge-case__media { order: 0; }
  .ge-case:nth-child(even) .ge-case__body { order: 1; }
  .ge-case__media { aspect-ratio: 16/10; }
  .ge-case__list { grid-template-columns: 1fr; }
  .ge-case__grid { grid-template-columns: 1fr; }
  .ge-case__title { font-size: 26px; }
}
@media (max-width: 560px) {
  .ge-cases { gap: 44px; }
  .ge-case { padding-bottom: 44px; gap: 24px; }
  .ge-case__media { aspect-ratio: 4/3; }
  .ge-case__title { font-size: 23px; max-width: none; }
  .ge-case__resumo { font-size: 15px; }
  .ge-case__value { font-size: 14.5px; }
  .ge-case__field { margin-bottom: 18px; }
  .ge-case__head { flex-wrap: wrap; gap: 8px; }
  .ge-case__cta { margin-top: 22px; padding-top: 20px; }
  /* Stack case CTAs full-width so they're easy to tap on a phone */
  .ge-case__cta > div:last-child { flex-direction: column; align-items: stretch; }
  .ge-case__cta .ge-btn { width: 100%; justify-content: center; }
}
.ge-obra {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}
.ge-obra__media {
  aspect-ratio: 16/10;
  background: var(--ge-paper-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--ge-line);
}
.ge-obra__meta {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.ge-obra__cat {
  font-family: var(--ge-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ge-green);
}
.ge-obra__year {
  font-family: var(--ge-mono);
  font-size: 11px;
  color: var(--ge-muted);
}
.ge-obra__title {
  font-family: var(--ge-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 12px;
}
.ge-obra__scope {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ge-muted);
  line-height: 1.5;
}

/* ── Placeholder media ───────────────────────────── */
.ge-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 18px;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(0,0,0,0.04) 11px 12px),
    linear-gradient(180deg, var(--ge-paper-2), var(--ge-paper-3));
  position: relative;
  color: var(--ge-ink);
}
.ge-ph--dark {
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(255,255,255,0.025) 11px 12px),
    linear-gradient(180deg, var(--ge-ink-2), var(--ge-ink));
  color: rgba(255,255,255,0.9);
}
.ge-ph__label {
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ge-paper);
  padding: 6px 10px;
  border: 1px solid var(--ge-line);
}
.ge-ph--dark .ge-ph__label {
  background: rgba(10,14,12,0.7);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}
.ge-ph__corner {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ge-muted);
  text-transform: uppercase;
}
.ge-ph--dark .ge-ph__corner { color: rgba(255,255,255,0.4); }

/* ── Placeholder with real image ─────────────────── */
.ge-ph--img {
  padding: 0;
  background: var(--ge-ink);
  overflow: hidden;
  display: block;
  margin: 0;
}
.ge-ph--img .ge-ph__corner {
  z-index: 2;
  background: rgba(10,14,12,0.72);
  color: rgba(255,255,255,0.85);
  padding: 4px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.ge-ph__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms ease;
}
.ge-obra:hover .ge-ph__img { transform: scale(1.02); }
.ge-ph__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px 12px;
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

/* Hero visual uses the same wrapper but the image is portrait — preserve aspect */
.ge-hero__visual .ge-ph--img .ge-ph__img {
  object-fit: cover;
  object-position: center;
}

/* ── Form ───────────────────────────────────────── */
.ge-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.ge-form__submit-error {
  background: rgba(200, 50, 40, 0.06);
  border: 1px solid rgba(200, 50, 40, 0.35);
  border-left: 3px solid #c83228;
  color: #a02218;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 3px;
}
.ge-field { display: flex; flex-direction: column; gap: 8px; }
.ge-field--full { grid-column: 1 / -1; }
.ge-field label {
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ge-muted);
}
.ge-field input,
.ge-field select,
.ge-field textarea {
  font-family: var(--ge-body);
  font-size: 15px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ge-line);
  border-radius: 4px;
  color: var(--ge-ink);
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
}
.ge-field input:focus,
.ge-field select:focus,
.ge-field textarea:focus {
  outline: none;
  border-color: var(--ge-green);
  box-shadow: 0 0 0 3px rgba(14, 107, 58, 0.12);
}
.ge-field textarea { min-height: 140px; resize: vertical; }
.ge-field.has-error input,
.ge-field.has-error select,
.ge-field.has-error textarea { border-color: #c43d3d; }
.ge-field__error {
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #c43d3d;
  text-transform: uppercase;
}
.ge-form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ge-muted); }
.ge-form__consent input { width: 16px; height: 16px; margin-top: 3px; }

.ge-file { display: block; cursor: pointer; }
.ge-file input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ge-file__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px dashed var(--ge-line-strong);
  background: var(--ge-paper);
  color: var(--ge-ink);
  font-family: var(--ge-body);
  font-size: 14px;
  border-radius: 3px;
  width: 100%;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.ge-file:hover .ge-file__inner,
.ge-file:focus-within .ge-file__inner {
  border-color: var(--ge-green);
  color: var(--ge-green-deep);
  background: #fff;
}

/* ── WhatsApp floating ───────────────────────────── */
.ge-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
}
.ge-wa__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  border: none;
  font-family: var(--ge-display);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 180ms, box-shadow 180ms;
}
.ge-wa__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -10px rgba(37, 211, 102, 0.6), 0 6px 14px rgba(0,0,0,0.18);
}
.ge-wa__btn svg { width: 22px; height: 22px; }

.ge-wa__modal {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: min(340px, calc(100vw - 32px));
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,0.35);
  overflow: hidden;
  border: 1px solid var(--ge-line);
}
.ge-wa__head {
  background: #075e54;
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ge-wa__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ge-display);
  font-weight: 700;
  font-size: 16px;
}
.ge-wa__head-name { font-size: 15px; font-weight: 600; }
.ge-wa__head-status { font-size: 11px; opacity: 0.7; }
.ge-wa__body {
  padding: 20px 18px;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,211,102,0.06), transparent 60%),
    #ece5dd;
  min-height: 140px;
}
.ge-wa__bubble {
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #222;
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.ge-wa__bubble small {
  display: block;
  font-size: 10px;
  color: #888;
  margin-top: 4px;
  text-align: right;
}
.ge-wa__cta {
  padding: 16px 18px;
  background: #fff;
}
.ge-wa__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--ge-display);
  text-decoration: none;
}
.ge-wa__fallback {
  padding: 0 18px 18px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: -8px;
}
.ge-wa__fallback-hint {
  font-size: 11px;
  color: var(--ge-muted);
  line-height: 1.45;
  padding: 14px 0 12px;
}
.ge-wa__fallback-row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.ge-wa__copy {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ge-paper-2);
  border: 1px solid var(--ge-line);
  border-radius: 4px;
  padding: 9px 12px;
  cursor: pointer;
  font-family: var(--ge-body);
  transition: border-color 180ms ease, background 180ms ease;
}
.ge-wa__copy:hover { border-color: var(--ge-green); background: #fff; }
.ge-wa__copy-num { font-family: var(--ge-display); font-weight: 600; font-size: 14px; color: var(--ge-ink); letter-spacing: 0.01em; }
.ge-wa__copy-action { font-family: var(--ge-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ge-green); text-transform: uppercase; }
.ge-wa__alt {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--ge-ink);
  border: 1px solid var(--ge-line);
  border-radius: 4px;
  padding: 9px 10px;
  font-family: var(--ge-display);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.ge-wa__alt:hover { border-color: var(--ge-green); color: var(--ge-green-deep); background: var(--ge-paper-2); }
.ge-wa__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Stats strip ─────────────────────────────────── */
.ge-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ge-line);
  border-top: 1px solid var(--ge-line);
  border-bottom: 1px solid var(--ge-line);
}
.ge-stat {
  background: var(--ge-paper);
  padding: 40px 28px;
}
.ge-stat__num {
  font-family: var(--ge-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ge-ink);
  line-height: 1;
}
.ge-stat__num small { font-size: 22px; color: var(--ge-green); margin-left: 2px; font-weight: 600; }
.ge-stat__label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ge-muted);
  line-height: 1.4;
}

/* ── CTA block ───────────────────────────────────── */
.ge-cta-block {
  background: var(--ge-ink);
  color: #fff;
  padding: 96px 64px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ge-cta-block__bg {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(31,165,101,0.18), transparent 60%),
    linear-gradient(135deg, transparent 40%, rgba(14,107,58,0.18) 100%);
}
.ge-cta-block__content { position: relative; }
.ge-cta-block h2 {
  font-size: clamp(36px, 3.6vw, 52px);
  color: #fff;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.ge-cta-block__sub {
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.5;
}
.ge-cta-block__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Page hero (internal) ────────────────────────── */
.ge-pagehero {
  background: var(--ge-ink);
  color: #fff;
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
}
.ge-pagehero--cover {
  padding: 128px 0 72px;
  isolation: isolate;
}
.ge-pagehero__cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ge-pagehero__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Refinement: cooler, more corporate, integrate w/ dark layout */
  filter: saturate(0.78) brightness(0.6) contrast(1.05) hue-rotate(-4deg);
  transform: scale(1.02);
}
.ge-pagehero__cover-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,8,0.7) 0%, rgba(5,11,8,0.85) 60%, rgba(5,11,8,0.95) 100%),
    linear-gradient(90deg, rgba(5,11,8,0.55) 0%, rgba(5,11,8,0.15) 50%, rgba(14,107,58,0.18) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(46,138,82,0.15), transparent 60%);
}
.ge-pagehero > .ge-hero__grid-bg,
.ge-pagehero > .ge-container { position: relative; z-index: 2; }
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.ge-pagehero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.ge-pagehero h1 {
  color: #fff;
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1.02;
}
.ge-pagehero__crumb {
  font-family: var(--ge-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ge-green-bright);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
}
.ge-pagehero__crumb span { color: rgba(255,255,255,0.4); }
.ge-pagehero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}

/* ── Service page detail ─────────────────────────── */
.ge-svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.ge-svc-detail__side {
  position: sticky;
  top: 100px;
}
.ge-svc-detail__nav { display: flex; flex-direction: column; }
.ge-svc-detail__nav button {
  text-align: left;
  padding: 14px 16px;
  background: none;
  border: none;
  border-left: 2px solid var(--ge-line);
  color: var(--ge-muted);
  font-family: var(--ge-display);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 150ms;
}
.ge-svc-detail__nav button:hover { color: var(--ge-ink); border-left-color: var(--ge-line-strong); }
.ge-svc-detail__nav button.is-active {
  color: var(--ge-green);
  border-left-color: var(--ge-green);
  background: var(--ge-paper-2);
}
.ge-svc-detail h2 { font-size: 36px; letter-spacing: -0.025em; margin-bottom: 20px; }
.ge-svc-detail h3 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 16px; }
.ge-svc-detail p { font-size: 16px; line-height: 1.6; color: var(--ge-text); margin-bottom: 16px; }
.ge-svc-detail__scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.ge-svc-detail__scope-item {
  padding: 16px;
  background: var(--ge-paper-2);
  border-left: 2px solid var(--ge-green);
  font-size: 14px;
}
.ge-svc-detail__scope-item strong {
  display: block;
  font-family: var(--ge-display);
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ge-ink);
}
.ge-svc-detail__norms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.ge-svc-detail__norm {
  font-family: var(--ge-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  background: var(--ge-paper-2);
  border: 1px solid var(--ge-line);
  text-transform: uppercase;
  color: var(--ge-ink);
}

/* ── Service detail: visible scope summary ───────── */
.ge-svc-detail__bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ge-line);
}
.ge-svc-detail__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--ge-line);
  font-size: 15px;
  line-height: 1.45;
  color: var(--ge-ink);
}
.ge-svc-detail__bullets-dot {
  width: 6px;
  height: 6px;
  background: var(--ge-green);
  flex-shrink: 0;
}
.ge-svc-detail__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 8px 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--ge-line);
  border-bottom: 1px solid var(--ge-line);
}
.ge-svc-detail__meta h3 {
  font-size: 12px;
  font-family: var(--ge-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ge-muted);
  margin: 0 0 14px;
}
.ge-svc-detail__norms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ge-svc-detail__norms-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ge-text);
  padding-left: 14px;
  position: relative;
}
.ge-svc-detail__norms-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--ge-line-strong, var(--ge-muted));
}
.ge-svc-detail__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}
.ge-svc-detail__diagram {
  background: var(--ge-ink);
  border-radius: 4px;
  padding: 20px;
  margin-top: 16px;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ge-svc-detail__flow {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ge-svc-detail__flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--ge-line);
}
.ge-svc-detail__flow li:last-child {
  border-bottom: 1px solid var(--ge-line);
}
.ge-svc-detail__flow-num {
  color: var(--ge-green);
  font-size: 13px;
  font-weight: 600;
}
.ge-svc-detail__flow-title {
  font-family: var(--ge-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ge-ink);
  letter-spacing: -0.01em;
}
.ge-svc-detail__flow-body {
  font-size: 14px;
  color: var(--ge-muted);
  line-height: 1.55;
}

/* ── Accordion ───────────────────────────────────── */
.ge-accordion {
  border-top: 1px solid var(--ge-line);
  border-bottom: 1px solid var(--ge-line);
  margin: 8px 0 24px;
}
.ge-accordion + .ge-accordion {
  border-top: none;
  margin-top: -24px;
}
.ge-accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: var(--ge-ink);
  text-align: left;
  transition: color 150ms;
}
.ge-accordion__head:hover { color: var(--ge-green); }
.ge-accordion__label {
  font-family: var(--ge-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.ge-accordion__chev {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--ge-muted);
  transition: transform 200ms ease, color 150ms;
}
.ge-accordion.is-open .ge-accordion__chev {
  transform: rotate(180deg);
  color: var(--ge-green);
}
.ge-accordion__body {
  padding: 4px 0 24px;
}

/* ── Blog ────────────────────────────────────────── */
.ge-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ge-blog-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}
.ge-blog-card__media {
  aspect-ratio: 5/3;
  background: var(--ge-paper-2);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ge-line);
}
.ge-blog-card__meta {
  margin-top: 16px;
  font-family: var(--ge-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ge-green);
}
.ge-blog-card__title {
  font-family: var(--ge-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-top: 8px;
}
.ge-blog-card__excerpt {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ge-muted);
  line-height: 1.5;
}

.ge-post {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.ge-post h2 { font-size: 28px; margin: 40px 0 16px; }
.ge-post h3 { font-size: 22px; margin: 32px 0 12px; }
.ge-post p { font-size: 17px; line-height: 1.65; margin-bottom: 16px; color: var(--ge-text); }
.ge-post blockquote {
  font-family: var(--ge-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ge-ink);
  border-left: 3px solid var(--ge-green);
  padding-left: 24px;
  margin: 32px 0;
  letter-spacing: -0.01em;
}

/* ── Toast ───────────────────────────────────────── */
.ge-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ge-ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  font-family: var(--ge-display);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.4);
  z-index: 300;
  animation: ge-toast-in 220ms cubic-bezier(.2,.7,.2,1);
}
@keyframes ge-toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.ge-toast svg { color: var(--ge-green-bright); width: 18px; height: 18px; }

/* ── Variation B-specific overrides ──────────────── */
[data-variant="b"] .ge-services {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: transparent;
  border: none;
}
[data-variant="b"] .ge-service-card {
  background: var(--ge-paper);
  border: 1px solid var(--ge-line);
  border-radius: 6px;
}
[data-variant="b"] .ge-service-card:hover {
  border-color: var(--ge-green);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px rgba(14,107,58,0.18);
}
[data-variant="b"] .ge-obras { grid-template-columns: repeat(2, 1fr); gap: 56px; }
[data-variant="b"] .ge-obra__title { font-size: 28px; }
[data-variant="b"] .ge-section__head {
  grid-template-columns: 1fr;
  gap: 32px;
}
[data-variant="b"] .ge-section__head h2 {
  font-size: clamp(44px, 5vw, 72px);
}

/* ── Compact density ────────────────────────────── */
[data-density="compact"] { --ge-section-y: 88px; }
[data-density="comfy"]   { --ge-section-y: 160px; }

/* ── Accent color override (binds to --ge-green) ── */
[data-accent="electric"]   { --ge-green: #0a5d34; --ge-green-bright: #1c8a55; --ge-green-deep: #063a20; }
[data-accent="copper"]     { --ge-green: #9b5226; --ge-green-bright: #c97840; --ge-green-deep: #5e2f15; }
[data-accent="cobalt"]     { --ge-green: #1a3f76; --ge-green-bright: #3c70bb; --ge-green-deep: #0c244a; }
[data-accent="graphite"]   { --ge-green: #262a2c; --ge-green-bright: #5b6065; --ge-green-deep: #131517; }

/* ── Diagram styles ───────────────────────────────── */
.ge-diagram { width: 100%; height: 100%; }
.ge-diagram text {
  font-family: var(--ge-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.6);
}
.ge-diagram .ge-diagram__label-strong { fill: #fff; font-weight: 600; }
.ge-diagram .ge-diagram__green { stroke: var(--ge-green-bright); }
.ge-diagram .ge-diagram__line { stroke: rgba(255,255,255,0.2); fill: none; }
.ge-diagram .ge-diagram__dot { fill: var(--ge-green-bright); }

/* Service grid with 8 services — 4x2 layout */
.ge-services.ge-services--lg { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1200px) {
  .ge-services.ge-services--lg { grid-template-columns: repeat(3, 1fr); }
  .ge-clients__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1200px) {
  .ge-nav__links { gap: 0; }
  .ge-nav__link { padding: 10px 10px; font-size: 13px; }
  .ge-nav__brand img { height: 48px; }
}
@media (max-width: 980px) {
  /* Tablet & mobile: collapse nav into hamburger */
  .ge-nav__inner { height: 68px; gap: 12px; }
  .ge-nav__brand img { height: 38px; }
  .ge-nav__links { display: none; }
  .ge-nav__hamburger { display: inline-flex; }
  .ge-nav__mobile { top: 68px; }
  .ge-services, .ge-services.ge-services--lg { grid-template-columns: repeat(2, 1fr); }
  .ge-clients__grid { grid-template-columns: repeat(3, 1fr); }
  .ge-pains { grid-template-columns: repeat(2, 1fr); }
  .ge-section__head, .ge-pagehero__inner, .ge-svc-detail,
  .ge-cta-block, .ge-obras, .ge-segments, .ge-blog-list,
  .ge-stats {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .ge-cta-block { padding: 48px 28px; }
  .ge-hero__inner { grid-template-columns: 1fr; padding: 64px 0 80px; }
}
@media (max-width: 760px) {
  .ge-services, .ge-services.ge-services--lg { grid-template-columns: 1fr; }
  .ge-clients__grid { grid-template-columns: repeat(2, 1fr); }
  .ge-pains { grid-template-columns: 1fr; }
}

/* ── Footer responsivo (impede overflow horizontal no mobile) ── */
@media (max-width: 980px) {
  .ge-footer { padding: 64px 0 32px; }
  .ge-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  /* primeira coluna (logo + descrição) ocupa a linha toda */
  .ge-footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ge-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Ajustes finos de mobile (gutter + botão flutuante compacto) ── */
@media (max-width: 760px) {
  :root { --ge-gutter: 20px; }
  /* Botão flutuante vira circular (só ícone) para não cobrir conteúdo/CTAs */
  .ge-wa { bottom: 16px; right: 16px; }
  .ge-wa__btn {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .ge-wa__btn span { display: none; }
  .ge-wa__btn svg { width: 26px; height: 26px; }
  .ge-wa__modal { bottom: 68px; }
}
@media (max-width: 380px) {
  :root { --ge-gutter: 16px; }
}

/* ── Mobile hamburger + menu overlay ───────────── */
.ge-nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--ge-line);
  border-radius: 4px;
  color: var(--ge-ink);
  margin-left: auto;
}
/* Show hamburger on tablet/mobile — defined AFTER base so it wins regardless
   of the position of the earlier @media blocks. */
@media (max-width: 980px) {
  .ge-nav__hamburger { display: inline-flex; }
}
.ge-nav__mobile {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ge-paper);
  border-top: 1px solid var(--ge-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 180ms ease;
  z-index: 49;
  overflow-y: auto;
}
.ge-nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ge-nav__mobile-inner {
  padding: 24px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ge-nav__mobile-link {
  text-align: left;
  padding: 14px 8px;
  font-family: var(--ge-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ge-ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--ge-line);
  cursor: pointer;
}
.ge-nav__mobile-link--toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ge-nav__mobile-sub {
  display: flex;
  flex-direction: column;
  padding: 4px 0 12px 16px;
  border-bottom: 1px solid var(--ge-line);
}
.ge-nav__mobile-sub button {
  text-align: left;
  padding: 10px 8px;
  font-size: 14px;
  font-family: var(--ge-body);
  color: var(--ge-muted);
  background: none;
  border: none;
  cursor: pointer;
}
.ge-nav__mobile-sub button:hover { color: var(--ge-green); }

/* ── Compactação mobile: menos altura vertical entre seções ── */
@media (max-width: 768px) {
  :root, [data-variant="b"] { --ge-section-y: 56px; }
}
