/* ============================================================
   CEP Contabilidade – Certificados Digitais (v3)
   Tema escuro/dourado + fundo branco + correção da animação de scroll
   ============================================================ */
 
.cert-page {
  --gold:          #D4A843;
  --gold-bright:   #F0C95C;
  --gold-dark:     #9A7B2C;
  --bg:            #0A0A0F;
  --bg-card:       #111118;
  --surface:       #16161F;
  --border:        rgba(212,168,67,0.15);
  --border-hover:  rgba(212,168,67,0.35);
  --text:          #EAEAEA;
  --text-muted:    #8A8A9A;
  --text-dim:      #5A5A6A;
  --white:         #FFFFFF;
  --black:         #000000;
  --danger:        #FF4D4D;
  --radius:        16px;
  --transition:    0.3s;
}
 
.cert-page *,
.cert-page *::before,
.cert-page *::after {
  box-sizing: border-box;
}
 
.cert-page {
  font-family: inherit;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}
 
.cert-page a  { text-decoration: none; color: inherit; }
.cert-page ul { list-style: none; padding: 0; margin: 0; }
.cert-page img { max-width: 100%; height: auto; display: block; }
 
.cert-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
 
/* ── Seções ── */
.cert-section { padding: 80px 0; position: relative; }
.cert-section-alt { background-color: #f7f7f5; }
 
.cert-section-label {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}
 
.cert-section-title {
  font-size: 40px;
  font-weight: 700;
  color: #141414;
  margin-bottom: 16px;
  line-height: 1.15;
}
 
.cert-section-subtitle {
  font-size: 16px;
  color: #6C6C6C;
  max-width: 550px;
}
 
.cert-section-header { text-align: center; margin-bottom: 56px; }
.cert-section-header .cert-section-subtitle { margin: 0 auto; }
 
@media (max-width: 720px) {
  .cert-section-title { font-size: 28px; }
  .cert-section { padding: 56px 0; }
}
 
/* ============ HERO ============ */
.cert-hero {
  padding: 80px 0 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #EBEBEB;
  position: relative;
  overflow: hidden;
}
 
.cert-hero::before {
  content: '';
  position: absolute;
  top: 5%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
 
.cert-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
 
.cert-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-hover);
  background: rgba(212,168,67,0.07);
  border-radius: 9999px;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
 
.cert-hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: certPulse 2s ease-in-out infinite;
}
 
@keyframes certPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
 
.cert-hero-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 120%;
  color: #141414;
  margin-bottom: 20px;
}
 
.cert-hero-title strong {
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
 
.cert-hero-desc {
  font-size: 16px;
  color: #6C6C6C;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
 
.cert-hero-urgency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,77,77,0.08);
  border: 1px solid rgba(255,77,77,0.25);
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}
 
.cert-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
 
.cert-hero-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
 
.cert-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.05) 0%, transparent 50%);
  pointer-events: none;
}
 
.cert-hero-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
 
.cert-hero-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
 
.cert-hero-card-title {
  font-size: 18px; font-weight: 700; color: var(--white);
}
 
.cert-hero-card-subtitle {
  font-size: 13px; color: var(--text-muted);
}
 
.cert-hero-card-items { display: flex; flex-direction: column; gap: 10px; }
 
.cert-hero-card-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  background: rgba(212,168,67,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
}
 
.cert-hero-card-item:hover {
  background: rgba(212,168,67,0.09);
  border-color: var(--border-hover);
}
 
.cert-hero-card-item .check {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
 
.cert-hero-card-item span {
  font-size: 14px; font-weight: 500; color: var(--text);
}
 
@media (max-width: 1024px) {
  .cert-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cert-hero-title { font-size: 36px; }
}
 
@media (max-width: 720px) {
  .cert-hero { padding: 48px 0 40px; }
  .cert-hero-title { font-size: 28px; }
}
 
/* ============ PROOF BAR ============ */
.cert-proof {
  padding: 16px 0;
  border-top: 1px solid #EBEBEB;
  border-bottom: 1px solid #EBEBEB;
  background-color: #f7f7f5;
  overflow: hidden;
}
 
.cert-proof-track {
  display: flex; gap: 48px;
  animation: certScrollProof 22s linear infinite;
  width: max-content;
}
 
.cert-proof-item {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  font-size: 13px; color: #6C6C6C; font-weight: 500;
}
 
.cert-proof-item svg { color: var(--gold-dark); flex-shrink: 0; }
 
@keyframes certScrollProof {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
 
/* ============ TRUST ============ */
.cert-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
 
.cert-trust-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
 
.cert-trust-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
 
.cert-trust-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: rgba(212,168,67,0.07);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
 
.cert-trust-strong {
  display: block;
  font-size: 26px; font-weight: 700;
  color: var(--gold);
}
 
.cert-trust-span { font-size: 13px; color: var(--text-muted); }
 
@media (max-width: 1024px) { .cert-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .cert-trust-grid { grid-template-columns: 1fr 1fr; } }
 
/* ============ CERTIFICADOS ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px; margin: 0 auto;
}
 
.cert-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
 
.cert-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--transition);
}
 
.cert-card:hover::before, .cert-card.featured::before { opacity: 1; }
 
.cert-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
 
.cert-card.featured { border-color: var(--gold); }
 
.cert-card-badge {
  display: none;
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
  padding: 4px 14px; border-radius: 9999px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.5px;
}
 
.cert-card.featured .cert-card-badge { display: inline-block; }
 
.cert-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: rgba(212,168,67,0.07);
  border: 1px solid var(--border);
}
 
.cert-card-type {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 6px;
}
 
.cert-card-name {
  font-size: 26px; font-weight: 700; color: var(--white); margin-bottom: 10px;
}
 
.cert-card-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px;
}
 
.cert-card-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
 
.cert-card-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
 
.cert-card-price {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
 
.cert-card-price-label { font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }
 
.cert-card-price-value {
  font-size: 30px; font-weight: 700; color: var(--gold);
}
 
.cert-card-price-value small {
  font-size: 14px; font-weight: 400; color: var(--text-muted);
}
 
.cert-card-cta {
  display: block; width: 100%; text-align: center;
  padding: 13px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black); border-radius: 9999px;
  font-weight: 700; font-size: 15px;
  margin-top: 16px; transition: var(--transition);
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
}
 
.cert-card-cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
 
@media (max-width: 1024px) { .cert-grid { grid-template-columns: 1fr; max-width: 440px; } }
 
/* ============ ALERTA ============ */
.cert-alert {
  background: rgba(255,77,77,0.05);
  border: 1px solid rgba(255,77,77,0.2);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: center;
}
 
.cert-alert-icon {
  width: 56px; height: 56px;
  background: rgba(255,77,77,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
 
.cert-alert h3 {
  font-size: 20px; font-weight: 700; color: #141414; margin-bottom: 6px;
}
 
.cert-alert p { font-size: 14px; color: #6C6C6C; }
 
.cert-alert-cta {
  padding: 12px 24px;
  background: var(--danger); color: var(--white);
  border-radius: 9999px; font-weight: 700; font-size: 14px;
  transition: var(--transition); white-space: nowrap;
}
 
.cert-alert-cta:hover { opacity: 0.85; transform: translateY(-1px); }
 
@media (max-width: 1024px) {
  .cert-alert { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
 
/* ============ PASSOS ============ */
.cert-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
 
.cert-steps-grid::before {
  content: '';
  position: absolute; top: 40px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.2;
}
 
.cert-step { text-align: center; }
 
.cert-step-number {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 300; color: var(--gold);
  position: relative; z-index: 1; transition: var(--transition);
}
 
.cert-step:hover .cert-step-number {
  border-color: var(--gold);
  background: rgba(212,168,67,0.07);
}
 
.cert-step h3 { font-size: 16px; font-weight: 700; color: #141414; margin-bottom: 8px; }
.cert-step p  { font-size: 14px; color: #6C6C6C; line-height: 1.6; }
 
@media (max-width: 1024px) {
  .cert-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-steps-grid::before { display: none; }
}
@media (max-width: 720px) { .cert-steps-grid { grid-template-columns: 1fr; } }
 
/* ============ VANTAGENS ============ */
.cert-benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
 
.cert-benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
 
.cert-benefit-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity var(--transition);
}
 
.cert-benefit-card:hover::after { opacity: 1; }
 
.cert-benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
 
.cert-benefit-icon {
  width: 48px; height: 48px;
  background: rgba(212,168,67,0.07);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
 
.cert-benefit-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.cert-benefit-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
 
@media (max-width: 1024px) { .cert-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .cert-benefits-grid { grid-template-columns: 1fr; } }
 
/* ============ FAQ ============ */
.cert-faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
 
.cert-faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
 
.cert-faq-item.active { border-color: var(--gold); }
 
.cert-faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--white); background: none; border: none;
  width: 100%; text-align: left;
  transition: color var(--transition); font-family: inherit;
}
 
.cert-faq-question:hover { color: var(--gold); }
.cert-faq-question svg  { flex-shrink: 0; transition: transform 0.3s ease; color: var(--gold); }
.cert-faq-item.active .cert-faq-question svg { transform: rotate(180deg); }
 
.cert-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
 
.cert-faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
}
 
/* ============ CTA FINAL ============ */
.cert-cta {
  padding: 80px 0;
  background: var(--bg-card);
  position: relative; overflow: hidden;
}
 
.cert-cta::before {
  content: '';
  position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.08) 0%, transparent 60%);
  pointer-events: none;
}
 
.cert-cta::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
 
.cert-cta-content { text-align: center; position: relative; z-index: 1; }
 
.cert-cta-content h2 {
  font-size: 40px; font-weight: 700; color: var(--white); margin-bottom: 16px;
}
 
.cert-cta-content p {
  font-size: 16px; color: var(--text-muted);
  margin-bottom: 40px; max-width: 520px;
  margin-left: auto; margin-right: auto;
}
 
.cert-cta-buttons {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
 
@media (max-width: 720px) { .cert-cta-content h2 { font-size: 28px; } }
 
/* ============ BOTÕES ============ */
.cert-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 9999px;
  font-weight: 700; font-size: 15px;
  transition: var(--transition); border: none; cursor: pointer;
}
 
.cert-btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--black);
}
 
.cert-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212,168,67,0.35);
}
 
.cert-btn-secondary {
  background: transparent; color: var(--gold-dark);
  border: 1px solid var(--gold);
}
 
.cert-btn-secondary:hover {
  background: var(--gold); color: var(--black);
  transform: translateY(-2px);
}
 
.cert-btn-whatsapp {
  background-color: #25D366; color: var(--white);
}
 
.cert-btn-whatsapp:hover {
  background-color: #1fb855; transform: translateY(-2px);
}
 
.cert-btn-phone {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
 
.cert-btn-phone:hover { border-color: var(--gold); color: var(--gold); }
 

 
/* ============ SCROLL REVEAL ============ */
.cert-reveal {
  opacity: 1;
  transform: none;
}
 
.cert-reveal.cert-will-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
 
.cert-reveal.cert-will-animate.visible {
  opacity: 1;
  transform: none;
}