:root {
  --bg: #07111f;
  --bg-soft: #08111d;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.70);
  --text-muted: rgba(255, 255, 255, 0.50);
  --gold: #e7d0a0;
  --gold-soft: rgba(198, 168, 106, 0.10);
  --gold-border: rgba(198, 168, 106, 0.40);
  --max: 1200px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  --section-space: 88px;
  --section-space-mobile: 64px;
  --section-gap: 44px;
  --content-gap: 20px;
  --content-gap-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(198,168,106,0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.06), transparent 28%),
    var(--bg);
  color: var(--text);
}

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

main {
  position: relative;
  overflow: clip;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section + .section {
  margin-top: -1px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.title {
  margin: 20px 0 0;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.15;
  font-weight: 500;
}

.text {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 17, 29, 0.90);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-name-accent {
  color: var(--gold);
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s ease;
}

.btn-outline {
  border: 1px solid var(--gold-border);
  background: var(--gold-soft);
  color: var(--gold);
}

.btn-outline:hover { background: rgba(198,168,106,0.18); }

.btn-solid {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.btn-solid:hover { opacity: 0.92; }

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-cards {
  align-self: stretch;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.hero-title .highlight { color: var(--gold); }

.hero-text {
  max-width: 640px;
  margin-top: var(--content-gap-lg);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-proof {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--content-gap-lg);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: var(--content-gap-lg);
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

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

.card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.card-sm {
  border-radius: var(--radius-md);
  padding: 24px;
}

.card-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.card-title {
  margin: 14px 0 0;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.4;
}

.card-text {
  margin-top: var(--content-gap);
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.98rem;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--content-gap);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.70);
}

.tag-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.9rem;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.metric {
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-top: var(--content-gap);
}

.muted-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.results-stack > div + div { margin-top: 18px; }

.result-company {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.result-detail {
  color: rgba(255,255,255,0.60);
  font-size: 0.9rem;
}

.contact-box {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 34px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.content-limit { max-width: 760px; }

.section-head {
  max-width: 720px;
}

.section-intro-text {
  margin-top: var(--content-gap-lg);
  max-width: 720px;
}

.section-grid-top { margin-top: var(--section-gap); }

.section-divider,
.contact-section {
  border-top: 0;
}

.section-divider::before,
.contact-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 208, 160, 0.22), transparent);
  pointer-events: none;
}

.section-divider::after,
.contact-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 78%);
  pointer-events: none;
}

#solucoes {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 28%),
    transparent;
}

#metodologia {
  background:
    radial-gradient(circle at 88% 18%, rgba(231, 208, 160, 0.06), transparent 18%),
    transparent;
}

#experiencia {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.008) 68%, transparent),
    transparent;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(5, 13, 24, 0.74), rgba(5, 13, 24, 0.96)),
    #050d18;
}

.footer-meta {
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
  background: #050d18;
}

.footer-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.card-text-tight { margin-top: 10px; }

.results-stack-spaced { margin-top: 24px; }

.experience-companies {
  margin-top: var(--section-gap);
  padding: 28px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(231, 208, 160, 0.06), rgba(255, 255, 255, 0));
}

.company-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.company-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(231, 208, 160, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.company-logo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(231, 208, 160, 0.42);
  background: rgba(231, 208, 160, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.company-logo-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.company-logo {
  width: min(100%, 150px);
  height: 42px;
  display: block;
  flex: 0 0 auto;
}

.company-logo-mask {
  background-color: var(--gold);
  opacity: 0.88;
  -webkit-mask-image: var(--logo-src);
  mask-image: var(--logo-src);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.company-logo-card:hover .company-logo-mask {
  opacity: 1;
  transform: scale(1.03);
}

.logo-bayer {
  width: min(100%, 118px);
  height: 48px;
}

.logo-terex,
.logo-edp,
.logo-plusnr {
  width: min(100%, 164px);
  height: 34px;
}

.logo-rhodia,
.logo-polsec {
  width: min(100%, 158px);
  height: 36px;
}

.logo-taurus,
.logo-mez {
  width: min(100%, 150px);
  height: 38px;
}

.logo-memphis {
  width: min(100%, 132px);
  height: 42px;
}

.logo-inbetta {
  width: min(100%, 140px);
  height: 36px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.experience-companies .muted-label {
  color: var(--gold);
}

.contact-shell {
  max-width: 880px;
  margin: 0 auto;
}

.contact-title {
  margin-top: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.contact-text {
  margin-top: var(--content-gap);
  max-width: 780px;
}

.contact-action { margin-top: var(--content-gap-lg); }

.contact-action .btn + .btn {
  margin-left: 12px;
}

.process-grid .card-title,
.experience-grid .card-title {
  max-width: 18ch;
}

.services-grid .card-title {
  max-width: 24ch;
}

.services-grid .card-text,
.experience-grid .card-text {
  max-width: 34ch;
}

.experience-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
}

.leader-section {
  position: relative;
}

.leader-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 180px;
  background:
    radial-gradient(circle at 10% 14%, rgba(231, 208, 160, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 78%);
  pointer-events: none;
}

.leader-section::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 82%);
}

.leader-section .container {
  position: relative;
}

.leader-section-head {
  margin-bottom: 24px;
}

.no-wrap {
  white-space: nowrap;
}

.leader-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.leader-profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  border: 1px solid rgba(231, 208, 160, 0.18);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.leader-photo-wrap {
  position: relative;
  align-self: start;
}

.leader-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 14px -12px 14px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  filter: blur(16px);
  z-index: 0;
  pointer-events: none;
}

.leader-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  display: block;
  border: 1px solid rgba(231, 208, 160, 0.22);
}

.leader-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.leader-kicker {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--text);
}

.leader-role {
  margin: 14px 0 0;
  max-width: 34ch;
  color: var(--gold);
  font-size: 0.96rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leader-text {
  margin-top: 18px;
  max-width: 46ch;
}

.leader-points {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.leader-point {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.92rem;
}

.leader-actions {
  margin-top: 22px;
}

.leader-social-proof {
  position: sticky;
  top: 112px;
  height: 100%;
}

.social-proof-card {
  height: 100%;
  padding: 30px;
  border: 1px solid rgba(231, 208, 160, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025));
  justify-content: space-between;
}

.testimonial-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.testimonial-item {
  padding: 18px 20px;
  border: 1px solid rgba(231, 208, 160, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.testimonial-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
}

.testimonial-text {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.94rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: var(--gold);
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .leader-shell,
  .leader-profile { grid-template-columns: 1fr; }
  .leader-social-proof {
    position: static;
  }
  .company-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-head,
  .section-intro-text,
  .services-grid .card-text,
  .experience-grid .card-text,
  .services-grid .card-title,
  .process-grid .card-title,
  .experience-grid .card-title,
  .hero-copy,
  .contact-shell,
  .leader-text {
    max-width: none;
  }
  .contact-action .btn + .btn {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .section { padding: var(--section-space-mobile) 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .header-inner {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .header .btn,
  .hero-actions .btn,
  .contact-action .btn {
    width: 100%;
  }
  .hero-grid,
  .section-grid-top,
  .experience-companies {
    gap: 28px;
  }
  .leader-shell {
    gap: 18px;
  }
  .leader-profile {
    padding: 24px;
    gap: 18px;
    border-radius: 28px;
  }
  .leader-section-head {
    margin-bottom: 22px;
  }
  .leader-copy {
    align-items: flex-start;
  }
  .leader-kicker,
  .leader-role,
  .leader-text {
    max-width: none;
  }
  .leader-points {
    gap: 8px;
    margin-top: 18px;
  }
  .leader-point {
    min-height: 0;
    padding: 11px 14px;
    font-size: 0.9rem;
  }
  .leader-actions {
    margin-top: 18px;
  }
  .hero-actions,
  .contact-action {
    display: grid;
    gap: 12px;
  }
  .contact-box, .card { padding: 26px; }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.12;
  }
  .hero-text,
  .text,
  .card-text,
  .list li,
  .result-detail {
    line-height: 1.65;
  }
  .experience-companies {
    padding: 20px 0 0;
    border-radius: 0;
  }
  .company-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-logo-card { min-height: 84px; padding: 16px; }
  .company-logo { width: min(100%, 120px); height: 34px; }
  .logo-bayer { width: min(100%, 94px); height: 38px; }
  .logo-terex,
  .logo-edp,
  .logo-plusnr { width: min(100%, 126px); height: 28px; }
  .logo-rhodia,
  .logo-polsec { width: min(100%, 120px); height: 30px; }
  .logo-taurus,
  .logo-mez,
  .logo-inbetta { width: min(100%, 114px); height: 30px; }
  .logo-memphis { width: min(100%, 104px); height: 34px; }
  .leader-photo-wrap {
    width: min(100%, 220px);
    margin: 0 auto;
  }
  .leader-photo {
    aspect-ratio: 0.9 / 1;
    border-radius: 20px;
  }
  .social-proof-card {
    padding: 24px;
    border-radius: 28px;
  }
  .testimonial-grid {
    gap: 12px;
    margin-top: 18px;
  }
  .testimonial-item {
    padding: 16px 16px 15px;
    border-radius: 18px;
  }
  .text-link {
    margin-top: 18px;
  }
}

@media (max-width: 480px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .section { padding: 56px 0; }
  .header-inner {
    gap: 16px;
    padding: 16px 0;
  }
  .brand-name { font-size: 1.35rem; }
  .brand-sub {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }
  .btn {
    min-height: 48px;
    padding: 12px 16px;
  }
  .hero-title { font-size: 1.92rem; }
  .title,
  .contact-title { font-size: 1.65rem; }
  .contact-box,
  .card,
  .card-sm { padding: 22px; }
  .leader-profile,
  .social-proof-card {
    padding: 20px;
  }
  .tags { gap: 8px; }
  .tag {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .metric { font-size: 2.4rem; }
  .result-detail {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
  }
  .company-list { grid-template-columns: 1fr; }
  .company-logo-card {
    min-height: 78px;
    padding: 14px;
  }
  .leader-kicker {
    font-size: 1.65rem;
    line-height: 1.08;
  }
  .leader-role {
    margin-top: 10px;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }
  .leader-text {
    margin-top: 14px;
    font-size: 0.96rem;
  }
  .leader-point {
    padding: 10px 12px;
    font-size: 0.88rem;
    line-height: 1.45;
  }
  .leader-photo-wrap {
    width: min(100%, 196px);
  }
  .leader-profile,
  .leader-point,
  .testimonial-item {
    border-radius: 20px;
  }
  .testimonial-title {
    font-size: 0.9rem;
  }
  .testimonial-text {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
  }
}
