/* =============================================================
   Tecnologia & Certificações – estilos específicos da página
   ============================================================= */

/* PAGE HERO: estilos base definidos em main.css */

/* ── AVANÇOS TECNOLÓGICOS ────────────────────────────────── */
.tec-tech {
  background: var(--primary-container);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}
.tec-tech::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  border-radius: 50%;
  background: rgba(253,107,52,.04);
  pointer-events: none;
}
.tec-tech::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  bottom: -100px; left: 5%;
  border-radius: 50%;
  background: rgba(255,255,255,.02);
  pointer-events: none;
}

.tec-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tec-tech-text .section-tag { color: var(--secondary-cta); }
.tec-tech-text .section-tag::before { background: var(--secondary-cta); }

.tec-tech-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.tec-tech-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
}

/* Grade de benefícios 2×2 */
.tec-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tec-benefit {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  transition: background .25s;
}
.tec-benefit:hover { background: rgba(255,255,255,.07); }

.tec-benefit-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(253,107,52,.18);
  color: var(--secondary-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tec-benefit-icon svg { width: 18px; height: 18px; stroke-width: 2; }

.tec-benefit-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  line-height: 1.45;
  padding-top: .1rem;
}

/* Stack de imagens (mesmo padrão da home) */
.tec-visual {
  position: relative;
  height: 520px;
}

.tec-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 82%; height: 88%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  z-index: 1;
}
.tec-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tec-img-sm {
  position: absolute;
  bottom: 0; left: 0;
  width: 52%; height: 52%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 8px solid var(--primary-container);
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
  z-index: 2;
}
.tec-img-sm picture { display: block; height: 100%; }
.tec-img-sm img  { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── CERTIFICAÇÕES OFICIAIS ──────────────────────────────── */
.tec-certif { background: var(--surface-low); }

.tec-certif-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.tec-certif-header .headline-lg { color: var(--primary); margin-bottom: .75rem; }

.tec-certif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.certif-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline-v);
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform .28s ease, box-shadow .28s ease;
  position: relative;
  overflow: hidden;
}
.certif-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--secondary-cta);
  border-radius: 4px 0 0 4px;
}
.certif-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(29,44,111,.1);
}

.certif-num {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary-cta);
  background: rgba(253,107,52,.1);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  white-space: nowrap;
  line-height: 1.6;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.certif-body {}

.certif-code {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .4rem;
  line-height: 1.2;
}

.certif-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-cta);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .85rem;
}

.certif-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-surface-v);
}

/* ── CTA ─────────────────────────────────────────────────── */
.tec-cta { background: var(--secondary-cta); padding: 5rem 0; }

.tec-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.tec-cta-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .5rem;
}

.tec-cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto;
}

.tec-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tec-cta .btn-cta {
  background: #fff;
  color: var(--primary);
}
.tec-cta .btn-cta:hover {
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transform: translateY(-1px);
}
.tec-cta .btn-ghost-white {
  border-color: rgba(255,255,255,.6);
}
.tec-cta .btn-ghost-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tec-tech-grid  { gap: 3rem; }
  .tec-visual     { height: 420px; }
  .tec-certif-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tec-tech        { padding: 4rem 0; }
  .tec-tech-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .tec-visual      { height: 300px; order: -1; }
  .tec-img-main    { width: 88%; height: 88%; }
  .tec-img-sm      { width: 60%; height: 52%; }

  .tec-benefits    { grid-template-columns: 1fr; }

  .tec-certif-grid { grid-template-columns: 1fr; }

  .tec-cta-actions { flex-direction: column; width: 100%; }
  .tec-cta-actions .btn { width: 100%; justify-content: center; }
}
