/* ===== Landing de serviços (CPT solution) ===== */

.solution-landing {
  --solution-contact-bg: #000000;
}

.solution-hero {
  padding: calc(var(--header-height) + var(--mode-bar-height) + 2.5rem) 0 3rem;
  background: var(--color-hero-bg);
  color: var(--color-hero-text);
}

.solution-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .solution-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.solution-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.solution-hero-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 48ch;
  margin: 0 0 1.5rem;
}

.solution-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.solution-hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin-inline: auto;
  border: 1px solid var(--color-border);
}

.solution-cta-fixed {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 90;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.show-mobile-only {
  display: inline-flex;
}

@media (min-width: 768px) {
  .show-mobile-only {
    display: none;
  }
}

/* Corpo principal */
.solution-body {
  padding: 3rem 0 2rem;
}

.solution-body-inner {
  max-width: 42rem;
  margin-inline: auto;
}

.solution-body-kicker {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.solution-body-inner.page-prose {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.solution-body-inner.page-prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.solution-body-inner.page-prose strong {
  color: var(--color-text);
}

/* Clientes */
.solution-clients {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.solution-clients-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.solution-clients-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: solution-clients-scroll 40s linear infinite;
}

.solution-clients-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  opacity: 0.85;
}

.solution-clients-item img {
  max-height: 40px;
  width: auto;
  filter: grayscale(1) brightness(1.2);
}

.solution-clients-placeholder {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.solution-clients-caption {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@keyframes solution-clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Missão */
.solution-mission {
  padding: 4rem 0;
}

.solution-mission .section-grid {
  align-items: center;
}

.solution-mission-media img {
  width: 100%;
  border: 1px solid var(--color-border);
}

.solution-mission-prose p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Processo */
.solution-process {
  padding: 4rem 0;
  background: var(--color-surface);
}

.solution-process-intro {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.solution-process-list {
  max-width: 42rem;
  margin-inline: auto;
  display: grid;
  gap: 2rem;
}

.solution-process-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
}

.solution-step-icon {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(40, 170, 109, 0.15);
  border: 1px solid rgba(40, 170, 109, 0.35);
  position: relative;
}

.solution-step-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--color-accent);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.solution-step-icon--search::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
}

.solution-step-icon--chart::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 19V5M10 19V9M16 19v-6M22 19V3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 19V5M10 19V9M16 19v-6M22 19V3'/%3E%3C/svg%3E");
}

.solution-step-icon--wrench::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 4l6 6-8 8H6v-6l8-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 4l6 6-8 8H6v-6l8-8z'/%3E%3C/svg%3E");
}

.solution-step-icon--lock::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='1'/%3E%3Cpath d='M8 11V8a4 4 0 118 0v3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='1'/%3E%3Cpath d='M8 11V8a4 4 0 118 0v3'/%3E%3C/svg%3E");
}

.solution-step-icon--device::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}

.solution-step-icon--rocket::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l2 7h7l-5.5 4 2 7L12 16l-5.5 4 2-7L3 9h7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 2l2 7h7l-5.5 4 2 7L12 16l-5.5 4 2-7L3 9h7z'/%3E%3C/svg%3E");
}

.solution-process-item-title {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.solution-process-item-text p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contato — fundo preto contínuo, sem bloco azul */
.solution-contact {
  background: var(--solution-contact-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.solution-contact .section-title,
.solution-contact .solution-contact-lead,
.solution-form-kicker {
  color: var(--color-text);
}

.solution-contact .contato-benefits {
  color: var(--color-text-muted);
}

.solution-contact .contato-benefits li::before {
  color: var(--color-accent);
}

.solution-contact .contato-form-wrapper {
  background: #000000;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  box-shadow: none;
}

.solution-form-kicker {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.solution-form-sub {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.solution-form-disclaimer {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--color-text-muted);
}

.solution-contact .contato-form-wrapper .wpcf7 label,
.solution-contact .contato-form-wrapper label {
  color: var(--color-text);
}

.solution-contact .contato-form-wrapper .wpcf7-form-control:not(.wpcf7-submit),
.solution-contact .contato-form-wrapper input:not([type="submit"]),
.solution-contact .contato-form-wrapper textarea {
  background: #0c0c0c;
  border-color: var(--color-border);
  color: var(--color-text);
}

.solution-contact .contato-form-wrapper .wpcf7-form-control:not(.wpcf7-submit):focus,
.solution-contact .contato-form-wrapper input:not([type="submit"]):focus,
.solution-contact .contato-form-wrapper textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.35);
  background: #111111;
  box-shadow: none;
}

.solution-contact .contato-form-wrapper .wpcf7-form-control::placeholder,
.solution-contact .contato-form-wrapper input::placeholder,
.solution-contact .contato-form-wrapper textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.75;
}

.solution-contact .contato-form-wrapper .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--color-border);
  color: var(--color-text-muted);
  background: #0c0c0c;
}

.solution-contact .contato-form-wrapper .wpcf7-response-output {
  border-color: var(--color-border);
  color: var(--color-text-muted);
  background: transparent;
}

@media (min-width: 960px) {
  .solution-mission .section-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-mission-media {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solution-clients-track {
    animation: none;
  }
}
