/**
 * Setor Seguro — apresentações comerciais B2B (compactas, ultra premium, orientadas a contato).
 * Carregar após ss-premium-pages.css
 */
body.ss-apresentacao-page {
  --ap-gold: #ffd002;
  --ap-gold-dim: rgba(255, 208, 2, 0.14);
  --ap-radius: 20px;
  --ap-radius-lg: 28px;
}

body.ss-apresentacao-page .site-header .menu {
  display: none;
}

body.ss-apresentacao-page .nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

body.ss-apresentacao-page .nav-cta-group .btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  border: 1px solid rgba(255, 208, 2, 0.45);
  background: linear-gradient(135deg, rgba(255, 208, 2, 0.96), rgba(255, 153, 0, 0.92));
  color: #111827;
  box-shadow: 0 12px 28px rgba(255, 208, 2, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.ss-apresentacao-page .nav-cta-group .btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 208, 2, 0.28);
}

body.ss-apresentacao-page .nav-cta-group .btn-nav-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: inherit;
}

[data-theme="light"] body.ss-apresentacao-page .nav-cta-group .btn-nav-soft {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.12);
}

body.ss-apresentacao-page main > section.hero:first-of-type {
  min-height: clamp(420px, 72vh, 620px);
  padding: 48px 0 56px;
}

body.ss-apresentacao-page main > section.hero:first-of-type::before {
  background:
    url("https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?auto=format&fit=crop&w=2400&q=80")
    center 35% / cover no-repeat;
}

body.ss-apresentacao-page main > section.hero:first-of-type::after {
  background:
    linear-gradient(105deg, rgba(2, 6, 23, 0.97) 0%, rgba(2, 6, 23, 0.88) 38%, rgba(2, 6, 23, 0.52) 72%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.82));
}

.ap-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 2, 0.38);
  background: var(--ap-gold-dim);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fef3c7;
}

[data-theme="light"] .ap-eyebrow {
  color: #4a3500;
  background: rgba(255, 208, 2, 0.2);
}

.ap-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

.ap-hero h1 span {
  color: var(--ap-gold);
}

.ap-hero-lead {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.62;
  color: #cbd5e1;
}

[data-theme="light"] .ap-hero-lead {
  color: #475569;
}

.ap-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.ap-panel {
  position: relative;
  padding: 22px;
  border-radius: var(--ap-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.62));
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

[data-theme="light"] .ap-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.9));
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

.ap-panel::before {
  content: "";
  position: absolute;
  inset: auto -30% -40% -30%;
  height: 220px;
  background: radial-gradient(circle at center, rgba(255, 208, 2, 0.32), transparent 62%);
  filter: blur(12px);
  opacity: 0.75;
  pointer-events: none;
}

.ap-panel-inner {
  position: relative;
  z-index: 1;
}

.ap-panel h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.ap-panel p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #94a3b8;
}

.ap-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.ap-trust-item {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.42);
  text-align: center;
}

[data-theme="light"] .ap-trust-item {
  background: rgba(255, 255, 255, 0.78);
}

.ap-trust-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ap-gold);
}

.ap-trust-item span {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ap-contact-stack {
  display: grid;
  gap: 10px;
}

.ap-contact-stack a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
}

.ap-contact-stack .ap-btn-primary {
  background: linear-gradient(135deg, rgba(255, 208, 2, 0.98), rgba(255, 153, 0, 0.94));
  color: #111827;
  box-shadow: 0 14px 32px rgba(255, 208, 2, 0.24);
}

.ap-contact-stack .ap-btn-wa {
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #ecfdf5;
}

[data-theme="light"] .ap-contact-stack .ap-btn-wa {
  color: #065f46;
  background: rgba(37, 211, 102, 0.12);
}

.ap-section {
  padding: 44px 0;
}

.ap-section-tight {
  padding: 36px 0;
}

.ap-section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.ap-section .ap-section-lead {
  margin: 0 0 20px;
  max-width: 62ch;
  color: #94a3b8;
  line-height: 1.58;
}

.ap-solutions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ap-solution {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 148px;
  padding: 16px;
  border-radius: var(--ap-radius);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.48);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

[data-theme="light"] .ap-solution {
  background: rgba(255, 255, 255, 0.82);
}

.ap-solution:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 208, 2, 0.42);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
}

.ap-solution .iconify {
  width: 26px;
  height: 26px;
  color: var(--ap-gold);
}

.ap-solution strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.ap-solution span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #94a3b8;
}

.ap-solution em {
  margin-top: auto;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ap-gold);
}

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

.ap-step {
  padding: 18px;
  border-radius: var(--ap-radius);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.38);
}

[data-theme="light"] .ap-step {
  background: rgba(255, 255, 255, 0.78);
}

.ap-step b {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--ap-gold);
  color: #111827;
  font-size: 0.88rem;
}

.ap-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.ap-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #94a3b8;
}

.ap-cta-band {
  padding: 36px 0 48px;
}

.ap-cta-band .container {
  padding: 28px 24px;
  border-radius: var(--ap-radius-lg);
  border: 1px solid rgba(255, 208, 2, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 208, 2, 0.12), rgba(15, 23, 42, 0.72)),
    rgba(2, 6, 23, 0.85);
  text-align: center;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

[data-theme="light"] .ap-cta-band .container {
  background:
    linear-gradient(135deg, rgba(255, 208, 2, 0.18), rgba(255, 255, 255, 0.92)),
    #f8fafc;
}

.ap-cta-band h2 {
  margin: 0 0 8px;
}

.ap-cta-band p {
  margin: 0 auto 18px;
  max-width: 52ch;
  color: #cbd5e1;
  line-height: 1.55;
}

[data-theme="light"] .ap-cta-band p {
  color: #475569;
}

.ap-cta-band .ap-hero-actions {
  justify-content: center;
  margin-top: 0;
}

body.ss-apresentacao-page #faq details {
  border-radius: 16px;
}

.ap-sticky-bar {
  display: none;
}

@media (max-width: 1080px) {
  .ap-solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ap-hero-grid {
    grid-template-columns: 1fr;
  }

  .ap-trust-row,
  .ap-process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.ss-apresentacao-page main > section.hero:first-of-type {
    min-height: auto;
    padding: 36px 0 40px;
  }

  .ap-solutions {
    grid-template-columns: 1fr;
  }

  body.ss-apresentacao-page .fab-whats span:not(.iconify) {
    display: none;
  }

  .ap-sticky-bar {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9998;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.45);
  }

  [data-theme="light"] .ap-sticky-bar {
    background: rgba(255, 255, 255, 0.94);
  }

  .ap-sticky-bar a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 800;
  }

  .ap-sticky-bar .ap-sticky-primary {
    background: linear-gradient(135deg, rgba(255, 208, 2, 0.98), rgba(255, 153, 0, 0.94));
    color: #111827;
  }

  .ap-sticky-bar .ap-sticky-wa {
    background: rgba(37, 211, 102, 0.16);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #ecfdf5;
  }

  [data-theme="light"] .ap-sticky-bar .ap-sticky-wa {
    color: #065f46;
  }

  body.ss-apresentacao-page {
    padding-bottom: 78px;
  }
}
