/* ==========================================================================
   Four Med (site-v2) — Clean, Concise & Animated Institutional Stylesheet
   --------------------------------------------------------------------------
   Palette: Official brand tokens from Four.md
   ========================================================================== */

:root {
  --navy: #164154;
  --cyan: #4DBCCD;
  --teal: #2CA5B6;
  --teal-deep: #347C94;
  --ice: #F3F9FD;
  --mist: #C3DBE5;
  --white: #FFFFFF;

  --text: var(--navy);
  --muted: rgba(22, 65, 84, 0.72);
  --muted-light: rgba(22, 65, 84, 0.54);
  --line-subtle: rgba(195, 219, 229, 0.65);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Exo 2', 'Outfit', sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-xs: 0 2px 6px rgba(22, 65, 84, 0.05);
  --shadow-sm: 0 8px 22px -6px rgba(22, 65, 84, 0.08);
  --shadow: 0 18px 44px -10px rgba(22, 65, 84, 0.14);
  --shadow-lg: 0 30px 68px -12px rgba(22, 65, 84, 0.22);
  --gutter: clamp(18px, 4vw, 36px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.58;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

/* Barra de rolagem da página (só em computador com mouse): fina, em navy,
   invisível por padrão e exibida quando o mouse chega perto dela
   (classe .barra-visivel aplicada pelo js/main.js) */
@media (hover: hover) and (pointer: fine) {
  html {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }
  html.barra-visivel {
    scrollbar-color: var(--navy) transparent;
  }
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
}
h3, h4 {
  font-family: var(--font-title);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Buttons & Shimmer Animation ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(22, 65, 84, 0.35);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 100%);
  box-shadow: 0 14px 30px -6px rgba(44, 165, 182, 0.45);
}

.btn--shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%, 65% { left: -120%; }
  100% { left: 160%; }
}

.btn--outline-navy {
  background: var(--white);
  color: var(--navy);
  border-color: var(--mist);
}
.btn--outline-navy:hover {
  border-color: var(--teal);
  background: var(--ice);
  color: var(--teal-deep);
}

.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  background: var(--ice);
  color: var(--muted);
  border-color: var(--mist);
}
.btn.is-disabled:hover { transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--teal-deep);
  text-decoration: none;
}
.link-arrow .ico { transition: transform 0.22s var(--ease); }
.link-arrow:hover { color: var(--navy); }
.link-arrow:hover .ico { transform: translateX(5px); }

.soon {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ice);
  border: 1px solid var(--mist);
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Interactive 3D Tilt & Cursor Glow ---------- */
.js-tilt {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.js-tilt::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 188, 205, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.js-tilt:hover::after { opacity: 1; }

/* ---------- Section Headers ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-deep);
}
.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--teal);
}
.kicker--light { color: var(--cyan); }
.kicker--light::before { background: var(--cyan); }

.head { margin-bottom: clamp(32px, 4.5vw, 48px); }
.head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
}
.head p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 560px;
}
.head--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.head--center .kicker { justify-content: center; }
.head--center p { margin: 12px auto 0; }
.head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section {
  padding: clamp(64px, 7.5vw, 100px) 0;
  position: relative;
}
.section--ice {
  background: var(--ice);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}
.section--navy {
  background: linear-gradient(145deg, var(--navy) 0%, #103242 60%, var(--teal-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.section--navy h2,
.section--navy h3 { color: var(--white); }
.hl {
  color: var(--cyan);
}
.hl-grad {
  background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal) 50%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 6s ease infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ice);
  border: 1px solid var(--mist);
  color: var(--teal-deep);
  font-size: 1.3rem;
}
.icon-badge--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--cyan);
}

/* ==========================================================================
   CORPORATE HEADER & LANGUAGE SWITCHER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
}
.utility {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  max-height: 38px;
  overflow: hidden;
  transition: max-height 0.28s var(--ease);
}
.header.is-scrolled .utility { max-height: 0; }
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 38px;
}
.utility__left,
.utility__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.utility__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.utility__item .ico { color: var(--cyan); }
.utility__item--loc { display: none; }
.utility__sep { color: rgba(255, 255, 255, 0.22); }
.utility__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
}
.utility__link .ico { color: var(--cyan); }
@media (min-width: 900px) {
  .utility__item--loc { display: inline-flex; }
}

.mainbar {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  border-bottom: 1px solid var(--mist);
  transition: box-shadow 0.25s var(--ease);
}
.header.is-scrolled .mainbar {
  box-shadow: 0 10px 30px -10px rgba(22, 65, 84, 0.12);
}
.mainbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand__mark {
  width: 42px;
  height: auto;
  transition: transform 0.35s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 800;
  font-size: 1.62rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand__text small {
  font-family: var(--font-logo);
  font-style: italic;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  margin-top: 3px;
}
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text small { color: var(--mist); }

.mainbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: var(--ice);
  border: 1.5px solid var(--mist);
  box-shadow: var(--shadow-xs);
}
.lang-switch__globe {
  color: var(--teal-deep);
  margin: 0 5px 0 6px;
  font-size: 1rem;
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 7px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s;
}
.lang__btn:hover {
  background: rgba(44, 165, 182, 0.14);
  color: var(--teal-deep);
}
.lang__btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 6px rgba(22, 65, 84, 0.22);
}

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px var(--gutter) 26px;
  background: var(--white);
  border-top: 1px solid var(--mist);
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 24px 48px rgba(22, 65, 84, 0.16);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav > a {
  padding: 13px 6px;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  border-bottom: 1px solid var(--ice);
}
.nav > a.is-active { color: var(--teal-deep); }

.nav__mobile-tools {
  margin-top: 16px;
  padding-top: 14px;
  display: grid;
  gap: 12px;
}
.nav__lang-label {
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.lang-switch--mobile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
}
.lang-switch--mobile .lang__btn {
  padding: 9px 8px;
  flex-direction: column;
  gap: 2px;
}
.lang-switch--mobile .lang__code { font-size: 0.85rem; }
.lang-switch--mobile .lang__name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.mainbar__cta { display: none; }
.burger {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--mist);
  border-radius: 10px;
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  width: 19px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Celular: cabeçalho compacto para logo + idiomas + menu caberem sem rolagem lateral */
@media (max-width: 479px) {
  .mainbar__inner { gap: 10px; }
  .mainbar__actions { gap: 8px; }
  .brand { gap: 8px; }
  .brand__mark { width: 34px; }
  .brand__text strong { font-size: 1.36rem; }
  .brand__text small { font-size: 0.54rem; }
  .mainbar__actions .lang-switch { padding: 3px; }
  .mainbar__actions .lang-switch__globe { display: none; }
  .mainbar__actions .lang__btn { padding: 5px 7px; font-size: 0.76rem; }
  .burger { width: 42px; height: 42px; }
}
/* Telas muito estreitas: idioma fica só dentro do menu (que já tem PT/EN/ES) */
@media (max-width: 369px) {
  .mainbar__actions > .lang-switch { display: none; }
}

/* Menu horizontal só a partir de 1280px: abaixo disso logo + menu + idiomas + botão
   não cabem (o menu completo precisa de ~1300px) e o menu ☰ assume */
@media (min-width: 1280px) {
  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    margin-left: 24px;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav > a {
    position: relative;
    padding: 8px 12px;
    border: 0;
    font-size: 0.94rem;
    color: var(--navy);
    white-space: nowrap;
  }
  .nav > a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s var(--ease);
  }
  .nav > a:hover::after,
  .nav > a.is-active::after { transform: scaleX(1); }
  .nav > a:hover,
  .nav > a.is-active { color: var(--teal-deep); }
  .nav__mobile-tools { display: none; }
  .mainbar__cta { display: inline-flex; }
  .burger { display: none; }
}
/* Notebooks (1280–1599px): cabeçalho completo, porém mais compacto
   (em espanhol, com textos mais longos, o tamanho normal só cabe a partir de ~1500px) */
@media (min-width: 1280px) and (max-width: 1599px) {
  .mainbar__inner { gap: 12px; }
  .nav { margin-left: 12px; }
  .nav > a { padding: 8px 9px; font-size: 0.9rem; }
  .nav > a::after { left: 9px; right: 9px; }
  .mainbar__actions { gap: 8px; }
  .mainbar__actions .lang-switch__globe { display: none; }
  .mainbar__cta { padding-left: 18px; padding-right: 18px; }
}

/* ==========================================================================
   HERO SECTION (Animated Waves, Orbs & Interactive Showcase)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--ice) 100%);
  border-bottom: 1px solid var(--mist);
}
.hero__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.45;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: 440px;
  height: 440px;
  background: rgba(77, 188, 205, 0.35);
  top: -140px;
  right: -80px;
}
.hero__orb--2 {
  width: 340px;
  height: 340px;
  background: rgba(44, 165, 182, 0.22);
  bottom: 40px;
  left: -100px;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-28px, 24px) scale(1.08); }
}

.hero__ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave-path--1 { animation: waveDrift 9s ease-in-out infinite alternate; transform-origin: center; }
.wave-path--2 { animation: waveDrift 12s ease-in-out infinite alternate-reverse; transform-origin: center; }
@keyframes waveDrift {
  0% { transform: translateY(0) scaleY(1); }
  100% { transform: translateY(-14px) scaleY(1.04); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-xs);
}
.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(44, 165, 182, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(44, 165, 182, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(44, 165, 182, 0); }
}
.hero__eyebrow-pill {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
}
.hero__eyebrow-year {
  padding-left: 8px;
  border-left: 1px solid var(--mist);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
}

.hero__title {
  margin: 20px 0 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  line-height: 1.02;
}
.hero__lead {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 490px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.hero__values li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero__values .ico {
  color: var(--teal);
  stroke-width: 2.5;
}

/* Clean Full-Bleed Curved Brand Panel on the Right (No boxes/cards) */
.hero__panel {
  position: relative;
  height: 290px;
  overflow: hidden;
  /* Cor única (navy), sem degradê */
  background: var(--navy);
  border-top-left-radius: 110px 70px;
}
/* Cruz parada, sem brilho: cores sólidas (ciano + branco) */
.hero__cross {
  position: absolute;
  width: min(44%, 210px);
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  fill: none;
  stroke-width: 18;
}
.hero__cross--ghost {
  width: 130%;
  max-width: none;
  left: auto;
  right: -45%;
  top: auto;
  bottom: -40%;
  transform: none;
  stroke: var(--white);
  stroke-width: 8;
  opacity: 0.06;
  filter: none;
  animation: none;
}
/* Ondas claras removidas para o painel ficar em uma única cor */
.hero__waves { display: none; }

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 84px;
  }
  .hero__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 92px;
    width: 45%;
    height: auto;
    border-top-left-radius: 260px 100%;
  }
  .hero__cross {
    width: 52%;
    max-width: 360px;
    left: 55%;
    top: 46%;
  }
}

/* Telas menores que 1024px: o painel não cabe ao lado do título, então vira o fundo
   da área do título (atrás dele) e o texto passa para cores claras, legíveis sobre o navy */
@media (max-width: 1023px) {
  .hero__panel {
    position: absolute;
    inset: 0;
    height: auto;
    border-top-left-radius: 0;
    z-index: 0;
  }
  .hero__cross {
    width: min(48%, 250px);
    left: 80%;
    top: 30%;
    opacity: 0.55;
  }
  .hero__grid { z-index: 1; }

  .hero__title { color: var(--white); }
  .hero__title .hl-grad {
    background-image: linear-gradient(100deg, var(--cyan) 0%, var(--mist) 50%, var(--cyan) 100%);
  }
  .hero__lead { color: rgba(255, 255, 255, 0.86); }
  .hero__values { color: var(--white); }
  .hero__values .ico { color: var(--cyan); }

  /* Botões: principal branco (destaque sobre o fundo escuro) e secundário com contorno claro */
  .hero__ctas .btn--primary {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35);
  }
  .hero__ctas .btn--primary:hover {
    background: var(--ice);
    color: var(--teal-deep);
  }
  .hero__ctas .btn--outline-navy {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
  }
  .hero__ctas .btn--outline-navy:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
  }
}

/* ---------- Animated Impact Metrics Strip ---------- */
.metrics-bar {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-top: 1px solid var(--mist);
}
.metrics-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.metric {
  padding: 24px 20px;
  border-bottom: 1px solid var(--line-subtle);
  border-right: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric:nth-child(2n) { border-right: 0; }
.metric__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.2vw, 3.3rem);
  line-height: 1;
  color: var(--navy);
}
.metric__value em {
  font-style: normal;
  color: var(--teal);
  margin-left: 2px;
}
.metric__title {
  font-family: var(--font-title);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--muted);
}
.metric__bar {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.25s;
}
.metric.is-visible .metric__bar { transform: scaleX(1); }

@media (min-width: 900px) {
  .metrics-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .metric { border-bottom: 0; border-right: 1px solid var(--mist); }
  .metric:nth-child(2n) { border-right: 1px solid var(--mist); }
  .metric:last-child { border-right: 0; }
}

/* ==========================================================================
   SOLUTIONS & WHO WE SERVE (Concise & Visual Cards)
   ========================================================================== */
.solutions {
  display: grid;
  gap: 22px;
}
.sol {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.sol:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.sol__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sol__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ice);
  border: 1px solid var(--mist);
  color: var(--teal-deep);
  font-size: 1.45rem;
  transition: background 0.28s, color 0.28s, transform 0.28s var(--ease);
}
.sol:hover .sol__icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cyan);
  transform: scale(1.08) rotate(-4deg);
}
.sol__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--mist);
}
.sol h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sol p {
  color: var(--muted);
  font-size: 0.96rem;
}
@media (min-width: 860px) {
  .solutions { grid-template-columns: repeat(3, 1fr); }
}

/* Who We Serve */
.serve__grid {
  display: grid;
  gap: 18px;
}
.aud {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  text-decoration: none;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.aud::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.aud:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.aud:hover::before { transform: scaleX(1); }
.aud__icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--ice);
  border: 1px solid var(--mist);
  color: var(--teal-deep);
  font-size: 1.4rem;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.aud:hover .aud__icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cyan);
  transform: scale(1.06);
}
.aud h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
}
.aud p {
  color: var(--muted);
  font-size: 0.93rem;
  flex: 1;
}
.aud__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 0.9rem;
}
.aud__more .ico { transition: transform 0.2s var(--ease); }
.aud:hover .aud__more .ico { transform: translateX(4px); }

@media (min-width: 640px) { .serve__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .serve__grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   WHY FOUR MED (3 Clean Visual Cards)
   ========================================================================== */
.why-cards {
  display: grid;
  gap: 22px;
}
.why-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.why-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ice);
  border: 1px solid var(--mist);
  color: var(--teal-deep);
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.why-card__icon--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--cyan);
}
.why-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--muted);
  font-size: 0.96rem;
}
.why-card--accent {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  border-color: var(--navy);
  color: var(--white);
}
.why-card--accent h3 { color: var(--white); }
.why-card--accent p { color: rgba(255, 255, 255, 0.88); }
.why-card__mark {
  position: absolute;
  width: 200px;
  right: -35px;
  bottom: -45px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
  pointer-events: none;
}
@media (min-width: 860px) {
  .why-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   NATIONAL COVERAGE — ANIMATED LOGISTICS RADAR & NETWORK MAP OF BRAZIL
   ========================================================================== */
.coverage {
  display: grid;
  gap: 40px;
  align-items: center;
}
/* min-width: 0 — o nome do estado no painel (sem quebra de linha) não pode alargar a coluna */
.coverage__text,
.coverage__map-wrap,
.map-status {
  min-width: 0;
}
.coverage__text h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.coverage__text > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  max-width: 480px;
}

.map-status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(77, 188, 205, 0.35);
  backdrop-filter: blur(8px);
}
.map-status__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(77, 188, 205, 0.22);
  animation: dotPulse 2s infinite;
  flex: none;
}
/* Altura fixa: o texto muda ao passar o mouse nos estados/chips, mas o painel não pode
   crescer nem encolher — senão os botões abaixo pulam e o hover fica oscilando */
.map-status__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.map-status__body strong {
  font-family: var(--font-title);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-status__body span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--mist);
  height: 2.8em;               /* sempre 2 linhas */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* Interactive Region Filter Tabs */
.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.region-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.region-tab small {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
}
.region-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.region-tab.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
  box-shadow: 0 6px 18px -4px rgba(77, 188, 205, 0.55);
}
.region-tab.is-active small {
  background: rgba(22, 65, 84, 0.16);
  color: var(--navy);
}

/* State Chips Grid */
.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.uf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, opacity 0.25s;
}
.uf-chip b {
  color: var(--cyan);
  font-weight: 800;
}
.uf-chip:hover,
.uf-chip.is-hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
  transform: translateY(-2px);
}
.uf-chip:hover b,
.uf-chip.is-hover b { color: var(--navy); }
/* Filtro por região: chips de outras regiões não aparecem */
.uf-chip.is-out { display: none; }

/* Mapa das Américas com os 27 estados do Brasil */
.map-card {
  position: relative;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 55% 55%, rgba(44, 165, 182, 0.16), rgba(14, 42, 56, 0.82) 72%);
  border: 1px solid rgba(77, 188, 205, 0.26);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}
.map-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.map-card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.map-card__badge {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(44, 165, 182, 0.22);
  border: 1px solid rgba(77, 188, 205, 0.55);
  font-family: var(--font-title);
  font-size: 0.78rem;
  color: var(--white);
}
.map-card__badge strong { color: var(--cyan); }

#map {
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto;
  display: block;
  overflow: visible;
}

/* Demais países das Américas — tom neutro, só para dar contexto */
.map-countries .country {
  fill: rgba(195, 219, 229, 0.045);
  stroke: rgba(195, 219, 229, 0.26);
  stroke-width: 0.6px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.br-states {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.uf-state {
  cursor: pointer;
  stroke: #0E2A38;
  stroke-width: 0.8px;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
  outline: none;
  transition: fill 0.35s var(--ease), opacity 0.3s var(--ease), stroke 0.25s, stroke-width 0.25s;
}

/* Estados não atendidos (10 UFs) — cinza-azulado sutil para manter o mapa completo do Brasil */
.uf-state--off {
  fill: rgba(255, 255, 255, 0.09);
}
.uf-state--off:hover,
.uf-state--off.is-hover {
  fill: rgba(195, 219, 229, 0.24);
  stroke: rgba(255, 255, 255, 0.55);
}

/* Estados atendidos pela Four Med (17 UFs) — ascendem suavemente ao entrar na tela */
.uf-state--on {
  fill: rgba(44, 165, 182, 0.25);
}
#map.is-in .uf-state--on {
  fill: var(--teal);
}
#map.is-in .uf-state--on:nth-child(4n+1) { transition-delay: 0.05s; }
#map.is-in .uf-state--on:nth-child(4n+2) { transition-delay: 0.12s; }
#map.is-in .uf-state--on:nth-child(4n+3) { transition-delay: 0.19s; }
#map.is-in .uf-state--on:nth-child(4n+4) { transition-delay: 0.26s; }

/* Estado Sede (São Paulo — SP) */
#map.is-in .uf-state--hq {
  fill: var(--cyan);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.1px;
}

/* Hover / Seleção de estado atendido */
#map.is-in .uf-state--on:hover,
#map.is-in .uf-state--on.is-hover {
  fill: var(--cyan);
  stroke: var(--white);
  stroke-width: 1.4px;
  transition-delay: 0s !important;
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(77, 188, 205, 0.55));
}

/* Filtro por Região: estados de outras regiões somem no fundo neutro, como os demais países */
#map .uf-state.is-out,
#map.is-in .uf-state.is-out {
  fill: rgba(195, 219, 229, 0.045);
  stroke: rgba(195, 219, 229, 0.26);
  stroke-width: 0.6px;
  filter: none;
  cursor: default;
  transition-delay: 0s !important;
}

/* Marcador da Sede em São Caetano do Sul (SP) — o único ponto clicável do mapa */
.hq-marker {
  pointer-events: none;
}
.hq-marker--link {
  cursor: pointer;
  outline: none;
}
/* Só o ponto e a etiqueta recebem o clique (o anel pulsante não cobre os estados vizinhos) */
.hq-marker--link .hq-marker__dot,
.hq-marker--link .hq-marker__box,
.hq-marker--link text {
  pointer-events: auto;
}
.hq-marker--link .hq-marker__box,
.hq-marker--link .hq-marker__dot {
  transition: fill 0.2s, stroke 0.2s;
}
.hq-marker--link:hover .hq-marker__box,
.hq-marker--link:focus-visible .hq-marker__box {
  fill: var(--teal-deep);
  stroke: var(--white);
}
.hq-marker--link:focus-visible .hq-marker__box {
  stroke-width: 2;
}
.hq-marker__pulse {
  fill: rgba(255, 255, 255, 0.28);
  stroke: var(--white);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: hqPing 2.4s ease-out infinite;
}
.hq-marker__dot {
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 2;
}
/* Etiqueta "Four Med · São Caetano do Sul" ligada ao ponto da sede */
.hq-marker__line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.2;
}
.hq-marker__box {
  fill: var(--navy);
  stroke: var(--cyan);
  stroke-width: 1.2;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.hq-marker__name {
  fill: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 12.5px;
}
.hq-marker__city {
  fill: var(--mist);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
}
@keyframes hqPing {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}

/* Pílula flutuante no estado sob o cursor */
.map-hover-pill {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}
.map-hover-pill.is-active {
  opacity: 1;
}
.map-hover-pill rect {
  fill: var(--navy);
  stroke: var(--cyan);
  stroke-width: 1.6;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.map-hover-pill text {
  fill: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 12px;
  text-anchor: middle;
  dominant-baseline: central;
}

.map-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}
.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(195, 219, 229, 0.35);
}
.dot--on {
  background: var(--teal);
  border-color: rgba(255, 255, 255, 0.5);
}
.dot--hq {
  background: var(--cyan);
  border: 1.5px solid var(--white);
}
.dot--country {
  background: rgba(195, 219, 229, 0.045);
  border: 1px solid rgba(195, 219, 229, 0.3);
}

@media (min-width: 960px) {
  .coverage {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }
}

/* ==========================================================================
   ABOUT, ANIMATED HORIZONTAL TIMELINE & MVV
   ========================================================================== */
.htl {
  position: relative;
  display: grid;
  gap: 20px;
  margin: 40px 0 48px;
}
.htl__step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--ice);
  border: 1px solid var(--mist);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.htl__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.htl__node {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  margin-bottom: 10px;
  box-shadow: 0 0 0 4px rgba(44, 165, 182, 0.16);
}
.htl__year {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.htl__step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.htl__step p {
  font-size: 0.92rem;
  color: var(--muted);
}
.htl__step--hl {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-deep) 100%);
  border-color: var(--navy);
  color: var(--white);
}
.htl__step--hl h3 { color: var(--white); }
.htl__step--hl p { color: rgba(255, 255, 255, 0.85); }
.htl__step--hl .htl__year { color: var(--cyan); }
.htl__step--hl .htl__node {
  background: var(--cyan);
  border-color: var(--white);
  animation: dotPulse 2s infinite;
}

@media (min-width: 860px) {
  .htl {
    grid-template-columns: repeat(3, 1fr);
    padding-top: 28px;
  }
  .htl::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 16%;
    right: 16%;
    height: 3px;
    background: linear-gradient(90deg, var(--mist), var(--teal), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s var(--ease);
  }
  .htl.is-visible::before { transform: scaleX(1); }
  .htl__node {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.mvv {
  display: grid;
  gap: 20px;
}
.mvv__card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.mvv__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.mvv__card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 16px 0 8px;
}
.mvv__card p {
  color: var(--muted);
  font-size: 0.94rem;
}
.mvv__card--dark {
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy) 0%, var(--teal-deep) 100%);
  border-color: var(--navy);
  color: var(--white);
}
.mvv__card--dark h3 { color: var(--white); }
.mvv__watermark {
  position: absolute;
  width: 190px;
  right: -30px;
  bottom: -40px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 10;
  pointer-events: none;
}
.mvv__values {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.mvv__values li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.96rem;
}
.mvv__values .ico { color: var(--cyan); }
@media (min-width: 880px) {
  .mvv { grid-template-columns: repeat(3, 1fr); }
}

/* Compact Next Decade Commitments Strip */
.ahead-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  background: var(--ice);
  border: 1px solid var(--mist);
}
.ahead-strip__label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
}
.ahead-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ahead-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--mist);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  transition: border-color 0.2s, transform 0.2s;
}
.ahead-pill:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.ahead-pill .ico { color: var(--teal-deep); }

/* ==========================================================================
   LEADERSHIP, GROUP & PARTNERS MARQUEE
   ========================================================================== */
.leaders {
  display: grid;
  gap: 22px;
}
.leader {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.leader:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.leader__top {
  display: flex;
  align-items: center;
  gap: 16px;
}
.leader__avatar {
  width: 76px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ice);
  border: 2px solid var(--mist);
  flex: none;
}
.leader__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.4s var(--ease);
}
.leader:hover .leader__avatar img { transform: scale(1.06); }
.leader__identity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.leader__badge {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
}
.leader__identity h3 {
  font-size: 1.4rem;
  font-weight: 700;
}
.leader__Alma {
  font-size: 0.78rem;
  color: var(--muted-light);
}
.leader > p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-subtle);
}
.tags li {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ice);
  border: 1px solid var(--mist);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy);
}
@media (min-width: 900px) {
  .leaders { grid-template-columns: repeat(3, 1fr); }
}

/* Faixa de indústrias parceiras (abaixo dos sócios) */
.group-bar {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--mist);
}

.partners__label {
  display: block;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.marquee {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: corre 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.pill {
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--mist);
  background: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.pill:hover {
  border-color: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
}
@keyframes corre { to { transform: translateX(calc(-50% - 6px)); } }

/* ==========================================================================
   CONTACT BY DEPARTMENT
   ========================================================================== */
.contact-switchboard {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ice);
  border: 1px solid var(--mist);
}
.contact-switchboard span {
  font-size: 0.88rem;
  color: var(--muted);
}
.contact-switchboard__tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  text-decoration: none;
}
.contact-switchboard__tel .ico { color: var(--teal-deep); }

.contacts {
  display: grid;
  gap: 20px;
}
.dept {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mist);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s var(--ease), border-color 0.28s, transform 0.28s var(--ease);
}
.dept:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.dept h3 {
  font-size: 1.38rem;
  font-weight: 700;
  margin: 16px 0 4px;
}
.dept > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.dept__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.9rem;
}
.dept__line > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.dept__line a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  text-align: right;
}
.dept__actions {
  margin-top: auto;
  padding-top: 16px;
}
@media (min-width: 860px) {
  /* minmax(0, 1fr): textos longos (ex.: espanhol) quebram linha em vez de alargar a coluna */
  .contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dept .btn { white-space: normal; text-align: center; }
}

/* ==========================================================================
   CORPORATE FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
  padding: clamp(52px, 6.5vw, 72px) 0 0;
  border-top: 4px solid var(--teal);
}
.footer__grid {
  display: grid;
  gap: 32px;
}
.footer__brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 300px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer__col h4 {
  color: var(--white);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}
.footer__col a {
  text-decoration: none;
  font-size: 0.9rem;
  width: fit-content;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--cyan); }
.footer__line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}
.footer__line .ico {
  color: var(--cyan);
  margin-top: 4px;
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__lang-label {
  font-size: 0.78rem;
  color: var(--mist);
}
.footer__lang-btns {
  display: inline-flex;
  gap: 4px;
}
.footer__lang-btns .lang__btn {
  color: rgba(255, 255, 255, 0.78);
  padding: 4px 9px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.footer__lang-btns .lang__btn[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}

.footer__map iframe {
  width: 100%;
  height: 185px;
  border: 0;
  border-radius: 14px;
  filter: grayscale(0.25);
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a,
.socials span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s;
}
.socials a:hover {
  background: var(--cyan);
  color: var(--navy);
}
.socials .is-soon { opacity: 0.45; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding: 20px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}
.to-top {
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--cyan);
}

@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .footer__grid { grid-template-columns: 1.25fr 0.8fr 0.9fr 1.15fr 1.35fr; }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .uf-node, .route-group { opacity: 1; transform: none; }
}
