/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy
Author: CreativeThemes
Author URI: https://creativethemes.com
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/
/* =========================
   RESET & BASE GLOBAL
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #f6f8f7;
  color: #1e2a3a;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
  border-radius: .6rem;
}

a {
  color: #2f5d8c;
  text-decoration: none;
}

a:hover {
  color: #1f466b;
}

.site-main {
  padding: 1rem;
}

.app-container {
  max-width: 900px;
  margin: 0 auto;
}


/* =========================
   TIPOGRAFIA
========================= */

h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.2rem 0 .6rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.2rem 0 .6rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1rem 0 .5rem;
}

p {
  font-size: .95rem;
  margin-bottom: .6rem;
  color: #555555;
}

small {
  font-size: .8rem;
}

.secao-titulo {
  margin-top: 1.5rem;
}


/* =========================
   CARDS
========================= */

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  margin-bottom: .8rem;
}

.etapa-card,
.fornecedor-card,
.caminho-card {
  border-left: 4px solid #ddd;
  border-right: none;
}


/* =========================
   LISTAS BASE
========================= */

ul {
  padding-left: 1.2rem;
  margin: .5rem 0;
}

li {
  margin-bottom: .3rem;
  line-height: 1.4;
}

.lista-padrao {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista-meta li,
.lista-dicas li,
.lista-etapas li,
.lista-servicos li,
.lista-fornecedores li {
  background: #f6f8fb;
  border-radius: .6rem;
  padding: .6rem .8rem;
  box-shadow: inset 0 0 0 1px #e2e6ec;
  margin-bottom: .5rem;
}


/* =========================
   BOTÕES
========================= */

.btn,
button {
  padding: .75rem 1.4rem;
  border-radius: 999px;
  background: #2f5d8c;
  color: #ffffff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background .2s ease, transform .1s ease;
}

.btn:hover,
button:hover {
  background: #1f466b;
  color: #ffffff;
}

.btn:active,
button:active {
  transform: scale(.97);
}


.badge-plano {
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
}

.badge-premium {
  background: #d4a017;
  color: #1e1e1e;
}

.badge-basic {
  background: #1f6fb2;
  color: #fff;
}

.badge-free {
  background: #666;
  color: #fff;
}


/* =========================
   GRID BASE
========================= */

.lista-grid,
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .lista-grid,
  .grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (min-width: 900px) {
  .lista-grid,
  .grid {
    grid-template-columns: repeat(3,1fr);
  }
}


/* =========================
   MODAIS / FILTROS
========================= */

.modal-filtros {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: flex-end;
  z-index: 1000;
}

.modal-filtros-content {
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  padding: 1.2rem;
  width: 100%;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-fechar-modal {
  background: none;
  color: #2f5d8c;
  font-size: 1.1rem;
}

.filtros-body {
  margin: 1rem 0;
}

.modal-footer {
  display: flex;
  gap: .8rem;
  justify-content: flex-end;
}


/* =========================
   AVISOS
========================= */

.aviso {
  background: #fff2c2;
  border-left: 4px solid #ffd700;
}


/* =========================
   CTA
========================= */

.cta,
.cta-fornecedores {
  background: linear-gradient(135deg,#fff2c2,#ffe08a);
  padding: 1.6rem;
  border-radius: 1rem;
  text-align: center;
}


/* =========================
   NAVEGAÇÃO ETAPAS
========================= */

.navegacao-etapas-mobile {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin: 1.5rem 0;
}

.btn-etapa {
  flex: 1;
  text-align: center;
}


/* =========================
   ÍCONES
========================= */

.icon,
i {
  color: #2f5d8c;
}


/* =========================
   TEXTO
========================= */

.caminho-texto p,
.etapa-observacoes p {
  text-align: justify;
}


/* =========================
   MICRO INTERAÇÕES
========================= */

.ripple {
  transition: background .2s ease, transform .1s ease;
}

.ripple:active {
  transform: scale(.97);
}
