/* SpeedyCon — identidade visual
   Cores do kit Elementor (uploads/elementor/css/post-371.css) e da logomarca:
   marinho #020D4D (fundo do topo e do rodapé), azul #045184, cinza-azulado
   #72858C, azul-claro #ACD8E3. A asa da logo vai de #303C90 a #60C0E4. */

:root {
  --spd-marinho: #020D4D;
  --spd-marinho-claro: #0A1A6B;
  --spd-azul: #045184;
  --spd-indigo: #303C90;
  --spd-azul-vivo: #486CFC;
  --spd-ciano: #60C0E4;
  --spd-azul-suave: #ACD8E3;
  --spd-texto: #303030;
  --spd-texto-suave: #72858C;
  --spd-superficie: #F4F7FA;
  --spd-borda: #DFE5EC;
  --spd-raio: 12px;
  --spd-sombra: 0 10px 28px rgba(2, 13, 77, .09);
  --spd-sombra-forte: 0 18px 44px rgba(2, 13, 77, .18);
}

/* ---------- base ---------- */
body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--spd-texto);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  color: var(--spd-marinho);
  line-height: 1.25;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }

a { color: var(--spd-azul); text-decoration: none; }
a:hover { color: var(--spd-indigo); }

/* Título de seção em caixa alta, como no site antigo. */
.spd-secao-titulo {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  text-align: center;
  margin-bottom: .6rem;
}
.spd-secao-titulo::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: .9rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--spd-indigo), var(--spd-ciano));
}

.spd-secao { padding: clamp(3rem, 6.5vw, 5.5rem) 0; }
.spd-superficie { background: var(--spd-superficie); }
.spd-escuro { background: var(--spd-marinho); color: rgba(255, 255, 255, .85); }
.spd-escuro h1, .spd-escuro h2, .spd-escuro h3, .spd-escuro h4 { color: #fff; }
.spd-escuro .spd-secao-titulo::after { background: linear-gradient(90deg, var(--spd-ciano), #fff); }

.texto-suave { color: var(--spd-texto-suave); }
.spd-max-60ch { max-width: 62ch; }

/* ---------- botões ---------- */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: .7rem 1.7rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-spd {
  background: var(--spd-azul);
  border-color: var(--spd-azul);
  color: #fff;
}
.btn-spd:hover, .btn-spd:focus {
  background: var(--spd-indigo);
  border-color: var(--spd-indigo);
  color: #fff;
  box-shadow: 0 10px 24px rgba(4, 81, 132, .3);
}

.btn-spd-contorno {
  border: 2px solid var(--spd-azul);
  color: var(--spd-azul);
  background: transparent;
}
.btn-spd-contorno:hover { background: var(--spd-azul); color: #fff; }

.spd-escuro .btn-spd-contorno { border-color: #fff; color: #fff; }
.spd-escuro .btn-spd-contorno:hover { background: #fff; color: var(--spd-marinho); }

/* ---------- header ---------- */
.spd-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(2, 13, 77, .08);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.spd-header .navbar-brand img { height: 50px; width: auto; }
.spd-header .nav-link {
  color: var(--spd-marinho);
  font-weight: 600;
  font-size: .93rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .55rem .85rem !important;
  position: relative;
}
.spd-header .nav-link:hover,
.spd-header .nav-link.ativo { color: var(--spd-azul); }
.spd-header .nav-link.ativo::after {
  content: '';
  position: absolute;
  left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--spd-indigo), var(--spd-ciano));
}

/* ---------- hero ---------- */
/* Mesma arte do site antigo: fundo marinho com a asa da logomarca à direita. */
.spd-hero {
  background: var(--spd-marinho) url('/uploads/2019/02/topo_2.jpeg') right center / cover no-repeat;
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.spd-hero h1 { color: #fff; }
.spd-hero p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.spd-hero img.spd-hero-logo { max-width: 340px; width: 100%; height: auto; margin-bottom: 1.6rem; }

.spd-hero-interno {
  background: var(--spd-marinho) url('/uploads/2019/02/topo_2.jpeg') right center / cover no-repeat;
  color: #fff;
  padding: clamp(2.4rem, 5.5vw, 4rem) 0;
}
.spd-hero-interno h1 { color: #fff; margin-bottom: .4rem; }
.spd-hero-interno p { color: rgba(255, 255, 255, .82); margin-bottom: 0; }

/* ---------- pilares (valores / missão / visão) ---------- */
.spd-pilar { text-align: center; padding: 1.4rem .8rem; }
.spd-pilar img { height: 72px; width: auto; margin-bottom: 1rem; }
.spd-pilar h3 { margin-bottom: .35rem; }
.spd-pilar p { color: var(--spd-texto-suave); margin-bottom: 0; }

/* ---------- serviços ---------- */
.spd-servico {
  background: #fff;
  border: 1px solid var(--spd-borda);
  border-radius: var(--spd-raio);
  padding: 2rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.spd-servico:hover { transform: translateY(-5px); box-shadow: var(--spd-sombra); }
.spd-servico img { height: 120px; width: auto; align-self: center; margin-bottom: 1.2rem; }
.spd-servico h3 {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.05rem;
  text-align: center;
}
.spd-servico .chamada {
  text-align: center;
  color: var(--spd-azul);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .9rem;
}
.spd-servico p.texto {
  color: var(--spd-texto-suave);
  font-size: .92rem;
  flex-grow: 1;
}
.spd-servico .btn { align-self: center; margin-top: 1rem; }

/* ---------- parceiros ---------- */
.spd-parceiros img {
  max-height: 72px;
  width: auto;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .2s ease, opacity .2s ease;
}
.spd-parceiros img:hover { filter: none; opacity: 1; }

/* ---------- contato ---------- */
.spd-contato-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .9rem;
  font-weight: 600;
}
.spd-contato-item i {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

/* ---------- formulário ---------- */
.spd-form .form-control,
.spd-form .form-select {
  border-radius: 8px;
  border: 1px solid var(--spd-borda);
  padding: .75rem 1rem;
  font-size: .95rem;
}
.spd-form .form-control:focus,
.spd-form .form-select:focus {
  border-color: var(--spd-azul);
  box-shadow: 0 0 0 .2rem rgba(4, 81, 132, .12);
}
.spd-form label { font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.spd-form .form-check-label { font-weight: 500; }

/* ---------- listas de documento (LP do IR) ---------- */
.spd-lista { list-style: none; padding: 0; }
.spd-lista li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .55rem;
  color: var(--spd-texto-suave);
  font-size: .95rem;
}
.spd-lista li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0; top: 0;
  color: var(--spd-ciano);
}

/* ---------- passos numerados ---------- */
.spd-passo { text-align: center; padding: 1.2rem .6rem; }
.spd-passo .num {
  width: 52px; height: 52px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spd-indigo), var(--spd-ciano));
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spd-passo p { color: var(--spd-texto-suave); font-size: .93rem; margin-bottom: 0; }

/* ---------- cartão de e-book ---------- */
.spd-ebook {
  background: #fff;
  border: 1px solid var(--spd-borda);
  border-radius: var(--spd-raio);
  overflow: hidden;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.spd-ebook:hover { transform: translateY(-5px); box-shadow: var(--spd-sombra); }
.spd-ebook img { width: 100%; height: auto; display: block; }
.spd-ebook .corpo { padding: 1.4rem; }

/* ---------- página /links/ ---------- */
.spd-links-pagina {
  min-height: 100vh;
  background: var(--spd-marinho) url('/uploads/2019/02/topo_2.jpeg') center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.spd-link-botao {
  display: block;
  background: rgba(255, 255, 255, .95);
  color: var(--spd-marinho);
  font-weight: 700;
  text-align: center;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  margin-bottom: .9rem;
  transition: transform .18s ease, background-color .18s ease;
}
.spd-link-botao:hover {
  background: #fff;
  color: var(--spd-azul);
  transform: translateY(-2px);
}

/* ---------- footer ---------- */
.spd-footer { background: var(--spd-marinho); color: rgba(255, 255, 255, .72); padding: 3.2rem 0 0; }
.spd-footer h4 {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.spd-footer a { color: rgba(255, 255, 255, .72); }
.spd-footer a:hover { color: #fff; }
.spd-footer ul { list-style: none; padding: 0; }
.spd-footer ul li { margin-bottom: .45rem; font-size: .92rem; }
.spd-footer img.spd-footer-logo { max-width: 250px; width: 100%; height: auto; margin-bottom: 1rem; }
.spd-footer .spd-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  margin-right: .5rem;
  font-size: 1.05rem;
}
.spd-footer .spd-social a:hover { background: var(--spd-azul); color: #fff; }
.spd-rodape-fim {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2.4rem;
  padding: 1.1rem 0;
  font-size: .84rem;
  text-align: center;
}

/* ---------- whatsapp flutuante ---------- */
.spd-wa-flutuante {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  z-index: 1040;
}
.spd-wa-flutuante:hover { color: #fff; transform: scale(1.06); }

/* ---------- utilidades ---------- */
.spd-img-arredondada { border-radius: var(--spd-raio); box-shadow: var(--spd-sombra); width: 100%; height: auto; }
.spd-alerta { border-radius: 8px; font-size: .93rem; }

@media (max-width: 991.98px) {
  .spd-header .nav-link.ativo::after { display: none; }
  .spd-hero, .spd-hero-interno { background-position: center; }
}
