/*
Theme Name: Saque Rápido
Theme URI: https://saquerapido.com.br
Author: Saque Rápido
Author URI: https://saquerapido.com.br
Description: Tema personalizado para o site Saque Rápido - Empréstimo online rápido e seguro.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supersaque
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-900: #0A1930;
  --blue-800: #0D2240;
  --blue-700: #0F2F5E;
  --blue-600: #1565C0;
  --blue-500: #1E88E5;
  --blue-400: #42A5F5;
  --blue-300: #64B5F6;
  --blue-200: #90CAF9;
  --blue-100: #BBDEFB;
  --blue-50:  #E3F2FD;
  --white: #FFFFFF;
  --gray-50: #F7F9FC;
  --gray-100: #EEF2F7;
  --gray-200: #DDE4EE;
  --gray-500: #6B7A99;
  --gray-700: #344158;
  --gray-900: #0F172A;
  --dark-bg: #0B1F3A;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray-900); background: var(--white); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── CONTAINER ─────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ─── HEADER ─────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.09); }
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 44px; height: 44px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1.05rem; font-weight: 800; color: var(--blue-900); }
.logo-slogan { font-size: 0.68rem; color: var(--gray-500); font-weight: 400; }

/* Nav */
.nav { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: flex-end; }
.nav-links { display: flex; gap: 32px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--gray-700);
  transition: color .25s; position: relative; padding-bottom: 2px;
}
.nav-link.active { color: var(--blue-500); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue-500); border-radius: 2px;
}
.nav-link:hover { color: var(--blue-500); }

.btn-solicitar {
  background: var(--blue-500); color: #fff;
  padding: 10px 22px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 14px rgba(30,136,229,.28);
}
.btn-solicitar:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,136,229,.38); }

/* Mobile toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--blue-900); border-radius: 2px; transition: .3s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: #fff; border-top: 1px solid var(--gray-100);
  padding: 8px 0 16px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  padding: 12px 28px; font-size: .9rem; font-weight: 500;
  color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
  transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.btn-solicitar { margin: 12px 28px 0; text-align: center; display: block; border-radius: 8px; }

/* ─── HERO ───────────────────────────────── */
.hero {
  padding-top: 96px;
  background: linear-gradient(145deg, #ffffff 40%, #ddeeff 100%);
  position: relative; overflow: hidden;
  min-height: 580px; display: flex; align-items: center;
}
.hero-bg-shape {
  position: absolute; top: -120px; right: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,136,229,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 64px;
}
.hero-title {
  font-size: 3.2rem; font-weight: 900; line-height: 1.1;
  color: var(--blue-900); margin-bottom: 18px;
}
.hero-highlight { color: var(--blue-500); }
.hero-sub { font-size: 1rem; color: var(--gray-500); margin-bottom: 32px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-500); color: #fff;
  padding: 13px 28px; border-radius: 8px; font-size: .95rem; font-weight: 700;
  box-shadow: 0 4px 18px rgba(30,136,229,.32);
  transition: background .25s, transform .2s, box-shadow .25s;
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,136,229,.4); }
.btn-arrow { font-size: 1.1rem; }

.hero-trust {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.9); border-radius: 8px;
  padding: 9px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border: 1px solid rgba(30,136,229,.12);
}
.trust-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-trust strong { display: block; font-size: .8rem; font-weight: 700; color: var(--blue-900); }
.hero-trust span { font-size: .72rem; color: var(--gray-500); }

.hero-image { display: flex; justify-content: center; align-items: center; background: transparent; }
.hero-img {
  max-width: 500px;
  width: 100%;
  animation: float 5s ease-in-out infinite;
  mix-blend-mode: multiply;
  filter: contrast(1.1) saturate(1.1) brightness(1.02);
  background: transparent;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-18px)} }

/* ─── BENEFITS ───────────────────────────── */
.benefits {
  background: var(--white);
  padding: 40px 0 20px 0;
  position: relative;
  z-index: 10;
}
.benefits-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  background: linear-gradient(90deg, #1C60AB 0%, #061937 100%);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  padding: 24px 0;
}
.benefits-cards {
  display: contents;
}
.benefit-item {
  display: flex; align-items: center; gap: 14px;
  flex: 1; padding: 12px 28px;
}
.benefit-icon {
  width: 46px; height: 46px; min-width: 46px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.benefit-text h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.benefit-text p { font-size: .8rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.benefit-divider { width: 1px; min-height: 50px; background: rgba(255,255,255,.08); flex-shrink: 0; align-self: center; }

/* ─── HOW IT WORKS ────────────────────── */
.how-it-works { padding: 88px 0 0 0; background: var(--white); }
.hiw-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  color: var(--blue-500); text-transform: uppercase; margin-bottom: 8px; display: block;
}
.section-title { font-size: 2.2rem; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; line-height: 1.2; }
.section-sub { font-size: .95rem; color: var(--gray-500); margin-bottom: 40px; }

/* Steps — Fluxo vertical e horizontal */
.steps-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 36px;
  margin-bottom: 20px;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  cursor: pointer;
  max-width: 130px;
}
.step-circle-wrap {
  margin-bottom: 16px;
  transition: transform .2s;
}
.step-item:hover .step-circle-wrap { transform: translateY(-2px); }
.step-circle {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--blue-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500); background: #fff;
  box-shadow: 0 2px 12px rgba(30,136,229,.12);
  flex-shrink: 0;
}
.step-circle--active {
  background: var(--blue-500); color: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 4px 18px rgba(30,136,229,.36);
}
.step-dots-track {
  flex: 1; margin: 0 16px; margin-top: 32px;
  height: 6px;
  background-image: radial-gradient(circle, var(--blue-300) 2.5px, transparent 3px);
  background-position: center;
  background-size: 16px 10px;
  background-repeat: repeat-x;
}
.step-label h4 { font-size: .95rem; font-weight: 700; color: var(--blue-900); margin-bottom: 4px; }
.step-label p { font-size: .8rem; color: var(--gray-500); line-height: 1.5; }

/* Phone */
.hiw-right { display: flex; justify-content: center; align-items: center; margin-bottom: -40px; position: relative; z-index: 20; }
.phone-wrapper { position: relative; background: transparent; }
.phone-wrapper::before {
  content: '';
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,136,229,.15) 0%, transparent 70%);
  z-index: 0;
}
.phone-img {
  max-width: 440px;
  position: relative; z-index: 1;
  background: transparent;
}

/* ─── CTA ────────────────────────────────── */
.cta {
  background: var(--white);
  padding: 40px 0 60px 0;
  position: relative;
  z-index: 10;
}
.cta-box {
  background: linear-gradient(135deg, #10396A 0%, #061937 100%);
  border-radius: 12px;
  padding: 30px 60px;
  display: flex; align-items: center; justify-content: center; gap: 100px;
  position: relative; z-index: 2; flex-wrap: wrap;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
}
.cta-watermark {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  height: 340px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}
.cta-text h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.cta-text .cta-blue { font-size: 2rem; font-weight: 800; color: var(--blue-300); margin-bottom: 8px; }
.cta-text .cta-sub { font-size: .95rem; color: #fff; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid rgba(255,255,255,.5); color: #fff;
  padding: 14px 30px; border-radius: 8px; font-size: .95rem; font-weight: 700;
  white-space: nowrap; transition: all .25s;
}
.btn-cta:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }

/* ─── FOOTER ─────────────────────────────── */
.footer { background: #fff; color: var(--gray-700); padding: 56px 0 0; border-top: 1px solid var(--gray-200); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--gray-200); }

.footer .logo { margin-bottom: 14px; }
.footer-desc { font-size: .82rem; line-height: 1.65; color: var(--gray-500); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center; color: var(--gray-500);
  transition: all .25s;
}
.social-btn:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); }

.footer-col h4 { font-size: .88rem; font-weight: 700; color: var(--blue-900); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .82rem; color: var(--gray-500); transition: color .2s; }
.footer-col ul li a:hover { color: var(--blue-500); }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--gray-500); }
.footer-contact li svg { flex-shrink: 0; color: var(--blue-500); }

.footer-security { display: flex; align-items: flex-start; gap: 14px; }
.security-icon {
  width: 42px; height: 42px; min-width: 42px; border-radius: 10px;
  background: var(--blue-50); display: flex; align-items: center; justify-content: center;
}
.footer-security p { font-size: .82rem; color: var(--gray-500); line-height: 1.6; }

.footer-bottom {
  padding: 20px 0; text-align: center;
  font-size: .78rem;
  background: linear-gradient(90deg, #10396A 0%, #061937 100%);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 16px 16px 0 0;
  max-width: 1180px;
  margin: 0 auto;
}

/* ─── SCROLL REVEAL ─────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .75s ease, transform .75s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .75s ease, transform .75s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav .btn-solicitar { display: none; }
  .mobile-toggle { display: flex; }
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-actions { justify-content: center; }
  .hero-trust { align-self: center; }
  .hero-img { max-width: 300px; margin: 0 auto; }
  .hero-image { justify-content: center; }
  .benefits-wrapper { flex-wrap: wrap; }
  .benefit-item { flex: 1 1 45%; }
  .benefit-divider { display: none; }
  .hiw-container { grid-template-columns: 1fr; }
  .hiw-right { order: -1; }
  .phone-img { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-container { text-align: center; justify-content: center; flex-direction: column; }
  .section-title { font-size: 1.9rem; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.4rem; }
  .hero-img { max-width: 240px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .hero-trust { width: 100%; justify-content: center; }
  .benefits-grid { flex-direction: column; }
  .benefit-item { flex: 1 1 100%; }
  .steps-icons-row { gap: 0; }
  .sdot { width: 4px; height: 4px; }
  .step-circle { width: 54px; height: 54px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta h2, .cta-blue { font-size: 1.6rem; }
  .cta-box { padding: 40px 24px; margin: 0 16px; }
}
