:root {
  --ink: #081421;
  --deep: #05111f;
  --blue: #006aa5;
  --cyan: #00a8c7;
  --orange: #f58220;
  --amber: #ffc247;
  --paper: #f7fafc;
  --white: #ffffff;
  --muted: #657487;
  --line: rgba(8, 20, 33, 0.12);
  --shadow: 0 24px 70px rgba(8, 20, 33, 0.16);
  --display: Georgia, "Times New Roman", serif;
  --hero-image: url("assets/hero-chicks.png");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(248px, auto) minmax(0, 1fr) auto;
  grid-template-rows: 34px auto;
  align-items: center;
  column-gap: clamp(14px, 1.4vw, 22px);
  row-gap: 10px;
  padding: 0 clamp(18px, 3.2vw, 48px) 12px;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease, color 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 34px;
  background: linear-gradient(90deg, #006aa5, #0391f7);
  z-index: -1;
}

.site-header.open {
  background: rgba(5, 17, 31, 0.94);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.site-header.scrolled {
  color: var(--ink);
  grid-template-rows: auto;
  padding-top: 3px;
  padding-bottom: 3px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(8, 20, 33, 0.12);
  backdrop-filter: blur(16px);
}

.site-header.scrolled::before {
  display: none;
}

.brand {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  display: inline-block;
  width: 260px;
  height: 108px;
}

.brand-logo {
  position: absolute;
  inset: 0;
  width: 260px;
  height: 108px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
  transition: opacity 180ms ease, width 220ms ease, height 220ms ease, filter 220ms ease;
}

.brand-logo-dark {
  opacity: 0;
}

.site-header.scrolled .brand {
  grid-row: 1;
  width: 224px;
  height: 84px;
}

.site-header.scrolled .brand-logo {
  width: 224px;
  height: 84px;
  filter: drop-shadow(0 3px 10px rgba(8, 20, 33, 0.18));
}

.site-header.scrolled .brand-logo-light {
  opacity: 0;
}

.site-header.scrolled .brand-logo-dark {
  opacity: 1;
}

.site-header.scrolled .site-nav,
.site-header.scrolled .restricted-link,
.site-header.scrolled .menu-toggle {
  grid-row: 1;
}

.site-header.scrolled .site-nav,
.site-header.scrolled .menu-toggle {
  color: var(--ink);
}

.site-header.scrolled .social-links,
.site-header.scrolled .lang-switch {
  display: none;
}

.site-nav {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(14px, 1.15vw, 20px);
  font-size: clamp(12px, 0.8vw, 13.6px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--white);
}

.site-nav a {
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a:hover {
  color: var(--amber);
  opacity: 1;
}

.realtime-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 rgba(245, 130, 32, 0.5);
  animation: livePulse 1.45s ease-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(245, 130, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 130, 32, 0); }
}

.social-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
}

.social-links a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  color: var(--amber);
  border-color: rgba(255, 194, 71, 0.52);
  transform: translateY(-1px);
}

.social-links svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-switch {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.lang-switch button,
.menu-toggle {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lang-switch button {
  min-width: 48px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 750;
}

.lang-switch button.active {
  color: var(--blue);
  background: var(--white);
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 11px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(8, 20, 33, 0.16);
}

.flag-br {
  background: #1f9d55;
}

.flag-br::before {
  content: "";
  position: absolute;
  inset: 2px 4px;
  background: #ffdf00;
  transform: rotate(45deg);
}

.flag-br::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #17468b;
  transform: translate(-50%, -50%);
}

.flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 1px, #fff 1px 2px);
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 6px;
  background: #3c3b6e;
}

.flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.menu-toggle {
  grid-column: 3;
  grid-row: 2;
  display: none;
  width: 44px;
  height: 44px;
  color: var(--ink);
  place-content: center;
  gap: 5px;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.restricted-link {
  grid-column: 3;
  grid-row: 2;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #0391f7;
  border-radius: 999px;
  color: var(--white);
  background: #0391f7;
  font-size: 13.5px;
  font-weight: 750;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(3, 145, 247, 0.22);
}

.site-header.scrolled .restricted-link {
  color: var(--white);
  border-color: #0391f7;
  background: #0391f7;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 760px);
  align-items: center;
  padding: 126px clamp(22px, 5vw, 70px) 54px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 17, 31, 0.98) 0%, rgba(5, 17, 31, 0.84) 34%, rgba(5, 17, 31, 0.38) 66%, rgba(5, 17, 31, 0.7) 100%),
    linear-gradient(0deg, rgba(5, 17, 31, 0.96) 0%, rgba(5, 17, 31, 0.12) 38%, rgba(5, 17, 31, 0.26) 100%),
    var(--hero-image) center right / cover no-repeat,
    radial-gradient(circle at 82% 24%, rgba(0, 168, 199, 0.35), transparent 30%),
    linear-gradient(135deg, #07101d 0%, #08233a 48%, #05111f 100%);
}

.hero-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 46%, rgba(255, 194, 71, 0.18), transparent 22%),
    radial-gradient(circle at 42% 22%, rgba(0, 168, 199, 0.2), transparent 26%),
    linear-gradient(0deg, rgba(5, 17, 31, 0.94), transparent 25%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 36px rgba(245, 130, 32, 0.28);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-strip div {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 24px clamp(22px, 5vw, 70px);
  background: var(--white);
}

.intro-strip span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.intro-strip strong {
  font-size: clamp(18px, 2vw, 25px);
}

.about-anchor {
  padding-top: clamp(46px, 6vw, 78px);
  padding-bottom: clamp(46px, 6vw, 78px);
  background: var(--white);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(24px, 4vw, 44px);
  border-left: 6px solid var(--orange);
  background:
    linear-gradient(90deg, rgba(245, 130, 32, 0.08), rgba(255, 255, 255, 0) 45%),
    var(--white);
  box-shadow: 0 18px 48px rgba(8, 20, 33, 0.08);
}

.about-panel h2 {
  font-size: clamp(30px, 3.2vw, 48px);
}

.about-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.about-panel-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.about-panel-copy .btn {
  justify-self: start;
  color: var(--ink);
  border-color: rgba(8, 20, 33, 0.18);
  background: var(--white);
}

.about-signal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(220px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 18px 22px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--orange), rgba(0, 106, 165, 0.94) 34%, rgba(5, 17, 31, 0.96)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px);
  box-shadow: 0 18px 42px rgba(0, 106, 165, 0.18);
}

.about-signal span {
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.about-signal strong {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.04;
}

.about-signal small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.science-band {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 194, 71, 0.16), transparent 28%),
    linear-gradient(135deg, #061321 0%, #005f94 56%, #0391f7 130%);
}

.science-band .section-body > p,
.science-band .proof-grid article p {
  color: rgba(255, 255, 255, 0.78);
}

.science-band .proof-grid article {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.science-band .proof-grid h3 {
  color: var(--white);
}

.section {
  padding: clamp(56px, 7vw, 104px) clamp(22px, 6vw, 82px);
  overflow: hidden;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 92px);
}

.section h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-body > p,
.section-heading p,
.research p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.proof-grid,
.line-grid,
.impact-grid,
.news-grid {
  display: grid;
  gap: 18px;
}

.proof-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 34px;
}

.proof-grid article,
.line-grid article,
.news-grid article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(8, 20, 33, 0.06);
}

.proof-grid article span {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.product-band,
.sustainability {
  background: var(--white);
}

.product-band {
  position: relative;
  overflow: hidden;
}

.product-band::before {
  content: "";
  position: absolute;
  right: -8vw;
  top: 54px;
  width: 28vw;
  min-width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 106, 165, 0.16);
  border-radius: 50%;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
  min-width: 0;
}

.line-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.line-mark {
  width: 82px;
  height: 82px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, var(--blue), var(--cyan), var(--orange), var(--blue));
  box-shadow: inset 0 0 0 15px rgba(255, 255, 255, 0.52);
  animation: spinSlow 9s linear infinite;
}

.line-mark.cyan {
  background: conic-gradient(from 80deg, var(--cyan), #9ee7ef, var(--blue), var(--cyan));
}

.line-mark.orange {
  background: conic-gradient(from 120deg, var(--orange), var(--amber), var(--blue), var(--orange));
}

.research {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #061321, #08324a 58%, #03101b);
}

.research p,
.research .check-list {
  color: rgba(255, 255, 255, 0.78);
}

.molecule {
  position: relative;
  width: 220px;
  height: 220px;
}

.molecule::before,
.molecule::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}

.molecule::after {
  inset: 58px;
  border-color: rgba(245, 130, 32, 0.48);
  animation-duration: 12s;
  animation-direction: reverse;
}

.molecule span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 168, 199, 0.7);
}

.molecule span:nth-child(1) { top: 10px; left: 98px; }
.molecule span:nth-child(2) { top: 92px; left: 14px; background: var(--orange); }
.molecule span:nth-child(3) { right: 18px; top: 80px; }
.molecule span:nth-child(4) { bottom: 20px; left: 70px; background: var(--amber); }
.molecule span:nth-child(5) { bottom: 44px; right: 56px; }

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.muted {
  background: var(--white);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  display: grid;
  grid-template-columns: 72px minmax(116px, 0.28fr) minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline p {
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.64;
}

.impact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.impact-grid article {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: end;
  padding: 26px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 106, 165, 0.86), rgba(5, 17, 31, 0.92)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px);
  overflow: hidden;
}

.impact-grid article:has(.line-photo) {
  min-height: 360px;
  isolation: isolate;
}

.line-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.02);
}

.impact-grid article:has(.line-photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 17, 31, 0.02), rgba(5, 17, 31, 0.82));
}

.impact-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 38px;
}

.impact-grid span {
  font-weight: 800;
}

.home-lines {
  background:
    linear-gradient(180deg, var(--white), rgba(247, 250, 252, 0.86)),
    var(--white);
}

.home-line-grid {
  display: grid;
  align-items: stretch;
  gap: 18px;
}

.home-line-grid article {
  min-height: 420px;
  padding: 26px;
}

.home-line-grid article:nth-child(2) {
  transform: none;
}

.home-line-grid .line-photo {
  object-fit: contain;
  object-position: center bottom;
  padding: 18px 16px 92px;
  opacity: 0.9;
  transform: none;
}

.home-line-grid article:has(.line-photo)::after {
  background:
    linear-gradient(180deg, rgba(5, 17, 31, 0.02), rgba(5, 17, 31, 0.82) 78%),
    linear-gradient(135deg, rgba(0, 106, 165, 0.28), rgba(245, 130, 32, 0.12));
}

.home-line-grid strong {
  max-width: 9ch;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
}

.line-card-link {
  justify-self: start;
  margin-top: 16px;
  padding: 10px 14px;
  color: var(--ink);
  border-radius: 6px;
  background: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.radar-shortcut .section-heading {
  max-width: 820px;
}

.radar-shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(190px, 0.7fr);
  gap: 14px;
  align-items: stretch;
}

.radar-shortcut-grid article,
.radar-shortcut-grid .btn {
  min-height: 172px;
  border-radius: 8px;
}

.radar-shortcut-grid article {
  display: grid;
  align-content: end;
  padding: 22px;
  border: 1px solid rgba(8, 20, 33, 0.1);
  background: var(--white);
  box-shadow: 0 14px 40px rgba(8, 20, 33, 0.07);
}

.radar-shortcut-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.radar-shortcut-grid strong {
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.radar-shortcut-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.radar-shortcut-grid .btn {
  align-self: stretch;
  padding: 22px;
  text-align: center;
}

.market-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.98)),
    repeating-linear-gradient(45deg, rgba(0, 106, 165, 0.04) 0 1px, transparent 1px 18px);
}

.market-dashboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.market-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.market-summary article,
.cepea-widget-panel {
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(8, 20, 33, 0.07);
}

.market-summary article {
  min-height: 160px;
  display: grid;
  align-content: end;
  padding: 22px;
}

.market-summary article:nth-child(2) {
  border-top: 4px solid var(--orange);
}

.market-summary article:nth-child(3) {
  border-top: 4px solid var(--cyan);
}

.market-summary span,
.cepea-widget-slot span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.market-summary strong {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.08;
}

.market-summary small,
.source-note {
  color: var(--muted);
  line-height: 1.5;
}

.cepea-widget-panel {
  display: grid;
  align-content: space-between;
  min-height: 344px;
  padding: 28px;
}

.cepea-widget-slot {
  min-height: 250px;
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 44px);
  border: 1px dashed rgba(0, 106, 165, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 106, 165, 0.06), rgba(245, 130, 32, 0.06)),
    var(--white);
}

.cepea-widget-slot strong {
  max-width: 520px;
  margin: 12px 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.04;
}

.cepea-widget-slot p {
  max-width: 600px;
  color: var(--muted);
  line-height: 1.64;
}

.source-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.cepea-embed {
  width: 100%;
  max-width: 100%;
  margin-top: 22px;
  overflow-x: auto;
  border-radius: 8px;
}

.cepea-embed table {
  width: 100% !important;
  min-width: 360px;
  border-collapse: collapse;
  font-family: "Segoe UI", Arial, sans-serif !important;
}

.cepea-embed td,
.cepea-embed th {
  padding: 8px 10px !important;
  border-color: rgba(8, 20, 33, 0.12) !important;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-list a {
  display: grid;
  gap: 8px;
  padding: 24px 28px;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(8, 20, 33, 0.08);
}

.resource-list span {
  font-size: 22px;
  font-weight: 900;
}

.resource-list small {
  color: var(--muted);
  font-size: 15px;
}

.news {
  background: var(--white);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid time {
  display: block;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 0.75fr);
  gap: clamp(34px, 7vw, 90px);
  padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 82px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 17, 31, 0.96), rgba(0, 86, 130, 0.88)),
    linear-gradient(45deg, transparent 0 48%, rgba(245, 130, 32, 0.18) 48% 52%, transparent 52%);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.8) 50%) right 18px center / 7px 7px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.08));
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 6vw, 82px);
  color: rgba(255, 255, 255, 0.72);
  background: #030b13;
}

.site-footer img {
  width: 132px;
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(620px, calc(100vw - 48px));
  padding: 18px;
  color: var(--white);
  background: rgba(8, 20, 33, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(8, 20, 33, 0.28);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.95rem;
}

.cookie-consent p {
  max-width: 46rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-consent .btn {
  min-height: 42px;
  white-space: nowrap;
}

.page-main {
  background: var(--white);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 68vh;
  align-items: end;
  padding: 150px clamp(22px, 6vw, 82px) clamp(54px, 7vw, 92px);
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 17, 31, 0.98), rgba(5, 17, 31, 0.72) 48%, rgba(5, 17, 31, 0.32)),
    var(--hero-image) center right / cover no-repeat;
}

.page-hero.compact {
  min-height: 54vh;
}

.page-hero-content {
  max-width: 840px;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.52;
}

.content-grid,
.market-page-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.market-live-panel {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(32px, 6vw, 78px);
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(8, 20, 33, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 252, 0.96)),
    repeating-linear-gradient(45deg, rgba(0, 106, 165, 0.04) 0 1px, transparent 1px 18px);
  box-shadow: 0 18px 48px rgba(8, 20, 33, 0.08);
}

.market-live-panel .section-heading {
  margin-bottom: 0;
}

.market-live-panel .section-heading p:not(.eyebrow) {
  max-width: 720px;
}

.market-live-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.market-quote-card {
  min-height: 168px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(8, 20, 33, 0.07);
}

.market-quote-card:nth-child(1) {
  border-top: 4px solid var(--blue);
}

.market-quote-card:nth-child(2) {
  border-top: 4px solid var(--cyan);
}

.market-quote-card:nth-child(3),
.market-quote-card:nth-child(4) {
  border-top: 4px solid var(--orange);
}

.market-quote-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.market-quote-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.04;
}

.market-quote-card small {
  color: var(--muted);
  line-height: 1.48;
}

.market-quote-card em {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0, 168, 199, 0.11);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.market-quote-card em.positive {
  color: #11653f;
  background: rgba(31, 164, 99, 0.12);
}

.market-quote-card em.negative {
  color: #9b2f1c;
  background: rgba(245, 130, 32, 0.14);
}

.market-live-grid .wide {
  grid-column: span 1;
}

.content-stack,
.feature-list,
.resource-cards,
.support-grid,
.market-notes {
  display: grid;
  gap: 16px;
}

.resource-cards {
  grid-template-columns: repeat(3, 1fr);
}

.support-grid,
.market-notes {
  grid-template-columns: repeat(2, 1fr);
}

.representatives-hero {
  background:
    linear-gradient(90deg, rgba(5, 17, 31, 0.98), rgba(5, 17, 31, 0.76)),
    radial-gradient(circle at 78% 34%, rgba(0, 168, 199, 0.28), transparent 28%),
    linear-gradient(135deg, #07101d 0%, #073154 54%, #05111f 100%);
}

.representatives-layout {
  display: grid;
  grid-template-columns: minmax(680px, 1.12fr) minmax(320px, 0.52fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}

.representatives-map-panel,
.representatives-results {
  padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid rgba(8, 20, 33, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(8, 20, 33, 0.08);
}

.compact-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.compact-heading h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.rep-results-header h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.brazil-map {
  position: relative;
  width: min(100%, 900px);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  background: #061525;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.36), 0 24px 58px rgba(8, 20, 33, 0.16);
}

.brazil-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  transition: opacity 220ms ease;
}

.brazil-map button[data-state] {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-grid;
  place-items: center;
  width: var(--hit-w, 54px);
  height: var(--hit-h, 42px);
  border: 0;
  border-radius: 999px;
  color: transparent;
  background: transparent;
  font: inherit;
  font-size: 0;
  font-weight: 900;
  text-shadow: none;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brazil-map button[data-state]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--ring-w, 48px);
  height: var(--ring-h, 34px);
  border: 2px solid rgba(245, 130, 32, 0.92);
  border-radius: 999px;
  background: transparent;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, box-shadow 180ms ease;
}

.brazil-map button[data-state]:hover,
.brazil-map button[data-state].active {
  z-index: 2;
  color: transparent;
  background: transparent;
  transform: translate(-50%, -50%);
  box-shadow: none;
}

.brazil-map button[data-state]:hover::after,
.brazil-map button[data-state].active::after {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.15), 0 0 22px rgba(245, 130, 32, 0.45);
}

.representatives-results {
  position: sticky;
  top: calc(var(--header-height, 92px) + 24px);
}

.rep-results-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.rep-results-header > div {
  min-width: 0;
}

.rep-results-header span {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0, 168, 199, 0.1);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.representatives-list {
  display: grid;
  gap: 14px;
}

.representative-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(245, 130, 32, 0.08), transparent 38%),
    #fff;
}

.representative-card header {
  display: grid;
  gap: 7px;
}

.representative-card small {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.representative-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.representative-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.representative-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.representative-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(8, 20, 33, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.representative-actions a:first-child {
  color: var(--white);
  background: var(--blue);
}

.representative-actions a.whatsapp-link {
  color: var(--white);
  background: #1fa463;
}

.representatives-empty {
  padding: 26px;
  border: 1px dashed rgba(8, 20, 33, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.feature-list article,
.resource-cards article,
.support-grid article,
.market-notes article {
  padding: 24px;
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(8, 20, 33, 0.07);
}

.feature-list strong,
.resource-cards strong,
.support-grid strong,
.market-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

.feature-list p,
.resource-cards p,
.support-grid p,
.market-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.orange-callout {
  padding: 26px;
  color: var(--white);
  border-radius: 8px;
  background: var(--orange);
}

.orange-callout strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.radar-widget-card {
  padding: clamp(18px, 3vw, 30px);
  border-radius: 8px;
  background: #0b1a2a;
  box-shadow: var(--shadow);
}

.radar-widget-card .cepea-embed {
  display: grid;
  justify-items: center;
  min-height: 360px;
  padding: 12px;
  border-radius: 6px;
  background: var(--white);
}

.novocenter-library-section {
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.92), rgba(255, 255, 255, 1)),
    repeating-linear-gradient(45deg, rgba(0, 106, 165, 0.035) 0 1px, transparent 1px 18px);
}

.library-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.library-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.library-toolbar label,
.library-toolbar button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid rgba(8, 20, 33, 0.14);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.library-filter-input:focus-visible + .library-filter-input + .library-filter-input + .library-filter-input + .library-toolbar label,
.library-toolbar label:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.library-toolbar button.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

#library-filter-all:checked ~ .library-toolbar label[for="library-filter-all"],
#library-filter-videos:checked ~ .library-toolbar label[for="library-filter-videos"],
#library-filter-articles:checked ~ .library-toolbar label[for="library-filter-articles"],
#library-filter-posters:checked ~ .library-toolbar label[for="library-filter-posters"] {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

#library-filter-videos:checked ~ .library-grid .library-card:not([data-library-category="Vídeos"]),
#library-filter-articles:checked ~ .library-grid .library-card:not([data-library-category="Artigos"]),
#library-filter-posters:checked ~ .library-grid .library-card:not([data-library-category="Posters"]) {
  display: none;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.library-loading {
  color: var(--muted);
}

.library-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(8, 20, 33, 0.08);
}

.library-card-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 106, 165, 0.12), rgba(245, 130, 32, 0.12));
}

.library-card-media img,
.library-card-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.library-card-media img {
  object-fit: cover;
}

.library-card-media iframe {
  display: block;
  background: var(--deep);
}

.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--white);
  border: 0;
  background: var(--deep);
  cursor: pointer;
  overflow: hidden;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.04);
  transition: transform 220ms ease, opacity 220ms ease;
}

.video-preview:hover img {
  opacity: 0.86;
  transform: scale(1.01);
}

.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 17, 31, 0.08), rgba(5, 17, 31, 0.72)),
    radial-gradient(circle at center, rgba(3, 145, 247, 0.26), transparent 34%);
}

.video-preview-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.video-preview-title {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  left: 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.video-fallback {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 7px 10px;
  color: var(--white);
  border-radius: 999px;
  background: rgba(245, 130, 32, 0.92);
  font-size: 12px;
  font-weight: 850;
}

.library-card-media span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: var(--white);
  border-radius: 999px;
  background: rgba(5, 17, 31, 0.78);
  font-size: 12px;
  font-weight: 850;
}

.library-card-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px;
}

.library-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.library-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.library-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(8, 20, 33, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.library-card .btn {
  width: fit-content;
  min-height: 40px;
  margin-top: 4px;
}

.video-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(5, 17, 31, 0.82);
  backdrop-filter: blur(10px);
}

.video-modal.open {
  display: grid;
}

.video-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.video-modal-frame,
.video-modal iframe {
  width: 100%;
  height: 100%;
}

.video-modal iframe {
  border: 0;
}

.video-modal-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding: clamp(24px, 5vw, 56px);
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(3, 145, 247, 0.32), transparent 34%),
    linear-gradient(135deg, #061321, #0b1a2a);
}

.video-modal-fallback strong {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 500;
}

.video-modal-fallback p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.58;
}

.video-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.video-modal-close {
  position: absolute;
  z-index: 2;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 22px;
  cursor: pointer;
}

.article-page-main {
  background: var(--white);
}

.article-page-hero {
  min-height: 46vh;
}

.article-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(46px, 7vw, 88px) 0;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.article-header h1,
.article-empty h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.article-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(8, 20, 33, 0.06);
  font-size: 12px;
  font-weight: 780;
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(8, 20, 33, 0.14);
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  padding-top: clamp(34px, 6vw, 72px);
}

.article-source {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: rgba(247, 250, 252, 0.92);
}

.article-source strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.article-source p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.article-source .btn.secondary {
  width: fit-content;
  color: var(--ink);
  border-color: rgba(8, 20, 33, 0.14);
  background: var(--white);
}

.article-content {
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.78;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li {
  color: #263746;
}

.article-content p {
  margin: 0 0 1.35em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.45em 0 0.55em;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.13;
}

.article-content h2 {
  font-size: clamp(30px, 3.2vw, 44px);
}

.article-content h3 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.25em;
}

.article-content a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content figure {
  margin: clamp(24px, 4vw, 42px) 0;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.article-empty {
  max-width: 760px;
  padding: 36px;
  border-left: 5px solid var(--orange);
  background: var(--paper);
}

.lineage-hero {
  background:
    linear-gradient(90deg, rgba(5, 17, 31, 0.98), rgba(5, 17, 31, 0.72) 48%, rgba(5, 17, 31, 0.18)),
    url("assets/line-novogen-brown.webp") right 8% bottom / min(44vw, 560px) auto no-repeat,
    linear-gradient(135deg, #061321, #08324a 58%, #03101b);
}

.lineage-overview-section {
  padding-top: clamp(52px, 6vw, 84px);
  padding-bottom: clamp(52px, 6vw, 84px);
  background: var(--white);
}

.lineage-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 18px;
}

.lineage-card {
  display: grid;
  grid-template-rows: 300px 1fr;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(8, 20, 33, 0.08);
}

.lineage-card-media {
  display: grid;
  place-items: end center;
  padding: 24px 18px 0;
  background:
    linear-gradient(135deg, rgba(0, 106, 165, 0.08), rgba(245, 130, 32, 0.08)),
    var(--paper);
}

.lineage-card-media img {
  width: 100%;
  max-height: 292px;
  object-fit: contain;
}

.lineage-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 13px;
  padding: 24px;
}

.lineage-card-body span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.lineage-card-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  text-transform: uppercase;
}

.lineage-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.lineage-card-body .btn {
  align-self: end;
  justify-self: start;
}

.lineage-detail-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(320px, 0.78fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  min-height: 76vh;
  padding: 148px clamp(22px, 6vw, 82px) clamp(42px, 6vw, 84px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 42%, rgba(245, 130, 32, 0.2), transparent 26%),
    linear-gradient(135deg, #061321, #08324a 58%, #03101b);
  overflow: hidden;
}

.lineage-detail-section {
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: clamp(48px, 6vw, 76px);
}

.lineage-detail-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 5.8vw, 76px);
  font-weight: 500;
  line-height: 0.96;
}

.lineage-detail-copy p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.66;
}

.lineage-detail-copy .article-back {
  color: var(--amber);
}

.lineage-detail-visual {
  display: grid;
  place-items: end center;
}

.lineage-detail-visual img {
  max-height: min(62vh, 610px);
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.24));
}

.lineage-detail-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 0.88fr;
  gap: 18px;
}

.lineage-info-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(8, 20, 33, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(8, 20, 33, 0.07);
}

.lineage-info-panel span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.lineage-info-panel h2 {
  font-size: clamp(28px, 3.8vw, 46px);
}

.lineage-info-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.58;
}

.lineage-info-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.lineage-info-panel.primary-panel {
  border-top: 5px solid var(--blue);
}

.lineage-info-panel.orange-panel {
  color: var(--white);
  border-color: transparent;
  background: var(--orange);
}

.lineage-info-panel.orange-panel span,
.lineage-info-panel.orange-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.lineage-docs {
  grid-template-columns: repeat(3, 1fr);
}

.line-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 11px;
  color: var(--ink);
  border-radius: 999px;
  background: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(220px, auto) minmax(0, 1fr) auto;
    grid-template-rows: 34px auto;
    column-gap: 12px;
    row-gap: 5px;
    padding-inline: clamp(14px, 2vw, 28px);
  }

  .brand,
  .brand-logo {
    width: 220px;
    height: 88px;
  }

  .site-header.scrolled .brand,
  .site-header.scrolled .brand-logo {
    width: 192px;
    height: 72px;
  }

  .site-nav {
    gap: clamp(10px, 0.95vw, 14px);
    font-size: 11.6px;
  }

  .social-links a {
    width: 29px;
    height: 29px;
  }

  .lang-switch button {
    min-width: 44px;
  }

  .restricted-link {
    padding-inline: 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: minmax(150px, 1fr) auto auto;
    gap: 10px;
  }

  .brand {
    grid-row: 2;
  }

  .social-links {
    grid-column: 2;
    grid-row: 1;
  }

  .lang-switch {
    grid-column: 3;
    grid-row: 1;
  }

  .restricted-link {
    grid-column: 2;
    grid-row: 2;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 2;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height, 92px) + 10px);
    right: 18px;
    left: 18px;
    bottom: auto;
    display: none;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0;
    max-height: calc(100vh - var(--header-height, 92px) - 28px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 8px;
    background: rgba(5, 17, 31, 0.98);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    opacity: 1;
    font-size: 14px;
  }

  .menu-toggle {
    display: grid;
  }

  .hero,
  .research,
  .contact,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    min-height: auto;
    padding-top: 132px;
    background-position: center right;
  }

  .research .molecule {
    display: none;
  }

  .market-dashboard {
    grid-template-columns: 1fr;
  }

  .market-live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-live-grid .wide {
    grid-column: 1 / -1;
  }

  .about-panel,
  .content-grid,
  .market-page-grid,
  .representatives-layout,
  .article-header,
  .article-layout,
  .lineage-card-grid,
  .lineage-detail-hero,
  .lineage-detail-grid,
  .lineage-docs,
  .resource-cards,
  .library-grid,
  .support-grid,
  .market-notes {
    grid-template-columns: 1fr;
  }

  .about-signal {
    grid-template-columns: 1fr;
    min-height: 210px;
  }

  .radar-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(118px, 1fr) auto auto;
    grid-template-rows: 34px auto auto;
    gap: 8px;
    padding: 0 16px 10px;
  }

  .restricted-link {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-height: 34px;
  }

  .social-links {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav {
    top: calc(var(--header-height, 104px) + 8px);
    right: 16px;
    left: 16px;
    max-height: calc(100vh - var(--header-height, 104px) - 24px);
    overflow-y: auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 2;
    width: 154px;
    height: 64px;
  }

  .brand-logo {
    width: 154px;
    height: 64px;
  }

  .site-header.scrolled .brand,
  .site-header.scrolled .brand-logo {
    width: 138px;
    height: 56px;
  }

  .lang-switch button {
    min-width: 42px;
    height: 26px;
    font-size: 10.5px;
  }

  .social-links {
    gap: 5px;
  }

  .lang-switch {
    grid-column: 3;
    grid-row: 1;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 2;
  }

  .social-links a {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: 620px;
    padding: 132px 20px 46px;
    background:
      linear-gradient(90deg, rgba(5, 17, 31, 0.98) 0%, rgba(5, 17, 31, 0.88) 48%, rgba(5, 17, 31, 0.62) 100%),
      linear-gradient(0deg, rgba(5, 17, 31, 0.97) 0%, rgba(5, 17, 31, 0.16) 44%, rgba(5, 17, 31, 0.36) 100%),
      var(--hero-image) center right 26% / cover no-repeat,
      linear-gradient(135deg, #07101d 0%, #08233a 48%, #05111f 100%);
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.06;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .intro-strip,
  .proof-grid,
  .line-grid,
  .market-dashboard,
  .market-summary,
  .market-live-grid,
  .impact-grid,
  .about-panel,
  .radar-shortcut-grid,
  .content-grid,
  .market-page-grid,
  .representatives-layout,
  .resource-cards,
  .library-grid,
  .support-grid,
  .market-notes,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .representatives-map-panel,
  .representatives-results {
    padding: 20px;
  }

  .representatives-results {
    position: static;
  }

  .brazil-map {
    width: min(100%, 560px);
  }

  .brazil-map button[data-state] {
    width: 40px;
    height: 32px;
    font-size: 0;
  }

  .rep-results-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rep-results-header span {
    justify-self: start;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline p {
    max-width: none;
  }

  .home-line-grid article:nth-child(2) {
    transform: none;
  }

  .home-line-grid article {
    min-height: 360px;
  }

  .home-line-grid .line-photo {
    padding-bottom: 92px;
  }

  .radar-shortcut-grid article,
  .radar-shortcut-grid .btn {
    min-height: 140px;
  }

  .lineage-card {
    grid-template-rows: 260px 1fr;
  }

  .lineage-card-media img {
    max-height: 250px;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.08;
  }

  .page-hero h1,
  .article-header h1,
  .article-empty h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .video-modal {
    padding: 16px;
  }

  .video-modal-close {
    top: -42px;
  }

  .section-body > p,
  .section-heading p,
  .research p,
  .contact p {
    font-size: 16px;
    line-height: 1.62;
  }

  .proof-grid article,
  .line-grid article,
  .news-grid article,
  .market-summary article,
  .cepea-widget-panel {
    padding: 22px;
  }

  .cepea-widget-slot {
    min-height: 0;
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-shell {
    width: min(100% - 32px, 760px);
  }

  .article-layout {
    padding-top: 30px;
  }

  .article-source {
    position: static;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.68;
  }

  .cookie-consent {
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: calc(100vw - 32px);
  }

  .cookie-consent .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(100px, 1fr) auto auto;
    grid-template-rows: 34px auto auto;
  }

  .social-links {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .lang-switch {
    grid-column: 3;
    grid-row: 1;
  }

  .restricted-link {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    padding-inline: 12px;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 2;
  }

  .site-nav {
    top: calc(var(--header-height, 116px) + 8px);
    right: 16px;
    left: 16px;
  }

  .brand {
    width: 132px;
    height: 54px;
  }

  .brand-logo {
    width: 132px;
    height: 54px;
  }

  .site-header.scrolled .brand,
  .site-header.scrolled .brand-logo {
    width: 120px;
    height: 50px;
  }

  .hero {
    min-height: 640px;
    padding-top: 148px;
  }

  .intro-strip div {
    min-height: 88px;
    padding: 20px;
  }

  .market-summary strong {
    font-size: 24px;
  }

  .brazil-map {
    width: 100%;
  }

  .brazil-map button[data-state] {
    width: 34px;
    height: 28px;
    font-size: 0;
  }

  .representative-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
