@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap");

:root {
  --ink: #15372e;
  --ink-soft: #4d615b;
  --green: #1f7658;
  --green-bright: #92be3d;
  --sand: #f5f3ed;
  --white: #ffffff;
  --line: rgba(21, 55, 46, 0.14);
  --shadow: 0 24px 60px rgba(16, 48, 39, 0.14);

  /* Sistema de bordas */
  --radius-button: 10px;
  --radius-card: 18px;
  --radius-section: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  background: #081905;
}

body,
button,
a {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  color: inherit;
}

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

.section {
  padding: 72px 0;
}

h1,
h2,
h3 {
  font-family: "DM Sans", Arial, sans-serif;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 86px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(21, 55, 46, 0.08);
  backdrop-filter: blur(16px);
  font-family: "DM Sans", Arial, sans-serif;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
}
.brand img {
  width: 164px;
  height: auto;
}
.navigation,
.navigation nav {
  display: flex;
  align-items: center;
}
.navigation {
  gap: 36px;
}
.navigation nav {
  gap: 32px;
}

.navigation nav a {
  position: relative;
  color: #294b42;
  font-size: 19px;
  font-weight: 700;
}

.navigation nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--green-bright);
  transition: right 180ms ease;
}

.navigation nav a:hover::after,
.navigation nav a:focus-visible::after {
  right: 0;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.button.header-button {
  font-family: inherit;
  font-size: 19px;
  font-weight: 700;
}

.button svg,
.card-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-button,
.button-primary {
  background: var(--green);
  color: var(--white);
}

.header-button:hover,
.button-primary:hover {
  background: #155f46;
  box-shadow: 0 12px 30px rgba(31, 118, 88, 0.24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #25463a url("assets/hero-ambiental.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  font-family: "DM Sans", Arial, sans-serif;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 37, 29, 0.88) 0%,
      rgba(12, 45, 35, 0.68) 48%,
      rgba(10, 33, 27, 0.14) 82%
    ),
    linear-gradient(0deg, rgba(8, 30, 24, 0.3), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 84px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--green);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #c6ea7d;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-family: "Outfit", "DM Sans", Arial, sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.14rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
}

.text-link {
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.92rem;
  font-weight: 700;
}

.light-link {
  color: rgba(255, 255, 255, 0.86);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.45);
}
.services {
  background: #081905;
  color: #f6f8f1;
  font-family: "DM Sans", Arial, sans-serif;
  padding-bottom: 45px;
}

.services .eyebrow {
  color: #a9d66a;
}

.services .section-heading h2,
.services .licenses-heading h3 {
  color: #ffffff;
}

.services .split-heading > p,
.services .licenses-heading p {
  color: rgba(246, 248, 241, 0.78);
}

.section-heading h2,
.about-content h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 80px;
}

.split-heading > p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: #fbfcf6;
  border: 1px solid rgba(169, 214, 106, 0.16);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition:
    box-shadow 240ms ease;
}

.service-card:hover {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.service-image-wrap {
  position: relative;
  flex: 0 0 auto;
  height: 280px;
  overflow: hidden;
}

.service-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 43, 32, 0.3), transparent 50%);
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.035);
}

.service-index {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 28px 32px;
}
.service-content h3 {
  margin: 0;
  color: #123529;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

.service-content p {
  min-height: 86px;
  margin: 16px 0 24px;
  color: #425950;
  font-size: 16px;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1f7658;
  font-size: 16px;
  font-weight: 800;
}

.service-content .card-link {
  margin-top: auto;
}

.services-logo-fill {
  display: grid;
  min-height: 360px;
  padding: 48px;
  place-items: center;
  align-self: center;
}

.services-logo-fill img {
  width: min(78%, 300px);
  height: auto;
  opacity: 0.84;
  filter: brightness(0) invert(1) drop-shadow(0 18px 34px rgba(0, 0, 0, 0.24));
}

.about {
  padding: 32px 0;
  font-family: "DM Sans", Arial, sans-serif;

  background:
    linear-gradient(rgba(9, 37, 29, 0.3), rgba(9, 37, 29, 0.3)),
    url("assets/sobre-fundo.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;

  padding: 36px 44px;
  background: var(--white);
  border: 1px solid rgba(21, 55, 46, 0.08);
  border-radius: var(--radius-section);
  box-shadow: 0 20px 60px rgba(9, 37, 29, 0.18);
}

.image-mosaic {
  position: relative;
  min-height: 420px;
}

.mosaic-main {
  position: absolute;
  inset: 0 auto auto 0;
  width: 68%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.mosaic-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 220px;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: var(--radius-card);
}

.mosaic-mark {
  position: absolute;
  left: 5%;
  bottom: 0;

  display: flex;
  width: 132px;
  height: 110px;
  padding: 16px;
  align-items: center;
  justify-content: center;

  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 38px rgba(16, 48, 39, 0.16);
}

.mosaic-mark img {
  width: 100%;
  height: auto;
}

.about-content h2 {
  max-width: 540px;
  font-size: clamp(38px, 3.3vw, 52px);
  line-height: 1.08;
}

.about-content > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.about-content .about-lead {
  margin-top: 20px;
  color: var(--ink);
  font-size: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.about-values div {
  display: flex;
  min-width: 0;
  padding: 0 8px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.about-values span {
  display: block;
  color: var(--green-bright);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.about-values strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.contact {
  position: relative;
  overflow: hidden;
  background: #eef7f2;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--green);
  border-top: 1px solid rgba(31, 118, 88, 0.12);
}

.contact::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(31, 118, 88, 0.12);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 86px;
}

.contact .eyebrow.light {
  color: var(--green);
}

.contact h2 {
  color: #143f32;
  line-height: 0.98;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px 0 28px;
  color: #4d615b;
  font-size: 1.16rem;
  line-height: 1.5;
}

.contact-logo {
  display: block;
  width: clamp(260px, 30vw, 390px);
  height: auto;
  margin: 30px auto 0;
  filter: drop-shadow(0 16px 26px rgba(16, 48, 39, 0.18));
}

.button-white {
  background: #25d366;
  color: var(--white);
}
.button-white:hover {
  background: #1fbd5a;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.24);
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 6px 30px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(31, 118, 88, 0.16);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 50px rgba(16, 48, 39, 0.1);
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  color: var(--green);
  border-bottom: 1px solid rgba(31, 118, 88, 0.14);
}

.contact-item:last-child {
  border-bottom: 0;
}
.contact-item.pending {
  color: rgba(31, 118, 88, 0.68);
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(31, 118, 88, 0.1);
  color: var(--green);
  border-radius: 50%;
}

.contact-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item small {
  color: #6f887f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  color: #143f32;
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer {
  font-family: "DM Sans", Arial, sans-serif;
  padding: 32px 0;
  background: #0c2d24;
  color: rgba(255, 255, 255, 0.58);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-brand img {
  width: 160px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer p {
  margin: 0;
  justify-self: end;
  font-size: 0.72rem;
}

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease;
}

.floating-whatsapp:hover {
  transform: scale(1.02);
}
.floating-whatsapp svg {
  width: 29px;
  fill: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #bce56e;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .section {
    padding: 64px 0;
  }
  .site-header {
    height: 76px;
  }
  .brand img {
    width: 142px;
  }
  .menu-toggle {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    padding: 22px 24px 28px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(20, 54, 45, 0.12);
  }

  .navigation.is-open,
  .navigation nav {
    display: flex;
  }
  .navigation.is-open {
    flex-direction: column;
    gap: 20px;
  }
  .navigation nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .navigation nav a {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
  }

  .navigation nav a::after {
    display: none;
  }
  .hero {
    min-height: 720px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-logo-fill {
    display: none;
  }
  .service-content p {
    min-height: 0;
  }
  .about {
    padding: 28px 0;
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    padding: 32px;
  }

  .image-mosaic {
    min-height: 340px;
    max-width: none;
  }

  .mosaic-main {
    height: 285px;
  }

  .mosaic-secondary {
    height: 180px;
  }
  .contact-grid {
    gap: 55px;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-map {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  background: #eef7f2;
  border: 1px solid rgba(31, 118, 88, 0.16);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 50px rgba(16, 48, 39, 0.1);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-button);
  box-shadow: 0 8px 24px rgba(31, 118, 88, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    background 180ms ease,
    box-shadow 180ms ease;
}

.map-link:hover {
  background: #155f46;
  box-shadow: 0 12px 28px rgba(31, 118, 88, 0.26);
}

.contact-item strong {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }
  body {
    overflow-x: hidden;
  }
  .container {
    width: min(100% - 32px, 1180px);
  }
  .section {
    padding: 56px 0;
  }

  .hero {
    align-items: flex-start;
    height: auto;
    min-height: min(760px, 100svh);
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(9, 37, 29, 0.91),
      rgba(9, 37, 29, 0.57)
    );
  }

  .hero-content {
    padding-top: 118px;
    padding-bottom: 56px;
  }
  .hero .eyebrow {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.08rem;
    white-space: normal;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.55rem);
  }
  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 280px;
    min-height: 52px;
    padding-inline: 18px;
    font-size: 0.96rem;
    white-space: normal;
  }

  .scroll-cue {
    display: none;
  }
  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }
  .service-image-wrap {
    height: 260px;
  }

  .about {
    padding: 20px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 18px;
    border-radius: 24px;
  }

  .image-mosaic {
    min-height: 280px;
  }

  .mosaic-main {
    width: 76%;
    height: 230px;
  }

  .mosaic-secondary {
    width: 54%;
    height: 150px;
    border-width: 6px;
  }

  .mosaic-mark {
    left: 4%;
    bottom: 0;
    width: 108px;
    height: 88px;
    padding: 12px;
  }

  .about-content h2 {
    font-size: 30px;
    line-height: 1.1;
  }

  .about-content > p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
  }

  .about-content .about-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .about-values div {
    padding: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .about-values span {
    min-width: 24px;
  }

  .contact h2 {
    font-size: clamp(2rem, 10.5vw, 2.65rem);
    line-height: 1.02;
  }
  .contact-intro > p:not(.eyebrow) {
    margin: 18px 0 24px;
    font-size: 1.03rem;
    line-height: 1.5;
  }
  .contact-logo {
    width: min(78vw, 290px);
    margin: 24px auto 0;
  }
  .contact .button {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 0.9rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-card {
    padding-inline: 18px;
  }
  .contact-item {
    align-items: flex-start;
    gap: 12px;
  }
  .contact-icon {
    width: 34px;
    height: 34px;
    margin-top: 2px;
  }
  .contact-item span:last-child {
    min-width: 0;
    flex: 1;
  }
  .contact-item small {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
  .contact-item strong {
    font-size: 0.86rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
  }
  .contact-map {
    height: 280px;
  }

  .map-link {
    right: 10px;
    bottom: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer p {
    grid-column: auto;
    justify-self: center;
  }

  .floating-whatsapp {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==============================
   LICENÇAS APROVADAS
================================= */

.licenses-showcase {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(246, 248, 241, 0.16);
}

.licenses-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.licenses-heading h3 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.licenses-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
}

.licenses-arrows {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.licenses-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;

  color: #dff2c1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(223, 242, 193, 0.26);
  border-radius: var(--radius-button, 10px);

  font-size: 1.25rem;
  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.licenses-arrow:hover {
  color: #081905;
  background: #dff2c1;
  border-color: #dff2c1;
}

.licenses-arrow:focus-visible {
  outline: 3px solid rgba(63, 122, 83, 0.25);
  outline-offset: 3px;
}

.licenses-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 19vw, 215px);
  gap: 18px;

  padding: 4px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;

  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a9d66a transparent;
}

.licenses-track::-webkit-scrollbar {
  height: 8px;
}

.licenses-track::-webkit-scrollbar-track {
  background: transparent;
}

.licenses-track::-webkit-scrollbar-thumb {
  background: #a9d66a;
  border-radius: 20px;
}

.license-card {
  display: block;
  padding: 0;
  overflow: hidden;

  color: var(--ink);
  background: #fbfcf6;
  border: 1px solid rgba(169, 214, 106, 0.18);
  border-radius: var(--radius-card, 18px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);

  font: inherit;
  cursor: zoom-in;
  scroll-snap-align: start;

  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.license-card:hover {
  border-color: rgba(169, 214, 106, 0.46);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
}

.license-card:focus-visible {
  outline: 3px solid rgba(63, 122, 83, 0.25);
  outline-offset: 3px;
}

.license-card img {
  display: block;
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: top;
  background: #eeeeea;
}

/* ==============================
   MODAL DAS LICENÇAS
================================= */

body.modal-open {
  overflow: hidden;
}

.license-modal {
  width: min(90vw, 680px);
  max-width: none;
  max-height: 90vh;
  padding: 0;
  overflow: visible;

  background: transparent;
  border: 0;
}

.license-modal::backdrop {
  background: rgba(7, 20, 16, 0.82);
  backdrop-filter: blur(3px);
}

.license-modal-content {
  position: relative;
  display: flex;
  padding: 0;
  align-items: center;
  justify-content: center;

  background: transparent;
}

.license-modal-image {
  display: block;
}

#license-modal-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82vh;

  object-fit: contain;
}

.license-modal-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;

  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;

  color: #ffffff;
  background: rgba(7, 31, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.license-modal-close:hover {
  background: var(--green);
  transform: scale(1.06);
}

.license-modal-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* Tablets */

@media (max-width: 980px) {
  .licenses-track {
    grid-auto-columns: min(38vw, 245px);
  }
}

/* Celulares */

@media (max-width: 720px) {
  .services {
    padding-bottom: 40px;
  }
  .licenses-showcase {
    margin-top: 32px;
    padding-top: 24px;
  }

  .licenses-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .licenses-arrows {
    display: none;
  }

  .licenses-track {
    grid-auto-columns: min(72vw, 235px);
    gap: 14px;
  }

  .license-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .license-modal-content {
    padding: 0;
  }

  #license-modal-image {
    max-height: calc(100dvh - 40px);
  }

  .license-modal-close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}
