/* ============================================================
   SC Finance — Partner Landing Pages — Shared Styles
   Extends css/style.css
   ============================================================ */

/* ── Partner Hero ─────────────────────────────────────────── */
.partner-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--bg-dark);
}
.partner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(201,160,46,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.partner-hero .container { position: relative; z-index: 1; }

.partner-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media(max-width:900px){ .partner-hero-grid{ grid-template-columns:1fr; gap:40px; } }

.partner-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,160,46,0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.partner-hero-logo {
  max-height: 64px;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}
.partner-hero-logo.logo-color { filter: none; }

.partner-hero h1 { margin-bottom: 20px; }
.partner-hero h1 span { color: var(--gold); }

.partner-hero-sub {
  font-size: 1.05rem;
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.7;
}

.partner-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Visual card on right ─────────────────────────────────── */
.partner-hero-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}
.partner-hero-visual img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
.partner-hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.partner-stat-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.partner-stat-box .val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.partner-stat-box .lbl {
  font-size: .72rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── SC Finance context bar ───────────────────────────────── */
.sc-context-bar {
  background: linear-gradient(90deg, rgba(201,160,46,0.08), rgba(201,160,46,0.03));
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 48px;
}
.sc-context-bar img {
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .8;
}
.sc-context-bar p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.sc-context-bar strong { color: var(--gold); }

/* ── Feature sections ─────────────────────────────────────── */
.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}
@media(max-width:900px){ .feature-grid-3{ grid-template-columns:1fr 1fr; } }
@media(max-width:580px){ .feature-grid-3{ grid-template-columns:1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--border-hover); }
.feature-card-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(201,160,46,0.1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.feature-card h4 { font-size: .95rem; margin-bottom: 8px; }
.feature-card p { font-size: .83rem; color: var(--text-gray); line-height: 1.65; }

/* ── How it works steps ───────────────────────────────────── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}
.how-grid::before {
  content:'';
  position:absolute;
  top:36px; left:8%; right:8%;
  height:1px;
  background: linear-gradient(90deg,transparent,var(--gold-dim),transparent);
}
@media(max-width:900px){ .how-grid{ grid-template-columns:1fr 1fr; } .how-grid::before{ display:none; } }
@media(max-width:580px){ .how-grid{ grid-template-columns:1fr; } }

.how-step { text-align: center; position: relative; z-index:1; }
.how-num {
  width:48px; height:48px;
  border-radius:50%;
  border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; font-weight:700;
  color:var(--gold);
  background:var(--bg-dark);
  margin:0 auto 16px;
}
.how-step h4 { font-size:.88rem; margin-bottom:6px; }
.how-step p { font-size:.78rem; color:var(--text-gray); }

/* ── Comparison table (reuse from main) ───────────────────── */

/* ── Risk disclaimer ──────────────────────────────────────── */
.risk-box {
  background: rgba(224,85,85,0.05);
  border: 1px solid rgba(224,85,85,0.2);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: .8rem;
  color: #C0A0A0;
  line-height: 1.7;
  margin-top: 24px;
}

/* ── Two-col content ──────────────────────────────────────── */
.partner-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media(max-width:900px){ .partner-two-col{ grid-template-columns:1fr; gap:36px; } }

/* ── Info list ────────────────────────────────────────────── */
.info-list { list-style: none; margin-top: 20px; }
.info-list li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-light);
}
.info-list li:last-child { border-bottom: none; }
.info-list li i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }

/* ── Back nav ─────────────────────────────────────────────── */
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-gray);
  margin-bottom: 28px;
  transition: color var(--transition);
}
.back-nav:hover { color: var(--gold); }

/* ── CTA section ──────────────────────────────────────────── */
.partner-cta-section {
  background: linear-gradient(135deg, #060810, #111622);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.partner-cta-section::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,160,46,0.07), transparent 70%);
  pointer-events:none;
}
.partner-cta-inner { position:relative; z-index:1; max-width:640px; margin:0 auto; }
.partner-cta-inner h2 { margin-bottom:16px; }
.partner-cta-inner p { color:var(--text-gray); margin-bottom:36px; font-size:.95rem; }

/* ── Image visual ─────────────────────────────────────────── */
.img-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 52px rgba(0,0,0,0.45);
}
.img-visual img { width:100%; display:block; }

/* ── Regulation badges ────────────────────────────────────── */
.reg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.reg-badge {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .75rem;
  color: var(--text-light);
  background: rgba(255,255,255,0.03);
  font-weight: 500;
}

/* ── Jurisdiction card ────────────────────────────────────── */
.juris-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 16px;
}
.juris-card h4 { font-size:.88rem; color:var(--gold); margin-bottom:6px; }
.juris-card p { font-size:.83rem; color:var(--text-gray); line-height:1.65; }

/* ── Partner Feature Card ─────────────────────────────────── */
.partner-feature-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color var(--transition);
}
.partner-feature-card:hover { border-color: var(--border-hover); }
.pfc-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 8px;
  background: rgba(201,160,46,0.1);
  border: 1px solid rgba(201,160,46,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.partner-feature-card h4 { font-size:.9rem; margin-bottom:6px; }
.partner-feature-card p { font-size:.82rem; color:var(--text-gray); line-height:1.65; }

/* ── Partner CTA Box ──────────────────────────────────────── */
.partner-cta-box {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.partner-cta-box h2 { margin-bottom: 16px; }
.partner-cta-box h2 span { color: var(--gold); }
.partner-cta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Three columns ────────────────────────────────────────── */
.three-cols {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
@media(max-width:900px){ .three-cols{ grid-template-columns:1fr 1fr; } }
@media(max-width:580px){ .three-cols{ grid-template-columns:1fr; } }

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color var(--transition);
}
.feature-box:hover { border-color: var(--border-hover); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(201,160,46,0.1);
  border: 1px solid rgba(201,160,46,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.feature-box h4 { font-size:.95rem; margin-bottom:8px; }
.feature-box p { font-size:.83rem; color:var(--text-gray); line-height:1.65; }

/* ── Timeline (steps) ─────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(201,160,46,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  color: var(--gold);
}
.step-content h4 { font-size:.95rem; margin-bottom:6px; }
.step-content p { font-size:.85rem; color:var(--text-gray); line-height:1.65; }

/* ── Compare Table ────────────────────────────────────────── */
.compare-table { overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; }
.compare-table th {
  padding: 14px 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-gray);
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.compare-table th.highlight-col { color: var(--gold); }
.compare-table td {
  padding: 14px 20px;
  font-size: .85rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.highlight-col { background: rgba(201,160,46,0.04); }
.text-gold { color: var(--gold); margin-right: 5px; }
.text-red { color: #e05555; margin-right: 5px; }

/* ── Contact card ─────────────────────────────────────────── */
.contact-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color var(--transition);
  text-decoration: none;
}
.contact-card:hover { border-color: var(--border-hover); }
.contact-card h4 { font-size:.95rem; margin-bottom:6px; color:var(--text-white); }
.contact-card p { font-size:.82rem; color:var(--text-gray); line-height:1.6; }

/* ── Responsive 2col ──────────────────────────────────────── */
@media(max-width:900px){ .responsive-2col{ grid-template-columns:1fr !important; } }

/* ── Footer brand / cols shared on partner LPs ────────────── */
.site-footer { background: #060810; border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 40px; }
@media(max-width:768px){ .footer-top{ grid-template-columns:1fr; gap:28px; } }
.footer-brand img { height: 36px; }
.footer-cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.footer-cols h5 { font-size:.75rem; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; }
.footer-cols ul { list-style:none; }
.footer-cols li { margin-bottom:10px; }
.footer-cols a { font-size:.85rem; color:var(--text-gray); transition:color var(--transition); }
.footer-cols a:hover { color:var(--text-white); }
.footer-legal { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-legal p { font-size:.75rem; color:var(--text-gray); margin-bottom:8px; }
.legal-text { font-size:.72rem !important; color: rgba(255,255,255,0.3) !important; line-height:1.7; }

/* ============================================================
   PARTNER PAGES — MOBILE RESPONSIVE (≤ 768px / ≤ 480px)
============================================================ */
@media(max-width:768px){
  /* Hero */
  .partner-hero { padding: 100px 0 60px; min-height: 70vh; }
  .partner-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .partner-hero-sub { font-size: 0.92rem; }
  .partner-hero-logo { max-height: 48px; max-width: 200px; }
  .partner-hero-ctas { flex-direction: column; gap: 10px; }
  .partner-hero-ctas .btn { width: 100%; justify-content: center; }

  /* Context bar */
  .sc-context-bar { flex-direction: column; gap: 10px; padding: 16px 16px; text-align: left; }

  /* Visual card */
  .partner-hero-visual { padding: 24px 20px; }

  /* Stats row */
  .partner-hero-stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* CTA section */
  .partner-cta-section { padding: 64px 0; }
  .partner-cta-btns { flex-direction: column; gap: 10px; align-items: center; }
  .partner-cta-btns .btn { width: 100%; max-width: 360px; justify-content: center; }

  /* Feature cards */
  .feature-card { padding: 22px 18px; }
  .feature-box { padding: 22px 18px; }
  .partner-feature-card { padding: 18px; gap: 14px; }

  /* Sections padding */
  section { padding: 60px 0; }

  /* Overflow guard */
  body { overflow-x: hidden; }

  /* Compare table — scroll horizontal */
  .compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Info list font */
  .info-list li { font-size: 0.85rem; }

  /* Footer */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-top { gap: 20px; }
}

@media(max-width:480px){
  /* Botões hero */
  .partner-hero-ctas .btn { font-size: 0.82rem; padding: 12px 18px; }

  /* Stats 2 colunas → 2 (mantém, só reduz) */
  .partner-stat-box .val { font-size: 1.2rem; }
  .partner-stat-box .lbl { font-size: 0.65rem; }

  /* Feature grid → 1 col */
  .feature-grid-3 { grid-template-columns: 1fr !important; }
  .how-grid { grid-template-columns: 1fr !important; }
  .three-cols { grid-template-columns: 1fr !important; }
  .partner-two-col { grid-template-columns: 1fr !important; gap: 24px !important; }
  .responsive-2col { grid-template-columns: 1fr !important; }

  /* Contact cards → 1 col */
  [style*="display:grid"][style*="1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Flex BTN groups → col */
  [style*="display:flex"][style*="gap:16px"],
  [style*="display:flex"][style*="gap:1rem"],
  [style*="display:flex"][style*="gap:12px"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  [style*="display:flex"][style*="gap:16px"] .btn,
  [style*="display:flex"][style*="gap:1rem"] .btn,
  [style*="display:flex"][style*="gap:12px"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Footer → 1 col */
  .footer-cols { grid-template-columns: 1fr !important; }
  .footer-top { grid-template-columns: 1fr !important; }
}

