/* ============================================================
   SMARTPED — HOME
   Mobile-first. Tudo escala via clamp() até desktop.
   ============================================================ */

body {
  background:
    radial-gradient(ellipse 80% 60% at 80% -10%, rgba(31, 168, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at -10% 30%, rgba(10, 111, 219, 0.16), transparent 70%),
    var(--sp-bg);
  overflow-x: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 8, 31, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sp-line);
}
.sp-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}
.sp-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sp-logo-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 14px rgba(31, 168, 255, 0.55));
}
.sp-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.sp-logo-1 {
  font-family: var(--sp-font-display);
  font-weight: 400;
  font-size: 13px;
  color: var(--sp-fg-mute);
  letter-spacing: 0.02em;
}
.sp-logo-2 {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--sp-fg);
  letter-spacing: -0.01em;
}

.sp-nav {
  display: none;
  margin-left: auto;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sp-fg-mute);
}
.sp-nav a { transition: color .2s; position: relative; }
.sp-nav a:hover { color: var(--sp-fg); }
.sp-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--sp-blue-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.sp-nav a:hover::after { transform: scaleX(1); }

.sp-header-cta { display: none; padding: 10px 18px; font-size: 14px; }

.sp-burger {
  margin-left: auto;
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
}
.sp-burger span {
  width: 20px; height: 2px; background: var(--sp-fg);
  border-radius: 2px;
  transition: transform .25s ease, opacity .15s ease;
}
.sp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sp-drawer {
  padding: 16px var(--sp-pad) 28px;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(0, 8, 31, 0.95);
  border-bottom: 1px solid var(--sp-line);
}
.sp-drawer[hidden] { display: none; }
.sp-drawer a {
  padding: 14px 4px;
  font-family: var(--sp-font-display);
  font-size: 18px;
  border-bottom: 1px solid var(--sp-line);
  color: var(--sp-fg);
}
.sp-drawer a:last-of-type { border: none; }

@media (min-width: 980px) {
  .sp-header-inner { height: 84px; }
  .sp-nav { display: flex; }
  .sp-header-cta { display: inline-flex; }
  .sp-burger, .sp-drawer { display: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.sp-hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 110px) clamp(72px, 12vw, 140px);
  overflow: hidden;
}
.sp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}
@media (min-width: 980px) {
  .sp-hero-grid { grid-template-columns: 1.05fr 1fr; }
}

.sp-hero-strong {
  background: linear-gradient(180deg, #fff 30%, #6fd3ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sp-hero-copy .sp-eyebrow { display: block; margin-bottom: 18px; }
.sp-hero-copy .sp-lead { margin-top: 22px; max-width: 540px; }

.sp-hero-ctas { margin-top: 32px; }

.sp-hero-trust {
  list-style: none;
  margin: 44px 0 0;
  padding: 24px 4px 0;
  border-top: 1px solid var(--sp-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sp-hero-trust li { display: flex; flex-direction: column; }
.sp-hero-trust strong {
  font-family: var(--sp-font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: var(--sp-fg);
  line-height: 1;
}
.sp-hero-trust span {
  font-size: 12px;
  color: var(--sp-fg-dim);
  margin-top: 6px;
  line-height: 1.3;
}

/* -------- Hero visual mockups -------- */
.sp-hero-visual {
  position: relative;
  aspect-ratio: 1 / 0.95;
  min-height: 360px;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}
.sp-hero-orbit {
  position: absolute; inset: 5% 5% 5% 5%;
  border-radius: 50%;
  border: 1px dashed rgba(60, 200, 255, 0.18);
  background:
    radial-gradient(circle at 60% 45%, rgba(31,168,255, 0.18), transparent 55%);
  animation: sp-rot 40s linear infinite;
}
.sp-hero-orbit::after {
  content: "";
  position: absolute; inset: 18%; border-radius: 50%;
  border: 1px dashed rgba(60, 200, 255, 0.12);
}
@keyframes sp-rot { to { transform: rotate(360deg); } }

/* Laptop */
.sp-mock-laptop {
  position: absolute;
  left: 0; right: 22%;
  top: 12%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.sp-mock-screen {
  background: linear-gradient(160deg, #0a1e47, #001034 60%);
  border: 1px solid rgba(60, 200, 255, 0.25);
  border-radius: 14px 14px 4px 4px;
  aspect-ratio: 16 / 10;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(31, 168, 255, 0.15);
}
.sp-mock-base {
  height: 10px;
  background: linear-gradient(180deg, #1a2c52, #0a1429);
  border-radius: 0 0 16px 16px;
  margin: 0 -4%;
  position: relative;
}
.sp-mock-base::after {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 24%; height: 4px; background: #0a1429;
  border-radius: 0 0 6px 6px; transform: translateX(-50%);
}

.sp-mock-screen-inner {
  position: relative;
  z-index: 2;
}
.sp-mock-brand {
  font-family: "Brush Script MT", "Lucida Handwriting", cursive;
  font-style: italic;
  color: var(--sp-blue-bright);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.01em;
}
.sp-mock-title {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: clamp(10px, 1.6vw, 16px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin-top: 10px;
  text-align: center;
}
.sp-mock-title span { color: var(--sp-blue-bright); }
.sp-mock-sub {
  margin: 6px 0 12px;
  font-size: clamp(8px, 1vw, 10px);
  text-align: center;
  color: var(--sp-fg-mute);
  line-height: 1.3;
}
.sp-mock-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  font-size: clamp(7px, 0.9vw, 9px);
  color: var(--sp-fg-mute);
  position: relative;
  z-index: 3;
}
.sp-mock-icons > div {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.sp-mock-icons .sp-i {
  width: clamp(14px, 1.8vw, 18px);
  height: clamp(14px, 1.8vw, 18px);
  border: 1px solid var(--sp-blue-bright);
  border-radius: 50%;
  display: block;
}

.sp-mock-orb {
  position: absolute;
  right: -8%; top: 25%;
  width: 45%; aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(60,200,255,0.5), transparent 55%);
  filter: blur(2px);
  z-index: 1;
}

/* Phone */
.sp-mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  min-width: 130px;
  aspect-ratio: 9 / 17;
  background: linear-gradient(160deg, #1a2c52, #0a1429);
  border-radius: 22px;
  padding: 5%;
  border: 1px solid rgba(60, 200, 255, 0.28);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.sp-mock-phone-screen {
  height: 100%;
  background: linear-gradient(160deg, #0a1e47, #001034);
  border-radius: 16px;
  padding: 14% 8% 10%;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  box-shadow: inset 0 0 40px rgba(31, 168, 255, 0.18);
}
.sp-mock-phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 6px; background: #0a1429; border-radius: 6px;
}
.sp-mock-brand.sm { text-align: center; font-size: clamp(13px, 1.8vw, 16px); }
.sp-mock-phone-title {
  font-family: var(--sp-font-display);
  font-weight: 700;
  font-size: clamp(9px, 1.2vw, 11px);
  text-align: center;
  line-height: 1.2;
  margin: 4px 0 8px;
}
.sp-mock-phone-title span { color: var(--sp-blue-bright); }
.sp-mock-phone-btn {
  text-align: center;
  font-size: clamp(7px, 0.9vw, 9px);
  font-weight: 600;
  padding: 6px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--sp-font-display);
}
.sp-mock-phone-btn.primary {
  background: linear-gradient(180deg, var(--sp-blue-bright), var(--sp-blue));
  color: #001034;
}
.sp-mock-phone-btn.ghost {
  border: 1px solid var(--sp-blue-bright);
  color: var(--sp-blue-bright);
}
.sp-mock-phone-foot {
  margin-top: auto;
  display: flex; justify-content: center; gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sp-line);
}
.sp-mock-phone-foot span {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--sp-blue-bright);
}

/* ============================================================
   FAB WhatsApp
   ============================================================ */
.sp-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 60px; height: 60px;
  background: linear-gradient(180deg, var(--sp-whats-hi), var(--sp-whats));
  color: #052914;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 36px -8px rgba(37,211,102, 0.6),
              inset 0 1px 0 rgba(255,255,255,0.35);
  z-index: 60;
}
.sp-fab-pulse {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: sp-pulse 2.2s ease-out infinite;
}
@keyframes sp-pulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (min-width: 980px) {
  .sp-fab { right: 32px; bottom: 32px; width: 64px; height: 64px; }
}

/* ============================================================
   Reveal scroll
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .sp-reveal { opacity: 1; transform: none; }
  .sp-hero-orbit, .sp-fab-pulse { animation: none; }
}

/* ============================================================
   PRODUÇÃO — extensões do header/footer
   (classes adicionadas na implementação real, fiéis ao design system)
   ============================================================ */
.sp-header-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 14px;
}
.sp-link-client {
  font-family: var(--sp-font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--sp-fg-mute);
  padding: 10px 6px;
  transition: color .2s;
}
.sp-link-client:hover { color: var(--sp-blue-bright); }

@media (min-width: 980px) {
  .sp-header-actions { display: flex; }
}

.sp-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.sp-footer-social a {
  font-size: 13px;
  color: var(--sp-fg-mute);
  transition: color .2s;
}
.sp-footer-social a:hover { color: var(--sp-blue-bright); }

.sp-distrib-note code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--sp-blue-soft);
  background: rgba(31,168,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
  font-style: normal;
}


/* ═══════════════════════════════════════════════════════════
   HEADER E FOOTER BRANCOS
   ══════════════════════════════════════════════════════════ */
.sp-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2eaf6;
  backdrop-filter: none;
}
.sp-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(13,43,94,.1);
}
.sp-logo-text .sp-logo-1 {
  color: #4a6fa5;
}
.sp-logo-text .sp-logo-2 {
  color: #0d2b5e;
}
.sp-nav a {
  color: #2c4a7a;
}
.sp-nav a:hover,
.sp-nav a.sp-nav-active {
  color: #0d2b5e;
}
.sp-link-client {
  color: #2c4a7a;
}
.sp-link-client:hover {
  color: #0d2b5e;
}
.sp-burger span {
  background: #0d2b5e;
}
.sp-drawer {
  background: #ffffff;
  border-top: 1px solid #e2eaf6;
}
.sp-drawer a {
  color: #2c4a7a;
}

/* Footer branco */
.sp-footer {
  background: #ffffff;
  border-top: 2px solid #e2eaf6;
  color: #2c4a7a;
}
.sp-footer-brand p {
  color: #4a6fa5;
}
.sp-footer-links h4 {
  color: #0d2b5e;
}
.sp-footer-links a {
  color: #4a6fa5;
}
.sp-footer-links a:hover {
  color: #0d2b5e;
}
.sp-footer-bottom {
  background: #f4f7ff;
  border-top: 1px solid #e2eaf6;
  color: #4a6fa5;
}
.sp-footer-social a {
  color: #4a6fa5;
}
.sp-footer-social a:hover {
  color: #0d2b5e;
}

/* ── Fix logo mark SVG paths nos nodes (todos escuros no header/footer) ── */
.sp-header .sp-logo-mark circle,
.sp-footer .sp-logo-mark circle {
  fill: #0d2b5e;
}
.sp-header .sp-logo-mark path,
.sp-footer .sp-logo-mark path {
  stroke: #0d2b5e;
}

/* ═══════════════════════════════════════════════════════════
   HEADER E FOOTER BRANCOS
   ══════════════════════════════════════════════════════════ */
.sp-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2eaf6 !important;
  backdrop-filter: none !important;
}
.sp-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 24px rgba(13,43,94,.12) !important;
}

/* Logo no header branco */
.sp-logo-img { height: 44px; width: auto; display: block; }

/* Nav links no header branco */
.sp-nav a { color: #2c4a7a; font-weight: 500; }
.sp-nav a:hover { color: #0d2b5e; }
.sp-nav a.sp-nav-active { color: #0d2b5e; }
.sp-nav a::after { background: #0d2b5e; }

/* "Já sou cliente" link */
.sp-link-client { color: #2c4a7a !important; }
.sp-link-client:hover { color: #0d2b5e !important; }

/* Burger no header branco */
.sp-burger span { background: #0d2b5e; }

/* Mobile drawer */
.sp-drawer {
  background: #ffffff !important;
  border-top: 1px solid #e2eaf6;
}
.sp-drawer a { color: #2c4a7a; }
.sp-drawer a:hover { color: #0d2b5e; }

/* ── Footer branco ── */
.sp-footer {
  background: #ffffff !important;
  border-top: 2px solid #e2eaf6;
  color: #2c4a7a;
}
.sp-footer p,
.sp-footer-brand p { color: #4a6fa5; font-size: 14px; }
.sp-footer-links h4 {
  color: #0d2b5e;
  font-family: var(--sp-font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sp-footer-links a { color: #4a6fa5; font-size: 14px; }
.sp-footer-links a:hover { color: #0d2b5e; }
.sp-footer-bottom {
  background: #f0f5ff !important;
  border-top: 1px solid #e2eaf6;
  color: #4a6fa5;
}
.sp-footer-bottom span { color: #4a6fa5; font-size: 13px; }

/* ── Seções brancas — texto com contraste correto ── */
.sp-section.sp-light .sp-h1,
.sp-section.sp-light .sp-h2,
.sp-section.sp-light .sp-h3,
.sp-section.sp-light h1,
.sp-section.sp-light h2,
.sp-section.sp-light h3 { color: #0d2b5e !important; }
.sp-section.sp-light .sp-body,
.sp-section.sp-light p { color: #2c4a7a !important; }
.sp-section.sp-light .sp-lead { color: #2c4a7a !important; }
.sp-section.sp-light .sp-eyebrow { color: #1566c0 !important; }
.sp-section.sp-light .sp-accent { color: #1566c0 !important; }
.sp-section.sp-light li { color: #2c4a7a !important; }
.sp-section.sp-light strong { color: #0d2b5e; }
.sp-section.sp-light .sp-diff-icon { stroke: #1566c0 !important; }
.sp-section.sp-light .sp-diff-num { color: rgba(21,102,192,.15) !important; }
.sp-section.sp-light .sp-product-tag { color: #0d2b5e !important; font-weight: 600; }
.sp-section.sp-light .sp-trust-card strong { color: #0d2b5e !important; font-size: 2.5rem; }
.sp-section.sp-light .sp-trust-card span { color: #4a6fa5 !important; }
.sp-section.sp-light .sp-trust-seal > div { color: #2c4a7a !important; }
.sp-section.sp-light .sp-trust-seal svg { stroke: #1566c0 !important; }

/* FAQ branco */
.sp-section.sp-light .sp-faq-item { border-color: #c8d8f0 !important; }
.sp-section.sp-light .sp-faq-q { color: #0d2b5e !important; }
.sp-section.sp-light .sp-faq-q svg { stroke: #1566c0 !important; }
.sp-section.sp-light .sp-faq-a { color: #4a6fa5 !important; }
.sp-section.sp-light .sp-faq-a a { color: #1566c0 !important; }

/* Universidade branca */
.sp-section.sp-light.sp-univ { background: #f0f5ff !important; }
.sp-section.sp-light.sp-univ h2,
.sp-section.sp-light.sp-univ h3 { color: #0d2b5e !important; }
.sp-section.sp-light.sp-univ p { color: #2c4a7a !important; }
.sp-section.sp-light.sp-univ li { color: #2c4a7a !important; }

/* Logo webp real — proporção 624×249 */
.sp-logo-img {
  height: 52px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}
.sp-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* ── Dropdown de Produtos no nav ── */
.sp-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sp-nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
/* Sem seta/sublinhado animado no toggle Produtos (conflito de ::after causava glitch) */
.sp-nav-dropdown > a::after,
.sp-nav-dropdown:hover > a::after,
.sp-nav-dropdown:focus-within > a::after {
  display: none !important;
}
.sp-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #e2eaf6;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(13,43,94,.15);
  padding: 8px;
  min-width: 180px;
  display: flex; /* sempre presente; visibilidade controlada por opacity/visibility (permite delay) */
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.sp-nav-dropdown:hover .sp-nav-dropdown-menu,
.sp-nav-dropdown:focus-within .sp-nav-dropdown-menu {
  display: flex;
}
.sp-nav-dropdown-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c4a7a !important;
  text-decoration: none;
  display: block;
  transition: background .15s, color .15s;
}
.sp-nav-dropdown-menu a:hover {
  background: #f0f5ff;
  color: #0d2b5e !important;
}
.sp-nav-dropdown-menu a::after { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   MENU DROPDOWN — Produtos
   ══════════════════════════════════════════════════════════ */
.sp-nav-dropdown { position: relative; display: inline-block; }
.sp-nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
  color: #2c4a7a; font-weight: 500; text-decoration: none;
}
.sp-nav-dropdown-toggle:hover { color: #0d2b5e; }
.sp-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* Ponte invisível igual ao ENTRAR */
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  /* Delay de 400ms antes de esconder — dá tempo de chegar com o mouse */
  transition: opacity .2s ease .4s, visibility 0s linear .6s;
  z-index: 200;
}
.sp-nav-dropdown:hover .sp-nav-dropdown-menu,
.sp-nav-dropdown:focus-within .sp-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity .15s ease 0s, visibility 0s ease 0s;
}
/* Caixa visual separada do padding-bridge */
.sp-nav-dropdown-menu-inner {
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(13,43,94,.15);
  min-width: 200px;
  padding: 8px 0;
  overflow: hidden;
}
.sp-nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #2c4a7a !important;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.sp-nav-dropdown-menu a:hover {
  background: #f0f5ff;
  color: #0d2b5e !important;
}

/* ── Trust cards: números escuros visíveis ── */
.sp-section.sp-light .sp-trust-card strong {
  background: linear-gradient(135deg, #0d2b5e 0%, #1566c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.8rem !important;
  font-weight: 800 !important;
}
/* Fallback para quando sp-light não está ativo */
.sp-trust-card strong {
  color: #0d2b5e;
}
.sp-section:not(.sp-light) .sp-trust-card strong {
  background: linear-gradient(135deg, #6fd3ff 0%, #1fa8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 4 faixas de marquee — espaçamento ── */
.sp-marquee + .sp-marquee { margin-top: 10px; }

/* ── Logos REDES (JPG) — clip arredondado e altura uniforme ── */
img.sp-distrib-logo[src*="/redes/"] {
  border-radius: 8px;
  background: #fff;
}




/* ── FAQ fix: texto escuro no fundo branco ── */
.sp-section.sp-light .sp-faq-item {
  background: #fff; border: 1px solid #c8d8f0;
  box-shadow: 0 2px 8px rgba(13,43,94,.06);
}
.sp-section.sp-light .sp-faq-q { color: #0d2b5e !important; font-weight: 600; }
.sp-section.sp-light .sp-faq-q svg { stroke: #1566c0 !important; }
.sp-section.sp-light .sp-faq-a,
.sp-section.sp-light .sp-faq-a * { color: #2c4a7a !important; }
.sp-faq-item { border-radius: 10px !important; }

/* ── Trust números escuros no sp-light ── */
.sp-section.sp-light .sp-trust-card { border-color: #c8d8f0; }
.sp-section.sp-light .sp-trust-card strong {
  font-size: 2.6rem !important; font-weight: 800 !important;
  color: #0d2b5e !important;
  -webkit-text-fill-color: #0d2b5e !important;
  background: none !important;
}
.sp-section.sp-light .sp-trust-card span { color: #4a6fa5 !important; }


/* ═══════════════════════════════════════════════════════════
   ENTRAR DROPDOWN — com delay para não sumir ao mover mouse
   ══════════════════════════════════════════════════════════ */
.sp-entrar-dropdown { position: relative; display: inline-block; }

.sp-entrar-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border: 1px solid #c8d8f0; border-radius: 8px;
  font-family: var(--sp-font-display); font-weight: 600; font-size: 14px;
  color: #2c4a7a; background: #fff; cursor: pointer;
  transition: background .2s, border-color .2s; border: none;
  outline: none;
}
.sp-entrar-btn:hover { background: #f0f5ff; color: #0d2b5e; }
.sp-entrar-btn svg { transition: transform .25s; }
.sp-entrar-dropdown:hover .sp-entrar-btn svg,
.sp-entrar-dropdown:focus-within .sp-entrar-btn svg { transform: rotate(180deg); }

/* Menu: usa opacity+visibility+pointer-events com transition-delay ao esconder */
.sp-entrar-menu {
  position: absolute; right: 0; top: 100%;
  /* Ponte invisível: padding-top garante que o mouse não "sai" da zona hover */
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  /* Delay de 400ms ao ESCONDER, 0ms ao MOSTRAR */
  transition: opacity .2s ease .4s, visibility 0s linear .6s;
  z-index: 300;
}
.sp-entrar-dropdown:hover .sp-entrar-menu,
.sp-entrar-dropdown:focus-within .sp-entrar-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity .15s ease 0s, visibility 0s ease 0s;
}
/* Caixa visual do menu — separada do padding-bridge */
.sp-entrar-menu-inner {
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(13,43,94,.15);
  min-width: 210px;
  padding: 8px 0;
  overflow: hidden;
}
.sp-entrar-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; font-size: 14px; font-weight: 500;
  color: #2c4a7a !important; text-decoration: none;
  transition: background .15s;
}
.sp-entrar-menu a:hover { background: #f0f5ff; color: #0d2b5e !important; }
.sp-entrar-menu a svg { flex-shrink: 0; opacity: .7; }
.sp-entrar-menu-divider { height: 1px; background: #e2eaf6; margin: 4px 0; }

/* ── Estado aberto via clique/touch (JS adiciona .is-open) ── */
.sp-nav-dropdown.is-open .sp-nav-dropdown-menu,
.sp-entrar-dropdown.is-open .sp-entrar-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity .15s ease 0s, visibility 0s ease 0s;
}
.sp-entrar-dropdown.is-open .sp-entrar-btn svg { transform: rotate(180deg); }




/* Mobile: esconde nav/actions normalmente */


/* ═══ HEADER LAYOUT DEFINITIVO ═══ */
.sp-header { background:#fff !important; border-bottom:1px solid #e2eaf6; }
.sp-logo { flex-shrink: 0; margin-right: 32px; }
.sp-nav {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex: 1;
  flex-wrap: nowrap !important;
}

/* ═══ FAQ texto azul claro (não branco) ═══ */
.sp-faq-a, .sp-faq-a p, .sp-faq-a span, .sp-faq-a li {
  color: #6fd3ff !important;
  line-height: 1.75 !important;
}
.sp-faq-a strong, .sp-faq-a b { color: #ffffff !important; font-weight: 700; }
.sp-faq-a em { color: #4ec8e8 !important; }
.sp-faq-a a { color: #4ec8e8 !important; text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════
   HEADER LAYOUT DEFINITIVO
   ═══════════════════════════════════════════════════════════ */
.sp-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2eaf6 !important;
  backdrop-filter: none !important;
}
.sp-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 24px rgba(13,43,94,.12) !important;
}
.sp-header-inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto auto !important;
  align-items: center !important;
  gap: 16px !important;
  height: var(--sp-header-h, 72px);
}
/* col 1: logo | col 2: nav (centro) | col 3: entrar | col 4: botão verde */
.sp-logo { grid-column: 1; flex-shrink: 0; }
.sp-nav  { grid-column: 2; display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: nowrap; }
.sp-entrar-dropdown { grid-column: 3; flex-shrink: 0; }
.sp-header-actions { display: contents; } /* dissolve o wrapper */
.sp-btn-whats.sp-header-cta {
  grid-column: 4;
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex !important;
}
.sp-burger { grid-column: 4; display: none; }

/* Esconde links antigos de "Já sou cliente" */
.sp-link-client { display: none !important; }

/* Nav links no header branco */
.sp-nav a, .sp-nav-dropdown-toggle { color: #2c4a7a; font-weight: 500; font-size: 14px; }
.sp-nav a:hover, .sp-nav-dropdown-toggle:hover { color: #0d2b5e; }
.sp-burger span { background: #0d2b5e; }

/* Mobile */
@media (max-width: 900px) {
  .sp-header-inner {
    grid-template-columns: auto 1fr auto !important;
  }
  .sp-nav { display: none !important; }
  .sp-entrar-dropdown { display: none !important; }
  .sp-btn-whats.sp-header-cta { display: none !important; }
  .sp-burger { display: flex !important; grid-column: 3; }
}


/* ═══════════════════════════════════════════════════════════
   FAQ DEFINITIVO — escuro com texto legível
   ═══════════════════════════════════════════════════════════ */
.sp-faq-item {
  background: #071830 !important;
  border: 1px solid rgba(111,211,255,.15) !important;
  border-radius: 10px !important;
  margin-bottom: 10px;
}
.sp-faq-q {
  color: #e8edf8 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}
.sp-faq-q * { color: #e8edf8 !important; }
.sp-faq-q svg { stroke: #6fd3ff !important; fill: none !important; }
.sp-faq-a {
  color: #8ab4d4 !important;
  line-height: 1.75 !important;
  font-size: 15px !important;
}
.sp-faq-a * { color: #8ab4d4 !important; }
.sp-faq-a strong, .sp-faq-a b { color: #cce4f7 !important; font-weight: 600; }
.sp-faq-a a { color: #6fd3ff !important; }
/* Seção FAQ — escura */
.sp-section.sp-faq {
  background: var(--sp-bg, #001034) !important;
}
.sp-section.sp-faq .sp-h2 { color: #e8edf8 !important; }
.sp-section.sp-faq .sp-lead { color: #b8c5e0 !important; }
.sp-section.sp-faq .sp-eyebrow { color: #6fd3ff !important; }
.sp-section.sp-faq .sp-accent { color: #6fd3ff !important; }
