:root {
  --bg: #0c1117;
  --bg-soft: #121a22;
  --surface: #ffffff;
  --surface-2: #f3f6f8;
  --text: #1b2430;
  --text-soft: #5b6878;
  --brand: #2c7a5a;
  --brand-2: #1e5a43;
  --line: #dfe6ec;
  --shadow: 0 20px 60px rgba(5, 24, 37, 0.12);
  --radius: 24px;
  --container: min(1200px, calc(100% - 32px));
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit
}

.container {
  width: var(--container);
  margin: 0 auto
}

.section {
  padding: clamp(96px, 10vw, 160px) 0
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--brand);
  display: block;
  flex: 0 0 auto
}

h1,
h2,
h3,
h4,
p {
  margin: 0
}

h1 {
  text-wrap: balance;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.04em
}

h2 {
  text-wrap: balance;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.03em
}

h3 {
  text-wrap: balance;
  font-size: 1.2rem;
  line-height: 1.2
}

p.lead {
  font-size: 1.125rem;
  color: #d7e0e6
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
  border: 1px solid transparent;
  text-align: center;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--brand-2)
}

.button.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: none
}

.button.outline:hover {
  background: rgba(255, 255, 255, .08)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(12, 17, 23, .7);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  flex: 0 0 auto;
}

.logo span {
  color: #80d1a8
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: #e6edf2;
  flex: 1 1 auto;
  justify-content: center;
}

.nav a {
  font-weight: 600;
  font-size: .96rem;
  opacity: .92
}

.nav a:hover {
  opacity: 1
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer
}

.header-inner>.button {
  flex: 0 0 auto
}

.hero {
  background:
    radial-gradient(1000px 500px at 50% -10%, rgba(87, 166, 121, .22), transparent 60%),
    linear-gradient(180deg, #0d141b 0%, #101a23 100%);
  color: #fff;
  padding: 48px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100svh - 138px)
}

.hero-copy {
  max-width: 640px
}

.hero-copy .support {
  margin-top: 22px;
  max-width: 620px;
  font-size: 1.08rem;
  color: #d0d9df
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px
}

.hero-point {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09)
}

.hero-point strong {
  display: block;
  font-size: 1.35rem
}

.hero-point span {
  display: block;
  color: #d3dce2;
  font-size: .92rem;
  margin-top: 4px
}

.hero-visual {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 100px rgba(0, 0, 0, .34);
  min-width: 0;
}

.hero-slider {
  position: relative;
  height: 640px;
  overflow: hidden;
  border-radius: 24px
}

.hero-track {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 280px));
  gap: 16px;
  width: max-content;
  animation: marquee 38s linear infinite
}

.hero-track+.hero-track {
  margin-top: 16px;
  animation-direction: reverse;
  animation-duration: 46s
}

.hero-card {
  position: relative;
  height: 312px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .45) 100%)
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.section-light {
  background: #fff
}

.section-soft {
  background: var(--surface-2)
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(12, 18, 28, .08);
  transition: transform .25s ease, box-shadow .25s ease
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(12, 18, 28, .14)
}

.service-media {
  height: 220px;
  overflow: hidden
}

.service-media-3 {
  height: 220px;
  overflow: hidden
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  object-position: center 24%;
}

.service-media-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  object-position: center 50%;
}

.service-card:hover .service-media img,
.service-card:hover .service-media-3 img {
  transform: scale(1.04)
}

.service-body {
  padding: 24px
}

.service-body p {
  margin-top: 10px;
  color: var(--text-soft)
}

.service-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf7f1;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 14px
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 560px
}

.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55))
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px
}

.about-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px
}

.about-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--brand);
  margin-bottom: 6px
}

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

.process-card {
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(12, 18, 28, .06)
}

.process-step {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #edf7f1;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px
}

.process-card p {
  margin-top: 10px;
  color: var(--text-soft)
}

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

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(12, 18, 28, .06)
}

.testimonial-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px
}

.testimonial-top img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 auto
}

.testimonial .quote {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px
}

.testimonial .person {
  font-weight: 700
}

.testimonial .role {
  font-size: .92rem;
  color: var(--text-soft)
}

.cta {
  padding: clamp(96px, 10vw, 160px) 0 110px;
  background: #0d141b;
  color: #fff
}

.cta-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 480px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28)
}

.cta-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 40%;
}

.cta-overlay {
  position: relative;
  z-index: 2;
  min-height: 480px;
  background: linear-gradient(90deg, rgba(8, 12, 16, .86) 0%, rgba(8, 12, 16, .62) 42%, rgba(8, 12, 16, .16) 100%);
  display: flex;
  align-items: center
}

.cta-copy {
  max-width: 600px;
  padding: 56px
}

.cta-copy p {
  max-width: 520px;
  margin-top: 16px;
  color: #d4dde3
}

.site-footer {
  background: #0b1015;
  color: #d4dce1;
  padding: 38px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap
}

.footer-nav a {
  color: #d4dce1
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: auto
  }

  .hero-copy {
    max-width: none
  }

  .hero-visual {
    max-width: 820px;
    width: 100%;
    margin: 0 auto
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px
  }

  .about-media {
    min-height: 460px;
    order: -1
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(1200px, calc(100% - 24px));
  }

  .site-header .button {
    display: none
  }

  .nav {
    display: none
  }

  .mobile-toggle {
    display: inline-flex
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    background: #101820;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .28)
  }

  .site-header.is-open .nav a {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .03)
  }

  .hero {
    padding: 34px 0 46px
  }

  .hero-points,
  .services-grid,
  .testimonials-grid,
  .about-panel {
    grid-template-columns: 1fr 1fr
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .hero-slider {
    height: 520px
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1200px, calc(100% - 20px));
  }

  .section {
    padding: 72px 0
  }

  .header-inner {
    min-height: 70px;
    gap: 12px
  }

  .logo {
    font-size: .9rem;
    max-width: 170px;
    line-height: 1.2
  }

  .mobile-toggle {
    height: 42px;
    min-width: 42px;
    padding: 0 14px;
    font-size: .88rem
  }

  h1 {
  text-wrap: balance;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.02
  }

  h2 {
  text-wrap: balance;
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    line-height: 1.08
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .12em
  }

  .hero-copy .support {
    font-size: 1rem
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch
  }

  .hero-actions .button {
    width: 100%
  }

  .hero-points,
  .services-grid,
  .testimonials-grid,
  .process-grid,
  .about-panel {
    grid-template-columns: 1fr
  }

  .hero-point strong {
    font-size: 1.15rem
  }

  .hero-visual {
    padding: 12px;
    border-radius: 24px
  }

  .hero-slider {
    height: 420px;
    border-radius: 18px
  }

  .hero-track {
    grid-template-columns: repeat(16, minmax(0, 220px));
    gap: 12px
  }

  .hero-card {
    height: 200px;
    border-radius: 16px
  }

  .service-body,
  .process-card,
  .testimonial,
  .about-item {
    padding: 20px
  }

  .about-media {
    min-height: 360px;
    border-radius: 16px
  }

  .cta {
    padding: 72px 0 84px
  }

  .cta-box,
  .cta-overlay {
    min-height: 400px;
    border-radius: 24px
  }

  .cta-overlay {
    background: linear-gradient(180deg, rgba(8, 12, 16, .2) 0%, rgba(8, 12, 16, .7) 30%, rgba(8, 12, 16, .92) 100%);
    align-items: flex-end
  }

  .cta-copy {
    padding: 24px
  }

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

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-bottom > div:last-child {
    justify-content: flex-start !important;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .header-inner {
    min-height: 66px
  }

  .logo {
    font-size: .82rem;
    max-width: 140px
  }

  .hero {
    padding-top: 26px
  }

  .hero-slider {
    height: 360px
  }

  .hero-track {
    grid-template-columns: repeat(16, minmax(0, 180px));
    gap: 10px
  }

  .hero-card {
    height: 168px
  }

  .hero-point {
    padding: 14px 16px
  }

  .eyebrow::before {
    width: 24px
  }

  .section-head {
    margin-bottom: 32px
  }

  .cta-copy .hero-actions .button {
    min-height: 50px
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none
  }

  .hero-track {
    animation: none
  }

  .button,
  .service-card,
  .service-media img,
  .service-media-3 img {
    transition: none
  }
}
/* --- UX/UI REFINEMENTS --- */
h1, h2, h3 { text-wrap: balance; }
.cta-copy p { text-shadow: 0 1px 4px rgba(0,0,0,0.6); font-weight: 400; color: #fff; }

@media (max-width: 920px) {
  /* Tap targets para navegação / mobile toggle / footer */
  /* safely applied explicit tap targets */
  .footer-bottom a, .footer-nav a, .nav a { padding: 16px; margin: -16px; position: relative; z-index: 10; display: inline-block; }
  .mobile-toggle { min-height: 44px; min-width: 44px; }
  
  .button { margin: 0; } /* Reset para buttons que já tem padding */
  .footer-bottom { gap: 32px; }
}
