/* ============================================================
   Nova Wave Energy — shared stylesheet
   Plain CSS, custom-property tokens. No frameworks.
   ============================================================ */

/* ---------- Tokens ---------- */

:root {
  --nova-red: #d8232a;
  --nova-red-dark: #b71c22; /* AA text on white */
  --deep-blue: #1b3e8c;
  --deep-blue-dark: #142e68; /* footer/dark sections */
  --gradient-brand: linear-gradient(90deg, #d8232a 0%, #1b3e8c 100%);
  --ink: #10214b; /* body text on white */
  --ink-soft: #46557d;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --line: #e4e9f2;
  --card-line: #eff2f7; /* card outline, fainter than --line */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(16, 33, 75, 0.06);
  --shadow-md: 0 14px 40px rgba(16, 33, 75, 0.12);
  --font:
    'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 76px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--deep-blue);
  text-decoration: none;
}
a:hover {
  color: var(--nova-red);
}
h1,
h2,
h3,
h4 {
  color: var(--deep-blue);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}
p {
  margin: 0 0 1rem;
}
ul {
  margin: 0;
  padding: 0;
}

/* ---------- Utilities ---------- */
.container {
  --gutter: clamp(1.1rem, 4vw, 2rem);
  width: 100%;
  /* content stays --maxw wide on desktop; the gutter only shows on smaller screens */
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: 50px;
}
/* grid and flex children may shrink below their content's natural width */
.grid > *,
.split > *,
.recruit-grid > *,
.form-grid > * {
  min-width: 0;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.section--soft {
  background: #fafafa80;
}
.section--dark {
  background: var(--deep-blue-dark);
  color: #eaf0ff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.center {
  text-align: center;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
}
.section--dark .lead {
  color: #c4d2f5;
}
.mx-auto {
  margin-inline: auto;
}
.narrow {
  max-width: 760px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--nova-red);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 0;
  color: #fff;
  outline: 3px solid #fff;
}

/* Red uppercase kicker */
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nova-red-dark);
  margin-bottom: 0.9rem;
}
.section--dark .kicker {
  color: #ff9aa0;
}

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--nova-red);
  --_fg: #fff;
  --_bd: var(--nova-red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--_bd);
  background: var(--_bg);
  color: var(--_fg);
  cursor: pointer;
  transition:
    transform 0.17s var(--ease),
    background 0.17s var(--ease),
    color 0.17s var(--ease),
    box-shadow 0.17s var(--ease);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--_fg);
}
.btn--primary {
  --_bg: var(--nova-red);
  --_fg: #fff;
  --_bd: var(--nova-red);
}
.btn--primary:hover {
  --_bg: var(--nova-red-dark);
  --_bd: var(--nova-red-dark);
}
.btn--outline {
  --_bg: transparent;
  --_fg: var(--deep-blue);
  --_bd: var(--deep-blue);
}
.btn--outline:hover {
  --_bg: var(--deep-blue);
  --_fg: #fff;
}
.btn--ghost-light {
  --_bg: transparent;
  --_fg: #fff;
  --_bd: rgba(255, 255, 255, 0.7);
}
.btn--ghost-light:hover {
  --_bg: #fff;
  --_fg: var(--deep-blue);
  --_bd: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Text link with arrow */
.arrow-link {
  font-weight: 700;
  color: var(--nova-red-dark);
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}
.arrow-link span {
  transition: transform 0.17s var(--ease);
}
.arrow-link:hover span {
  transform: translateX(4px);
}

/* ---------- Pill badges ---------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--deep-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
}
.badge svg {
  width: 15px;
  height: 15px;
  flex: none;
}
/* product tags in aligned, equal-width columns */
.badges--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
}
.badges--grid .badge {
  font-size: 0.875rem;
  padding-inline: 0.8rem;
}
.badge--soft {
  background: #fff;
  color: var(--deep-blue);
  border: 1.5px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1.5px dashed var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
}
.site-header.is-solid,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
/* interior pages: solid from the start */
.site-header--solid {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.brand svg,
.brand img {
  height: 42px;
  width: auto;
}
/* logo colour swap over transparent hero */
.site-header .brand .logo-color {
  display: none;
}
.site-header .brand .logo-white {
  display: block;
}
.site-header.is-solid .brand .logo-color,
.site-header--solid .brand .logo-color {
  display: block;
}
.site-header.is-solid .brand .logo-white,
.site-header--solid .brand .logo-white {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.main-nav a,
.main-nav .navlink {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.site-header.is-solid .main-nav a,
.site-header.is-solid .main-nav .navlink,
.site-header--solid .main-nav a,
.site-header--solid .main-nav .navlink {
  color: var(--ink);
}
.main-nav a:hover,
.main-nav .navlink:hover {
  color: var(--nova-red);
}
.main-nav a[aria-current='page'] {
  color: var(--nova-red);
}

.header-cta {
  margin-left: 0.4rem;
}
.header-cta .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: none;
  cursor: pointer;
  color: #fff;
  margin-left: auto;
  border-radius: 10px;
}
.site-header.is-solid .nav-toggle,
.site-header.menu-open .nav-toggle,
.site-header--solid .nav-toggle {
  color: var(--ink);
}
.nav-toggle svg {
  width: 28px;
  height: 28px;
  margin-inline: auto;
}

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--deep-blue-dark);
  color: #fff;
  padding: calc(var(--header-h) + 1rem) clamp(1.2rem, 6vw, 3rem) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transform: translateY(-100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu::before {
  content: '';
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}
.mobile-menu a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-menu a:hover {
  color: #ff9aa0;
}
.mobile-menu .sub {
  font-size: 1rem;
  font-weight: 600;
  padding-left: 1rem;
  color: #c4d2f5;
}
.mobile-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.mobile-menu .btn {
  margin-top: 1.4rem;
  align-self: flex-start;
}

/* ---------- Header — modelo do site anterior (app) ----------
   Barra mais alta, logótipo maior, vidro desfocado ao rolar, menu em
   hover, CTA com seta e menu móvel em painel por baixo da barra. */
:root {
  --header-h: 80px;
}
@media (min-width: 768px) {
  :root {
    --header-h: 96px;
  }
}

.site-header.is-solid,
.site-header.menu-open,
.site-header--solid {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: none;
  border-bottom: 1px solid var(--line);
}
.brand svg,
.brand img {
  height: 44px;
  width: auto;
}
@media (min-width: 768px) {
  .brand svg,
  .brand img {
    height: 52px;
  }
}

.main-nav {
  gap: 0.25rem;
}
.main-nav a,
.main-nav .navlink {
  padding: 0.5rem 0.875rem;
  border-radius: 2px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover,
.main-nav .navlink:hover {
  color: #fff;
}
.site-header.is-solid .main-nav a,
.site-header.is-solid .main-nav .navlink,
.site-header.menu-open .main-nav a,
.site-header.menu-open .main-nav .navlink,
.site-header--solid .main-nav a,
.site-header--solid .main-nav .navlink {
  color: var(--ink-soft);
}
.site-header.is-solid .main-nav a:hover,
.site-header.is-solid .main-nav .navlink:hover,
.site-header--solid .main-nav a:hover,
.site-header--solid .main-nav .navlink:hover {
  color: var(--ink);
}
.main-nav a[aria-current='page'],
.site-header .main-nav a[aria-current='page'] {
  color: var(--nova-red);
}
.has-drop > .navlink svg {
  width: 16px;
  height: 16px;
}

.header-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.header-cta .btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}
.header-cta .btn:hover svg {
  transform: translate(2px, -2px);
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.site-header.is-solid .nav-toggle,
.site-header.menu-open .nav-toggle,
.site-header--solid .nav-toggle {
  border-color: var(--line);
}

.mobile-menu {
  inset: var(--header-h) 0 auto 0;
  max-height: calc(100vh - var(--header-h));
  background: #fff;
  color: var(--ink-soft);
  padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
  border-top: 1px solid var(--line);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s;
  z-index: 90;
}
.mobile-menu.open {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.mobile-menu::before,
.mobile-close {
  display: none;
}
.mobile-menu a {
  color: var(--ink-soft);
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover {
  color: var(--nova-red);
}
.mobile-menu .sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  border-bottom: 0;
  padding: 0.5rem 0 0.5rem 1rem;
  margin-left: 1rem;
}
.mobile-menu .btn {
  color: #fff;
  border-radius: 2px;
  align-self: stretch;
  justify-content: center;
  border-bottom: 0;
}

.hero .kicker {
  color: #ffb3b7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Fotografias reais: proporção fixa, sem esticar */
img.figure,
.split__media img {
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Ícones por conteúdo */
.badge svg {
  width: 16px;
  height: 16px;
}
.icon-card .ic svg {
  stroke-width: 1.8;
}

.main-nav a,
.main-nav .navlink,
.header-cta .btn {
  white-space: nowrap;
}
.main-nav {
  gap: 0.1rem;
}
.main-nav a,
.main-nav .navlink {
  padding: 0.5rem 0.7rem;
}
.site-header .container {
  gap: 1rem;
}
.main-nav .navlink svg {
  flex: none;
}
.brand {
  flex: none;
  margin-right: auto;
}
@media (max-width: 1180px) {
  .main-nav a,
  .main-nav .navlink {
    padding: 0.5rem 0.5rem;
    font-size: 0.94rem;
  }
}
@media (max-width: 1060px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
}
/* Estrutura do header: Nova Wave Energy · Produtos ▾ · Serviços ▾ · Parceiros · Sustentabilidade · Recrutamento */
.main-nav .navlink[aria-current='page'] {
  color: var(--nova-red) !important;
}
.has-drop:hover > .navlink svg,
.has-drop:focus-within > .navlink svg {
  transform: rotate(180deg);
}

/* ---------- Dropdown ---------- */
.has-drop {
  position: relative;
}
/* bridges the gap under the button so the menu stays open on the way down */
.has-drop::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.has-drop > .navlink svg {
  transition: transform 0.2s var(--ease);
}
.has-drop.open > .navlink svg {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -0.4rem;
  min-width: 270px;
  width: max-content;
  max-width: 340px;
  max-height: min(72vh, 600px);
  overflow-y: auto;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow:
    0 2px 6px rgba(16, 33, 75, 0.06),
    0 22px 48px -10px rgba(16, 33, 75, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease),
    visibility 0.18s;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown,
.has-drop.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* .site-header .main-nav prefix: the generic nav-link rules above also match these links */
.site-header .main-nav .dropdown a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.9rem 0.5rem 0.5rem;
  border-radius: 11px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
  transition:
    background-color 0.15s var(--ease),
    color 0.15s var(--ease);
}
.site-header .main-nav .dropdown a:hover,
.site-header .main-nav .dropdown a:focus-visible {
  background: var(--bg-soft);
  color: var(--deep-blue);
}
/* icon in a tinted tile that turns brand red on hover */
.dropdown a > svg {
  flex: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(216, 35, 42, 0.08);
  color: var(--nova-red);
  transition:
    background-color 0.15s var(--ease),
    color 0.15s var(--ease);
}
.dropdown a:hover > svg,
.dropdown a:focus-visible > svg {
  background: var(--nova-red);
  color: #fff;
}
.dropdown a > span {
  min-width: 0;
}
.dropdown a small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.mobile-menu .m-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}
.mobile-menu .m-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s var(--ease);
}
.mobile-menu .m-toggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.mobile-menu .m-sub {
  display: none;
  padding-bottom: 0.5rem;
}
.mobile-menu .m-group.open .m-sub {
  display: block;
}
.mobile-menu .m-sub a {
  display: block;
}
.mobile-menu .sub-all {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-blue);
}

/* Logótipos de parceiros (imagens reais) */
.logo-wall .lw img {
  max-height: 56px;
  max-width: 78%;
  width: auto;
  object-fit: contain;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  color: #fff;
  overflow: hidden;
  background: var(--deep-blue-dark);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(20, 46, 104, 0.92) 0%,
    rgba(20, 46, 104, 0.62) 45%,
    rgba(20, 46, 104, 0.25) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero__inner {
  max-width: 720px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.hero p {
  color: #dce6ff;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 60ch;
}
.hero .btn-row {
  margin-top: 1.8rem;
}

/* N-wave masked figure */
.nwave-fig {
  -webkit-clip-path: url(#nwave-clip);
  clip-path: url(#nwave-clip);
}

/* ---------- Page banner ---------- */
.page-banner {
  background: var(--deep-blue-dark);
  color: #fff;
  padding-top: calc(var(--header-h) + 2.4rem);
  padding-bottom: 2.6rem;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gradient-brand);
}
.page-banner h1 {
  color: #fff;
  margin-bottom: 0.3rem;
}
.page-banner .kicker {
  color: #ff9aa0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: #a9bceb;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.breadcrumb a {
  color: #a9bceb;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  opacity: 0.6;
}

/* ---------- Grids & cards ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid #eeeeee70;
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.card--lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.section--dark .card {
  background: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0.07);
  color: #eaf0ff;
}
.section--dark .card p {
  color: #c4d2f5;
}

/* image card (link cards on home / landing) */
.link-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.link-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.link-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.link-card:hover .link-card__media img {
  transform: scale(1.05);
}
/* products without a photo yet: brand panel with the product icon */
.link-card__media--icon {
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--deep-blue-dark) 100%
  );
  color: #fff;
}
.link-card__media--icon svg {
  width: 72px;
  height: 72px;
  opacity: 0.9;
  transition: transform 0.4s var(--ease);
}
.link-card:hover .link-card__media--icon svg {
  transform: scale(1.08);
}
.link-card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.link-card__body h3 {
  margin-bottom: 0.4rem;
}
/* gradient underline on hover */
.link-card__body h3::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin-top: 0.5rem;
  background: var(--gradient-brand);
  border-radius: 3px;
  transition: width 0.3s var(--ease);
}
.link-card:hover .link-card__body h3::after {
  width: 56px;
}

/* icon card */
.icon-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(216, 35, 42, 0.1);
  color: var(--nova-red-dark);
  margin-bottom: 1rem;
}
.icon-card .ic svg {
  width: 26px;
  height: 26px;
}
.section--dark .icon-card .ic {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.stat {
  text-align: center;
  padding: 1.4rem 1rem;
}
.stat__num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--nova-red);
  line-height: 1;
  letter-spacing: -0.03em;
}
.section--dark .stat__num {
  color: #fff;
}
.stat__label {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.section--dark .stat__label {
  color: #c4d2f5;
}

/* ---------- Rounded vertical bars collage ---------- */
.bars {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.bars .bar {
  width: clamp(46px, 8vw, 78px);
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bars .bar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bars .bar:nth-child(1) {
  height: 210px;
}
.bars .bar:nth-child(2) {
  height: 290px;
}
.bars .bar:nth-child(3) {
  height: 250px;
}
.bars .bar:nth-child(4) {
  height: 320px;
}
.bars .bar:nth-child(5) {
  height: 200px;
}

/* ---------- Media + text split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.split--reverse .split__media {
  order: 2;
}
.split__media img,
.split__media .figure {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* two landscape photos, one above the other */
.split__media--duo {
  display: grid;
  gap: 1rem;
}

/* checklist */
.checklist {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 600;
}
.checklist li::before {
  content: '';
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(216, 35, 42, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8232A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center/15px no-repeat;
}
.section--dark .checklist li::before {
  background-color: rgba(255, 255, 255, 0.16);
}

/* values strip */
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.value h3 {
  font-size: 1.1rem;
  color: var(--nova-red-dark);
}
.value p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Logo wall ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  border: 1px solid #eeeeee90;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-wall .lw {
  background: #fff;
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #9aa6bd;
  transition: color 0.2s var(--ease);
  text-align: center;
  border: 1px solid #eeeeee90;
}
.logo-wall .lw:hover {
  color: var(--deep-blue);
}
/* regulators: a list, with taller cells because these logos carry small print */
.logo-wall--regulators {
  list-style: none;
  margin: 0;
  padding: 0;
}
.logo-wall--regulators .lw {
  min-height: 150px;
}
.logo-wall--regulators .lw img {
  max-height: 104px;
}

/* ---------- Quote band ---------- */
.quote-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.quote-band blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.quote-band blockquote::before {
  content: '\201C';
  color: var(--nova-red);
  font-size: 1.2em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.05em;
}
.section--dark .quote-band blockquote {
  color: #fff;
}

/* leadership quote */
.pull-quote {
  border-left: 4px solid;
  border-image: var(--gradient-brand) 1;
  padding: 0.5rem 0 0.5rem 1.6rem;
}
.pull-quote blockquote {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--deep-blue);
  margin: 0 0 1rem;
}
.pull-quote blockquote:last-child {
  margin-bottom: 0;
}
.pull-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-align: center;
  /* border: 1px solid #eeeeee90; */
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: inherit;
  /* background: var(--gradient-brand);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; */
  mask-composite: exclude;
  pointer-events: none;
}
.cta-banner h2 {
  margin-bottom: 0.6rem;
}
.cta-banner .btn-row {
  justify-content: center;
  margin-top: 1.4rem;
}

/* contact strip */
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.contact-strip .info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-weight: 600;
}
.contact-strip a {
  color: inherit;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 1.1rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}
.field .req {
  color: var(--nova-red-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.17s var(--ease),
    box-shadow 0.17s var(--ease);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(27, 62, 140, 0.15);
}
.field-hide {
  position: absolute;
  left: -9999px;
}
.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* office card */
.office-card {
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.office-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.office-card__map {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  border-top: 1px solid var(--line);
}
.office-card__body {
  padding: 1.5rem;
}
.office-card__body ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.office-card__body li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-weight: 600;
}
.office-card__body li svg {
  width: 18px;
  height: 18px;
  color: var(--nova-red-dark);
  flex: none;
  margin-top: 3px;
}
.office-card__body a {
  color: var(--deep-blue);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-blue-dark);
  color: #c4d2f5;
  border-top: 4px solid transparent;
  border-image: var(--gradient-brand) 1;
  padding-block: clamp(3rem, 5vw, 4rem) 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.site-footer a {
  color: #c4d2f5;
  font-weight: 500;
}
.site-footer a:hover {
  color: #fff;
}
.footer-brand img,
.footer-brand svg {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: #a9bceb;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}
.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  color: #c4d2f5;
  font-weight: 500;
}
.footer-contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  color: #ff9aa0;
}
/* regulators: dark-on-white artwork, so each logo sits on a white tile */
.footer-regulators {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .footer-regulators__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.footer-regulators__list li {
  display: grid;
  place-items: center;
  width: 150px;
  height: 84px;
  padding: 0.6rem 0.9rem;
  background: #fff;
  border-radius: 12px;
}
.footer-regulators__list img {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 560px) {
  .site-footer .footer-regulators__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-regulators__list li {
    width: auto;
  }
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #a9bceb;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
}
.footer-bottom a {
  color: #a9bceb;
}
.social {
  display: inline-flex;
  gap: 0.5rem;
}
.social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
}
.social a:hover {
  background: var(--nova-red);
}
.social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Simple centred (404 / obrigado) ---------- */
.simple-page {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem 1.2rem;
}
.simple-page .badge-big {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  color: var(--nova-red);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .split,
  .grid-3,
  .quote-band,
  .contact-strip {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .quote-band {
    text-align: center;
  }
  .bars {
    order: -1;
  }
}
@media (max-width: 560px) {
  .grid-2,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .stats,
  .values,
  .logo-wall {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn,
  .card,
  .link-card__media img {
    transition: none !important;
  }
  .btn:hover,
  .card--lift:hover {
    transform: none !important;
  }
}

/* ---------- Recrutamento (layout do site anterior) ---------- */
.page-banner--photo {
  background: var(--deep-blue-dark);
  padding-bottom: 3.4rem;
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.06);
}
.page-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 46, 104, 0.94) 0%,
    rgba(20, 46, 104, 0.78) 55%,
    rgba(20, 46, 104, 0.55) 100%
  );
}
.page-banner--photo .container {
  position: relative;
  z-index: 1;
}
.page-banner--photo .breadcrumb {
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}
.page-banner--photo .lead {
  color: #e4ecff;
  max-width: 58ch;
  margin-top: 0.8rem;
}

.recruit-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.recruit-grid aside img.figure {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.6rem;
}
.recruit-grid aside h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.recruit-grid aside .lead {
  font-size: 1.02rem;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
  color: var(--ink-soft);
}
.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.check-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--nova-red);
}
.recruit-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  gap: 1.2rem;
}
.recruit-form .field label,
.recruit-form .field .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.recruit-form .field input,
.recruit-form .field textarea {
  border-radius: 3px;
  border-width: 1px;
  font-size: 0.95rem;
}
.file-pick {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  border: 1px dashed var(--line);
  border-radius: 3px;
  background: var(--bg-soft);
  padding: 0.9rem 1rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: var(--ink-soft) !important;
  margin-bottom: 0 !important;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.file-pick:hover {
  border-color: var(--deep-blue);
  background: #fff;
}
.file-pick__name {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.file-pick__name svg {
  width: 18px;
  height: 18px;
  color: var(--deep-blue);
  flex: none;
}
.file-pick__name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-pick__btn {
  background: var(--deep-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
}
.file-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.file-pick:focus-within {
  outline: 3px solid rgba(27, 62, 140, 0.25);
  outline-offset: 2px;
}
.file-error {
  color: var(--nova-red-dark);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
}
.btn--block {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 3px;
  padding-block: 1rem;
}
@media (max-width: 860px) {
  .recruit-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Página Parceiros ---------- */
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem clamp(2rem, 5vw, 4rem);
}
.partner {
  width: 9rem;
  margin: 0;
  text-align: center;
}
.partner__logo {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner__logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.partner figcaption {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .partner {
    width: 7.5rem;
  }
}
