/* GEOMINTEL — design tokens (per client handoff: green + white + grey, red logo accent) */
:root {
  --green-900: #073B2D;
  --green-700: #0B5943;
  --green-600: #0E6B50;
  --red-600: #BC322A;
  --red-800: #96241D;
  --red-900: #7A1C16;
  --red-300: rgba(226, 108, 99, 0.95);
  --red-onDark: #E26C63;
  --ink-900: #253238;
  --ink-700: #3E4C4A;
  --ink-600: #4A5856;
  --ink-500: #586664;
  --ink-400: #7A8785;
  --grey-50: #F6F8F7;
  --grey-25: #FBFCFB;
  --line-200: #E4E8E7;
  --line-300: #E1E6E4;
  --on-dark-body: #D3E0DA;
  --on-dark-body-2: #C6DAD0;
  --on-dark-body-3: #A9C2B7;
  --on-dark-body-4: #BBD1C7;
  --footer-bg: #253238;
  --footer-body: #9FADAF;
  --footer-line: #38474A;
  --footer-meta: #7C8B8D;
  --topbar-body: #C9D1D3;
  --topbar-meta: #8E9A9E;
  --container: 1240px;
  --font: "Montserrat", system-ui, sans-serif;
}

/* Set when a section has been reordered in the page builder: the body
   becomes a flex column so each block can carry its own position. */
body.gm-ordered { display: flex; flex-direction: column; }
/* Anything without an explicit order lands where the ordered sections live,
   not at order 0 — which is above the header. The blog pages have no
   section_style(), so without this their content rendered before the menu. */
body.gm-ordered > * { order: 100; }
body.gm-ordered > .topbar { order: 0; }
body.gm-ordered > .site-header { order: 10; }
body.gm-ordered > .stats-bar { order: 115; }
body.gm-ordered > .site-footer { order: 9000; }

/* Text cleared in the page builder disappears entirely, instead of leaving
   an empty element holding its margins open. */
[data-setting]:empty { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ink-900);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--green-700);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--ink-600); text-wrap: pretty; }
a { color: var(--green-700); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--red-800); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 760px; }
.container.center { text-align: center; }

/* ---------------------------------------------------------- buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-accent { background: var(--red-600); color: #fff; }
.btn-accent:hover { background: var(--red-900); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }

.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }

.link-arrow { font-family: var(--font); font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--red-800); }

/* --------------------------------------------------------- topbar/nav --- */
.topbar {
  background: var(--ink-900);
  color: var(--topbar-body);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 32px;
}
.topbar-tag {
  color: var(--topbar-meta);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.lang-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-switch button {
  font-family: var(--font);
  border: none;
  background: transparent;
  color: var(--topbar-meta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  line-height: 1.4;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active { background: var(--red-600); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-200);
}
.header-row { display: flex; align-items: center; gap: 40px; height: auto; padding: 14px 32px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink-900); }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 0; }
.brand-text { font-family: var(--font); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; color: var(--green-700); line-height: 1.05; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font); font-weight: 500; font-size: 10px; letter-spacing: 0.13em; color: var(--ink-400); text-transform: uppercase; }
.brand-logo-full { height: 58px; width: auto; object-fit: contain; display: block; }

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; white-space: nowrap; }
.main-nav a { color: var(--ink-700); font-weight: 600; font-size: 14px; padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red-600); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--green-700); }
.main-nav a.nav-cta { color: #fff; padding: 11px 20px; font-size: 14px; }
.main-nav a.nav-cta:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { width: 22px; height: 2px; background: var(--green-700); border-radius: 2px; }

/* ------------------------------------------------------------ footer --- */
.site-footer { background: var(--footer-bg); color: var(--footer-body); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 48px; padding-bottom: 30px; }
.footer-brand { padding-right: 20px; }
.footer-logo {
  width: 150px; height: auto; object-fit: contain; margin-bottom: 18px;
}
.footer-brand p { color: var(--footer-body); font-size: 14px; line-height: 1.7; max-width: 280px; margin: 0 0 12px; }
.footer-col h4 { color: #fff; font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--footer-body); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { color: var(--footer-body); font-size: 14.5px; }
.footer-bottom-wrap { border-top: 1px solid var(--footer-line); }
.footer-bottom { display: flex; justify-content: center; text-align: center; gap: 12px; flex-wrap: wrap; max-width: var(--container); margin: 0 auto; padding: 18px 32px; font-size: 13px; color: var(--footer-meta); }

/* ------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--green-900);
}
.hero-bg-slider { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 60%;
  opacity: 0; transition: opacity 2.4s ease-in-out;
  transform: scale(1.06);
}
.hero-bg-slide.is-active { opacity: var(--hero-bg-opacity, 0.4); animation: hero-ken-burns 7s ease-out forwards; }
@keyframes hero-ken-burns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide { transition: none; animation: none !important; transform: none !important; }
}
.hero-bg-gradient { position: absolute; inset: 0; background: linear-gradient(115deg, #073B2D 0%, #0B5943 62%, #0E6B50 100%); mix-blend-mode: multiply; }
.hero-bg-pattern { position: absolute; inset: 0; opacity: 0.5; background: repeating-linear-gradient(72deg, rgba(255,255,255,0.075) 0 1px, transparent 1px 14px); }
.hero-circle-a { position: absolute; right: -140px; top: -120px; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(188, 50, 42, 0.45); }
.hero-circle-b { position: absolute; right: -40px; bottom: -260px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(150, 36, 29, 0.35); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7,59,45,0.9) 0%, rgba(7,59,45,0.6) 55%, rgba(7,59,45,0.15) 100%); pointer-events: none; }
.hero-watermark { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); width: 460px; height: 460px; opacity: 0.14; }
.hero-watermark img { width: 100%; height: 100%; object-fit: contain; }
.hero-inner { position: relative; z-index: 1; max-width: 720px; padding: 96px 0; display: flex; flex-direction: column; gap: 26px; }
.hero-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; border: 1px solid rgba(188, 50, 42, 0.8); color: var(--red-onDark); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 8px 14px; }
.hero h1 { color: #fff; font-family: var(--font); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 42px); line-height: 1.15; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.hero-lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--on-dark-body); font-weight: 300; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

.page-hero { background: linear-gradient(115deg, var(--green-900), var(--green-700)); color: #fff; padding: 56px 0 60px; }
.page-hero .eyebrow { color: var(--red-onDark); }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 30px); font-weight: 700; margin-bottom: 12px; letter-spacing: -0.015em; }
.hero-lead-sm { color: var(--on-dark-body-2); max-width: 62ch; font-size: 15.5px; font-weight: 300; margin: 0; line-height: 1.7; }

.breadcrumb { font-size: 13px; color: var(--on-dark-body-3); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--on-dark-body-4); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #4d7362; }
.breadcrumb span:last-child { color: #fff; font-weight: 600; }

/* ------------------------------------------------------------ stats --- */
.stats-bar { background: var(--green-700); }
.stats-grid { max-width: var(--container); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 34px 22px; border-right: 1px solid rgba(255,255,255,0.14); }
.stats-grid > div:last-child { border-right: none; }
.stat-k { font-family: var(--font); font-size: 28px; font-weight: 700; color: var(--red-onDark); line-height: 1; }
/* Room for the longest label ("Moçambique e África Austral.") on one line at
   desktop width — by fitting it, not by forbidding the wrap, so a longer
   label typed in the admin falls to two lines instead of spilling over. */
.stat-v { font-size: 13px; color: var(--on-dark-body-4); margin-top: 8px; letter-spacing: 0.02em; text-transform: uppercase; }

/* ----------------------------------------------------------- sections --- */
.section { padding: 96px 0; }
#areas { padding: 64px 0; }
.section-alt { background: var(--grey-50); }
.eyebrow { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-800); margin-bottom: 12px; display: block; }
.kicker { font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-800); margin-bottom: 12px; display: block; }
.kicker.center { text-align: center; }
.section-title { font-family: var(--font); font-size: clamp(1.35rem, 2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--green-700); max-width: 760px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { color: var(--ink-600); max-width: 640px; font-size: 15.5px; line-height: 1.7; }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead.small-top { margin-top: 28px; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 72px; align-items: start; }
.intro-copy p { font-size: 17px; }
.intro-media img { border-radius: 0; }
.intro-grid-clean { align-items: center; }
.intro-media-clean img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 40px -16px rgba(11, 41, 32, 0.35);
}

/* ------------------------------------------------------------- cards --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--line-300); border: 1px solid var(--line-300); margin-top: 44px; }
.services-grid-overview {
  grid-template-columns: repeat(3, 1fr); gap: 22px; background: none; border: none; margin-top: 44px;
}
.services-grid-overview .area-card-media { aspect-ratio: 5 / 4; }
@media (max-width: 960px) { .services-grid-overview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid-overview { grid-template-columns: 1fr; } }
.service-card { background: var(--grey-25); border-left: 3px solid transparent; padding: 28px 26px; display: flex; flex-direction: column; gap: 4px; transition: background 0.15s ease, border-color 0.15s ease; }
.service-card:hover { background: #fff; border-left-color: var(--red-600); }
.service-num { font-family: var(--font); color: var(--red-600); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; margin-bottom: 6px; }
.svc-icon { display: none; }
.svc-icon-lg { width: 56px; height: 56px; color: var(--green-700); }
.service-card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.service-card p { font-size: 15px; line-height: 1.6; color: var(--ink-500); margin-bottom: 14px; flex-grow: 1; }
.card-link { font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--green-700); }
.service-card:hover .card-link { color: var(--red-800); }

.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.area-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--green-900);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 28px -12px rgba(11, 41, 32, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.area-card-media:hover {
  box-shadow: 0 16px 36px -12px rgba(11, 41, 32, 0.45);
  transform: translateY(-4px);
}
.area-card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.area-card-media::after {
  content: "";
  position: absolute; inset: 0;
  /* The tint covers the photo; it must not catch the click, or the photo
     under it can't be selected in the editor (the card link still works). */
  pointer-events: none;
  background: linear-gradient(200deg, rgba(122,28,22,0.05) 30%, rgba(122,28,22,0.94) 100%);
  transition: background 0.3s ease;
}
.area-card-media:hover img { transform: scale(1.08); }
.area-card-num {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--font); font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
  color: #fff; background: rgba(255,255,255,0.16); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 6px 12px;
}
.area-card-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 24px 26px 28px;
}
.area-card-content h3 { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
/* In the two-column mobile grid a card's text column is ~128px, narrower than
   words like "Sustentabilidade" or "Desenvolvimento", which then spilled out
   sideways. Let them hyphenate (the page is lang="pt-MZ"), and break as a
   last resort where hyphenation is unavailable. */
.area-card-content h3 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.area-card-content p {
  margin: 0; font-size: 14px; line-height: 1.55; color: var(--on-dark-body-4);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.35s ease;
}
.area-card-media:hover .area-card-content p { max-height: 60px; opacity: 1; margin-top: 4px; }
.area-card-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-family: var(--font); font-weight: 600; font-size: 13px; color: #fff;
  opacity: 0.85;
}
.area-card-arrow svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.area-card-media:hover .area-card-arrow svg { transform: translateX(4px); }
.areas-more { display: flex; justify-content: center; margin-top: 0; }

/* ----------------------------------------------------------- marquee --- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 4px 14px;
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ------------------------------------------------- feature carousel --- */
.feature-carousel {
  position: relative;
  margin-top: 0;
  margin-bottom: 64px;
  height: 320px;
  perspective: 2400px;
}
.fc-track { position: absolute; inset: 0; }
.fc-card {
  position: absolute;
  left: 50%; top: 0;
  width: 240px; aspect-ratio: 3 / 4;
  margin-left: -120px;
  transform-origin: top center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease, filter 0.7s ease;
  cursor: pointer;
}
.fc-card.is-active { cursor: default; }
.fc-card .area-card-content h3 { font-size: 16px; }
.fc-card .area-card-content p { font-size: 13px; }
.fc-card:not(.is-active) { filter: saturate(0.85) brightness(0.92); }

.clients-marquee .marquee-track { gap: 14px; animation: marquee-scroll 38s linear infinite reverse; }
.client-pill {
  flex: 0 0 auto; white-space: nowrap;
  background: #fff; border: 1px solid #d7ded9;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(11, 89, 67, 0.08);
  padding: 14px 26px; font-family: var(--font); font-weight: 600;
  font-size: 14px; color: var(--green-700);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.intel-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.intel-copy p { font-size: 17px; }
.intel-conclusion {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-200);
  font-size: 15px; color: var(--ink-700); font-weight: 600;
}
.intel-list { position: relative; padding-left: 32px; margin: 0; }
.intel-list::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--line-300); }
.intel-item { position: relative; padding-bottom: 30px; }
.intel-item:last-child { padding-bottom: 0; }
.intel-item::before {
  content: ""; position: absolute; left: -32px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--red-600);
}
.intel-item.is-last::before { background: var(--red-600); }
.intel-item h4 { margin: 0 0 6px; font-family: var(--font); font-size: 16px; font-weight: 700; color: var(--green-700); text-transform: uppercase; letter-spacing: 0.02em; }
.intel-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-500); }

.values-grid { display: flex; flex-direction: column; margin-top: 0; }
.values-grid-7 { grid-template-columns: none; }
.value-card { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #ECEFEE; border-left: none; background: transparent; border-radius: 0; }
.value-card::before { content: "\25C6"; color: var(--red-600); font-size: 12px; padding-top: 3px; }
.value-card h4 { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--green-700); text-transform: uppercase; margin-bottom: 3px; }
.value-card p { font-size: 14px; color: var(--ink-500); line-height: 1.55; margin: 0; }

/* --------------------------------------------------------------- tech grid -- */
.tech-grid { display: grid; grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.tech-grid-img { height: 380px; width: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .tech-grid { grid-template-columns: 1fr; gap: 28px; }
  .tech-grid-img { height: 240px; order: -1; }
}

/* ---------------------------------------------------------- lifecycle grid -- */
.lifecycle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-300); border: 1px solid var(--line-300); margin-top: 44px; }
.lifecycle-step { background: #fff; padding: 30px 28px; position: relative; transition: background .15s ease; }
.lifecycle-step:hover { background: var(--grey-25); }
.lifecycle-index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-50, #eef4f1);
  color: var(--green-700); font-family: var(--font); font-weight: 700; font-size: 14px;
  margin-bottom: 16px;
}
.lifecycle-step h3 { font-size: 17px; font-weight: 700; color: var(--green-700); margin: 0 0 8px; }
.lifecycle-step p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; margin: 0; }
@media (min-width: 621px) and (max-width: 880px) { .lifecycle-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* -------------------------------------------------------- icon value grid -- */
/* ------------------------------------------------ why GEOMINTEL grid --- */
.why-head { max-width: 720px; margin-bottom: 44px; }
.why-head .section-title { margin: 0 0 16px; }
.why-head .section-lead { margin: 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-300); border: 1px solid var(--line-300); }
.why-card { background: #fff; padding: 30px 28px; transition: background .15s ease; }
.why-card:hover { background: var(--grey-25); }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--green-700); margin: 0 0 8px; }
.why-card p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; margin: 0; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } .why-head { margin-bottom: 28px; } }

.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 12px; }
.icon-card {
  background: #fff; border: 1px solid var(--line-200); border-radius: 14px; padding: 26px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.icon-card:hover { box-shadow: 0 16px 36px -18px rgba(11,41,32,0.28); transform: translateY(-3px); border-color: transparent; }
.icon-card .icon-badge {
  width: 44px; height: 44px; border-radius: 10px; background: var(--green-50, #eef4f1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.icon-card .icon-badge svg { width: 22px; height: 22px; color: var(--green-700); }
.icon-card h4 { font-family: var(--font); font-size: 15px; font-weight: 700; color: var(--green-700); margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.icon-card p { font-size: 14px; color: var(--ink-500); line-height: 1.6; margin: 0; }

.two-col-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-200); }
.feature-card { background: var(--grey-50); padding: 32px; border: none; }
.feature-card .icon-badge {
  width: 44px; height: 44px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: 0 6px 16px -8px rgba(11,41,32,0.25);
}
.feature-card .icon-badge svg { width: 22px; height: 22px; color: var(--red-600); }
.feature-tag { display: block; font-family: var(--font); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--red-800); background: none; padding: 0; border-radius: 0; margin-bottom: 10px; }
.feature-card p { font-size: 15px; line-height: 1.65; margin: 0; color: var(--ink-700); }

.flow-chain { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line-300); border: 1px solid var(--line-300); margin-top: 36px; }
.flow-step { background: var(--grey-25); padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--green-700); border-radius: 0; flex: 1 1 180px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill-row.center { justify-content: center; }
.pill { background: #fff; border: 1px solid #DDE4E1; color: var(--ink-700); font-size: 14px; font-weight: 500; padding: 9px 15px; border-radius: 0; }
.pill:hover { border-color: var(--green-700); color: var(--green-700); }

.cta-section { background: var(--green-900); color: #fff; }
/* The subpages' closing call to action: title in bold capitals, the line
   beneath it wide enough to read in two, one large button. */
.cta-inner { text-align: center; max-width: 1000px; }
.cta-inner h2 { color: #fff; margin: 0 0 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.2; }
.cta-inner p { color: var(--on-dark-body-2); max-width: 860px; margin: 0 auto 34px; font-size: 17px; line-height: 1.7; }
.cta-inner .btn { padding: 20px 52px; font-size: 16px; }

/* ------------------------------------------------------- service page --- */
.service-detail-grid { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.service-detail-media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 48px -20px rgba(11,41,32,0.35); }
.service-detail-media img { width: 100%; height: 360px; object-fit: cover; display: block; }
.service-detail-icon { width: 100px; height: 100px; background: var(--grey-50); display: flex; align-items: center; justify-content: center; border-top: 3px solid var(--green-700); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 68ch; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-600); line-height: 1.5; padding: 4px 0; }
.check-list li .chk {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  background: var(--green-100, #e4efe6); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
}
.check-list li .chk svg { width: 12px; height: 12px; }

.page-hero-photo { position: relative; background-size: cover; background-position: center; }
.page-hero-photo::before {
  /* above the photo <img>, but never catching its clicks */
  z-index: 1; pointer-events: none;
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7,59,45,0.93), rgba(7,59,45,0.8));
}
.page-hero-photo .container { position: relative; z-index: 1; }

.service-pager { padding-top: 0; }
.service-pager-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.pager-link {
  display: flex; flex-direction: column; gap: 8px; padding: 24px 26px;
  background: var(--grey-25); border: 1px solid var(--line-200); border-radius: 14px;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pager-link:hover { background: #fff; box-shadow: 0 12px 28px -16px rgba(11,41,32,0.25); transform: translateY(-2px); }
.pager-link.next { text-align: right; align-items: flex-end; }
.pager-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--red-800); }
.pager-label svg { width: 13px; height: 13px; flex-shrink: 0; }
.pager-title { font-family: var(--font); font-weight: 700; color: var(--green-700); font-size: 17px; }
@media (max-width: 620px) { .service-pager-inner { grid-template-columns: 1fr; gap: 12px; } }

/* --------------------------------------------------------- lifecycle --- */
.lifecycle-section { position: relative; overflow: hidden; }
.lifecycle-bg-photo { position: absolute; inset: 0; background-image: url("../img/hero-mine.jpg"); background-size: cover; background-position: center 70%; opacity: 0.22; }
.lifecycle-bg-gradient { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(7,59,45,0.92) 20%, rgba(11,89,67,0.85) 100%); }
.lifecycle-section .container { position: relative; z-index: 1; }
.timeline { display: flex; justify-content: space-between; gap: 4px; position: relative; margin-top: 20px; padding-top: 6px; }
.timeline::before {
  content: ""; position: absolute; top: 28px; left: 22px; right: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.timeline-step {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 4px; cursor: default;
}
.timeline-dot {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-900); border: 2px solid var(--red-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 700; font-size: 15px; color: #fff;
  margin-bottom: 14px; transition: background 0.2s ease, transform 0.2s ease;
}
.timeline-step:hover .timeline-dot { background: var(--red-600); transform: scale(1.12); }
.timeline-step h3 {
  color: #fff; font-family: var(--font); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 6px;
}
.timeline-step p { color: var(--on-dark-body-3); font-size: 12px; line-height: 1.35; margin: 0; max-width: 120px; }

/* ------------------------------------------------------------ clients --- */
.client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.client-tag { background: transparent; border: none; border-bottom: 1px solid #ECEFEE; border-radius: 0; padding: 11px 0; font-family: var(--font); font-weight: 400; color: var(--ink-600); font-size: 15px; }

/* ------------------------------------------------------------- contact --- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 48px; align-items: start; }
.contact-grid-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.contact-form { background: #fff; border-radius: 0; padding: 36px; display: grid; gap: 14px; border: 1px solid var(--line-200); box-shadow: 0 20px 48px -24px rgba(11,41,32,0.22); max-width: 480px; overflow-wrap: break-word; }
.contact-form h3, .contact-form p { max-width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font); font-size: 15px; padding: 13px 14px; border: 1px solid #DDE4E1; border-radius: 0; background: #fff; color: var(--ink-900);
  width: 100%; box-sizing: border-box;
}
.contact-form select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E4C4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  color: var(--ink-900);
}
.contact-form select:invalid,
.contact-form select option[value=""] { color: var(--ink-500); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--green-700); box-shadow: none; }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form button { justify-self: stretch; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--green-700); min-height: 1.2em; margin: 0; }
.form-note.error { color: var(--red-600); }

.phone-field { display: flex; gap: 8px; }
.phone-field .phone-code {
  flex: 0 0 auto; width: auto; max-width: 108px; padding-right: 30px; background-position: right 8px center;
}
.phone-field input[type="tel"] { flex: 1; min-width: 0; }

.contact-info { display: flex; flex-direction: column; gap: 22px; font-size: 16px; }
.info-card { background: transparent; border-radius: 0; padding: 0; display: flex; gap: 16px; align-items: flex-start; }
.info-card h3 { color: var(--red-onDark); flex-shrink: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin: 0 0 5px; padding-top: 0; line-height: 1; }
.info-card p { margin: 0; font-size: 16px; color: #fff; line-height: 1.4; }
.info-card a { color: #fff; }
.info-card a:hover { text-decoration: underline; }
.info-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
  color: #6fd9a8;
}
.info-icon svg { width: 20px; height: 20px; display: block; }

.contact-info-card {
  background: linear-gradient(165deg, var(--green-700), var(--green-900));
  border-radius: 16px; padding: 40px 36px; color: #fff;
  box-shadow: 0 24px 56px -28px rgba(11,41,32,0.45);
}
.contact-info-card .eyebrow { display: block; margin-bottom: 24px; }

/* --------------------------------------------------------- utilities --- */
.small-top { margin-top: 28px; }

/* -------------------------------------------------------- responsive --- */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { order: -1; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .intel-grid { grid-template-columns: 1fr; }
  .two-col-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid-hero { grid-template-columns: 1fr; }
  .contact-form { max-width: 100%; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .stats-grid > div { padding: 24px 12px; }
  .feature-carousel { height: 280px; }
  .fc-card { width: 210px; margin-left: -105px; }
}

/* Creative mobile timeline: horizontal steps become a connected vertical rail */
@media (max-width: 700px) {
  .timeline { flex-direction: column; align-items: stretch; gap: 0; padding-top: 0; }
  .timeline::before {
    top: 0; bottom: 0; left: 22px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,0.28) 0 6px, transparent 6px 12px);
  }
  .timeline-step {
    flex-direction: row; text-align: left; align-items: flex-start;
    gap: 18px; padding: 0 0 30px; flex: none;
  }
  .timeline-step:last-child { padding-bottom: 0; }
  .timeline-dot { margin-bottom: 0; flex-shrink: 0; }
  .timeline-step p { max-width: none; }
}

@media (max-width: 880px) {
  /* backdrop-filter on .site-header creates a CSS containing block, which would
     otherwise anchor .main-nav's position:fixed to the header box instead of
     the viewport — drop it here so the fixed mobile panel positions correctly. */
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; inset: 0 0 0 0; top: var(--header-h, 128px);
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 24px 32px; gap: 20px;
    transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line-200); }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; }
  .topbar-row { padding: 8px 20px; font-size: 12px; gap: 16px; }
  .topbar-tag { display: none; }
  .services-grid, .lifecycle-grid, .client-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .check-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-pager-inner { grid-template-columns: 1fr; }
  .pager-link.next { text-align: left; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 36px; }
  .footer-col-services { display: none; }
  .footer-brand { grid-column: 1 / -1; padding-right: 0; }
  .footer-logo { width: 110px; margin-bottom: 12px; }
  .footer-brand p { max-width: none; font-size: 13.5px; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col ul { gap: 8px; }
  .footer-bottom-wrap { padding: 0 0 4px; }
  .container { padding: 0 20px; }
  .header-row { padding: 12px 20px; }
  .hero-inner { padding: 64px 0; }
  .feature-carousel { height: 240px; }
  .fc-card { width: 180px; margin-left: -90px; }
  .client-pill { padding: 12px 18px; font-size: 13px; }
  .intro-media-clean img { height: 320px; }
  .hero-circle-a { width: 380px; height: 380px; }
  .hero-circle-b { width: 320px; height: 320px; }
}

/* ---------------------------------------------------------------- blog -- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: grid; grid-template-rows: auto auto 1fr auto;
  background: #fff; border: 1px solid var(--line-200);
  border-radius: 14px; overflow: hidden; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.blog-card:hover { box-shadow: 0 16px 32px -18px rgba(11,41,32,.35); transform: translateY(-3px); border-color: var(--line-300); }
.blog-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--grey-50); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-category {
  display: inline-flex; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(11,41,32,.78); backdrop-filter: blur(2px); border-radius: 999px; padding: 5px 12px;
  position: absolute; top: 12px; left: 12px; z-index: 1;
}
.blog-card-category-standalone { margin: 16px 22px 0; position: static; }
.blog-card-header { padding: 22px 22px 0; }
.blog-card-date {
  display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red-800); background: var(--red-50, #fdf2f1); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px;
}
.blog-card-header h3 {
  margin: 0; font-size: 16.5px; line-height: 1.4; color: var(--green-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-body { padding: 10px 22px 0; }
.blog-card-body p {
  font-size: 14px; color: var(--ink-500); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-footer { padding: 18px 22px 22px; }
.blog-card-footer .link-arrow { margin: 0; }

@media (max-width: 880px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .stats-grid { padding: 0 10px; }
  .stats-grid > div { padding: 16px 4px; }
  .stat-k { font-size: 20px; }
  .stat-v { font-size: 9.5px; letter-spacing: 0.01em; margin-top: 4px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-card-header { padding: 16px 16px 0; }
  .blog-card-date { font-size: 10.5px; padding: 4px 10px; margin-bottom: 10px; }
  .blog-card-header h3 { font-size: 16px; }
  .blog-card-body { padding: 8px 16px 0; }
  .blog-card-body p { font-size: 13.5px; }
  .blog-card-footer { padding: 14px 16px 16px; }
}

@media (max-width: 380px) {
  .stat-k { font-size: 17px; }
  .stat-v { font-size: 8.5px; }
}

.blog-post-header { max-width: 760px; margin: 0 auto; }
.blog-post-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: 12px; margin: 28px 0; }
.blog-post-body { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--ink-700); }
.blog-post-body h2 { color: var(--green-900); margin-top: 1.6em; }
.blog-post-body img { border-radius: 10px; margin: 1.2em 0; }
.blog-post-body a { color: var(--green-700); text-decoration: underline; }
.blog-post-date { font-size: 13px; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.blog-post-category {
  display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--red-800); background: var(--red-50, #fdf2f1); border-radius: 999px; padding: 5px 12px;
}
.blog-post-share { max-width: 760px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line-200, #e6e6e6); display: flex; align-items: center; gap: 12px; }
.blog-post-share-label { font-size: 13px; font-weight: 700; color: var(--green-900); text-transform: uppercase; letter-spacing: .04em; margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--grey-50); color: var(--green-900); transition: background .2s ease, color .2s ease, transform .2s ease;
}
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn.share-facebook:hover { background: #1877f2; }
.share-btn.share-x:hover { background: #000; }
.share-btn.share-linkedin:hover { background: #0a66c2; }
.share-btn.share-whatsapp { background: #25d366; color: #fff; }
.share-btn.share-whatsapp:hover { background: #1da851; }

/* "Nosso propósito" — the profile closes Quem Somos on this line, set apart
   from the paragraphs by a rule rather than by size. */
.purpose { margin-top: 26px; padding: 2px 0 2px 18px; border-left: 3px solid var(--red-600); }
.purpose .purpose-label {
  display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
}
.purpose .purpose-text {
  margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500;
  font-style: italic; color: var(--green-700);
}

/* Bold runs typed in the admin as **words** (see rich() in settings.php),
   in the brand green as the corporate profile sets them. The admin can pick
   another colour per text (Estilo → "Cor das palavras a negrito"). */
[data-rich] strong { font-weight: 700; color: var(--green-700); }
/* On a dark band — the site's own, or one the admin darkened, which makes
   section_style() set a white text colour — green would vanish, so bold
   follows the text there instead. */
.section-dark [data-rich] strong,
.cta-section [data-rich] strong,
[data-section][style*="color:#ffffff"] [data-rich] strong { color: inherit; }

/* Valores — the same timeline as the homepage's data layers (intel-list):
   bold title, description beneath, the last point filled. Only its width
   and placement under the centred heading are set here. */
.values-timeline { max-width: 720px; margin: 44px auto 0; }

/* Serviços — "Porquê GEOMINTEL?": the homepage's why-grid and the same six
   texts, with the titles in capitals as the corporate profile sets them. */
.svc-why .why-card h3 { text-transform: uppercase; letter-spacing: 0.02em; }

/* "GEOMINTEL" opening the Quem Somos paragraph is written into the markup
   (and into its EN/中文 translations), not typed in the admin, so it sits
   outside [data-rich]; give it the same green as the other bold words. */
[data-i18n-html="about.p1"] > strong { color: var(--green-700); }

/* Service pages: the mini hero photo is an <img> (editable in the admin),
   laid under the tint and the text. */
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Homepage: "Conhecer a GEOMINTEL" turns brand red on hover and keyboard focus. */
a.link-arrow[data-setting="txt:intro.knowMore"] { transition: color .2s ease; }
a.link-arrow[data-setting="txt:intro.knowMore"]:hover,
a.link-arrow[data-setting="txt:intro.knowMore"]:focus-visible { color: var(--red-600); }
