/* =============================================
   GELD FINANÇAS PESSOAIS — Identidade Visual
   Manual Editorial v2.0
   ============================================= */

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

/* --- Variáveis --- */
:root {
  --default-font: 'Inter', sans-serif !important;
  --heading-font: 'Poppins', sans-serif !important;
  --nav-font: 'Poppins', sans-serif !important;
  --background-color:  #ffffff !important;
  --default-color:     #475467 !important;
  --heading-color:     #0D1426 !important;
  --accent-color:      #0057FF !important;
  --surface-color:     #ffffff !important;
  --contrast-color:    #ffffff !important;
  --nav-color:                      #0D1426 !important;
  --nav-hover-color:                #0057FF !important;
  --nav-mobile-background-color:    #ffffff !important;
  --nav-dropdown-background-color:  #ffffff !important;
  --nav-dropdown-color:             #0D1426 !important;
  --nav-dropdown-hover-color:       #0057FF !important;
}

.light-background {
  --background-color: #F2F4F7 !important;
  --surface-color:    #ffffff !important;
}

.dark-background {
  --background-color: #0D1426 !important;
  --default-color:    #ffffff !important;
  --heading-color:    #ffffff !important;
  --surface-color:    #1a2d5a !important;
  --contrast-color:   #ffffff !important;
}

.accent-background {
  --background-color: #0D1426 !important;
  --default-color:    #ffffff !important;
  --heading-color:    #ffffff !important;
  --accent-color:     #0057FF !important;
  --surface-color:    #1a2d5a !important;
  --contrast-color:   #ffffff !important;
}

/* --- Tipografia --- */
body { font-family: 'Inter', sans-serif; color: #475467; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 600; color: #0D1426; }

/* --- Header --- */
.header .branding { background-color: #ffffff; }
.header .topbar { background-color: #0D1426 !important; }
.header .sitename { font-family: 'Poppins', sans-serif; font-weight: 700; color: #0D1426; }
.header .logo img {
  height: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  margin-right: 0 !important;
}

/* --- Hero --- */
.hero { background: linear-gradient(135deg, #0D1426 0%, #1a2d5a 60%, #0057FF 100%) !important; }
.hero h2, .hero h2 span, .hero p { color: #ffffff !important; }
.hero .icon-box .title a, .hero .icon-box .icon i { color: #ffffff !important; }

/* Hero logo */
.hero-logo {
  max-width: 500px;
  margin: 40px;
  border-radius: 10px;
}

/* --- Botões --- */
.btn-get-started, .btn-primary {
  background-color: #0057FF !important;
  border-color: #0057FF !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.btn-get-started:hover, .btn-primary:hover {
  background-color: #0041cc !important;
  border-color: #0041cc !important;
}

/* --- Seções --- */
.section-title h2::after { background-color: #0057FF !important; }
.about .bi-check-circle-fill { color: #0057FF !important; }
.call-to-action h3, .call-to-action p { color: #ffffff !important; }

/* --- Contato --- */
.contact .info-item h3 { color: #0D1426 !important; }
.contact .info-item p, .contact .info-item a { color: #475467 !important; }
.contact .info-item i { color: #0057FF !important; }

/* --- FAQ / Como funciona --- */
.faq .faq-item h3, .faq .faq-item .num { color: #0D1426 !important; }
.faq .faq-content p { color: #475467 !important; }

/* --- Stats --- */
.stats .stats-item p, .stats .stats-item span { color: #475467 !important; }
.stats .stats-item strong { color: #0D1426 !important; }
.stats .stats-item i { color: #0057FF !important; }

/* --- Team --- */
.team .member h4 { color: #0D1426 !important; }
.team .member span { color: #0057FF !important; }

/* Biografia do membro */
.member-bio {
  font-size: 0.9rem;
  color: #475467;
  text-align: justify;
}

/* --- Services --- */
.services .service-item:hover, .icon-box:hover {
  border-color: #0057FF !important;
  box-shadow: 0 8px 32px rgba(0, 87, 255, 0.12) !important;
}

/* --- Footer --- */
.footer { background-color: #0D1426 !important; }
.footer h4 { font-family: 'Poppins', sans-serif; font-weight: 600; color: #ffffff; }
.footer a:hover { color: #0057FF !important; }
.footer .logo img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
}
.footer-logo-img {
  height: 48px;
  width: auto;
}
.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Scroll top --- */
.scroll-top { background-color: #0057FF !important; }

/* =============================================
   VÍDEO + GRÁFICOS — Seção About
   ============================================= */

/* Wrapper do vídeo com overlay */
.video-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

/* Vídeo ocupa 100% do wrapper */
.video-fill {
  width: 100%;
  object-fit: cover;
}

/* Overlay escuro sobre o vídeo com gráfico */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 38, 0.65); /* ← transparência: 0=transparente, 1=opaco */
  border-radius: 1rem;                 /* ← arredondamento das bordas */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

/* Container do canvas do gráfico */
.chart-container {
  position: relative;
  height: 160px; /* ← altura do gráfico */
}

/* Label superior do gráfico (uppercase pequeno) */
.chart-label-upper {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

/* Título do gráfico */
.chart-title {
  color: #ffffff;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin: 0 0 12px;
}

/* Legenda do gráfico */
.chart-legend {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* Item da legenda */
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

/* Traço da legenda */
.legend-dot {
  width: 10px;
  height: 3px;
  display: inline-block;
  border-radius: 2px;
}

/* Cor azul Geld */
.legend-dot--blue {
  background: #0057FF; /* ← cor da linha de renda */
}

/* Cor branca/risco */
.legend-dot--white {
  background: rgba(255, 255, 255, 0.5); /* ← cor da linha de risco */
}

/* =============================================
   GELD — RESPONSIVO MOBILE
   ============================================= */

@media (max-width: 768px) {

  /* --- Logo menor no header --- */
  .header .logo img {
    height: 44px !important;
    max-height: 44px !important;
  }

  /* --- Hero compacto --- */
  .hero .container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  /* --- Faixa do título (login, trocar senha, área do cliente) --- */
  .faixa-cliente {
    height: auto !important;
    padding-top: 104px !important;
  }

  .faixa-cliente .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .faixa-cliente h1 {
    margin-block: 1.25rem !important;
  }
  .hero h2 {
    font-size: 1.6rem !important;
  }

  .hero p {
    font-size: 0.9rem !important;
  }

  /* Hero logo menor */
  .hero-logo {
    max-width: 220px !important;
    margin: 16px auto !important;
    display: block !important;
  }

  /* Icon boxes do hero: 2 por linha */
  .hero .icon-boxes .col-xl-3 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* --- About: vídeos menores --- */
  .video-wrapper video {
    max-height: 220px;
    object-fit: cover;
  }

  /* Gráfico menor no mobile */
  .chart-container {
    height: 120px !important;
  }

  /* --- Seção títulos --- */
  .section-title h2 {
    font-size: 1.4rem !important;
  }

  .section-title p {
    font-size: 0.9rem !important;
  }

  /* --- Serviços: 1 por linha em telas pequenas --- */
  .services .col-lg-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* --- Stats: 2 por linha --- */
  .stats .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* --- Team: lado a lado --- */
  .team .col-xl-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .team .member img {
    height: 160px;
    object-fit: cover;
    object-position: top;
  }

  /* --- FAQ: sem padding lateral --- */
  .faq .content.px-xl-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* --- Footer logo menor --- */
  .footer .logo img {
    height: 48px !important;
    max-height: 48px !important;
  }

  /* --- Footer: links lado a lado --- */
  .footer .col-lg-2 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  /* --- Contato: info compacta --- */
  .contact .info-item {
    padding: 12px !important;
  }

  /* --- CTA: texto menor --- */
  .call-to-action h3 {
    font-size: 1.3rem !important;
  }

  .call-to-action p {
    font-size: 0.85rem !important;
  }

}

/* Telas muito pequenas (iPhone SE etc) */
@media (max-width: 400px) {

  .hero h2 {
    font-size: 1.3rem !important;
  }

  .hero-logo {
    max-width: 180px !important;
  }

  /* Team: 1 por linha em telas muito pequenas */
  .team .col-xl-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Stats: 1 por linha */
  .stats .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

}

/* --- Icon boxes: fontes responsivas --- */
.icon-box .title {
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
}

.icon-box .icon i {
  font-size: 1.5rem !important;
}

@media (max-width: 768px) {
  .icon-box {
    padding: 16px 10px !important;
  }

  .icon-box .title {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }

  .icon-box .icon {
    margin-bottom: 8px !important;
  }

  .icon-box .icon i {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 400px) {
  .icon-box .title {
    font-size: 0.7rem !important;
  }
}

/* hero mobile removido - causava conflito */

/* =============================================
   ICON-BOXES COM VÍDEO — Hero Section
   ============================================= */

/* Container com vídeo: mantém position relative para os filhos absolutos */
.icon-box.icon-box-video {
  position: relative;
  overflow: hidden;
  padding: 60px 30px;
}

/* Vídeo de fundo */
.icon-box-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay escuro sobre o vídeo */
.icon-box-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 38, 0.68);
  z-index: 1;
  transition: background 0.35s ease;
}

/* Conteúdo (ícone + título) acima do overlay */
.icon-box-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Hover: overlay levemente mais azul Geld */
.icon-box.icon-box-video:hover .icon-box-overlay {
  background: rgba(0, 60, 180, 0.55);
}

/* =============================================
   BLOCO DE AGENDAMENTO — Seção Contato
   ============================================= */

.calendar-block {
  display: block;
  min-height: 380px;
  text-decoration: none;
  cursor: pointer;
}

/* Vídeo de fundo */
.calendar-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay escuro */
.calendar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 20, 38, 0.72);
  z-index: 1;
  transition: background 0.35s ease;
}

/* Conteúdo centralizado sobre o vídeo */
.calendar-content {
  position: relative;
  z-index: 2;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  text-align: center;
}

/* Círculo do ícone */
.calendar-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 87, 255, 0.22);
  border: 2px solid #0057FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s ease, background 0.35s ease;
}

.calendar-icon-wrap i {
  font-size: 38px;
  color: #ffffff;
  line-height: 1;
}

/* Label superior */
.calendar-label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

/* Título principal */
.calendar-title {
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  margin: 0 0 14px;
  line-height: 1.3;
}

/* Descrição */
.calendar-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 0 32px;
  line-height: 1.65;
}

/* Botão interno */
.calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0057FF;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

/* Hover do bloco inteiro */
.calendar-block:hover .calendar-overlay {
  background: rgba(0, 60, 180, 0.50);
}

.calendar-block:hover .calendar-icon-wrap {
  transform: scale(1.12);
  background: rgba(0, 87, 255, 0.38);
}

.calendar-block:hover .calendar-btn {
  background: #0040cc;
}

/* Responsivo mobile */
@media (max-width: 768px) {
  .calendar-block,
  .calendar-content {
    min-height: 300px;
  }

  .calendar-content {
    padding: 32px 24px;
  }

  .calendar-title {
    font-size: 1.4rem !important;
  }

  .calendar-desc {
    font-size: 0.88rem;
  }

  .calendar-icon-wrap {
    width: 68px;
    height: 68px;
  }

  .calendar-icon-wrap i {
    font-size: 30px;
  }
}
