.resin-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.resin-story figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce7ee;
  border-radius: 1.25rem;
  background: #f4f9fb;
  box-shadow: 0 16px 38px #07164f17;
}

.resin-story img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.resin-story figcaption {
  padding: .85rem 1rem;
  color: #41536a;
  font-size: .9rem;
}

.resin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
}

.resin-cards article {
  padding: clamp(1.25rem, 3vw, 1.85rem);
  border: 1px solid #dce7ee;
  border-radius: 1.25rem;
  background: linear-gradient(150deg, #fff 35%, #eef7f5);
  box-shadow: 0 14px 34px #07164f0d;
}

.resin-cards h3 {
  margin-top: 0;
}

.resin-cards p {
  margin-bottom: 0;
}

.resin-steps {
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem;
}

.resin-steps li::marker {
  color: #006b35;
  font-weight: 700;
}

@media (max-width: 800px) {
  .resin-story {
    grid-template-columns: minmax(0, 1fr);
  }
}

.resin-demo {
  max-width: 58rem;
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  overflow: hidden;
  border: 1px solid #dce7ee;
  border-radius: 1.25rem;
  background: #f4f9fb;
  box-shadow: 0 16px 38px #07164f17;
}

.resin-demo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #f8f8f5;
}

.resin-demo figcaption {
  padding: 1rem 1.25rem;
  color: #41536a;
  line-height: 1.5;
}

.resin-demo figcaption strong {
  display: block;
  margin-bottom: .25rem;
  color: #102846;
}

.resin-demo-visual {
  position: relative;
}

.resin-flow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.resin-flow-trace {
  fill: none;
  stroke: #b2ffe8;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 7px #00e2bd);
}

@media (prefers-reduced-motion: reduce) {
  .resin-flow {
    display: none;
  }
}

.resin-team-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.resin-team-images img {
  aspect-ratio: 3 / 4;
  object-position: center 40%;
}

.resin-process {
  list-style: none;
  padding-left: 0;
  counter-reset: resin-step;
}

.resin-process li {
  position: relative;
  padding: .9rem 1rem .9rem 3.4rem;
  border: 1px solid #dce7ee;
  border-radius: .85rem;
  background: linear-gradient(135deg, #fff, #f0f8f6);
  counter-increment: resin-step;
}

.resin-process li::before {
  content: counter(resin-step);
  display: grid;
  place-items: center;
  position: absolute;
  top: .9rem;
  left: .9rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #006b47;
  color: #fff;
  font-weight: 700;
}

.resin-process li span {
  display: block;
  margin-top: .2rem;
  line-height: 1.5;
}

.resin-reference {
  margin-top: 1.25rem;
  font-size: .9rem;
}

#atendimento .pool-service-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}

#atendimento .pool-service-details > div {
  padding: 1.15rem;
  border: 1px solid #dce7ee;
  border-radius: 1rem;
  background: linear-gradient(150deg, #fff, #eef7f5);
  box-shadow: 0 10px 24px #07164f0b;
}

#atendimento .pool-service-details dt {
  font-weight: 750;
}

#atendimento .pool-service-details dd {
  margin: .35rem 0 0;
}

#atendimento .pool-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin-block: 1.5rem;
}

#atendimento .pool-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce7ee;
  border-radius: 1rem;
  background: #fff;
}

#atendimento .pool-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

#atendimento .pool-gallery figcaption {
  padding: .85rem 1rem;
  font-weight: 650;
}

.resin-examples img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .75rem;
  margin-bottom: .85rem;
}

.resin-extra {
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border: 1px solid #dce7ee;
  border-radius: 1rem;
  background: #f4f9f7;
}

.resin-extra summary {
  color: #102846;
  font-weight: 700;
  cursor: pointer;
}

#escolha-da-resina {
  padding-block: 1.5rem;
}

#atendimento .pool-gallery {
  max-width: 50rem;
}

#atendimento .pool-gallery img {
  aspect-ratio: auto;
  height: 7rem;
}

@media (max-width: 620px) {
  #atendimento .pool-gallery {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  #atendimento .pool-gallery figure {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    align-items: center;
  }

  #atendimento .pool-gallery img {
    height: 4rem;
  }
}
