/*
 * servicos.css — Página "Serviços" (slug servicos).
 * Carregado via ai_theme_enqueue_assets() quando is_page('servicos').
 * Header/footer têm CSS próprio. Tokens no :root de style.css.
 */

.sv-page { font-family: var(--tf-font); color: var(--tf-navy); }
.sv-page a { text-decoration: none; }
.sv-page a:hover { text-decoration: none; }

@keyframes tfrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Primitivas compartilhadas */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow--gold { color: var(--tf-yellow); }
.eyebrow--blue { color: var(--tf-blue); }
.eyebrow-bar { width: 26px; height: 2px; background: var(--tf-yellow); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; margin: 8px 0 0; }
.section-title--navy { color: var(--tf-navy); }
.section-title--white { color: #fff; }
.section-lead { font-size: 16px; line-height: 1.6; color: var(--tf-muted); margin: 14px 0 0; }

.sv-btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--tf-yellow); color: var(--tf-navy);
  font-weight: 700; font-size: 15.5px; padding: 16px 24px; border-radius: 11px;
  box-shadow: 0 14px 34px -10px rgba(254, 219, 0, 0.5);
}
.sv-btn-primary:hover { color: var(--tf-navy); }

.sv-seal img { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }
.sv-seal--hero { width: 420px; }
.sv-seal--lg { width: 400px; }
.sv-seal--lg img { filter: drop-shadow(0 18px 36px rgba(10, 20, 107, 0.28)); }
.sv-seal--sm { width: 175px; }

/* ===== SEÇÃO 1 · HERO ===== */
.sv-hero { position: relative; background: var(--tf-navy); overflow: hidden; }
.sv-hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sv-hero-ring { position: absolute; border-radius: 50%; }
.sv-hero-ring--1 { width: 760px; height: 760px; border: 90px solid rgba(0, 78, 168, 0.28); right: -260px; top: -240px; }
.sv-hero-ring--2 { width: 520px; height: 520px; border: 60px solid rgba(0, 78, 168, 0.22); right: 60px; bottom: -300px; }
.sv-hero-stripes { position: absolute; inset: 0; background: repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 60px); }
.sv-hero-inner {
  position: relative;
  max-width: var(--tf-container);
  margin: 0 auto;
  padding: 170px 32px 96px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.sv-hero-content { animation: tfrise .7s ease both; }
.sv-hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); padding: 8px 14px; border-radius: 999px; margin-bottom: 26px; }
.sv-hero-badge span { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #fff; }
.sv-hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tf-yellow); }
.sv-hero-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; color: #fff; margin: 0; max-width: 720px; }
.sv-hero-sub { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: #c3c8ee; margin: 22px 0 0; max-width: 560px; }
.sv-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.sv-hero-seal { display: flex; justify-content: center; }

/* ===== SEÇÃO 2 · GRADE DE SERVIÇOS ===== */
.sv-serv { background: #fff; }
.sv-serv-inner { max-width: var(--tf-container); margin: 0 auto; padding: 100px 32px; }
.sv-serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sv-card {
  position: relative; overflow: hidden;
  background: var(--tf-navy); border: 1px solid #1e3aa8; border-radius: 18px;
  padding: 32px 28px 26px; display: flex; flex-direction: column;
  box-shadow: 0 20px 44px -30px rgba(10, 20, 107, 0.7);
}
.sv-card-num { position: absolute; top: 12px; right: 22px; font-family: var(--tf-font); font-weight: 700; font-size: 72px; line-height: 1; color: rgba(255, 255, 255, 0.06); pointer-events: none; }
.sv-card-icon { position: relative; width: 52px; height: 52px; border-radius: 13px; background: rgba(0, 78, 168, 0.35); border: 1px solid var(--tf-blue); display: flex; align-items: center; justify-content: center; color: var(--tf-yellow); margin-bottom: 20px; }
.sv-card-icon svg { width: 40px; height: 40px; }
.sv-card-title { position: relative; font-weight: 700; font-size: 19px; line-height: 1.25; color: #fff; }
.sv-card-text { position: relative; font-size: 14px; line-height: 1.6; color: #b7bef0; margin: 11px 0 22px; flex: 1; }
.sv-card-link { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--tf-yellow); font-weight: 700; font-size: 13.5px; }
.sv-card-link:hover { color: var(--tf-yellow); }

/* ===== SEÇÃO 3 · COMPROMISSO ===== */
.sv-why { background: #eef0f7; border-top: 1px solid #e2e5f0; border-bottom: 1px solid #e2e5f0; }
.sv-why-inner { max-width: var(--tf-container); margin: 0 auto; padding: 88px 32px; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 60px; align-items: center; }
.sv-why-seal { display: flex; justify-content: center; }
.sv-why-title { margin-top: 8px; }
.sv-why-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 32px; }
.sv-topic { display: flex; gap: 15px; align-items: flex-start; }
.sv-topic-ic { flex: none; width: 56px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid #d7dbec; display: flex; align-items: center; justify-content: center; color: var(--tf-blue); }
.sv-topic-ic svg { width: 40px; height: 40px; }
.sv-topic-title { font-size: 16px; font-weight: 700; color: var(--tf-navy); }
.sv-topic-text { font-size: 13.5px; line-height: 1.6; color: var(--tf-muted); margin: 5px 0 0; }

/* ===== SEÇÃO 4 · PROMOÇÕES ===== */
.sv-promo { position: relative; overflow: hidden; background: var(--tf-navy); }
.sv-promo-deco { position: absolute; inset: 0; pointer-events: none; }
.sv-promo-ring { position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 70px solid rgba(0, 78, 168, 0.2); left: -280px; bottom: -320px; }
.sv-promo-inner { position: relative; max-width: var(--tf-container); margin: 0 auto; padding: 96px 32px; }
.sv-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sv-promo-card { position: relative; background: #0c1a7a; border: 1px solid #26379e; border-radius: 20px; padding: 38px 34px; overflow: hidden; }
.sv-promo-bar { position: absolute; left: 0; top: 34px; bottom: 34px; width: 4px; background: var(--tf-yellow); border-radius: 0 4px 4px 0; }
.sv-promo-pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tf-navy); background: var(--tf-yellow); padding: 6px 12px; border-radius: 999px; }
.sv-promo-title { font-weight: 700; font-size: 26px; line-height: 1.2; color: #fff; margin: 18px 0 0; }
.sv-promo-text { font-size: 15px; line-height: 1.7; color: #c3c8ee; margin: 14px 0 0; }

/* ===== SEÇÃO 5 · FAQ ===== */
.sv-faq { background: #fff; }
.sv-faq-inner { max-width: 820px; margin: 0 auto; padding: 100px 32px; }
.sv-faq-list { display: flex; flex-direction: column; gap: 14px; }
.sv-faq-item { border: 1px solid #e4e6f1; border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.sv-faq-item.is-open { border: 1.5px solid var(--tf-blue); background: #f8f9ff; box-shadow: 0 14px 30px -22px rgba(10, 20, 107, 0.4); }
.sv-faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 18px; text-align: left; padding: 22px 24px; }
.sv-faq-qt { flex: 1; font-size: 16.5px; font-weight: 600; color: var(--tf-navy); }
.sv-faq-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; line-height: 1; background: #eef0f7; color: var(--tf-navy); transition: all .2s ease; }
.sv-faq-item.is-open .sv-faq-ic { background: var(--tf-blue); color: #fff; transform: rotate(45deg); }
.sv-faq-a { padding: 0 24px 24px; display: none; }
.sv-faq-item.is-open .sv-faq-a { display: block; }
.sv-faq-at { font-size: 15px; line-height: 1.72; color: var(--tf-muted); margin: 0; }
.sv-faq-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--tf-navy); background: var(--tf-yellow); padding: 6px 12px; border-radius: 999px; }

/* ===== SEÇÃO 6 · CTA FINAL ===== */
.sv-ctaf { position: relative; overflow: hidden; background: var(--tf-navy-deep); }
.sv-ctaf-deco { position: absolute; inset: 0; pointer-events: none; opacity: 0.6; }
.sv-ctaf-ring { position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 80px solid rgba(0, 78, 168, 0.18); left: 50%; top: -420px; transform: translateX(-50%); }
.sv-ctaf-inner { position: relative; max-width: var(--tf-container); margin: 0 auto; padding: 80px 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 44px; align-items: center; }
.sv-ctaf-logo { display: flex; justify-content: center; }
.sv-ctaf-logo img { height: 64px; width: auto; }
.sv-ctaf-center { text-align: center; }
.sv-ctaf-title { font-weight: 700; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.18; color: #fff; margin: 0 auto; max-width: 560px; }
.sv-ctaf-center .sv-btn-primary { margin-top: 26px; font-size: 16px; padding: 17px 28px; border-radius: 12px; box-shadow: 0 16px 38px -10px rgba(254, 219, 0, 0.55); }
.sv-ctaf-seal { display: flex; justify-content: center; }

/* ===== RESPONSIVO ===== */
@media (max-width: 960px) {
  .g-hero { grid-template-columns: 1fr; gap: 40px; }
  .g-serv { grid-template-columns: repeat(2, 1fr); }
  .g-why { grid-template-columns: 1fr; gap: 36px; }
  .g-promo { grid-template-columns: 1fr; }
  .g-ctaf { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 640px) {
  .sv-hero-inner, .sv-serv-inner, .sv-why-inner,
  .sv-promo-inner, .sv-faq-inner, .sv-ctaf-inner {
    padding-top: 60px; padding-bottom: 60px; padding-left: 20px; padding-right: 20px;
  }
  .sv-seal--hero, .sv-seal--lg { width: 100%; }
  .sv-hero-inner { padding-top: 140px; }
  .g-serv { grid-template-columns: 1fr; }
  .g-why-topics { grid-template-columns: 1fr; }
}
