:root {
  --primary: #093882;
  --primary-dark: #072d68;
  --primary-soft: #edf3ff;
  --accent: #b6284c;
  --accent-dark: #931f3e;
  --ink: #18304f;
  --muted: #526985;
  --line: rgba(9, 56, 130, 0.14);
  --soft: #edf3ff;
  --white: #fff;
  --shadow: 0 18px 45px rgba(9, 56, 130, 0.14);
  --radius: 8px;
  --font-display: "Source Sans Pro", Arial, sans-serif;
  --font-body: "Source Sans Pro", Arial, sans-serif;
}

@font-face {
  font-family: "WasprathoengNP";
  src: local("WasprathoengNP"), local("Wasprathoeng NP");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

body.menu-open {
  overflow: hidden;
}

body.preloading {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(9, 56, 130, 0.78) 0%, rgba(9, 56, 130, 0.5) 56%, rgba(182, 40, 76, 0.64) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.site-preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 30%),
    rgba(9, 56, 130, 0.16);
  pointer-events: none;
}

.preloader-tint {
  position: absolute;
  inset: 0;
  background: rgba(237, 243, 255, 0.18);
  backdrop-filter: blur(3px);
}

.preloader-image {
  position: relative;
  z-index: 1;
  width: min(680px, 44vw);
  height: auto;
  clip-path: inset(0 0 8% 0);
  filter: drop-shadow(0 20px 34px rgba(9, 56, 130, 0.28));
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(9, 56, 130, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 0.2em 1.2em rgba(9, 56, 130, 0.12);
}

.header-content {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
}

.logo-image {
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav > li > a,
.submenu-parent-control > a {
  display: block;
  padding-block: 26px;
}

.nav a:hover,
.nav .current > a,
.nav .active > a,
.nav .current .submenu-parent-control > a,
.nav .active .submenu-parent-control > a {
  color: var(--accent);
}

.nav-item {
  position: relative;
}

.submenu-parent-control {
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: grid;
  width: 26px;
  height: 42px;
  margin-left: 2px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-item.is-open .nav-chevron,
.submenu-toggle[aria-expanded="true"] .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

.sub {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  z-index: 10;
  width: max-content;
  min-width: 230px;
  max-width: 290px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.sub a {
  display: block;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 2px);
  white-space: nowrap;
}

.sub a:hover,
.sub a:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-item.is-open .sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (min-width: 901px) {
  .nav-item:hover .sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.header .nav > li.item-295.link-botao > a,
.header .nav > li.item-295.link-botao:hover > a,
.header .nav > li.item-295.link-botao > a:focus-visible {
  background: #0c2b4b !important;
  color: #fff !important;
  border: 1px solid #0c2b4b !important;
  border-radius: 40px !important;
  padding: 10px 20px;
  text-decoration: none !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  place-items: center;
  gap: 4px;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  font: 700 0.95rem/1 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(9, 56, 130, 0.18);
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-secondary {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-accent {
  color: var(--white);
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-light {
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.86);
}

.btn-light:hover {
  color: var(--primary);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 76px;
  overflow: hidden;
  color: var(--white);
}

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

.hero-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(115deg, rgba(9, 56, 130, 0.88) 12%, rgba(9, 56, 130, 0.5) 58%, rgba(182, 40, 76, 0.62) 100%);
}

.sound-toggle {
  position: absolute;
  left: calc(50% + 42px);
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(9, 56, 130, 0.46);
  font: 700 0.88rem/1 var(--font-body);
  letter-spacing: 0.025em;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sound-toggle:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(182, 40, 76, 0.72);
  transform: translateY(-1px);
}

.sound-toggle-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 1rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 44px;
  place-items: start center;
  padding-top: 9px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 5px;
  height: 9px;
  border-radius: 999px;
  background: var(--white);
  animation: scroll-dot 1.5s infinite;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-block: 80px;
}

.hero-main {
  display: grid;
  grid-template-areas: "copy anniversary";
  grid-template-columns: minmax(0, 720px) minmax(210px, 1fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  grid-area: copy;
  max-width: 720px;
}

.hero-content h2 {
  color: var(--white);
}

.anniversary-mark {
  grid-area: anniversary;
  display: flex;
  min-width: 210px;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  color: var(--white);
  text-align: center;
  filter: drop-shadow(0 8px 20px rgba(7, 45, 104, 0.3));
}

.anniversary-number {
  font-family: "DynaPuff", sans-serif;
  font-size: 10rem;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0;
}

.anniversary-years {
  margin-top: 0px;
  font-family: "WindSong", cursive;
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0;
  transform: translateX(34px);
}

.anniversary-gold .anniversary-number,
.anniversary-gold .anniversary-years {
  color: #e6b84a;
  background: linear-gradient(
    135deg,
    #fff4ad 0%,
    #d99b22 24%,
    #fff8c9 46%,
    #b8750e 72%,
    #f3d46f 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 3px rgba(83, 45, 0, 0.42));
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  font-weight: 800;
  font-size: 0.88rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.025em;
}

h1 {
  color: var(--white);
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.35rem;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
}

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

.section {
  padding-block: clamp(72px, 10vw, 120px);
}

.solutions,
.institutional {
  background: linear-gradient(180deg, var(--white) 0%, var(--primary-soft) 100%);
}

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

.section-header {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-header p,
.about-content p,
.solution-card p,
.esg-panel p,
.contact p,
.footer p {
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid,
.institutional-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card,
.institutional-card,
.contact-form,
.esg-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.solution-card {
  padding: 30px;
  border-top: 0.35em solid var(--primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover,
.institutional-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary);
  background: rgba(9, 56, 130, 0.08);
  font-size: 1.6rem;
  font-weight: 800;
}

.solution-card:hover .card-icon {
  color: var(--white);
  background: var(--accent);
}

.solution-card p {
  margin: 14px 0 0;
}

.card-line {
  display: block;
  width: 0;
  height: 4px;
  margin-top: 24px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.solution-card:hover .card-line {
  width: 52px;
}

.about,
.contact {
  background: var(--soft);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
}

.about-media img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.feature-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--white);
}

.stats {
  border-top: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-item {
  display: grid;
  gap: 8px;
  text-align: center;
}

.stat-number {
  color: var(--accent);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
}

.stat-item span {
  color: var(--muted);
}

.esg-panel {
  margin-top: 50px;
  padding: clamp(26px, 5vw, 46px);
  background: linear-gradient(135deg, rgba(9, 56, 130, 0.08) 0%, rgba(182, 40, 76, 0.08) 100%);
  border-left: 0.4em solid var(--accent);
}

.esg-panel p {
  max-width: 920px;
  margin-bottom: 0;
}

.institutional-card {
  min-height: 280px;
  padding: 30px;
  border-top: 0.35em solid var(--primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.institutional-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.institutional-card h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
}

.institutional-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-cta {
  margin-top: 42px;
  text-align: center;
}

.inner-page main {
  padding-top: 76px;
}

.page-hero {
  padding-block: clamp(54px, 8vw, 88px);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(9, 56, 130, 0.96), rgba(9, 56, 130, 0.82) 58%, rgba(182, 40, 76, 0.88)),
    url("../img/official/nossa-estrutura.jpg") center / cover no-repeat;
}

.structure-page .page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(182, 40, 76, 0.56) 0 5%, transparent 5.5%),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.1) 0 10%, transparent 10.5%),
    linear-gradient(115deg, #093882 0%, #072d68 58%, #8d2446 100%);
}

.structure-page .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 18%, #000 68%);
  pointer-events: none;
}

.structure-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

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

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.content-split.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.page-copy > :first-child {
  margin-top: 0;
}

.page-copy h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.page-copy h3 {
  margin: 28px 0 10px;
  font-size: 1.3rem;
}

.page-copy p,
.page-copy li {
  color: var(--muted);
  font-size: 1.04rem;
}

.page-copy ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.page-media {
  position: sticky;
  top: 108px;
}

.page-media img,
.wide-banner {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-experience-card {
  isolation: isolate;
  min-height: 560px;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  border-radius: 24px;
  color: var(--white);
  background:
    linear-gradient(155deg, rgba(9, 56, 130, 0.98) 0%, rgba(7, 45, 104, 0.98) 58%, rgba(13, 34, 63, 1) 100%);
  box-shadow: 0 28px 64px rgba(9, 56, 130, 0.24);
}

.about-experience-card::before,
.about-experience-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.about-experience-card::before {
  top: -80px;
  right: -60px;
  width: 230px;
  height: 230px;
  border: 54px solid rgba(182, 40, 76, 0.9);
  border-radius: 50%;
}

.about-experience-card::after {
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 220px;
  background: linear-gradient(135deg, transparent 30%, rgba(182, 40, 76, 0.85) 30% 54%, transparent 54%);
  transform: rotate(-8deg);
}

.about-experience-glow {
  position: absolute;
  inset: auto auto -130px -110px;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.about-experience-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 28px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.95rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.about-experience-kicker strong {
  color: var(--white);
  font-weight: 800;
}

.about-experience-title {
  display: grid;
  gap: 2px;
  color: var(--white);
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.about-experience-title span {
  font-weight: 600;
}

.about-experience-title strong {
  color: var(--white);
  font-size: clamp(4rem, 8vw, 6.4rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.about-experience-divider {
  width: 78px;
  height: 4px;
  margin: 42px 0 34px;
  border-radius: 999px;
  background: var(--accent);
}

.about-experience-brand {
  display: inline-flex;
  max-width: 100%;
}

.about-experience-brand img {
  width: min(270px, 100%);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(0) invert(1);
}

.structure-network {
  isolation: isolate;
  min-height: 610px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(150deg, #0b438f 0%, #072d68 62%, #101f37 100%);
  box-shadow: 0 28px 64px rgba(9, 56, 130, 0.24);
}

.structure-network::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -95px;
  bottom: -110px;
  width: 290px;
  height: 290px;
  border: 58px solid rgba(182, 40, 76, 0.72);
  border-radius: 50%;
}

.structure-network-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.structure-network-header span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.structure-network-header h2 {
  margin-top: 4px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.structure-diagram {
  position: relative;
  height: 320px;
  margin-top: 14px;
}

.structure-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.structure-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 2;
  stroke-dasharray: 7 7;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.35s ease, filter 0.35s ease, stroke-dashoffset 0.5s ease;
}

.structure-network:hover .structure-lines path {
  stroke: var(--accent);
  stroke-dashoffset: -14;
  filter: drop-shadow(0 0 5px rgba(182, 40, 76, 0.8));
}

.structure-hub,
.structure-location {
  position: absolute;
  z-index: 2;
}

.structure-hub {
  top: 50%;
  left: 50%;
  display: grid;
  width: 160px;
  min-height: 96px;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  background: rgba(5, 31, 69, 0.76);
  box-shadow: 0 16px 34px rgba(3, 22, 48, 0.34);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
}

.structure-hub img {
  width: 118px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  filter: brightness(0) invert(1);
}

.structure-hub small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.structure-locations {
  display: contents;
}

.structure-location {
  width: 142px;
  padding: 12px 14px 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.structure-location:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  transform: translate(-50%, -50%) translateY(-3px);
}

.structure-location small,
.structure-location strong {
  display: block;
}

.structure-location small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.structure-location strong {
  margin-top: 2px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.15;
}

.structure-node {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(182, 40, 76, 0.2);
  transform: translateY(-50%);
}

.structure-location-sp {
  top: 20.7%;
  left: 16.4%;
}

.structure-location-rj {
  top: 20.7%;
  left: 83.6%;
}

.structure-location-ba {
  top: 84%;
  left: 50%;
}

.structure-national-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
}

.structure-national-label span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55d991;
  box-shadow: 0 0 0 5px rgba(85, 217, 145, 0.14);
}

.structure-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.structure-capabilities li {
  padding: 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.info-grid,
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card,
.service-detail {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 0.35em solid var(--primary);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card h2,
.info-card h3,
.service-detail h2,
.service-detail h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.info-card p,
.service-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.highlight-band {
  padding-block: clamp(60px, 8vw, 92px);
  background: var(--primary-soft);
}

.highlight-band .section-header {
  margin-bottom: 36px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}

.mvv-card {
  position: relative;
  min-height: 270px;
  padding: clamp(28px, 3.2vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(9, 56, 130, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 18px 42px rgba(9, 56, 130, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mvv-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.mvv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(9, 56, 130, 0.18);
}

.mvv-card-header {
  display: grid;
  grid-template-columns: auto minmax(28px, 1fr) 48px;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.mvv-card-header h2 {
  color: #101d30;
  font-size: clamp(1.45rem, 2.3vw, 1.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.mvv-card-line {
  height: 1px;
  background: #18304f;
}

.mvv-card-symbol {
  position: relative;
  justify-self: end;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: linear-gradient(var(--accent), var(--accent)) left center / 0% 100% no-repeat;
  transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mvv-card:hover .mvv-card-symbol {
  background-size: 100% 100%;
}

.mvv-card p,
.mvv-card li {
  color: #18304f;
  font-size: 1.05rem;
  line-height: 1.5;
}

.mvv-card p {
  margin: 0;
}

.mvv-values-lead {
  margin-bottom: 6px !important;
}

.mvv-values-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-left: 24px;
}

.mvv-values-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.logo-gallery figure {
  display: grid;
  min-height: 132px;
  margin: 0;
  padding: 18px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.logo-gallery img {
  max-width: 100%;
  max-height: 94px;
  object-fit: contain;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.awards-grid figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.awards-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certification-row {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.certification-row img {
  width: min(324px, 100%);
  height: auto;
}

.form-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 1180px;
  border: 0;
}

.form-frame-native {
  max-width: 840px;
}

.service-channels {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.channel-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.channel-tab {
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.channel-tab:last-child {
  border-right: 0;
}

.channel-tab:hover,
.channel-tab:focus-visible,
.channel-tab.active {
  color: var(--white);
  background: var(--primary);
}

.channel-panel[hidden] {
  display: none;
}

.channel-copy {
  padding: clamp(28px, 5vw, 50px);
}

.channel-copy h3 {
  margin-top: 0;
}

.channel-copy p {
  color: var(--muted);
}

.channel-copy > p > a {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
}

.channel-warning {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

.service-form {
  border: 0;
  border-radius: 0;
}

.service-form > p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.form-field {
  display: grid;
  align-content: start;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.contact-form select {
  width: 100%;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.contact-form select:focus {
  outline: 3px solid rgba(9, 56, 130, 0.14);
  border-color: var(--primary);
}

.service-form button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-response {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-response.success {
  color: #1f7a4d;
}

.form-response.error {
  color: #b42318;
}

.negotiation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 38px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 42px;
}

.legal-content h3 {
  margin-top: 30px;
}

.legal-content h6 {
  margin: 42px 0 14px;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.document-frame {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.document-frame iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
}

.contact-grid {
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-item > span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--primary);
  font-weight: 800;
}

.contact-item strong {
  display: block;
  margin-bottom: 3px;
}

.contact-item p {
  margin: 0;
}

.contact-item p a {
  color: inherit;
  text-decoration: none;
}

.contact-item p a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 4vw, 34px);
}

.contact-form label {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.93rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(9, 56, 130, 0.14);
  border-color: var(--primary);
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 10px;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-field input {
  width: auto;
  margin: 4px 0 0;
}

.footer {
  padding-block: 56px 28px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-logo {
  color: var(--white);
}

.footer-logo .logo-image {
  filter: brightness(0) invert(1);
}

.footer h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.footer p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.72);
}

.footer a:not(.logo) {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  max-width: none;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.footer .social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.footer .social-links a:hover,
.footer .social-links a:focus-visible {
  border-color: var(--accent);
  color: var(--white);
  background: var(--accent);
  transform: translateY(-3px);
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-links .facebook-icon {
  width: 14px;
  height: 20px;
}

.notification {
  position: fixed;
  top: 96px;
  right: 18px;
  z-index: 200;
  width: min(380px, calc(100% - 36px));
  padding: 14px 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.25s ease;
}

.notification.show {
  transform: translateX(0);
}

.notification.error {
  background: #b42318;
}

.notification.success {
  background: #1f7a4d;
}

.floating-help-widget {
  position: fixed;
  right: max(8px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 500;
}

.floating-help-frame {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: min(350px, calc(100vw - 16px));
  height: min(800px, calc(100vh - 8px));
  height: min(800px, calc(100dvh - 8px));
  border: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(0.96);
  transform-origin: right bottom;
  transition:
    opacity 0.26s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.32s;
}

.floating-help-widget.is-open .floating-help-frame {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.floating-help-toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #dadee3;
  border-radius: 999px;
  color: var(--white);
  background: #0c2b4b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.floating-help-toggle:hover,
.floating-help-toggle:focus-visible {
  background: #1a5087;
  transform: translateY(-1px);
}

.floating-help-widget.is-open .floating-help-toggle {
  background: #1a5087;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
}

.floating-help-toggle:focus-visible {
  outline: 3px solid rgba(9, 56, 130, 0.24);
  outline-offset: 3px;
}

.floating-help-icon {
  display: inline-grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  color: #0c2b4b;
  background: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.25s ease;
}

.floating-help-widget.is-open .floating-help-icon {
  font-size: 0.9rem;
  transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .floating-help-frame,
  .floating-help-toggle,
  .floating-help-icon {
    transition: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.45;
  }
}

@media (max-width: 900px) {
  .header-content {
    position: relative;
    grid-template-columns: auto auto;
  }

  .header-content > nav {
    position: absolute;
    inset: 0 auto auto 0;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .nav.active {
    display: flex;
  }

  .hero-main {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 24px;
  }

  .anniversary-mark {
    min-width: 180px;
  }

  .anniversary-number {
    font-size: 7.5rem;
  }

  .anniversary-years {
    margin-top: 22px;
    font-size: 3.2rem;
    transform: translateX(24px);
  }

  .nav > li > a,
  .submenu-parent-control > a {
    width: 100%;
    padding: 14px 0;
    text-align: left;
  }

  .nav > li {
    border-bottom: 1px solid var(--line);
  }

  .nav > li:last-child {
    border-bottom: 0;
  }

  .submenu-parent-control {
    display: grid;
    grid-template-columns: 1fr 48px;
  }

  .submenu-toggle {
    width: 48px;
    height: 48px;
    margin: 0;
    justify-self: end;
  }

  .sub {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 4px 0 8px 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.is-open .sub {
    display: block;
    transform: none;
  }

  .sub a {
    padding: 11px 12px;
    border: 0;
    white-space: normal;
  }

  .link-botao {
    padding-top: 12px;
  }

  .card-grid,
  .institutional-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .content-split,
  .content-split.reverse,
  .info-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .page-media {
    position: static;
  }

  .about-experience-card {
    min-height: 500px;
  }

  .structure-network {
    min-height: 590px;
  }

  .logo-gallery,
  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-media {
    order: 2;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo-image {
    width: 148px;
  }

  .channel-tabs,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .channel-tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preloader-image {
    width: min(520px, 70vw);
  }

  .hero-background {
    object-position: 62% center;
    transform: scale(1);
  }

  .hero-layout {
    align-items: center;
    padding-bottom: 96px;
  }

  .hero-main {
    grid-template-areas:
      "hero-title"
      "hero-description"
      "anniversary"
      "hero-actions";
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-content {
    display: contents;
  }

  .hero-content h2 {
    grid-area: hero-title;
  }

  .hero-content > p {
    grid-area: hero-description;
    margin-top: 0;
  }

  .hero-actions {
    grid-area: hero-actions;
    margin-top: 0;
  }

  .anniversary-mark {
    min-width: 0;
    margin-right: 14px;
    justify-self: end;
  }

  .anniversary-number {
    font-size: 5.5rem;
  }

  .anniversary-years {
    margin-top: 16px;
    font-size: 2.6rem;
    transform: translateX(14px);
  }

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

  .sound-toggle {
    left: calc(50% + 32px);
    bottom: 22px;
    padding: 10px;
  }

  .sound-toggle-text {
    display: none;
  }

  .stats-grid {
    gap: 26px 12px;
  }

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

  .logo-gallery,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .mvv-card {
    min-height: 0;
  }

  .about-experience-card {
    min-height: 480px;
    padding: 34px 26px;
  }

  .structure-network {
    min-height: 0;
    padding: 30px 24px;
  }

  .structure-diagram {
    display: grid;
    height: auto;
    gap: 16px;
    margin: 28px 0 24px;
  }

  .structure-lines {
    display: none;
  }

  .structure-hub,
  .structure-location {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .structure-hub {
    min-height: 90px;
  }

  .structure-locations {
    display: grid;
    gap: 12px;
  }

  .structure-location {
    padding: 13px 16px 13px 38px;
  }

  .structure-location:hover {
    transform: translateY(-3px);
  }

  .structure-node {
    left: 17px;
  }

  .structure-capabilities {
    grid-template-columns: 1fr;
  }

  .about-experience-title strong {
    font-size: clamp(3.5rem, 20vw, 5rem);
  }

  .mvv-values-columns {
    gap: 18px;
    padding-left: 0;
  }

  .certification-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
