/* =========================================================
   VOTOCRED — Design System
   Cores: Navy #0A1B3D · Navy Deep #071430 · Red #E31C3D
          Red Deep #A80F26 · Off-white #F5F7FB · Ink #1A2035
   Tipografia: Poppins (display) · Inter (corpo/legendas)
   ========================================================= */

:root {
  --navy-900: #0A1B3D;
  --navy-950: #071430;
  --navy-700: #14295C;
  --red-600: #E31C3D;
  --red-700: #B0122C;
  --red-100: #FDE8EC;
  --bg-soft: #F5F7FB;
  --white: #FFFFFF;
  --ink-900: #16203D;
  --ink-600: #5B6478;
  --ink-400: #8A93A6;
  --border-soft: #E7EBF3;

  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 2px 10px rgba(10, 27, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 27, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 27, 61, 0.16);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 700;
  margin: 0;
}

p { color: var(--ink-600); line-height: 1.7; }

a { text-decoration: none; }

img { max-width: 100%; display: block; }

::selection { background: var(--red-100); color: var(--red-700); }

:focus-visible {
  outline: 3px solid var(--red-600);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container { max-width: 1200px; }

/* ============ LOADER ============ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.loaded { opacity: 0; visibility: hidden; }
.loader-mark img {
  width: 170px;
  animation: pulseLoad 1.1s ease-in-out infinite;
}
@keyframes pulseLoad {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.6; }
}

/* ============ NAVBAR ============ */
#mainNav {
  padding: 22px 0;
  transition: all .35s ease;
  background: transparent;
}
#mainNav .navbar-brand img {
  height: 78px;
  width: auto;
  transition: height .35s ease;
}
#mainNav.scrolled {
  padding: 12px 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
#mainNav.scrolled .navbar-brand img { height: 54px; }
#mainNav:not(.scrolled) .navbar-brand img { filter: drop-shadow(0 0 6px rgba(255,255,255,.55)); }
#mainNav .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-900);
  padding: 8px 14px !important;
  position: relative;
}
#mainNav:not(.scrolled) .nav-link { color: var(--white); }
#mainNav .nav-link::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
#mainNav .nav-link:hover::after { transform: scaleX(1); }
.btn-nav-cta {
  background: var(--red-600);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all .25s ease;
}
.btn-nav-cta:hover { background: var(--red-700); transform: translateY(-2px); color: var(--white); }
.navbar-toggler { border: none; box-shadow: none !important; }
#mainNav:not(.scrolled) .navbar-toggler-icon {
  filter: invert(1);
}

/* ============ BUTTONS ============ */
.btn-primary-red {
  background: var(--red-600);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 999px;
  border: none;
  transition: all .3s ease;
  box-shadow: 0 10px 24px rgba(227,28,61,0.28);
}
.btn-primary-red:hover {
  background: var(--red-700);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(227,28,61,0.35);
}
.btn-primary-red:disabled {
  background: var(--ink-400);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid var(--navy-900);
  transition: all .3s ease;
}
.hero .btn-outline-navy { color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); transform: translateY(-3px); }
.hero .btn-outline-navy:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-cta-final {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white);
  color: var(--red-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 20px 46px;
  border-radius: 999px;
  transition: all .3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.btn-cta-final:hover { transform: translateY(-4px) scale(1.03); color: var(--red-700); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-700) 100%);
  padding: 170px 0 110px;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute; top: -20%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(227,28,61,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--red-600);
  background: rgba(227,28,61,0.12);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero .eyebrow { color: #FF6B85; background: rgba(255,255,255,0.08); }
.eyebrow-center { display: inline-flex; margin: 0 auto 16px; }
.eyebrow-light { color: #FF8FA3; background: rgba(255,255,255,0.1); }
.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-title span { color: var(--red-600); }
.hero-text {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat { display: flex; flex-direction: column; }
.stat-number, .stat-suffix {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
  display: inline;
}
.stat-suffix { color: var(--red-600); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* Hero visual: digital card */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px; }
.credit-card {
  width: 100%; max-width: 400px;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0F2354 0%, #16295C 45%, #E31C3D 130%);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: floatCard 5s ease-in-out infinite;
  border: 1px solid rgba(255,255,255,0.12);
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}
.credit-card-top { display: flex; align-items: center; justify-content: space-between; }
.credit-card-logo { height: 40px; width: auto; filter: brightness(0) invert(1); }
.credit-card-top i { color: rgba(255,255,255,0.75); font-size: 1.3rem; }
.credit-card-chip {
  width: 44px; height: 32px;
  background: linear-gradient(135deg, #F3D98B, #C9A24A);
  border-radius: 6px;
  position: relative;
}
.credit-card-chip::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(0,0,0,0.15); border-radius: 3px;
}
.credit-card-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  color: #7CF7B0;
  width: fit-content;
}
.credit-card-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #7CF7B0;
  box-shadow: 0 0 0 4px rgba(124,247,176,0.25);
}
.credit-card-bottom { display: flex; justify-content: space-between; }
.credit-card-bottom .label {
  display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55); margin-bottom: 4px;
}
.credit-card-bottom .value { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 0.95rem; }

.float-badge {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.float-badge i { font-size: 1.3rem; color: var(--red-600); }
.float-badge strong { display: block; font-family: var(--font-display); font-size: 0.85rem; color: var(--navy-900); }
.float-badge span { font-size: 0.75rem; color: var(--ink-400); }
.float-badge-1 { top: 0; left: -10px; animation: floatBadge 4s ease-in-out infinite; }
.float-badge-2 { bottom: 10px; right: -14px; animation: floatBadge 4.5s ease-in-out infinite reverse; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ SECTIONS GENERIC ============ */
.section { padding: 100px 0; }
.section-heading { max-width: 640px; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.text-center.section-heading { margin-left: auto; margin-right: auto; }
.section-sub { font-size: 1.05rem; }

/* ============ DIFERENCIAIS ============ */
.section-diferenciais { background: var(--bg-soft); }
.diferencial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--border-soft);
}
.diferencial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.dif-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.diferencial-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.diferencial-card p { font-size: 0.92rem; margin: 0; }

/* ============ SERVIÇOS ============ */
.servico-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.servico-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--red-100);
  color: var(--red-600);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.servico-audience {
  display: block; font-size: .74rem; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: 8px;
}
.servico-card { display: flex; flex-direction: column; padding: 30px 24px; }
.servico-card p { flex: 1; }
.servico-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.servico-card p { font-size: 0.9rem; margin-bottom: 22px; }
.servico-btn {
  padding-top: 16px; border-top: 1px solid var(--border-soft);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem;
  color: var(--navy-900);
  transition: gap .25s ease, color .25s ease;
}
.servico-btn i { transition: transform .25s ease; }
.servico-btn:hover { color: var(--red-600); gap: 12px; }

/* ============ TIMELINE ============ */
.section-timeline { background: var(--white); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-soft) 0 10px, transparent 10px 18px);
}
.timeline-item { position: relative; text-align: center; padding: 0 10px; }
.timeline-number {
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--white);
}
.timeline-item:nth-child(even) .timeline-number { background: var(--red-600); }
.timeline-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.9rem; }

/* ============ SIMULADOR ============ */
.section-simulador {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}
.section-simulador h2 { color: var(--white); margin-bottom: 18px; }
.text-white-70 { color: rgba(255,255,255,0.7); }
.simulador-list { list-style: none; padding: 0; margin: 26px 0 0; }
.simulador-list li {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.simulador-list i { color: #7CF7B0; }

.sim-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  color: var(--ink-900);
}
.sim-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.sim-options { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-option {
  background: var(--bg-soft);
  border: 2px solid transparent;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all .2s ease;
  cursor: pointer;
}
.sim-option:hover { border-color: var(--navy-700); }
.sim-option.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}
.sim-note { font-size: 0.8rem; color: var(--ink-400); text-align: center; margin: 14px 0 0; }

/* ============ DEPOIMENTOS ============ */
.section-depoimentos { background: var(--bg-soft); }
.depoimento-card {
  max-width: 620px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.stars { color: #F5B301; font-size: 1.1rem; margin-bottom: 18px; letter-spacing: 3px; }
.depoimento-card p { font-size: 1.08rem; color: var(--ink-900); font-style: italic; margin-bottom: 26px; }
.depoimento-autor { display: flex; align-items: center; justify-content: center; gap: 12px; }
.avatar-placeholder {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.depoimento-autor strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.depoimento-autor span { font-size: 0.8rem; color: var(--ink-400); }
#depoimentosCarousel .carousel-control-prev,
#depoimentosCarousel .carousel-control-next { width: 6%; opacity: 1; }
.carousel-nav-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-900);
}
.carousel-indicators-custom { display: flex; justify-content: center; gap: 8px; margin-top: 28px; position: static; }
.carousel-indicators-custom button {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-soft); border: none; padding: 0;
  transition: background .25s ease;
}
.carousel-indicators-custom button.active { background: var(--red-600); }

/* ============ FAQ ============ */
.section-faq { background: var(--white); }
.accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
}
.accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  background: transparent;
  padding: 22px 4px;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { color: var(--red-600); background: transparent; }
.accordion-button::after { filter: none; }
.accordion-body { padding: 0 4px 24px; font-size: 0.95rem; }

/* ============ CTA FINAL ============ */
.section-cta {
  background: linear-gradient(120deg, var(--red-700), var(--red-600));
  padding: 90px 0;
}
.section-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: 36px; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 90px 0 0; }
.footer-logo { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.footer p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.footer-social a:hover { background: var(--red-600); }
.footer-links, .footer-contact, .footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-hours li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-links a { color: rgba(255,255,255,0.65); transition: color .2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; }
.footer-contact i { color: var(--red-600); margin-top: 3px; }
.footer-map { margin-top: 60px; border-radius: var(--radius-md); overflow: hidden; }
.footer-map iframe { width: 100%; height: 280px; border: 0; filter: grayscale(0.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px; padding: 26px 0;
  text-align: center; font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ============ FLOATING BUTTONS ============ */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  animation: pulseWa 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { color: var(--white); transform: scale(1.08); }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 10px 26px rgba(37,211,102,0.75), 0 0 0 10px rgba(37,211,102,0.12); }
}
.back-to-top {
  position: fixed; bottom: 26px; right: 96px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-900); color: var(--white);
  border: none; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-600); }

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  #mainNav .navbar-collapse {
    background: var(--white);
    margin-top: 16px; padding: 20px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  #mainNav .nav-link { color: var(--navy-900) !important; }
  #mainNav .navbar-toggler-icon { filter: none !important; }
  .btn-nav-cta { display: inline-flex; margin-top: 10px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 767px) {
  .hero { padding: 150px 0 80px; text-align: left; }
  #mainNav .navbar-brand img { height: 56px; }
  #mainNav.scrolled .navbar-brand img { height: 44px; }
  .section { padding: 70px 0; }
  .hero-visual { margin-top: 20px; }
  .credit-card { max-width: 320px; }
  .float-badge { padding: 10px 14px; }
  .float-badge span { display: none; }
  .timeline { grid-template-columns: 1fr; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.5rem; bottom: 18px; right: 18px; }
  .back-to-top { width: 42px; height: 42px; right: 82px; bottom: 18px; }
  .depoimento-card { padding: 32px 24px; }
  .sim-card { padding: 24px; }
}

[hidden] { display: none !important; }
