:root {
  --red-950: #06152d;
  --red-900: #0a2449;
  --red-800: #103660;
  --red-700: #164b7f;
  --red-600: #d71920;
  --red-500: #ef3438;
  --gold-500: #f2b705;
  --gold-300: #ffe07a;
  --blue-600: #0d74b8;
  --green-600: #167346;
  --ink-950: #07111f;
  --ink-800: #1e2d40;
  --ink-600: #5a6878;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --line: #dde5ef;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(14, 17, 19, 0.08);
  --shadow-md: 0 18px 50px rgba(14, 17, 19, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 86px;
  --focus: 0 0 0 4px rgba(242, 183, 5, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-950);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink-950);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--compact { padding: 64px 0; }
.section--white { background: var(--surface); }
.section--dark { color: var(--white); background: var(--ink-950); }
.section--red { color: var(--white); background: linear-gradient(135deg, #06152d, #164b7f); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--red-700);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 99px; background: var(--gold-500); }
.section--dark .eyebrow, .section--red .eyebrow { color: var(--gold-300); }

h1, h2, h3, h4 { margin: 0; line-height: 1.14; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 5.25rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.35rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
p { margin: 0; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p { margin-top: 16px; color: var(--ink-600); font-size: 1.06rem; }
.section--dark .section-heading p, .section--red .section-heading p { color: rgba(255,255,255,.76); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn--primary { color: var(--white); background: var(--red-600); }
.btn--primary:hover { background: var(--red-700); }
.btn--gold { color: var(--ink-950); background: var(--gold-500); }
.btn--gold:hover { background: #f0c659; }
.btn--ghost { color: var(--ink-950); border-color: rgba(14,17,19,.18); background: rgba(255,255,255,.72); }
.btn--light { color: var(--white); border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.btn--small { min-height: 42px; padding: 9px 15px; font-size: .94rem; }

.topbar { color: rgba(255,255,255,.82); background: var(--ink-950); font-size: .83rem; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__message { display: flex; align-items: center; gap: 9px; }
.topbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(229,182,60,.16); }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a { color: inherit; text-decoration: none; }
.topbar__links a:hover { color: var(--white); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(16,54,96,.12);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.header__inner { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; color: inherit; text-decoration: none; }
.brand__logo { width: 66px; height: 66px; object-fit: contain; flex: 0 0 auto; filter: drop-shadow(0 5px 8px rgba(14,17,19,.12)); }
.brand__text { min-width: 0; }
.brand__name { display: block; color: var(--red-900); font-size: 1rem; font-weight: 950; line-height: 1.15; text-transform: uppercase; }
.brand__unit { display: block; margin-top: 4px; color: var(--ink-600); font-size: .78rem; font-weight: 700; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; }
.nav__link, .nav__dropdown-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 0;
  border-radius: 9px;
  color: var(--ink-800);
  background: transparent;
  font-size: .93rem;
  font-weight: 780;
  text-decoration: none;
}
.nav__link:hover, .nav__dropdown-button:hover { color: var(--red-700); background: rgba(16,75,127,.07); }
.nav__link.is-active, .nav__dropdown-button.is-active { color: var(--red-800); background: rgba(16,75,127,.10); }
.nav__chevron { width: 13px; transition: transform .18s ease; }
.nav__item:hover .nav__chevron, .nav__item:focus-within .nav__chevron { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  list-style: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a { display: block; padding: 11px 12px; border-radius: 9px; color: var(--ink-800); font-size: .92rem; font-weight: 720; text-decoration: none; }
.nav__dropdown a:hover { color: var(--red-700); background: rgba(16,75,127,.07); }

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-950);
  background: var(--surface);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { position: relative; display: block; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(229,182,60,.22), transparent 22%),
    radial-gradient(circle at 88% 75%, rgba(36,113,173,.14), transparent 27%),
    linear-gradient(125deg, #06152d 0%, #0a315c 48%, #d71920 145%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to right, transparent 0, #000 40%, #000 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -44%;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.018);
}
.hero__inner { position: relative; z-index: 1; min-height: 720px; display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); align-items: center; gap: 58px; padding: 80px 0 90px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 23px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.07); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hero__badge-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 5px rgba(229,182,60,.12); }
.hero h1 strong { color: var(--gold-300); font-weight: 950; }
.hero__lead { max-width: 680px; margin-top: 24px; color: rgba(255,255,255,.79); font-size: clamp(1rem, 1.45vw, 1.22rem); }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__crest-shell { position: relative; width: min(100%, 470px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,.03) 55%, transparent 56%); }
.hero__crest-shell::before, .hero__crest-shell::after { content: ""; position: absolute; border-radius: 50%; }
.hero__crest-shell::before { inset: 24px; border: 1px dashed rgba(255,255,255,.22); }
.hero__crest-shell::after { inset: -17px; border: 1px solid rgba(229,182,60,.18); }
.hero__crest { width: 82%; filter: drop-shadow(0 28px 30px rgba(0,0,0,.36)); }
.hero__seal { position: absolute; right: -8px; bottom: 52px; max-width: 175px; padding: 16px 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(14,17,19,.72); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); }
.hero__seal strong { display: block; color: var(--gold-300); font-size: 1.75rem; line-height: 1; }
.hero__seal span { display: block; margin-top: 7px; color: rgba(255,255,255,.74); font-size: .78rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }

.quick-links { position: relative; z-index: 3; margin-top: -42px; }
.quick-links__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-card { display: flex; align-items: center; gap: 14px; min-height: 98px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-950); background: var(--surface); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quick-card:hover { transform: translateY(-5px); border-color: rgba(16,75,127,.28); box-shadow: var(--shadow-md); }
.quick-card__icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--red-700); background: rgba(16,75,127,.09); }
.quick-card__icon svg { width: 24px; height: 24px; }
.quick-card strong { display: block; font-size: .98rem; }
.quick-card span { display: block; margin-top: 3px; color: var(--ink-600); font-size: .79rem; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.intro-visual { position: relative; min-height: 510px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, #130e0f, var(--red-900)); box-shadow: var(--shadow-md); }
.intro-visual::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle at 20% 20%, var(--gold-500) 0 2px, transparent 3px); background-size: 34px 34px; }
.intro-visual img { position: relative; z-index: 1; width: 72%; filter: drop-shadow(0 24px 24px rgba(0,0,0,.35)); }
.intro-visual__tag { position: absolute; z-index: 2; left: 25px; bottom: 25px; padding: 14px 17px; border-radius: 14px; color: var(--white); background: rgba(255,255,255,.12); backdrop-filter: blur(12px); font-weight: 850; }
.intro-content p { color: var(--ink-600); }
.intro-content p + p { margin-top: 18px; }

.pillars-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pillar-card { position: relative; overflow: hidden; min-height: 285px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.pillar-card::after { content: ""; position: absolute; right: -55px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: rgba(16,75,127,.06); }
.pillar-card__number { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 14px; color: var(--white); background: linear-gradient(135deg, #103660, #d71920); font-weight: 900; box-shadow: 0 10px 20px rgba(16,75,127,.20); }
.pillar-card p { margin-top: 14px; color: var(--ink-600); }

.values-strip { overflow: hidden; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.values-strip__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.value-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.06); font-size: .9rem; font-weight: 820; }
.value-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }

.team-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person-card__photo { position: relative; height: 360px; overflow: hidden; background: #e8e4dd; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .35s ease; }
.person-card:hover .person-card__photo img { transform: scale(1.035); }
.person-card__rank { position: absolute; left: 16px; bottom: 16px; padding: 7px 10px; border-radius: 999px; color: var(--white); background: rgba(14,17,19,.82); backdrop-filter: blur(8px); font-size: .75rem; font-weight: 850; }
.person-card__body { padding: 21px; }
.person-card__body h3 { font-size: 1.17rem; }
.person-card__role { display: block; margin-top: 8px; color: var(--red-700); font-size: .88rem; font-weight: 850; }
.person-card__body p { margin-top: 12px; color: var(--ink-600); font-size: .92rem; }
.person-card--compact .person-card__photo { height: 300px; }

.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { display: flex; min-height: 315px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.news-card__media { height: 12px; background: linear-gradient(90deg, var(--red-800), var(--gold-500), var(--blue-600)); }
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.news-card__meta { display: flex; align-items: center; gap: 9px; color: var(--red-700); font-size: .77rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.news-card__body h3 { margin-top: 16px; }
.news-card__body p { margin-top: 13px; color: var(--ink-600); }
.news-card__link { margin-top: auto; padding-top: 22px; color: var(--red-700); font-weight: 850; text-decoration: none; }
.news-card__link:hover { text-decoration: underline; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 30px; padding: 46px; border-radius: var(--radius-lg); color: var(--white); background: linear-gradient(130deg, var(--red-950), var(--red-700)); box-shadow: var(--shadow-md); }
.cta-panel::after { content: ""; position: absolute; right: -80px; top: -110px; width: 330px; height: 330px; border: 55px solid rgba(255,255,255,.05); border-radius: 50%; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { margin-top: 13px; color: rgba(255,255,255,.75); }
.cta-panel__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }

.page-hero { position: relative; overflow: hidden; padding: 74px 0 80px; color: var(--white); background: linear-gradient(120deg, var(--ink-950), var(--red-900)); }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%; opacity: .16; background: url('../images/brasao-cmtlii.webp') center/contain no-repeat; }
.page-hero__inner { position: relative; z-index: 1; max-width: 850px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: rgba(255,255,255,.68); font-size: .87rem; }
.breadcrumb a { color: rgba(255,255,255,.84); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-300); }
.page-hero p { max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.76); font-size: 1.08rem; }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 55px; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 52px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; }
.prose p { margin-top: 18px; color: var(--ink-600); }
.prose strong { color: var(--ink-950); }
.prose blockquote { margin: 34px 0; padding: 25px 28px; border-left: 5px solid var(--gold-500); border-radius: 0 16px 16px 0; color: var(--ink-800); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1.12rem; font-weight: 720; }

.sidebar-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.sidebar-card + .sidebar-card { margin-top: 18px; }
.sidebar-card h3 { font-size: 1.08rem; }
.sidebar-card p { margin-top: 11px; color: var(--ink-600); font-size: .92rem; }
.sidebar-links { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.sidebar-links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 9px; color: var(--ink-800); font-size: .9rem; font-weight: 760; text-decoration: none; }
.sidebar-links a:hover { color: var(--red-700); background: rgba(16,75,127,.07); }

.timeline { position: relative; margin-top: 36px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; top: 7px; bottom: 7px; left: 7px; width: 2px; background: linear-gradient(var(--red-700), var(--gold-500)); }
.timeline__item { position: relative; padding: 0 0 34px 17px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -29px; top: 6px; width: 13px; height: 13px; border: 3px solid var(--surface); border-radius: 50%; background: var(--red-700); box-shadow: 0 0 0 2px var(--red-700); }
.timeline__year { color: var(--red-700); font-weight: 950; }
.timeline__item p { margin-top: 7px; color: var(--ink-600); }

.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.mvv-card { min-height: 330px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.mvv-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 16px; color: var(--white); background: linear-gradient(135deg, #103660, #d71920); }
.mvv-card__icon svg { width: 28px; }
.mvv-card p { margin-top: 16px; color: var(--ink-600); }

.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.value-card { padding: 22px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); text-align: center; font-weight: 900; }
.value-card::before { content: "✦"; display: block; margin-bottom: 9px; color: var(--gold-500); font-size: 1.2rem; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.team-intro { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 40px; }
.team-intro p { max-width: 700px; margin-top: 15px; color: var(--ink-600); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-800); background: var(--surface); font-size: .9rem; font-weight: 820; }
.filter-btn:hover, .filter-btn.is-active { color: var(--white); border-color: var(--red-700); background: var(--red-700); }
.filter-btn:focus-visible { outline: none; box-shadow: var(--focus); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-stack { display: grid; gap: 15px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 1.08rem; }
.contact-card p { margin-top: 8px; color: var(--ink-600); }
.contact-card a { color: var(--red-700); font-weight: 800; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.8rem; }
.form-card > p { margin-top: 10px; color: var(--ink-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 25px; }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink-800); font-size: .88rem; font-weight: 850; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid #d8d2c8; border-radius: 11px; color: var(--ink-950); background: #fff; padding: 12px 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--red-600); box-shadow: 0 0 0 4px rgba(22,75,127,.12); }
.form-note { margin-top: 16px; color: var(--ink-600); font-size: .82rem; }
.form-status { display: none; margin-top: 15px; padding: 12px 14px; border-radius: 10px; color: #205d3c; background: #e7f4ec; font-size: .9rem; font-weight: 760; }
.form-status.is-visible { display: block; }

.document-card { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.document-card__meta { display: flex; align-items: center; gap: 16px; }
.document-card__icon { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; color: var(--white); background: var(--red-700); }
.document-card p { margin-top: 4px; color: var(--ink-600); font-size: .87rem; }

.site-footer { color: rgba(255,255,255,.76); background: #041020; }
.footer__top { padding: 66px 0 44px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 42px; }
.footer__brand { display: flex; align-items: center; gap: 13px; }
.footer__brand img { width: 68px; height: 68px; object-fit: contain; }
.footer__brand strong { display: block; color: var(--white); line-height: 1.25; text-transform: uppercase; }
.footer__brand span { display: block; margin-top: 4px; font-size: .8rem; }
.footer__about { max-width: 360px; margin-top: 18px; font-size: .91rem; }
.footer__title { color: var(--white); font-size: .95rem; font-weight: 900; }
.footer__links { display: grid; gap: 10px; margin: 17px 0 0; padding: 0; list-style: none; }
.footer__links a { color: inherit; font-size: .89rem; text-decoration: none; }
.footer__links a:hover { color: var(--gold-300); }
.footer__bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.10); font-size: .82rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer__bottom a { color: rgba(255,255,255,.82); text-decoration: none; }

.back-to-top { position: fixed; z-index: 900; right: 22px; bottom: 22px; width: 47px; height: 47px; display: grid; place-items: center; border: 0; border-radius: 13px; opacity: 0; visibility: hidden; transform: translateY(12px); color: var(--white); background: var(--red-700); box-shadow: var(--shadow-md); transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-800); }
.back-to-top svg { width: 22px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .62s ease, transform .62s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.notice { padding: 14px 16px; border-left: 4px solid var(--gold-500); border-radius: 0 10px 10px 0; color: var(--ink-800); background: #fff8de; font-size: .9rem; }

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

@media (max-width: 1060px) {
  :root { --header-height: 78px; }
  .topbar__links { display: none; }
  .brand__logo { width: 58px; height: 58px; }
  .brand__unit { font-size: .73rem; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    display: block;
    padding: 18px 20px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    overflow-y: auto;
    background: rgba(255,255,255,.985);
    box-shadow: 0 18px 40px rgba(14,17,19,.14);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
  .nav__list { display: grid; gap: 7px; align-items: stretch; }
  .nav__link, .nav__dropdown-button { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1rem; }
  .nav__dropdown { position: static; min-width: 0; display: none; margin-top: 4px; padding: 4px 8px 8px 18px; border: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .nav__item.is-expanded .nav__dropdown { display: grid; }
  .nav__item.is-expanded .nav__chevron { transform: rotate(180deg); }
  .nav__cta { margin-top: 9px; }
  .nav__cta .btn { width: 100%; }
  .hero__inner { grid-template-columns: 1fr .72fr; min-height: 640px; gap: 28px; }
  .hero__seal { display: none; }
  .quick-links__grid { grid-template-columns: repeat(2,1fr); }
  .intro-grid { gap: 42px; }
  .team-grid, .team-preview, .news-grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1.3fr .7fr .7fr; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .values-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 70px 0; }
  .topbar__inner { justify-content: center; text-align: center; }
  .brand__name { font-size: .86rem; }
  .brand__unit { white-space: normal; line-height: 1.2; }
  .hero__inner { min-height: auto; grid-template-columns: 1fr; padding: 70px 0 105px; text-align: center; }
  .hero__content { display: grid; justify-items: center; }
  .hero__visual { display: none; }
  .hero__lead { max-width: 620px; }
  .button-row { justify-content: center; }
  .quick-links { margin-top: -50px; }
  .quick-links__grid { grid-template-columns: 1fr 1fr; }
  .intro-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-visual { min-height: 410px; }
  .pillars-grid, .mvv-grid { grid-template-columns: 1fr; }
  .pillar-card, .mvv-card { min-height: 0; }
  .cta-panel { grid-template-columns: 1fr; padding: 34px; }
  .cta-panel__actions { justify-content: flex-start; }
  .team-intro { grid-template-columns: 1fr; align-items: start; }
  .sidebar { order: -1; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; }
}

@media (max-width: 540px) {
  .topbar__message { font-size: .76rem; }
  .header__inner { gap: 10px; }
  .brand__logo { width: 52px; height: 52px; }
  .brand__text { max-width: 205px; }
  .brand__name { font-size: .78rem; }
  .brand__unit { font-size: .66rem; }
  .hero h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .hero__badge { font-size: .72rem; }
  .quick-links__grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 84px; }
  .team-grid, .team-preview, .news-grid { grid-template-columns: 1fr; }
  .person-card__photo { height: 390px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .form-card { padding: 24px; }
  .document-card { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > * { grid-column: auto !important; }
  .page-hero { padding: 58px 0 62px; }
}


/* Extensões específicas do CMT LII */
.button-row--center { justify-content: center; }
.intro-visual--banner { padding: 0; overflow: hidden; background: #d9edf8; }
.intro-visual--banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.person-card__profile { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; color: var(--red-700); font-size: .88rem; font-weight: 850; text-decoration: none; }
.person-card__profile:hover { text-decoration: underline; }
.person-card[hidden], .news-card[hidden] { display: none !important; }
.sidebar-card--visual { text-align: center; }
.sidebar-card--visual img { width: min(230px, 80%); margin: 0 auto 16px; }
.sidebar-card--visual p { color: var(--ink-600); font-weight: 750; }
.news-card__media { position: relative; display: block; height: 220px; overflow: hidden; background: #e7edf5; }
.news-card__meta { position: absolute; left: 16px; top: 16px; z-index: 2; padding: 7px 10px; border-radius: 999px; color: white; background: rgba(6,21,45,.84); backdrop-filter: blur(8px); }
.news-card time { display: block; margin-bottom: 9px; color: var(--ink-600); font-size: .8rem; font-weight: 780; text-transform: uppercase; letter-spacing: .04em; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card--event .news-card__media img { object-position: center 28%; }
.activities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px; }
.activity-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.activity-card__media { position: relative; height: 290px; overflow: hidden; background: #e7edf5; }
.activity-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.activity-card:hover .activity-card__media img { transform: scale(1.035); }
.activity-card__media span { position: absolute; left: 18px; bottom: 18px; padding: 7px 10px; border-radius: 999px; color: white; background: rgba(6,21,45,.86); backdrop-filter: blur(8px); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.activity-card__body { padding: 26px; }
.activity-card__body h2 { font-size: 1.55rem; }
.activity-card__body p { margin-top: 13px; color: var(--ink-600); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.calendar-toolbar strong { display: block; }
.calendar-toolbar span { display: block; margin-top: 4px; color: var(--ink-600); font-size: .88rem; }
.calendar-viewer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.calendar-page { position: relative; min-height: 600px; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #dfe6ee; box-shadow: var(--shadow-md); }
.calendar-page img { max-height: 820px; width: auto; border-radius: 6px; box-shadow: 0 15px 34px rgba(7,17,31,.18); }
.calendar-counter { position: absolute; right: 28px; bottom: 26px; padding: 8px 11px; border-radius: 999px; color: white; background: rgba(6,21,45,.82); font-size: .78rem; font-weight: 850; }
.calendar-nav { width: 52px; height: 72px; border: 0; border-radius: 14px; color: white; background: var(--red-700); font-size: 2.2rem; line-height: 1; box-shadow: var(--shadow-sm); }
.calendar-nav:hover { background: var(--red-800); }
.calendar-nav:disabled { opacity: .35; cursor: not-allowed; }
.calendar-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; margin-top: 24px; }
.calendar-thumb { padding: 3px; border: 2px solid transparent; border-radius: 9px; background: #e6ecf3; }
.calendar-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 5px; }
.calendar-thumb.is-active { border-color: var(--red-600); background: white; box-shadow: var(--shadow-sm); }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 30px; }
.schedule-card { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.schedule-card__number { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--red-800), var(--red-600)); font-size: 1.45rem; font-weight: 950; box-shadow: 0 14px 30px rgba(16,54,96,.20); }
.schedule-card h2 { font-size: 1.7rem; }
.schedule-card p { margin-top: 10px; color: var(--ink-600); }
.documents-stack { display: grid; gap: 16px; margin-bottom: 30px; }
.document-card__actions { margin-top: 0; flex-wrap: nowrap; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; align-items: start; }
.article-content { max-width: 820px; }
.article-cover { margin: 0 0 24px; overflow: hidden; border-radius: var(--radius-md); background: #e7edf5; box-shadow: var(--shadow-sm); }
.article-cover img { width: 100%; max-height: 650px; object-fit: cover; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 26px; color: var(--ink-600); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.article-meta span:first-child { color: var(--red-700); }
.article-content > p { margin-bottom: 18px; color: var(--ink-800); font-size: 1.06rem; }
.article-content h2 { margin: 38px 0 16px; font-size: 2rem; }
.article-content blockquote { margin: 30px 0; padding: 24px 26px; border-left: 5px solid var(--gold-500); border-radius: 0 14px 14px 0; color: var(--red-900); background: #fff7d6; font-size: 1.25rem; font-weight: 800; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-share strong { margin-right: 5px; }
.article-share button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-800); background: white; font-weight: 800; }
.article-share button:hover { color: white; border-color: var(--red-700); background: var(--red-700); }
.event-grid { display: grid; grid-template-columns: minmax(0, 1fr) 450px; gap: 48px; align-items: start; }
.event-content h2 { margin: 32px 0 14px; font-size: 2rem; }
.event-content > p { margin-bottom: 16px; color: var(--ink-800); font-size: 1.05rem; }
.event-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.event-stats div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); }
.event-stats span { display: block; color: var(--red-700); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.event-stats strong { display: block; margin-top: 8px; font-size: .96rem; line-height: 1.4; }
.event-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.event-gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); }
.event-gallery img:first-child { grid-column: 1 / -1; height: 420px; object-position: center 25%; }
.page-hero--error { min-height: 58vh; display: grid; align-items: center; }
@media (max-width: 1060px) {
  .calendar-thumbs { grid-template-columns: repeat(5,1fr); }
  .article-layout, .event-grid { grid-template-columns: 1fr; }
  .article-content { max-width: none; }
  .schedule-grid { grid-template-columns: 1fr; }
  .event-gallery { max-width: 760px; }
}
@media (max-width: 780px) {
  .activities-grid { grid-template-columns: 1fr; }
  .calendar-toolbar { align-items: flex-start; flex-direction: column; }
  .calendar-viewer { grid-template-columns: 1fr 1fr; }
  .calendar-page { grid-column: 1 / -1; grid-row: 1; min-height: 440px; }
  .calendar-nav { width: 100%; height: 48px; }
  .calendar-thumbs { grid-template-columns: repeat(4,1fr); }
  .schedule-card { grid-template-columns: 1fr; }
  .schedule-card__number { width: 92px; height: 92px; }
  .event-stats { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .activity-card__media { height: 230px; }
  .calendar-page { min-height: 330px; padding: 10px; }
  .calendar-counter { right: 14px; bottom: 14px; }
  .calendar-thumbs { grid-template-columns: repeat(3,1fr); }
  .schedule-card { padding: 24px; }
  .event-gallery { grid-template-columns: 1fr; }
  .event-gallery img, .event-gallery img:first-child { grid-column: auto; height: 330px; }
}
