
.tef-section {
  padding: 80px 10%;
  background-color: #f9fafc;
  color: #333;
}

.tef-header {
  text-align: center;
  margin-bottom: 60px;
}

.tef-header h2 {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  font-weight: 700;
  font-size: 2.5rem;
  color: #0a2463;
}

.tef-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 10px auto 0;
}

/* ===== Cards de benefícios ===== */
.tef-benefits {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.benefit {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  transition: transform 0.3s;
}

.benefit:hover {
  transform: translateY(-5px);
}

.benefit i {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.benefit h4 {
  color: #0a2463;
  margin-bottom: 10px;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

.benefit p {
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.feature-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 5rem 10%;
  background: #e2e6ed99; /* leve cinza */
  color: #111827; /* texto escuro visível */
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
}

.feature-content {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
}

.feature-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue, #0a2463);
  margin-bottom: 1rem;
}

.feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}

.feature-content ul {
  list-style: none;
  padding: 0;
}

.feature-content li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* layout invertido */
.feature-section.reverse {
  flex-direction: row-reverse;
  background-color: #f9fafc;
}

/* responsivo */
@media (max-width: 900px) {
  .feature-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }
  .feature-image {
    margin-top: 2rem;
  }
}

/* ==============================
   Seção dupla: Cliente e Revendedor
   ============================== */
.tef-target {
    background: #e2e6ed99;
  padding: 6rem 10%;
  text-align: center;
}

.tef-target .tef-header h2 {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  font-weight: 700;
  font-size: 2rem;
  color: #0a2463;
  margin-bottom: 1rem;
}

.tef-target .tef-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Cards */
.tef-target-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.target-card {
  background: #f9fafc;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 3rem 2rem;
  transition: all 0.3s ease;
}

.target-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.target-card i {
  font-size: 3rem;
  color: var(--blue, #0a2463);
  
}

.target-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111827;
}

.target-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-whatsapp {
  background: linear-gradient(90deg, #0056b3 0%, #00aaff 100%);
  color: #fff !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
  transition: all 0.3s ease;
}

/* Ícone */
.btn-whatsapp i {
  font-size: 1.3rem;
  color: white;
  line-height: 1;
}

/* Hover */
.btn-whatsapp:hover {
  background: linear-gradient(90deg, #004999 0%, #0099e6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.4);
}

/* Active */
.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.3);
}

/* Responsivo */
@media (max-width: 900px) {
  .tef-target {
    padding: 4rem 1.5rem;
  }

  .target-card {
    max-width: 100%;
  }
}

/* ==============================
   Elementos gráficos sutis no fundo das seções TEF
   ============================== */

.tef-section,
.tef-info,
.tef-integration,
.tef-target {
  position: relative;
  overflow: hidden;
}

/* Círculos de fundo */
.tef-section::before,
.tef-info::before,
.tef-integration::before,
.tef-target::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  top: -60px;
  left: -60px;
  transform: rotate(15deg);
  z-index: 0;
}

.tef-section::after,
.tef-info::after,
.tef-integration::after,
.tef-target::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  bottom: -90px;
  right: -90px;
  transform: rotate(-10deg);
  z-index: 0;
}

/* Linhas diagonais */
.tef-section .line,
.tef-info .line,
.tef-integration .line,
.tef-target .line {
  position: absolute;
  width: 140px;
  height: 2px;
  background: rgba(0, 0, 0, 0.07);
  z-index: 0;
}

.tef-section .line.one { top: 20%; right: 10%; transform: rotate(25deg); }
.tef-section .line.two { bottom: 25%; left: 15%; transform: rotate(-25deg); }

.tef-info .line.one { top: 10%; left: 12%; transform: rotate(-30deg); }
.tef-info .line.two { bottom: 20%; right: 10%; transform: rotate(25deg); }

.tef-integration .line.one { top: 18%; right: 12%; transform: rotate(35deg); }
.tef-integration .line.two { bottom: 15%; left: 8%; transform: rotate(-20deg); }

.tef-target .line.one { top: 15%; left: 10%; transform: rotate(15deg); }
.tef-target .line.two { bottom: 20%; right: 15%; transform: rotate(-25deg); }

/* Mantém o conteúdo acima */
.tef-section > *,
.tef-info > *,
.tef-integration > *,
.tef-target > * {
  position: relative;
  z-index: 2;
}

/* Remove os gráficos no mobile */
@media (max-width: 768px) {
  .tef-section::before,
  .tef-section::after,
  .tef-info::before,
  .tef-info::after,
  .tef-integration::before,
  .tef-integration::after,
  .tef-target::before,
  .tef-target::after,
  .tef-section .line,
  .tef-info .line,
  .tef-integration .line,
  .tef-target .line {
    display: none;
  }
}

/* =========================
   ANIMAÇÕES DE ENTRADA (SEM JS)
========================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomSoft {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Estado inicial */
.tef-header,
.benefit,
.feature-content,
.feature-image,
.target-card {
  opacity: 0;
}

/* ===== SEÇÃO 1 ===== */

.tef-header {
  animation: fadeUp 0.9s ease forwards;
}

.benefit:nth-child(1) {
  animation: zoomSoft 0.8s ease forwards;
  animation-delay: 0.3s;
}

.benefit:nth-child(2) {
  animation: zoomSoft 0.8s ease forwards;
  animation-delay: 0.5s;
}

.benefit:nth-child(3) {
  animation: zoomSoft 0.8s ease forwards;
  animation-delay: 0.7s;
}

/* ===== SEÇÃO 2 ===== */

.tef-info .feature-content {
  animation: fadeLeft 0.9s ease forwards;
  animation-delay: 0.2s;
}

.tef-info .feature-image {
  animation: fadeRight 0.9s ease forwards;
  animation-delay: 0.4s;
}

/* ===== SEÇÃO 3 (invertida) ===== */

.tef-integration .feature-image {
  animation: fadeLeft 0.9s ease forwards;
  animation-delay: 0.2s;
}

.tef-integration .feature-content {
  animation: fadeRight 0.9s ease forwards;
  animation-delay: 0.4s;
}

/* ===== SEÇÃO 4 ===== */

.tef-target .tef-header {
  animation: fadeUp 0.9s ease forwards;
}

.target-card:nth-child(1) {
  animation: zoomSoft 0.9s ease forwards;
  animation-delay: 0.3s;
}

.target-card:nth-child(2) {
  animation: zoomSoft 0.9s ease forwards;
  animation-delay: 0.5s;
}