/* SPIKE institutional refresh: visual layer only; original sections and behavior stay intact. */
:root {
  --spike-navy: #10243a;
  --spike-blue: #1e6ea8;
  --spike-cyan: #42a9d1;
  --spike-lime: #a5c83b;
  --spike-ink: #27384a;
  --spike-muted: #647487;
  --spike-soft: #f3f7fa;
}
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { color: var(--spike-ink); background: #fff; font-family: "Open Sans", sans-serif; letter-spacing: .005em; }
#header { background: rgba(255,255,255,.96) !important; box-shadow: 0 8px 28px rgba(16,36,58,.08); padding: 12px 0; backdrop-filter: blur(12px); }
#header .logo img { max-height: 44px; }
#header .navbar a, #header .navbar a:focus { color: var(--spike-ink) !important; font-size: 13px; font-weight: 600; padding: 10px 9px; }
#header .navbar a:hover { color: var(--spike-blue) !important; }
#header .navbar .getstarted { margin-left: 8px; border: 1px solid var(--spike-blue); border-radius: 8px; padding: 10px 16px; }
#header .navbar li:first-of-type .getstarted, #header .navbar .getstarted[href*="register"] { background: var(--spike-blue) !important; color: #fff !important; }
#header .navbar .getstarted:hover { background: var(--spike-navy) !important; border-color: var(--spike-navy); }
#hero { min-height: 690px; height: auto; padding: 130px 0 76px; background: radial-gradient(ellipse at 78% 42%, rgba(66,169,209,.22), transparent 38%), linear-gradient(120deg, #10243a 0%, #173c5d 62%, #145276 100%); }
#hero .container { padding-top: 0; }
#hero h1 { max-width: 620px; font-family: "Poppins", sans-serif; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -.035em; }
#hero h2 { max-width: 570px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.75; font-weight: 400; margin: 22px 0 28px; }
#hero .hero-img img { filter: drop-shadow(0 22px 34px rgba(0,0,0,.25)); }
#hero .btn-get-started, #cta .cta-btn { background: var(--spike-lime) !important; border: 1px solid var(--spike-lime); color: #142337; border-radius: 8px; padding: 14px 23px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
#hero .btn-get-started:hover, #cta .cta-btn:hover { background: #b8d852 !important; border-color: #b8d852; transform: translateY(-2px); }
section { padding: 82px 0; }
.section-bg, .services.section-bg, .why-us.section-bg { background: var(--spike-soft); }
.section-title { max-width: 760px; margin: 0 auto 8px; }
.section-title h2 { color: var(--spike-navy); font-family: "Poppins", sans-serif; font-size: 29px; letter-spacing: -.02em; text-transform: none; }
.section-title h2::before { background: #d9e3eb; }
.section-title h2::after { background: var(--spike-cyan); border-radius: 4px; }
.section-title p { color: var(--spike-muted); line-height: 1.7; }
.about .content { max-width: 960px; margin: 0 auto; }
.about .content p { color: #526276; line-height: 1.85; margin-bottom: 20px; }
.services .icon-box { border: 1px solid #e8eef3; border-radius: 12px; box-shadow: 0 12px 36px rgba(16,36,58,.06); padding: 34px 26px; height: 100%; }
.services .icon-box:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(16,36,58,.11); }
.services .icon-box .icon i { color: var(--spike-blue); background: #eaf4fa; border-radius: 10px; padding: 10px; }
.services .icon-box h4 { font-family: "Poppins", sans-serif; font-size: 18px; font-weight: 600; }
.services .icon-box h4 a { color: var(--spike-navy); }
.services .icon-box p { color: var(--spike-muted); line-height: 1.7; }
#cta { padding: 64px 0; background: linear-gradient(115deg, rgba(16,36,58,.96), rgba(24,70,105,.94)), url("../img/cta-bg.jpg") center/cover; }
#cta h3 { font-family: "Poppins", sans-serif; font-size: 27px; }
#cta p { color: rgba(255,255,255,.78); margin-bottom: 0; }
.pricing .box { border: 1px solid #e6edf3; border-top: 4px solid var(--spike-blue); border-radius: 14px; padding: 42px 34px; box-shadow: 0 16px 42px rgba(16,36,58,.08); }
.pricing .box.featured { border-top-color: var(--spike-blue); }
.pricing h3 { color: var(--spike-navy); font-family: "Poppins", sans-serif; font-weight: 600; }
.pricing h4 { color: var(--spike-navy); font-weight: 600; }
.pricing h4 span { color: var(--spike-muted); font-size: 15px; }
.pricing ul { color: #536477; }
.pricing ul li { padding: 9px 0 9px 29px; }
.pricing ul i { color: var(--spike-blue); }
.pricing ul li:empty { display: none; }
.pricing .buy-btn { display: block; width: 100%; text-align: center; margin-top: 22px; color: #fff; background: var(--spike-blue); border: 1px solid var(--spike-blue); border-radius: 8px; font-weight: 700; padding: 13px 18px; }
.pricing .buy-btn:hover { background: var(--spike-navy); border-color: var(--spike-navy); }
.why-us .content h3 { color: var(--spike-navy); font-family: "Poppins", sans-serif; font-weight: 600; }
.why-us .content p, .why-us .accordion-list p { color: var(--spike-muted); line-height: 1.7; }
.why-us .accordion-list li { border: 1px solid #e8eef3; border-radius: 10px; box-shadow: 0 8px 24px rgba(16,36,58,.04); }
.why-us .accordion-list span { color: var(--spike-blue); }
.why-us .accordion-list a { color: var(--spike-navy); }
#footer .footer-newsletter { background: var(--spike-soft) !important; }
#footer .footer-newsletter h4, #footer .footer-top .footer-contact h3, #footer .footer-top h4 { color: var(--spike-navy); }
#footer .footer-newsletter form { border: 1px solid #e1e9ef; box-shadow: 0 10px 30px rgba(16,36,58,.06); }
#footer .footer-newsletter form input[type="submit"] { background: var(--spike-blue); }
#footer .footer-top { background: #fff; border-top: 1px solid #e9eef2; }
#footer .footer-top .social-links a { background: #eaf4fa; color: var(--spike-blue); }
#footer .footer-top .social-links a:hover { background: var(--spike-blue); color: #fff; }
#footer .footer-bottom { color: #aab8c6; border-top: 1px solid rgba(255,255,255,.1); }
.back-to-top { background: var(--spike-blue); border-radius: 10px; }
@media (max-width: 991px) {
  #hero { min-height: 0; padding: 112px 0 58px; }
  #hero .row { row-gap: 25px; }
  #hero .hero-img img { width: min(78%, 420px); }
  #header .navbar-mobile { background: rgba(16,36,58,.72); }
  #header .navbar-mobile ul { padding: 18px 0; border-radius: 14px; }
  #header .navbar-mobile a { color: var(--spike-ink) !important; padding: 12px 20px; }
  #header .navbar-mobile .getstarted { display: inline-flex; margin: 8px 16px; }
  .pricing .box { max-width: 100%; }
}
@media (max-width: 575px) {
  section { padding: 64px 0; }
  #hero { text-align: left; padding-top: 105px; }
  #hero h1 { font-size: 37px; }
  #hero h2 { font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
  #hero .d-flex { justify-content: flex-start !important; }
  #hero .hero-img img { width: 92%; }
  #cta { padding: 48px 0; }
  .pricing .box { padding: 32px 24px; }
  .why-us .img { min-height: 220px; }
}


/* Keep plan actions aligned at the bottom of equal-height pricing cards. */
.pricing .box { display: flex; flex-direction: column; }
.pricing .box ul { flex: 1 0 auto; }
.pricing .box .buy-btn { margin-top: auto; }

/* Place each plan action directly below its price. */
.pricing .box h3 { order: 1; }
.pricing .box h4,
.pricing .box h5 { order: 2; }
.pricing .box .buy-btn { order: 3; margin: 0 0 12px; }
.pricing .box ul { order: 4; flex: 0 0 auto; margin: 0; padding: 12px 0 20px; }

.pricing .box h4 { margin-bottom: 14px; }
.pricing .box h5 { margin-bottom: 14px !important; }


/* Reserve equal space for both price labels so the plan buttons line up. */
.pricing .box h4,
.pricing .box h5 { min-height: 76px; box-sizing: border-box; }

/* Corrige o menu móvel: backdrop-filter no cabeçalho limita o fixed do submenu. */
@media (max-width: 991px) {
  #header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  #header .navbar-mobile {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 10000;
  }

  #header .navbar-mobile .mobile-nav-toggle {
    position: fixed;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    z-index: 10001;
    padding: 12px;
    font-size: 30px;
    line-height: 1;
    color: #1e6ea8 !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(16, 36, 58, .18);
    -webkit-tap-highlight-color: transparent;
  }

  #header .navbar-mobile ul {
    top: max(68px, calc(env(safe-area-inset-top) + 56px));
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    padding: 12px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Ações da plataforma ficam no cabeçalho, fora do painel de navegação móvel. */
#header .header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  position: relative;
  z-index: 10002;
  flex: 0 0 auto;
}
#header .header-actions .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--spike-blue);
  border-radius: 8px;
  color: var(--spike-ink);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
#header .header-actions .header-action-primary {
  color: #fff;
  background: var(--spike-blue);
}
#header .header-actions .header-action:hover {
  color: #fff;
  background: var(--spike-navy);
  border-color: var(--spike-navy);
}
@media (max-width: 991px) {
  #header .header-actions { gap: 5px; margin-left: auto; margin-right: 8px; }
  #header .header-actions .header-action { min-height: 36px; padding: 8px 9px; font-size: 11px; }
  #header .navbar { margin-left: 0; }
  #header .logo.me-auto { margin-right: 0 !important; flex: 0 1 auto; }
  #header .logo img { max-width: 100px; }
  #header .navbar-mobile .mobile-nav-toggle { z-index: 10003; }
}
@media (max-width: 360px) {
  #header .logo img { max-width: 76px; }
  #header .header-actions { gap: 4px; margin-right: 5px; }
  #header .header-actions .header-action { min-height: 34px; padding: 7px 7px; font-size: 10px; }
}

/* Menu móvel compacto, aberto logo abaixo do cabeçalho. */
@media (max-width: 991px) {
  #header .header-actions { position: relative; z-index: 10002; }
  #header .header-actions .mobile-nav-toggle {
    position: relative;
    top: auto;
    right: auto;
    z-index: 10003;
    display: block;
    flex: 0 0 auto;
    padding: 8px;
    margin-right: 2px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: #1e6ea8 !important;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
  }
  #header .navbar-mobile {
    position: fixed;
    inset: 68px 10px auto auto;
    width: min(320px, calc(100vw - 20px));
    height: auto;
    max-height: calc(100dvh - 82px);
    overflow: visible;
    background: transparent;
    z-index: 10000;
  }
  #header .navbar-mobile ul {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-height: calc(100dvh - 82px);
    margin: 0;
    padding: 10px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid rgba(16, 36, 58, .1);
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(16, 36, 58, .2);
  }
  #header .navbar-mobile ul a { padding: 10px 18px; }
}
@media (max-width: 575px) {
  #header .navbar-mobile { inset: 64px 8px auto auto; width: min(320px, calc(100vw - 16px)); }
  #header .navbar-mobile ul { max-height: calc(100dvh - 76px); }
}
