:root {
  --navy: #061f42;
  --navy-2: #082a58;
  --gold: #c9962c;
  --gold-2: #e1bf70;
  --ink: #08203f;
  --muted: #526174;
  --line: #d8dde5;
  --paper: #f8f7f4;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(4, 24, 52, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    url("./assets/subtle-bricks.svg") 0 0 / 168px 88px repeat,
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .94)),
    radial-gradient(circle at 8% 18%, rgba(201, 150, 44, .08), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f1ea 48%, #fbfaf7 100%);
  background-attachment: fixed;
  font-family: Inter, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 112px;
  display: grid;
  grid-template-columns: minmax(190px, 300px) 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(22px, 5vw, 110px);
  background: #fff;
  box-shadow: 0 1px 14px rgba(8, 32, 63, .08);
}

#home,
#servicos,
#empresas,
#contato {
  scroll-margin-top: 132px;
}

.brand {
  display: flex;
  align-items: center;
  width: 230px;
  height: 90px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 34px);
  color: #061b37;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 46px 0 40px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 29px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 35;
  display: grid;
  min-width: 252px;
  padding: 12px;
  border: 1px solid rgba(8, 32, 63, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 38px rgba(8, 32, 63, .17);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-dropdown__menu a {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  text-transform: none;
}

.nav-dropdown__menu img {
  display: block;
  width: 36px;
  height: 36px;
  padding: 3px;
  border: 1px solid rgba(201, 150, 44, .22);
  border-radius: 999px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 5px 12px rgba(8, 32, 63, .10);
}

.nav-dropdown__menu a::after {
  display: none;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  color: var(--navy);
  background: rgba(201, 150, 44, .12);
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  border-radius: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta,
.primary-btn {
  padding: 0 24px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 9px 18px rgba(6, 31, 66, .22);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-cta--compact {
  min-height: 40px;
  padding: 0 14px;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(8, 32, 63, .18);
  border-radius: 7px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.header-action--account {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.header-action--partner {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.header-action.active-action {
  border-color: var(--gold);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 18px rgba(8, 32, 63, .14);
}

.header-cta i,
.primary-btn i {
  color: var(--gold-2);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  border-radius: 7px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero-image {
  position: relative;
  width: min(1260px, calc(100% - 48px));
  aspect-ratio: 2400 / 1450;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201, 150, 44, .16);
  background: url("./hero-grupo-aje-highres.png") center 58% / cover no-repeat;
  box-shadow: 0 18px 44px rgba(8, 32, 63, .10);
  will-change: background-position, filter;
  transition: filter .45s ease, box-shadow .45s ease;
}

.hero-image.is-in-view {
  animation: heroImageDrift 18s ease-in-out infinite alternate;
}

.hero-image:hover {
  filter: saturate(1.04) contrast(1.02);
  box-shadow: 0 22px 52px rgba(8, 32, 63, .14);
}

@keyframes heroImageDrift {
  0% {
    background-position: center 58%;
  }

  100% {
    background-position: 52% 55%;
  }
}

.hero-hotspot {
  position: absolute;
  left: 8.2%;
  top: 68.4%;
  width: min(34.5%, 430px);
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 27px 0 34px;
  border-radius: 8px;
  border: 1px solid rgba(225, 191, 112, .86);
  color: var(--white);
  background: #061f42;
  box-shadow: 0 14px 24px rgba(6, 31, 66, .24);
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-hotspot::before {
  content: none;
}

.hero-hotspot i {
  color: var(--gold);
  font-size: 24px;
}

.hero-hotspot:hover,
.hero-hotspot:focus-visible {
  box-shadow: 0 18px 30px rgba(6, 31, 66, .34);
  transform: translateY(-2px);
}

.hero-hotspot:focus-visible {
  outline: 3px solid rgba(225, 191, 112, .7);
  outline-offset: 4px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-copy h2,
.contact h2 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  line-height: .98;
  color: var(--navy);
}

.section-copy h2 span {
  color: var(--gold);
}

.value-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
  width: min(1260px, calc(100% - 48px));
  box-sizing: border-box;
  margin: 0 auto;
  padding: 24px clamp(22px, 3vw, 36px);
  background: #061f43;
  color: var(--white);
  border-top: 1px solid rgba(201, 150, 44, .34);
  border-bottom: 1px solid rgba(201, 150, 44, .48);
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 32px rgba(6, 31, 67, .14);
}

.value-strip article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 78px;
  padding: 12px clamp(12px, 1.5vw, 22px);
  border: 1px solid rgba(225, 191, 112, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .10);
}

.value-strip article:last-child {
  border-right: 1px solid rgba(225, 191, 112, .18);
}

.value-strip i,
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(225, 191, 112, .58);
  border-radius: 999px;
  color: var(--navy);
  background: #e7bd61;
  font-size: 26px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .16);
}

.value-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.value-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  text-transform: uppercase;
}

.value-strip span {
  color: rgba(255, 255, 255, .9);
  line-height: 1.35;
}

.value-strip .value-icon {
  color: var(--navy);
}

.about {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 58px;
}

.about-banner-frame {
  aspect-ratio: 1600 / 1131;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201, 150, 44, .18);
  background: #fffdfa;
  box-shadow: 0 18px 44px rgba(8, 32, 63, .10);
  isolation: isolate;
}

.about-banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.005);
  transform-origin: center;
  will-change: transform;
  animation: aboutImageDrift 18s ease-in-out infinite alternate;
}

@keyframes aboutImageDrift {
  0% {
    transform: scale(1.005) translate3d(-3px, -2px, 0);
  }

  100% {
    transform: scale(1.018) translate3d(4px, 3px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .contact-hero,
  .about-banner,
  .services-showcase img,
  .partner-hero__banner img,
  .partner-visual-card img,
  .company-card--logo img,
  .company-page-banner img {
    animation: none;
    transform: none;
  }
}

.section-copy h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.section-copy p,
.contact p {
  color: #3f4d5e;
  font-size: 16px;
  line-height: 1.65;
}

.secondary-btn {
  min-width: 158px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--white);
}

.secondary-btn i {
  color: var(--gold);
}

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

.service-cards article {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 282px;
  padding: 34px 26px;
  border: 1px solid rgba(8, 32, 63, .12);
  border-radius: 8px;
  background-image: linear-gradient(rgba(3, 18, 38, .5), rgba(3, 18, 38, .82)), url("./assets/servicos-grupo-aje.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  box-shadow: 0 10px 24px rgba(8, 32, 63, .09);
  text-align: center;
}

.service-cards article:nth-child(1) {
  background-position: left center;
}

.service-cards article:nth-child(2) {
  background-position: center center;
}

.service-cards article:nth-child(3) {
  background-position: right center;
}

.service-cards i {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--gold-2);
  background: var(--navy);
  font-size: 35px;
  box-shadow: 0 10px 24px rgba(8, 32, 63, .18);
}

.service-cards h3 {
  max-width: 220px;
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.service-cards p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.service-cards article::after {
  content: "✦";
  margin-top: 20px;
  width: 92px;
  color: var(--gold);
  border-top: 1px solid var(--gold-2);
  border-bottom: 1px solid transparent;
}

.about .service-cards {
  gap: 18px;
  margin-top: 20px;
}

.about .service-cards article {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  justify-items: stretch;
  align-content: center;
  column-gap: 20px;
  min-height: 152px;
  padding: 26px 28px;
  border: 1px solid rgba(225, 191, 112, .34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 31, 66, .98), rgba(8, 42, 88, .98)),
    radial-gradient(circle at top right, rgba(225, 191, 112, .18), transparent 38%);
  box-shadow: 0 14px 28px rgba(8, 32, 63, .14);
  text-align: left;
}

.about .service-cards article:nth-child(1),
.about .service-cards article:nth-child(2),
.about .service-cards article:nth-child(3) {
  background-position: initial;
}

.about .service-cards i {
  grid-row: 1 / span 2;
  width: 76px;
  height: 76px;
  margin: 0;
  color: var(--navy);
  background: var(--gold-2);
  font-size: 34px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.about .service-cards h3 {
  grid-column: 2;
  max-width: none;
  margin: 0 0 8px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.15;
  text-align: left;
  text-shadow: none;
}

.about .service-cards p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  line-height: 1.45;
  text-align: left;
  text-shadow: none;
}

.about .service-cards article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 3px;
  margin: 0;
  width: auto;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

.services-showcase {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(201, 150, 44, .18);
  background: #fffdfa;
  box-shadow: 0 18px 44px rgba(8, 32, 63, .10);
}

.services-showcase img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.004);
  transform-origin: center;
  will-change: transform, filter;
  transition: transform .6s ease, filter .45s ease;
}

.services-showcase.is-in-view img {
  animation: imageBreath 16s ease-in-out infinite alternate;
}

.services-showcase:hover img {
  animation-play-state: paused;
  transform: scale(1.025) translate3d(3px, -3px, 0);
  filter: saturate(1.04) contrast(1.02);
}

.about-page-main {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.about-page-hero {
  display: grid;
  gap: 34px;
}

.about-page-visual {
  width: 100%;
}

.about-page-copy {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-page-copy h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  color: var(--navy);
  font: 700 clamp(36px, 4.8vw, 62px) Cinzel, serif;
  line-height: 1.08;
}

.about-page-copy p:not(.eyebrow) {
  margin: 0 auto 14px;
  color: #3f4d5e;
  font-size: 17px;
  line-height: 1.72;
}

.about-page-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.about-page-pillars article {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(8, 32, 63, .09);
}

.about-page-pillars i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-size: 25px;
}

.about-page-pillars strong {
  color: var(--navy);
  font: 700 21px Cinzel, serif;
}

.about-page-pillars span {
  color: var(--muted);
  line-height: 1.6;
}

.partner-page-body {
  background:
    radial-gradient(circle at 76% 24%, rgba(201, 150, 44, .14), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f8f7f4 52%, #eef2f6 100%);
}

.partner-page-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.partner-page-main::before {
  content: "";
  position: fixed;
  inset: 148px auto auto 50%;
  z-index: -1;
  width: min(720px, 70vw);
  aspect-ratio: 1;
  background: url("./assets/marca-dagua-parceiros.png") center / contain no-repeat;
  opacity: .055;
  transform: translateX(-50%);
  pointer-events: none;
}

.partner-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 20px;
}

.partner-hero__banner {
  margin: 0;
  aspect-ratio: 1600 / 627;
  overflow: hidden;
  border: 1px solid rgba(8, 32, 63, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 22px 50px rgba(8, 32, 63, .1);
  isolation: isolate;
}

.partner-hero__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.004);
  transform-origin: center;
  will-change: transform, filter;
  transition: transform .6s ease, filter .45s ease;
}

.partner-hero__banner.is-in-view img,
.partner-hero:hover .partner-hero__banner img {
  animation: imageBreath 17s ease-in-out infinite alternate;
}

.partner-hero__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.partner-visual-card {
  position: relative;
  display: block;
  aspect-ratio: 1536 / 1024;
  overflow: hidden;
  border: 1px solid rgba(8, 32, 63, .18);
  border-radius: 12px;
  background: #061f42;
  box-shadow: 0 22px 46px rgba(6, 31, 66, .17);
  cursor: pointer;
  outline: 3px solid transparent;
  outline-offset: 4px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, outline-color .22s ease;
}

.partner-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(225, 191, 112, .22);
  pointer-events: none;
}

.partner-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.005);
  transform-origin: center;
  will-change: transform, filter;
  transition: transform .45s ease, filter .3s ease;
}

.partner-visual-card.is-in-view img {
  animation: imageBreath 13s ease-in-out infinite alternate;
  animation-delay: var(--motion-delay, 0s);
}

.partner-visual-card:hover,
.partner-visual-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 26px 54px rgba(6, 31, 66, .22);
}

.partner-visual-card:hover img,
.partner-visual-card:focus-visible img {
  animation-play-state: paused;
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.02);
}

.partner-page-main:has(#partnerFinancial:checked) .partner-visual-card[for="partnerFinancial"],
.partner-page-main:has(#partnerAgent:checked) .partner-visual-card[for="partnerAgent"] {
  border-color: var(--gold);
  outline-color: rgba(201, 150, 44, .28);
}

.partner-forms {
  scroll-margin-top: 130px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(8, 32, 63, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 24px 54px rgba(8, 32, 63, .12);
  backdrop-filter: blur(10px);
}

.partner-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.partner-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 6px;
  border: 1px solid rgba(8, 32, 63, .12);
  border-radius: 10px;
  background: #f4f6f8;
}

.partner-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.partner-tab i {
  color: var(--gold);
  font-size: 18px;
}

#partnerFinancial:checked ~ .partner-tabs .partner-tab--financial,
#partnerAgent:checked ~ .partner-tabs .partner-tab--agent {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: 0 14px 28px rgba(6, 31, 66, .18);
}

#partnerFinancial:checked ~ .partner-tabs .partner-tab--financial i,
#partnerAgent:checked ~ .partner-tabs .partner-tab--agent i {
  color: var(--gold-2);
}

.partner-tab:hover {
  transform: translateY(-1px);
}

.partner-form {
  display: none;
  padding-top: 34px;
}

#partnerFinancial:checked ~ .partner-form--financial,
#partnerAgent:checked ~ .partner-form--agent {
  display: block;
}

.partner-form__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(8, 32, 63, .1);
}

.partner-form__heading .eyebrow {
  margin-bottom: 8px;
}

.partner-form__heading h2 {
  margin: 0;
  color: var(--navy);
  font: 700 clamp(28px, 4vw, 42px) / 1 Cinzel, Georgia, serif;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.form-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-grid small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(8, 32, 63, .16);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  font: 500 15px Inter, Arial, sans-serif;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-grid textarea {
  min-height: 128px;
  padding: 14px;
  resize: vertical;
}

.form-grid input[type="file"] {
  padding: 12px 14px;
  cursor: pointer;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 150, 44, .14);
}

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

.partner-submit {
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}

.companies,
.contact {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0;
  border-top: 1px solid rgba(201, 150, 44, .18);
}

.companies > .eyebrow {
  display: block;
  margin: 0 auto 10px;
  color: var(--navy);
  text-align: center;
}

.companies-lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #46576f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
}

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

.company-grid article,
.company-card {
  min-height: 168px;
  padding: 26px 24px 28px;
  border: 1px solid rgba(8, 32, 63, .13);
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--navy);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 253, 248, .94)),
    radial-gradient(circle at 92% 8%, rgba(201, 150, 44, .08), transparent 28%);
  box-shadow: 0 14px 30px rgba(8, 32, 63, .09);
}

.company-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.company-card::before {
  content: "";
  position: absolute;
  inset: 10px 10px auto auto;
  width: 54px;
  height: 54px;
  border-top: 2px solid rgba(201, 150, 44, .45);
  border-right: 2px solid rgba(201, 150, 44, .45);
  border-radius: 0 5px 0 0;
  pointer-events: none;
}

.company-card:hover,
.company-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 150, 44, .38);
  box-shadow: 0 20px 38px rgba(8, 32, 63, .16);
}

.company-card:focus-visible {
  outline: 3px solid rgba(201, 150, 44, .42);
  outline-offset: 3px;
}

.company-card--logo {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.company-card--logo img {
  display: block;
  width: min(275px, 94%);
  max-height: 120px;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  will-change: transform, filter;
  transition: transform .45s ease, filter .35s ease;
}

.company-card.is-in-view .company-card--logo img {
  animation: logoFloat 6.4s ease-in-out infinite alternate;
  animation-delay: var(--motion-delay, 0s);
}

.company-card:hover .company-card--logo img,
.company-card:focus-visible .company-card--logo img {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.company-card--wide-logo img {
  width: min(310px, 96%);
  max-height: 92px;
}

.company-card--tall-logo img {
  width: min(210px, 86%);
  max-height: 132px;
}

.company-card--exxon-logo img {
  width: min(250px, 90%);
  max-height: 165px;
}

.company-card--logo > span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
  max-width: 300px;
}

.company-grid strong,
.company-grid span {
  display: block;
}

.company-grid strong {
  margin-bottom: 10px;
  color: var(--navy);
  font: 700 22px Cinzel, serif;
}

.company-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.company-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  padding: 28px;
}

.company-modal.open {
  display: block;
}

.company-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 13, 29, .76);
  backdrop-filter: blur(6px);
}

.company-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 56px);
  margin: 0 auto;
  overflow: auto;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

.company-modal__close {
  position: sticky;
  top: 16px;
  left: calc(100% - 62px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 16px 16px -60px auto;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(6, 31, 66, .24);
}

.company-modal__hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 42px;
  align-items: center;
  padding: 58px clamp(28px, 5vw, 70px) 38px;
  background: #fff;
  border-bottom: 1px solid rgba(8, 32, 63, .08);
}

.company-modal__hero img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.company-modal__hero h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font: 700 clamp(34px, 4.8vw, 58px)/1 Cinzel, Georgia, serif;
}

.company-modal__hero p:not(.eyebrow) {
  margin: 0;
  max-width: 650px;
  color: #34445a;
  font-size: 18px;
  line-height: 1.6;
}

.company-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.company-modal__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid var(--gold);
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}

.company-modal__actions a:first-child {
  color: var(--white);
  background: var(--navy);
}

.company-page-banner {
  overflow: hidden;
  border-top: 4px solid var(--company-accent);
  border-bottom: 1px solid rgba(8, 32, 63, .08);
  background: var(--white);
}

.company-page-banner img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.004);
  transform-origin: center;
  will-change: transform, filter;
  transition: transform .6s ease, filter .45s ease;
}

.company-page-banner.is-in-view img {
  animation: imageBreath 16s ease-in-out infinite alternate;
}

.company-page-banner:hover img {
  animation-play-state: paused;
  transform: scale(1.024) translate3d(4px, -3px, 0);
  filter: saturate(1.04) contrast(1.02);
}

.company-modal__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(8, 32, 63, .12);
}

.company-modal__stats strong {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--gold);
  background: var(--navy);
  font-size: 24px;
  line-height: 1.1;
}

.company-modal__stats span {
  color: rgba(255, 255, 255, .88);
  font: 700 13px/1.35 Inter, Arial, sans-serif;
  text-transform: uppercase;
}

.company-modal__content {
  display: grid;
  gap: 34px;
  padding: 42px clamp(28px, 5vw, 70px) 60px;
}

.company-modal__content h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font: 700 28px/1.1 Cinzel, Georgia, serif;
}

.company-modal__content p {
  margin: 0;
  color: #415064;
  font-size: 17px;
  line-height: 1.65;
}

.company-simulator {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(320px, 1.35fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 42px) clamp(24px, 5vw, 62px);
  border-top: 1px solid rgba(8, 32, 63, .08);
  border-bottom: 1px solid rgba(8, 32, 63, .08);
  background:
    radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--company-accent, #c9962c) 18%, transparent), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(249, 247, 242, .9));
}

.company-simulator__intro {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-left: 4px solid var(--company-accent, var(--gold));
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 0 0 1px rgba(8, 32, 63, .06);
}

.company-simulator__intro h2 {
  margin: 0;
  color: var(--navy);
  font: 700 clamp(26px, 3vw, 40px)/1.05 Cinzel, Georgia, serif;
}

.company-simulator__intro p {
  margin: 0;
  color: #47586e;
  font-size: 16px;
  line-height: 1.55;
}

.company-simulator__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: end;
  padding: 22px;
  border-radius: 12px;
  background: var(--navy);
  box-shadow: 0 18px 34px rgba(8, 32, 63, .16);
}

.company-simulator__form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 800;
}

.company-simulator__form span {
  min-height: 34px;
  text-transform: uppercase;
  line-height: 1.25;
}

.company-simulator__form input {
  min-height: 48px;
  width: 100%;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, .96);
  font: 800 16px/1 Inter, Arial, sans-serif;
}

.company-simulator__form input:focus {
  outline: 3px solid color-mix(in srgb, var(--company-accent, var(--gold)) 45%, transparent);
  border-color: var(--company-accent, var(--gold));
}

.company-simulator__form button {
  grid-column: 1 / -1;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold-2);
  cursor: pointer;
  font: 900 14px/1 Inter, Arial, sans-serif;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.company-simulator__form button:hover,
.company-simulator__form button:focus-visible {
  transform: translateY(-2px);
  background: #f2c75f;
  box-shadow: 0 10px 22px rgba(201, 150, 44, .24);
}

.company-simulator__result {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 84px;
  padding: 18px 20px;
  border-radius: 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .68);
}

.company-simulator__result strong {
  color: var(--company-accent, var(--gold));
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.12;
}

.company-simulator__result span {
  color: #4b5c70;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.company-simulator__result a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 7px;
  color: var(--white);
  background: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.solution-list article,
.company-steps li {
  padding: 18px;
  border-left: 3px solid #65a637;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(8, 32, 63, .07);
}

.solution-list strong,
.solution-list span,
.solution-list em,
.company-steps strong,
.company-steps span {
  display: block;
}

.solution-list strong,
.company-steps strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 900;
}

.solution-list em {
  margin-bottom: 10px;
  color: var(--company-accent, #2f7a2f);
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.solution-list span,
.company-steps span {
  color: var(--muted);
  line-height: 1.5;
}

.solution-list ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.company-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-benefits li {
  padding: 18px;
  border-top: 4px solid #65a637;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(8, 32, 63, .07);
}

.company-benefits strong,
.company-benefits span {
  display: block;
}

.company-benefits strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 900;
}

.company-benefits span {
  color: var(--muted);
  line-height: 1.45;
}

.company-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.company-steps li {
  counter-increment: step;
}

.company-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font: 800 28px/1 Cinzel, Georgia, serif;
}

.company-final-cta {
  padding: 30px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, #061f42, #0b315f);
}

.company-final-cta h3,
.company-final-cta p {
  color: var(--white);
}

.company-final-cta p {
  margin-bottom: 22px;
}

.company-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 7px;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
}

body.modal-open {
  overflow: hidden;
}

.theme-aje {
  --company-accent: #155ca8;
}

.theme-apport {
  --company-accent: #2f7a2f;
}

.theme-exxon,
.theme-dakar {
  --company-accent: #c9962c;
}

.theme-tax {
  --company-accent: #d72626;
}

.theme-ger {
  --company-accent: #078977;
}

.company-page-body {
  background:
    url("./assets/subtle-bricks.svg") 0 0 / 168px 88px repeat,
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .94)),
    radial-gradient(circle at 8% 18%, rgba(201, 150, 44, .08), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f1ea 48%, #fbfaf7 100%);
  background-attachment: fixed;
}

.company-page-main {
  padding: 42px clamp(20px, 5vw, 70px) 70px;
}

.company-page-main .company-modal__panel {
  max-height: none;
  overflow: visible;
  box-shadow: 0 18px 48px rgba(8, 32, 63, .12);
}

.company-page-main .company-modal__hero {
  border-top: 4px solid var(--company-accent);
}

.company-page-main .solution-list article,
.company-page-main .company-steps li {
  border-left-color: var(--company-accent);
}

.company-page-main .company-benefits li {
  border-top-color: var(--company-accent);
}

.company-back-link {
  position: fixed;
  top: 142px;
  left: max(18px, calc((100vw - 1260px) / 2 - 104px));
  z-index: 55;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 4px;
  width: 82px;
  min-height: 92px;
  margin: 0;
  padding: 9px 8px 10px;
  border: 1px solid rgba(201, 150, 44, .42);
  border-bottom: 3px solid var(--navy);
  border-radius: 16px;
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 253, 248, .88)),
    radial-gradient(circle at 50% 0, rgba(201, 150, 44, .16), transparent 58%);
  box-shadow: 0 18px 34px rgba(8, 32, 63, .14);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.company-back-link img {
  display: block;
  width: 54px;
  height: 54px;
  justify-self: center;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(8, 32, 63, .16));
  transition: transform .22s ease;
}

.company-back-link::after {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.company-back-link:hover,
.company-back-link:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(201, 150, 44, .68);
  box-shadow: 0 24px 42px rgba(8, 32, 63, .2);
}

.company-back-link:hover img,
.company-back-link:focus-visible img {
  transform: scale(1.06) rotate(-2deg);
}

.company-back-link:focus-visible {
  outline: 3px solid rgba(201, 150, 44, .42);
  outline-offset: 4px;
}

.contact {
  display: block;
}

.contact-hero {
  position: relative;
  min-height: 620px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: url("./assets/contato-grupo-aje-clean.png") center / cover no-repeat;
  border: 1px solid rgba(201, 150, 44, .18);
  box-shadow: 0 18px 40px rgba(8, 32, 63, .08);
  will-change: background-position, filter;
  transition: filter .45s ease, box-shadow .45s ease;
}

.contact-hero.is-in-view {
  animation: contactImageDrift 18s ease-in-out infinite alternate;
}

.contact-hero:hover {
  filter: saturate(1.035) contrast(1.015);
  box-shadow: 0 22px 50px rgba(8, 32, 63, .12);
}

@keyframes imageBreath {
  0% {
    transform: scale(1.004) translate3d(-4px, -2px, 0);
  }

  100% {
    transform: scale(1.024) translate3d(4px, 3px, 0);
  }
}

@keyframes logoFloat {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-4px) scale(1.025);
  }
}

@keyframes contactImageDrift {
  0% {
    background-position: center center;
  }

  100% {
    background-position: 52% 49%;
  }
}

.contact-overlay {
  min-height: 620px;
  display: grid;
  grid-template-rows: 1fr auto;
  width: min(730px, 57%);
  padding: clamp(52px, 5vw, 78px) 0 clamp(34px, 4vw, 54px) clamp(34px, 5vw, 78px);
}

.contact-copy {
  align-self: end;
  max-width: 570px;
  padding-bottom: 34px;
}

.contact-copy h2 {
  max-width: 570px;
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.04;
}

.contact-copy h2 span {
  display: block;
  color: var(--gold);
}

.contact-copy p {
  max-width: 540px;
  margin: 24px 0 0;
  color: #26374c;
  font-size: 18px;
  line-height: 1.55;
}

.contact-copy em {
  display: block;
  max-width: 540px;
  margin-top: 24px;
  color: var(--gold);
  font: 500 clamp(24px, 2.2vw, 31px)/1.2 "Segoe Script", "Brush Script MT", cursive;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: end;
  max-width: 680px;
}

.contact-actions a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  row-gap: 4px;
  min-height: 124px;
  padding: 22px 24px;
  border: 1px solid rgba(225, 191, 112, .18);
  border-radius: 10px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(225, 191, 112, .16), transparent 34%),
    linear-gradient(135deg, #061f42, #082a55);
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(8, 32, 63, .20);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(8, 32, 63, .26);
}

.contact-card + .contact-card {
  border-left: 1px solid rgba(225, 191, 112, .18);
}

.contact-actions i {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(225, 191, 112, .72);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 28px;
}

.contact-actions strong {
  color: var(--gold-2);
  font-size: 14px;
  text-transform: uppercase;
}

.contact-actions span {
  color: var(--white);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.contact-card:first-child span,
.contact-card:nth-child(2) span {
  font-size: clamp(15px, 1.05vw, 18px);
  letter-spacing: -.01em;
}

.contact-card:first-child span {
  white-space: nowrap;
  overflow-wrap: normal;
}

.contact-card:first-child span,
.contact-card:first-child small {
  transform: translateY(6px);
}

.contact-card:first-child small {
  transform: translateY(12px);
}

.contact-actions small {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.35;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 25px clamp(24px, 8vw, 128px);
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer div {
  justify-content: center;
  color: var(--gold-2);
  font-size: 25px;
}

.site-footer nav {
  justify-content: end;
}

.site-footer nav a + a {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .45);
}

@media (max-width: 1100px) {
  #home,
  #servicos,
  #empresas,
  #contato {
    scroll-margin-top: 104px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 88px;
    padding: 10px 24px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 24px 18px;
    background: var(--white);
    box-shadow: 0 16px 24px rgba(8, 32, 63, .12);
  }

  .main-nav.open a {
    padding: 16px 0;
  }

  .main-nav.open .nav-dropdown {
    display: grid;
  }

  .main-nav.open .nav-dropdown__menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    border-left: 2px solid var(--gold);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .main-nav.open .nav-dropdown__menu a {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 9px 0;
    color: var(--muted);
    font-size: 13px;
  }

  .main-nav.open .nav-dropdown__menu img {
    width: 26px;
    height: 26px;
    padding: 2px;
  }

  .main-nav.open + .header-actions {
    position: absolute;
    top: calc(100% + 430px);
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0 24px 18px;
    background: var(--white);
    box-shadow: 0 16px 24px rgba(8, 32, 63, .12);
  }

  .main-nav a::after {
    bottom: 7px;
    transform-origin: left;
  }

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

  .contact-hero {
    background-position: 58% center;
  }

  .contact-overlay {
    width: min(680px, 64%);
    padding-left: 38px;
  }

  .contact-actions {
    width: min(640px, 100%);
  }

  .company-back-link {
    top: auto;
    bottom: 22px;
    left: 18px;
    width: auto;
    min-height: 0;
    grid-auto-flow: column;
    align-items: center;
    justify-items: start;
    gap: 8px;
    padding: 8px 14px 8px 9px;
    border-radius: 999px;
  }

  .company-back-link img {
    width: 42px;
    height: 42px;
  }

  .company-back-link::after {
    content: none;
  }

  .value-strip,
  .service-cards,
  .company-grid,
  .solution-list,
  .company-steps,
  .company-benefits,
  .about-page-pillars,
  .partner-hero__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-hero {
    grid-template-columns: 1fr;
  }

  .partner-page-main {
    width: min(100% - 32px, 1180px);
    padding: 42px 0 56px;
  }

  .partner-form__heading {
    display: block;
  }

  .value-strip article:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, .11);
  }
}

@media (max-width: 680px) {
  body {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .93)),
      url("./assets/subtle-bricks.svg") 0 0 / 142px 74px repeat,
      linear-gradient(180deg, #fbfaf7 0%, #f5f1e9 100%);
    background-attachment: scroll;
  }

  .site-header {
    min-height: 86px;
    padding: 10px 22px;
  }

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

  .hero-image {
    width: calc(100% - 32px);
    aspect-ratio: 2400 / 1550;
    min-height: 0;
    margin-top: 12px;
    border-radius: 8px;
    background-size: cover;
    background-position: center 58%;
  }

  .hero-hotspot {
    left: 8.2%;
    top: 67.8%;
    width: 42%;
    height: 36px;
    padding: 0 12px 0 14px;
    border-radius: 6px;
    font-size: clamp(9px, 2.5vw, 11px);
    line-height: 1.08;
  }

  .hero-hotspot::before {
    content: none;
  }

  .hero-hotspot i {
    font-size: 15px;
  }

  .secondary-btn {
    width: 100%;
  }

  .value-strip,
  .service-cards,
  .company-grid,
  .solution-list,
  .company-steps,
  .company-benefits,
  .about-page-pillars,
  .partner-hero__cards,
  .partner-tabs,
  .form-grid,
  .company-modal__hero,
  .company-modal__stats {
    grid-template-columns: 1fr;
  }

  .company-simulator {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }

  .company-simulator__form {
    grid-template-columns: 1fr;
  }

  .company-simulator__form span {
    min-height: 0;
  }

  .company-page-body {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .94)),
      url("./assets/subtle-bricks.svg") 0 0 / 142px 74px repeat,
      linear-gradient(180deg, #fbfaf7 0%, #f5f1e9 100%);
    background-attachment: scroll;
  }

  .company-page-main {
    width: 100%;
    padding: 18px 14px 54px;
  }

  .company-page-main .company-modal__panel {
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 32, 63, .14);
  }

  .company-page-banner {
    border-top-width: 3px;
  }

  .company-page-banner img {
    transform: none;
  }

  .company-page-banner.is-in-view img {
    animation: none;
  }

  .partner-hero__banner {
    aspect-ratio: 1600 / 760;
  }

  .partner-hero__banner img {
    object-position: left center;
  }

  .partner-tab {
    justify-content: flex-start;
    padding: 0 18px;
  }

  .company-modal {
    padding: 12px;
  }

  .company-modal__panel {
    max-height: calc(100vh - 24px);
    border-radius: 9px;
  }

  .company-modal__close {
    top: 10px;
    width: 40px;
    height: 40px;
    margin: 10px 10px -48px auto;
  }

  .company-modal__hero {
    gap: 22px;
    padding: 54px 20px 28px;
  }

  .company-modal__hero img {
    max-height: 170px;
  }

  .company-modal__hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .company-modal__actions a {
    width: 100%;
  }

  .company-modal__stats strong,
  .company-modal__content {
    padding: 22px 20px;
  }

  .company-modal__stats {
    gap: 0;
    border-radius: 0;
  }

  .company-modal__stats strong {
    min-height: 112px;
    font-size: clamp(30px, 10vw, 44px);
  }

  .company-modal__stats span {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.25;
  }

  .value-strip {
    width: calc(100% - 32px);
    padding: 16px;
    gap: 12px;
    border-radius: 0 0 8px 8px;
  }

  .value-strip article {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 18px 16px;
    border-right: 1px solid rgba(255, 255, 255, .11);
    border-bottom: 1px solid rgba(255, 255, 255, .11);
  }

  .value-strip i,
  .value-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .value-strip strong {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .value-strip span {
    font-size: 16px;
    line-height: 1.35;
  }

  .value-strip article:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .11);
  }

  .about,
  .companies,
  .contact,
  .about-page-main,
  .partner-page-main {
    width: min(100% - 32px, 1180px);
    padding: 42px 0;
  }

  .about {
    padding-top: 34px;
  }

  .about-banner-frame,
  .services-showcase {
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(8, 32, 63, .12);
  }

  .services-showcase {
    margin-top: 18px;
    border-radius: 6px;
  }

  .companies {
    padding-top: 34px;
  }

  .companies > .eyebrow {
    color: var(--navy);
    font-size: 17px;
    text-shadow: none;
  }

  .companies-lead {
    margin-bottom: 22px;
    color: #21344d;
    font-size: 17px;
    line-height: 1.45;
    text-shadow: none;
  }

  .company-grid {
    gap: 16px;
  }

  .company-card {
    min-height: 245px;
    padding: 24px 18px 26px;
    border: 1px solid rgba(201, 150, 44, .36);
    border-left: 3px solid var(--gold);
    border-bottom: 3px solid var(--navy);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(255, 253, 248, .94)),
      radial-gradient(circle at 90% 12%, rgba(225, 191, 112, .14), transparent 32%);
  }

  .company-card--logo img {
    width: min(250px, 82%);
    max-height: 110px;
  }

  .company-card--wide-logo img {
    width: min(270px, 90%);
    max-height: 86px;
  }

  .company-card--tall-logo img {
    width: min(190px, 74%);
    max-height: 126px;
  }

  .company-card--exxon-logo img {
    width: min(220px, 78%);
    max-height: 130px;
  }

  .company-card--logo > span {
    color: #35475f;
    font-size: 18px;
    line-height: 1.35;
    text-shadow: none;
  }

  .about-page-copy {
    text-align: left;
  }

  .about-page-copy h1 {
    margin-left: 0;
  }

  .contact-hero {
    min-height: 0;
    padding: 0;
    background-position: 62% top;
    border-radius: 8px;
  }

  .contact-overlay {
    width: 100%;
    min-height: 0;
    padding: 34px 18px 26px;
    background: linear-gradient(rgba(3, 13, 29, .78), rgba(3, 13, 29, .88));
  }

  .contact-copy {
    padding-bottom: 24px;
  }

  .contact-copy h2 {
    color: var(--white);
    font-size: clamp(34px, 11vw, 48px);
  }

  .contact-copy p {
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
  }

  .contact-copy em {
    font-size: clamp(23px, 7vw, 30px);
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-card + .contact-card {
    border-left: 0;
    border-top: 1px solid rgba(225, 191, 112, .18);
  }

  .contact-actions a {
    min-height: 118px;
    padding: 20px;
  }

  .contact-card:first-child span,
  .contact-card:nth-child(2) span {
    font-size: 16px;
  }

  .contact-card:nth-child(2) span {
    overflow-wrap: anywhere;
  }

  .company-back-link {
    left: auto;
    right: 14px;
    bottom: 18px;
    max-width: calc(100vw - 36px);
    padding: 6px 11px 6px 7px;
    font-size: 10px;
    opacity: .92;
  }

  .company-back-link img {
    width: 32px;
    height: 32px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer div,
  .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .contact-hero,
  .about-banner,
  .services-showcase img,
  .partner-hero__banner img,
  .partner-visual-card img,
  .company-card--logo img,
  .company-page-banner img {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
