/* Fundação ITCORE — institucional */
:root {
  --green: #1a7f4b;
  --green-light: #22855a;
  --green-dark: #145c36;
  --green-soft: #eef6f0;
  --green-border: #c5ddce;
  --green-muted: #5a8f6e;
  --accent: #c8953a;
  --accent-soft: #faf3e8;
  --dark: #1a2332;
  --dark-soft: #243044;
  --text: #2d3748;
  --text-muted: #5c6778;
  --bg: #f7f5f1;
  --surface: #ffffff;
  --border: #e4e0d8;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(26, 35, 50, .06), 0 8px 24px rgba(26, 35, 50, .05);
  --shadow-hover: 0 4px 12px rgba(26, 35, 50, .08), 0 16px 40px rgba(26, 35, 50, .07);
  --font: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --header-h: 80px;
  --max: 1080px;
  --max-narrow: 720px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  padding-top: var(--header-h);
  font-size: 1rem;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(26, 127, 75, .05) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
}

a { color: var(--green-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--max-narrow); }

.text-gradient,
.page-head h1 em,
.hero h1 em {
  font-style: italic;
  color: var(--green-dark);
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-muted);
  margin-bottom: .65rem;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
  color: inherit;
}

.brand:hover { color: inherit; }

.brand-logo { height: 40px; width: auto; }

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

.brand-text span {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}

.site-nav a {
  padding: .5rem .85rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color .2s, background .2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-left: .5rem;
}

.lang-switch {
  display: flex;
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 3px;
  border: 1px solid var(--green-border);
}

.lang-btn {
  padding: .28rem .6rem;
  border-radius: 7px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.lang-btn.active {
  background: var(--surface);
  color: var(--green-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: .25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.btn-sm { padding: .52rem 1rem; font-size: .82rem; }

.btn-primary {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--green-border);
  color: var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-white {
  background: #fff;
  color: var(--green-dark);
  border-color: #fff;
}

.btn-white:hover { background: var(--green-soft); color: var(--green-dark); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92) 0%, rgba(247,245,241,.85) 100%),
    linear-gradient(180deg, var(--green-soft) 0%, transparent 55%);
  border-bottom: 1px solid var(--border);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-muted);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero h1 em {
  display: block;
  margin-top: .15rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 36rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-trust li {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.hero-trust li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero-aside { position: relative; }

.hero-aside-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--green-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-hover);
}

.hero-aside-eyebrow {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .85rem;
}

.hero-aside-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.hero-aside-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}

.hero-aside-link::after { content: '→'; }

.hero-aside-quote {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hero-aside-quote p {
  font-family: var(--font-display);
  font-size: .95rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: .5rem;
}

.hero-aside-quote cite {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-muted);
  font-style: normal;
}

/* ── Stats ── */
.stats-band {
  background: var(--dark);
  padding: 0;
  margin-top: -1px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat {
  padding: 2rem 1.25rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin-top: .45rem;
  display: block;
  letter-spacing: .03em;
}

/* ── Quote band ── */
.quote-band {
  background: var(--accent-soft);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-band blockquote {
  margin: 0;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.quote-band p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--dark);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: .85rem;
}

.quote-band cite {
  font-size: .75rem;
  font-weight: 700;
  color: var(--green-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── Page head ── */
.page-head {
  padding: 3.5rem 0 3rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-head .hero-badge {
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: none;
}

.page-head .hero-badge::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: .65rem auto 0;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: var(--dark);
  margin-bottom: .85rem;
  line-height: 1.25;
  font-weight: 700;
}

.page-head p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── Sections ── */
.section { padding: 4.5rem 0; }

.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section--cta { padding-top: 0; }

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  color: var(--dark);
  margin-bottom: .65rem;
  font-weight: 700;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: .5rem;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

/* ── Prose ── */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.25rem 0 .75rem;
}

.prose h2:first-child { margin-top: 0; }

.prose p { margin-bottom: 1.1rem; line-height: 1.8; color: var(--text); }

.mission-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-dark);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.mission-box--featured {
  border-left-width: 5px;
  padding: 2.25rem 2.25rem 2rem;
}

.mission-box h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: .75rem;
  font-weight: 700;
}

.mission-box p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

/* ── Values grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  transition: border-color .25s, box-shadow .25s;
}

.value-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow);
}

.value-card-num {
  display: block;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: .85rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: .5rem;
  font-weight: 700;
}

.value-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Cards (legacy grid) ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .25s, box-shadow .25s;
}

.card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow);
  transform: none;
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--green-soft);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .45rem;
}

.card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Project / Mozapo ── */
.project-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card-visual {
  background: var(--accent-soft);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  border-right: 1px solid var(--border);
}

.project-card-visual img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.project-card-visual span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--green-border);
  text-align: center;
}

.project-card-body { padding: 2rem 2.25rem; }

.project-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: .75rem;
  font-weight: 700;
}

.project-card-body p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  line-height: 1.75;
}

.project-feature-box {
  margin: 1rem 0 1.15rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--green-soft);
  border: 1px solid var(--green-border);
}

.project-feature-box strong {
  display: block;
  color: var(--green-dark);
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: .35rem;
  letter-spacing: .02em;
}

.project-feature-box p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.15rem 0 1.5rem;
}

.tags span {
  font-size: .72rem;
  font-weight: 600;
  padding: .32rem .7rem;
  background: var(--bg);
  color: var(--text-muted);
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ── Steps ── */
.steps {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .25rem 0;
  box-shadow: var(--shadow);
  counter-reset: step;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.steps li:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: .82rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-border);
  margin-top: .1rem;
}

.steps li h3 {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .25rem;
}

.steps li p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.story-box {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-top: 2rem;
}

.story-box h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.story-box p {
  color: rgba(255,255,255,.72);
  margin-bottom: .9rem;
  line-height: 1.8;
  font-size: .95rem;
}

.story-box p:last-child { margin-bottom: 0; }
.story-box strong { color: #fff; }

/* ── CTA ── */
.cta {
  text-align: center;
  padding: 3rem 2.5rem;
  background: var(--dark);
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin-bottom: .75rem;
  font-weight: 700;
}

.cta p {
  color: rgba(255,255,255,.68);
  font-size: .98rem;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  line-height: 1.75;
}

.cta .btn-row { justify-content: center; }

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: start;
}

.contact-list { list-style: none; }

.contact-list li {
  display: flex;
  gap: .85rem;
  padding: 1.1rem 1.15rem;
  margin-bottom: .65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: .92rem;
  transition: border-color .2s;
}

.contact-list li:hover { border-color: var(--green-border); }

.contact-list-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--green-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-list strong {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .2rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem .95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .92rem;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 127, 75, .1);
  background: #fff;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.alert-success {
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  color: var(--green-dark);
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .88rem;
  font-weight: 600;
}

.alert-error {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #8a2a2a;
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .88rem;
  font-weight: 600;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field-error {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  color: #b42318;
  font-weight: 600;
}

.form-privacy-note {
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--green-dark);
  font-weight: 600;
}

.privacy-updated {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  margin-top: 0;
  background: var(--dark);
  color: rgba(255, 255, 255, .65);
  font-size: .9rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--accent), var(--green-dark));
  z-index: 2;
}

.footer-invite {
  background: var(--dark-soft);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding: 2.75rem 0;
}

.footer-invite-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-invite-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.footer-invite-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: .45rem;
  line-height: 1.25;
}

.footer-invite-text p {
  color: rgba(255, 255, 255, .58);
  max-width: 32rem;
  line-height: 1.65;
  font-size: .92rem;
  margin: 0;
}

.footer-invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  flex-shrink: 0;
}

.btn-footer-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.btn-footer-outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.site-footer .container {
  position: relative;
  z-index: 1;
  padding-bottom: 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem 2rem;
  padding: 3.25rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-brand-link:hover { color: #fff; }

.footer-logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.footer-brand-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.footer-brand-text span {
  font-size: .74rem;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .03em;
}

.footer-about {
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, .58);
  font-size: .9rem;
}

.footer-trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.footer-trust-badges li {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid rgba(200, 149, 58, .45);
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: .15rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, .58);
  padding: .4rem 0;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s, padding-left .2s;
}

.footer-links a:hover,
.footer-links a.is-active {
  color: #fff;
  padding-left: .35rem;
}

.footer-links a.is-active { font-weight: 600; }

.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.footer-contact-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, .82);
  word-break: break-word;
  font-weight: 500;
}

.footer-contact-list a:hover { color: #fff; }

.footer-contact-list li > span:not(.footer-contact-label) {
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.footer-partner-list {
  list-style: none;
  display: grid;
  gap: .65rem;
}

.footer-partner-list a {
  display: block;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  transition: background .2s, border-color .2s;
}

.footer-partner-list a:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

.footer-partner-name {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .12rem;
}

.footer-partner-meta {
  display: block;
  font-size: .72rem;
  color: rgba(255, 255, 255, .38);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 1.5rem;
  padding-top: 1.5rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .38);
}

.footer-copy,
.footer-arm { margin: 0; }

.footer-bottom a {
  color: rgba(255, 255, 255, .65);
  font-weight: 600;
}

.footer-bottom a:hover { color: #fff; }

/* ── 404 ── */
.error-page { text-align: center; padding: 5rem 0; }

.error-page .code {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .5rem;
}

.error-page h2 { font-family: var(--font-display); color: var(--dark); margin-bottom: .75rem; }
.error-page p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .brand-text { display: none; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1rem 1rem;
    margin-left: 0;
    display: none;
    box-shadow: var(--shadow-hover);
  }

  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; text-align: center; padding: .75rem; }

  .hero { padding: 3rem 0 2rem; }
  .hero-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero-aside { order: -1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 1.5rem 1rem; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .values-grid, .grid-2 { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-card-visual { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-invite-inner { flex-direction: column; align-items: flex-start; }
  .footer-invite-actions { width: 100%; }
  .footer-invite-actions .btn { flex: 1; min-width: 140px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }
  .footer-about { max-width: none; }
  .footer-partner-list { grid-template-columns: 1fr 1fr; display: grid; }
}

@media (min-width: 769px) and (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-layout { gap: 2rem; }
}

@media (min-width: 769px) {
  .header-inner .site-nav { margin-left: auto; }
}
