/* =========================
   VITRINE DE TEMPLATES
   ========================= */

.vitrine-templates {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

.vitrine-header {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.vitrine-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.vitrine-header p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

/* GRID */
.vitrine-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */
.vitrine-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vitrine-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.vitrine-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.vitrine-card h3 {
  padding: 18px 20px 22px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #1e293b;
}

/* HOVER */
.vitrine-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
}

/* DESTAQUE */
.vitrine-card.destaque {
  border: 2px solid #3b82f6;
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
}

.vitrine-card.destaque h3 {
  color: #1d4ed8;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .vitrine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vitrine-templates {
    padding: 60px 16px;
  }

  .vitrine-header h2 {
    font-size: 2rem;
  }

  .vitrine-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vitrine-card img {
    height: 200px;
  }
}

.secao-planos {
  display: none;
}

.planos-vitrine {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Arial', sans-serif;
}

.planos-vitrine .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #222;
}

.planos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px; /* menos espaço entre os cards */
}

.plano-card {
  background-color: #f9f9f9;
  border-radius: 4px; /* quase quadrado */
  padding: 15px 20px; /* menos padding interno */
  box-shadow: 0 1px 4px rgba(0,0,0,0.05); /* sombra leve */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plano-card .tag {
  align-self: flex-end;
  background-color: #08a39b;
  color: #fff;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.plano-card.recomendado .tag {
  background-color: #08a39b;
}

.plano-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.plano-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  margin-bottom: 15px;
  flex-grow: 1; /* mantém todos os cards uniformes */
}

#planos {
  display: none;
}

.btn-plano {
  all: unset; /* limpa heranças agressivas */
  
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;

  border: 1px solid #08a39b;
  border-radius: 6px;

  color: #08a39b;
  background-color: transparent;

  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-plano:hover {
  background-color: #08a39b;
  color: #ffffff;
}
.btn-plano-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

/* Sessão geral */
#por-que-lucitec {
  padding: 60px 20px;
  background-color: #ffffff;
}

#por-que-lucitec .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#por-que-lucitec .section-title {
  font-size: 2.2em;
  margin-bottom: 40px;
  color: #333;
}

/* Cards */
#por-que-lucitec .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

#por-que-lucitec .card {
  flex: 1 1 250px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

#por-que-lucitec .card i {
  font-size: 2.5em;
  color: #08a39b;
  margin-bottom: 20px;
}

#por-que-lucitec .card h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #333;
}

#por-que-lucitec .card p {
  color: #666;
}

/* Hover effect opcional */
#por-que-lucitec .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
/* =========================
   Faixa de Destaque Animada
   ========================= */
#faixa-destaque {
  background-color: #ffffff;
  padding: 50px 20px;
}

.faixa-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.faixa-coluna {
  flex: 1 1 280px;
  background-color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

/* Hover: levantada + cores invertidas */
.faixa-coluna:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  background-color: #08a39b; /* fundo verde suave */
  color: #ffffff; /* textos ficam brancos */
}

/* Títulos */
.faixa-coluna h4 {
  font-size: 1em;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* Textos */
.faixa-coluna p {
  font-size: 0.9em;
  line-height: 1.6em;
  transition: color 0.3s ease;
}

/* Ícones */
.faixa-coluna i {
  margin-top: 10px;
  color: #08a39b;
  transition: color 0.3s ease;
}

/* Muda a cor do ícone no hover */
.faixa-coluna:hover i {
  color: #ffffff;
}

/* Responsivo */
@media (max-width: 768px) {
  .faixa-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* Cards - Por que escolher a Lucitec (versão premium) */
/* Container dos cards */
.cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

/* Flip card */
.flip-card {
  background-color: transparent;
  width: 360px;   /* largura fixa */
  height: 260px;  /* altura fixa */
  perspective: 1000px;
  flex-shrink: 0; /* impede encolher */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Frente e verso */
.flip-card-front, .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}

/* Frente */
.flip-card-front {
  background: linear-gradient(145deg, #ffffff, #e6f7f5);
  color: #08a39b;
  font-size: 1.1rem;
}

.flip-card-front i {
  color: #08a39b;
  margin-bottom: 15px;
  transition: color 0.4s ease;
}

/* Verso */
.flip-card-back {
  background: linear-gradient(135deg, #08a39b, #05675b);
  color: #ffffff;
  transform: rotateY(180deg);
  font-size: 0.95rem;
  line-height: 1.4rem;
  text-align: center;
  padding: 25px;
}

/* Hover na frente */
.flip-card:hover .flip-card-front {
  background: linear-gradient(145deg, #05675b, #08a39b);
  color: #fff;
}

.flip-card:hover .flip-card-front i {
  color: #fff;
}

/* Responsivo */
@media screen and (max-width: 1200px) {
  .cards {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .flip-card {
    width: 280px;
    height: 240px;
  }
}
