/* ================================
   SAP — VISUAL INSTITUCIONAL
================================ */

.sap-page {
  background: #ffffff;
  color: var(--clean-text);
}

.sap-main {
  background: #ffffff;
}

/* HERO */

.sap-hero {
  position: relative;
  padding: 168px 0 88px;
  background:
    radial-gradient(circle at 84% 22%, rgba(124, 58, 237, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fd 100%);
  border-bottom: 1px solid var(--clean-border);
}

.sap-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.sap-hero-content h1 {
  max-width: 820px;
  margin: 0;
  color: var(--clean-text);
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.sap-hero-content p {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--clean-muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.82;
}

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

.sap-hero-panel {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(124, 58, 237, 0.17), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f4f1ff 100%);
  border: 1px solid var(--clean-purple-border);
  box-shadow: var(--clean-shadow);
  overflow: hidden;
}

.sap-hero-panel::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  right: -150px;
  top: -140px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
}

.panel-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin-bottom: 0;
  color: var(--clean-purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sap-hero-panel h2 {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0;
  color: var(--clean-text);
  font-size: clamp(1.75rem, 2.6vw, 2.45rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.sap-panel-list {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.sap-panel-list div {
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--clean-border);
  box-shadow: var(--clean-shadow-soft);
}

.sap-panel-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--clean-text);
  font-size: 14px;
}

.sap-panel-list span {
  display: block;
  color: var(--clean-soft);
  font-size: 13px;
  line-height: 1.45;
}

/* SOBRE SAP */

.sap-about-section {
  padding: 106px 0;
  background: #ffffff;
}

.sap-about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: start;
}

.sap-about-grid h2 {
  max-width: 780px;
  margin: 0;
  color: var(--clean-text);
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.068em;
  font-weight: 800;
}

.sap-about-content {
  display: grid;
  gap: 22px;
}

.sap-about-content p {
  margin: 0;
  color: var(--clean-muted);
  font-size: 1.08rem;
  line-height: 1.86;
}

/* HEADINGS */

.sap-summary-section,
.sap-work-section,
.sap-ams-section {
  padding: 106px 0;
}

.sap-summary-section,
.sap-ams-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, 0.08), transparent 24%),
    var(--clean-bg);
}

.sap-work-section {
  background: #ffffff;
}

.sap-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 54px;
}

.sap-heading h2 {
  max-width: 860px;
  margin: 0;
  color: var(--clean-text);
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.068em;
  font-weight: 800;
}

.sap-heading p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--clean-muted);
  font-size: 1.06rem;
  line-height: 1.82;
}

/* RESUMO */

.sap-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sap-summary-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--clean-border);
  box-shadow: var(--clean-shadow-soft);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sap-summary-card::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  right: -92px;
  top: -92px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.06);
  transition: transform 0.22s ease, background 0.22s ease;
}

.sap-summary-card:hover {
  transform: translateY(-5px);
  border-color: var(--clean-purple-border);
  box-shadow: var(--clean-shadow);
}

.sap-summary-card:hover::after {
  transform: scale(1.16);
  background: rgba(124, 58, 237, 0.1);
}

.sap-summary-card > span {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 16px;
  background: var(--clean-purple-3);
  color: var(--clean-purple);
  font-weight: 800;
}

.sap-summary-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  color: var(--clean-text);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.sap-summary-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--clean-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.featured-sap-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(124, 58, 237, 0.14), transparent 30%),
    #faf7ff;
  border-color: var(--clean-purple-border);
}

/* COMO ATUAMOS */

.sap-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.sap-work-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--clean-border);
  box-shadow: var(--clean-shadow-soft);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sap-work-card::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -84px;
  top: -84px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.06);
  transition: transform 0.22s ease, background 0.22s ease;
}

.sap-work-card:hover {
  transform: translateY(-5px);
  border-color: var(--clean-purple-border);
  box-shadow: var(--clean-shadow);
}

.sap-work-card:hover::after {
  transform: scale(1.18);
  background: rgba(124, 58, 237, 0.1);
}

.sap-card-tag {
  position: relative;
  z-index: 2;
  width: fit-content;
  display: inline-flex;
  margin-bottom: 30px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--clean-purple-3);
  color: var(--clean-purple);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sap-work-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  color: var(--clean-text);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.sap-work-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--clean-muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.featured-sap-work-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(124, 58, 237, 0.14), transparent 30%),
    #faf7ff;
  border-color: var(--clean-purple-border);
}

/* BENEFÍCIOS */

.sap-benefits-section {
  padding: 110px 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(124, 58, 237, 0.22), transparent 28%),
    linear-gradient(135deg, #07142b 0%, #0d1b36 56%, #111827 100%);
  color: #ffffff;
}

.sap-benefits-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 78px;
  align-items: start;
}

.sap-benefits-grid .clean-kicker {
  color: #d8b4fe;
}

.sap-benefits-grid .clean-kicker::before {
  background: #a855f7;
}

.sap-benefits-grid h2 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.45rem, 4.8vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.068em;
  font-weight: 800;
}

.sap-benefits-grid p {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
  line-height: 1.82;
}

.sap-benefits-list {
  display: grid;
  gap: 16px;
}

.sap-benefits-list div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.sap-benefits-list strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.sap-benefits-list span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

/* AMS */

.sap-ams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sap-ams-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--clean-border);
  box-shadow: var(--clean-shadow-soft);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.sap-ams-card:hover {
  transform: translateY(-5px);
  border-color: var(--clean-purple-border);
  box-shadow: var(--clean-shadow);
}

.sap-ams-card > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 16px;
  background: var(--clean-purple-3);
  color: var(--clean-purple);
  font-weight: 800;
}

.sap-ams-card h3 {
  margin: 0 0 16px;
  color: var(--clean-text);
  font-size: clamp(1.55rem, 2.25vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.sap-ams-card p {
  margin: 0;
  color: var(--clean-muted);
  font-size: 1rem;
  line-height: 1.76;
}

/* CTA */

.sap-cta-section {
  padding: 108px 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(124, 58, 237, 0.12), transparent 28%),
    var(--clean-bg);
}

.sap-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: center;
  padding: clamp(2.4rem, 5vw, 4.4rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 8%, rgba(124, 58, 237, 0.16), transparent 30%),
    #ffffff;
  border: 1px solid var(--clean-border);
  box-shadow: var(--clean-shadow);
  overflow: hidden;
}

.sap-cta-card::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -150px;
  bottom: -160px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
}

.sap-cta-card > div {
  position: relative;
  z-index: 2;
}

.sap-cta-card h2 {
  max-width: 780px;
  margin: 0;
  color: var(--clean-text);
  font-size: clamp(2.45rem, 4.9vw, 4.45rem);
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.sap-cta-card p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--clean-muted);
  font-size: 1.06rem;
  line-height: 1.82;
}

.sap-cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 230px;
}

.sap-cta-actions .clean-btn {
  width: 100%;
}

/* RESPONSIVO */

@media (max-width: 1120px) {
  .sap-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  .sap-hero-grid,
  .sap-about-grid,
  .sap-heading,
  .sap-benefits-grid,
  .sap-cta-card {
    grid-template-columns: 1fr;
  }

  .sap-summary-grid,
  .sap-ams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sap-cta-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .sap-hero {
    padding: 136px 0 72px;
  }

  .sap-about-section,
  .sap-summary-section,
  .sap-work-section,
  .sap-benefits-section,
  .sap-ams-section,
  .sap-cta-section {
    padding: 84px 0;
  }

  .sap-summary-grid,
  .sap-work-grid,
  .sap-ams-grid {
    grid-template-columns: 1fr;
  }

  .sap-hero-panel {
    min-height: auto;
  }

  .sap-cta-card {
    padding: 30px;
  }
}

@media (max-width: 560px) {
  .sap-hero-content h1 {
    font-size: 2.75rem;
  }

  .sap-hero-actions {
    flex-direction: column;
  }

  .sap-hero-actions .clean-btn {
    width: 100%;
  }

  .sap-about-grid h2,
  .sap-heading h2,
  .sap-benefits-grid h2,
  .sap-cta-card h2 {
    font-size: 2.35rem;
  }

  .sap-benefits-list div {
    grid-template-columns: 1fr;
  }
}