/* ==========================================================================
   Sarle Predict — site institucional
   Paleta extraída do logo: marinho, dourado e verde.
   ========================================================================== */

:root {
  --sp-navy:        #14233b;
  --sp-navy-800:    #1b2e4a;
  --sp-navy-700:    #24395a;
  --sp-gold:        #c9a24b;
  --sp-gold-light:  #e7c978;
  --sp-green:       #1c6b3f;
  --sp-green-light: #2f8f57;
  --sp-ink:         #16233a;
  --sp-muted:       #5c6b82;
  --sp-bg-soft:     #f4f6f9;
  --sp-border:      #e3e8ef;

  --sp-gold-grad: linear-gradient(135deg, var(--sp-gold) 0%, var(--sp-gold-light) 55%, var(--sp-gold) 100%);
}

/* --------------------------------------------------- base --------------- */

html {
  scroll-behavior: smooth;
  /* compensa a navbar fixa ao pular para as âncoras */
  scroll-padding-top: 72px;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--sp-ink);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, .h1, .h2, .h3 { font-weight: 700; letter-spacing: -.02em; }

section { scroll-margin-top: 72px; }

.text-muted-sp { color: var(--sp-muted); }

/* Título de seção com traço dourado acima */
.section-title { position: relative; margin-bottom: .75rem; }
.section-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sp-gold);
  margin-bottom: .5rem;
}
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--sp-gold);
  vertical-align: middle;
  margin-right: .6rem;
}

.bg-soft { background: var(--sp-bg-soft); }
.bg-navy { background: var(--sp-navy); }

/* Texto com o gradiente dourado da marca */
.text-gold {
  background: var(--sp-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------- botões ------------- */

.btn-gold {
  background: var(--sp-gold-grad);
  border: none;
  color: var(--sp-navy);
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(201, 162, 75, .32);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-gold:hover, .btn-gold:focus {
  color: var(--sp-navy);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201, 162, 75, .42);
}

.btn-whats {
  background: #25d366;
  border: none;
  color: #06331a;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-whats:hover, .btn-whats:focus {
  color: #06331a;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .38);
}

.btn-outline-light-sp {
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  transition: background .18s ease, border-color .18s ease;
}
.btn-outline-light-sp:hover, .btn-outline-light-sp:focus {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------- navbar ------------- */

.navbar-sp {
  background: rgba(20, 35, 59, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.navbar-sp .navbar-brand img { height: 38px; }
.navbar-sp .nav-link {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
  padding-inline: .9rem;
}
.navbar-sp .nav-link:hover,
.navbar-sp .nav-link:focus { color: var(--sp-gold-light); }
.navbar-sp .navbar-toggler {
  border-color: rgba(255, 255, 255, .3);
  padding: .35rem .6rem;
}
.navbar-sp .navbar-toggler:focus { box-shadow: none; }

/* --------------------------------------------------- hero --------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% 8%, rgba(28, 107, 63, .38) 0%, transparent 62%),
    radial-gradient(760px 420px at 8% 92%, rgba(201, 162, 75, .16) 0%, transparent 60%),
    var(--sp-navy);
  color: #fff;
  padding: 8.5rem 0 5rem;
  overflow: hidden;
}

/* grade sutil de "circuito", ecoando o logo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-logo { max-width: 320px; margin-bottom: 1.5rem; }

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.hero-lead {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  max-width: 33rem;
}

/* Selo "sem internet" no hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .86rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.hero-badge i { color: var(--sp-gold-light); }

/* --------------------------------------------------- molduras de tela --- */

/* Moldura de "navegador" usada nos prints do sistema */
.shot {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--sp-border);
  box-shadow: 0 18px 44px rgba(20, 35, 59, .16);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: .55rem .8rem;
  background: #eef1f5;
  border-bottom: 1px solid var(--sp-border);
}
.shot-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #cbd3de;
}
.shot img { display: block; width: 100%; }

/* No hero a moldura ganha borda clara para destacar sobre o marinho */
.hero .shot {
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .45);
}
.hero .shot-bar { background: #dfe4ea; }

/* --------------------------------------------------- faixa indicadores -- */

.metrics {
  background: var(--sp-navy-800);
  color: #fff;
  padding: 2.2rem 0;
}
.metric-item { text-align: center; padding: .5rem .25rem; }
.metric-item .metric-value {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--sp-gold-light);
  margin-bottom: .15rem;
}
.metric-item .metric-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.35;
}

/* --------------------------------------------------- cards de recurso --- */

.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, .5);
  box-shadow: 0 16px 34px rgba(20, 35, 59, .1);
}
.feature-icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(20, 35, 59, .06);
  color: var(--sp-navy);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { color: var(--sp-muted); font-size: .95rem; margin-bottom: 0; }

/* variações de cor do ícone, para o grid não ficar monótono */
.feature-icon.is-gold  { background: rgba(201, 162, 75, .14); color: #a67f2e; }
.feature-icon.is-green { background: rgba(28, 107, 63, .12);  color: var(--sp-green); }

/* --------------------------------------------------- galeria de telas --- */

.gallery-caption {
  font-size: .92rem;
  color: var(--sp-muted);
  margin-top: .85rem;
}
.gallery-caption strong { color: var(--sp-ink); display: block; margin-bottom: .15rem; }

/* A legenda fica dentro do slide, então o carrossel precisa de espaço embaixo
   para os indicadores não cobrirem o texto. */
#telasCarousel { padding-bottom: 2.75rem; }
#telasCarousel .carousel-indicators { bottom: 0; margin-bottom: 0; }

/* Setas sempre visíveis, como botões redondos sobre a moldura, para deixar
   claro que dá para navegar. */
#telasCarousel .carousel-control-prev,
#telasCarousel .carousel-control-next {
  width: auto;
  opacity: 1;
  align-items: center;
}
#telasCarousel .carousel-control-prev { justify-content: flex-start; padding-left: .25rem; }
#telasCarousel .carousel-control-next { justify-content: flex-end;  padding-right: .25rem; }
#telasCarousel .carousel-control-prev-icon,
#telasCarousel .carousel-control-next-icon {
  width: 48px; height: 48px;
  background-color: var(--sp-navy);
  background-size: 40%;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(20, 35, 59, .3);
  border: 2px solid var(--sp-gold);
  transition: background-color .18s ease, transform .18s ease;
}
#telasCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#telasCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--sp-green);
  transform: scale(1.08);
}
@media (min-width: 992px) {
  /* no desktop, empurra os botões para fora da moldura */
  #telasCarousel .carousel-control-prev { left: -18px; }
  #telasCarousel .carousel-control-next { right: -18px; }
}
#telasCarousel .carousel-indicators { margin-inline: 0; }
#telasCarousel .carousel-indicators [data-bs-target] {
  background-color: #c4ccd8;
  height: 5px;
  width: 26px;
  border-radius: 3px;
  border: 0;
  transition: background-color .18s ease;
}
#telasCarousel .carousel-indicators .active { background-color: var(--sp-gold); }

/* --------------------------------------------------- app mobile --------- */

.app-section {
  background:
    radial-gradient(900px 460px at 15% 15%, rgba(28, 107, 63, .42) 0%, transparent 62%),
    var(--sp-navy);
  color: #fff;
}

.app-check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .85rem;
  color: rgba(255, 255, 255, .86);
}
.app-check i { color: var(--sp-gold-light); font-size: 1.1rem; line-height: 1.5; }

/* Montagem pronta com as três telas do app (img/3app.png) */
.app-montage {
  display: block;
  width: 100%;
  margin-inline: auto;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, .55));
}

/* --------------------------------------------------- para quem é -------- */

.audience-card {
  height: 100%;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--sp-border);
  background: #fff;
}
.audience-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.audience-card li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  color: var(--sp-muted);
  font-size: .95rem;
}
.audience-card li::before {
  content: "\F26E"; /* bi-check-lg */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--sp-green-light);
  font-size: .9rem;
}

/* --------------------------------------------------- CTA final ---------- */

.cta-final {
  background: var(--sp-gold-grad);
  color: var(--sp-navy);
  padding: 4rem 0;
}
.cta-final h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.btn-navy {
  background: var(--sp-navy);
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn-navy:hover, .btn-navy:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(20, 35, 59, .35);
}

/* --------------------------------------------------- rodapé ------------- */

.footer {
  background: var(--sp-navy);
  color: rgba(255, 255, 255, .62);
  padding: 3rem 0 2rem;
  font-size: .9rem;
}
.footer img { height: 46px; margin-bottom: 1rem; }
.footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.footer a:hover { color: var(--sp-gold-light); }
.footer hr { border-color: rgba(255, 255, 255, .12); margin: 2rem 0 1.25rem; }

/* --------------------------------------------------- responsivo --------- */

@media (max-width: 991.98px) {
  .hero { padding: 7rem 0 3.5rem; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-logo { max-width: 250px; }
  .navbar-sp .navbar-nav { padding-block: .75rem; }
  .navbar-sp .nav-link { padding-inline: 0; }
}

@media (max-width: 575.98px) {
  .hero { padding: 6rem 0 3rem; }
  .btn-gold, .btn-whats, .btn-navy, .btn-outline-light-sp { width: 100%; }
}

/* Respeita quem prefere menos animação */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-card, .btn-gold, .btn-whats, .btn-navy { transition: none; }
  .feature-card:hover, .btn-gold:hover, .btn-whats:hover, .btn-navy:hover { transform: none; }
}
