/* ============================================================
   SSD TECNOLOGIA — advocacia.css
   Landing page de advocacia (alta conversão)
   Independente do site principal — identidade visual SSD
   ============================================================ */

:root {
  --orange:  #E85C00;
  --orange2: #FF7A1A;
  --orange3: #FF9A4A;
  --dark:    #0D0A08;
  --dark2:   #161008;
  --dark3:   #1E1510;
  --dark4:   #261A12;
  --text:    #F0E8DF;
  --muted:   #A08060;
  --whats:   #25D366;
  --grad:    linear-gradient(135deg, #E85C00 0%, #FF9A4A 100%);
  --font-title: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--font-title); font-weight: 800; line-height: 1.15; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight { color: var(--orange); }

/* ===== BOTÃO WHATSAPP ===== */
.btn-whats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whats);
  color: #062b13;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 30px;
  border-radius: 14px;
  transition: filter .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .25);
}
.btn-whats:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, .35); }
.btn-whats svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
#topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 10, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232, 92, 0, 0.25);
}
.topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: flex; flex-direction: column; line-height: 1; user-select: none; }
.logo-ssd { font-family: var(--font-title); font-size: 1.6rem; font-weight: 800; color: var(--orange); letter-spacing: 2px; }
.logo-sub { font-size: 0.55rem; color: var(--text); letter-spacing: 4px; text-transform: uppercase; margin-top: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-ig {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: .9rem; font-weight: 500;
  transition: color .2s;
}
.topbar-ig:hover { color: var(--orange3); }
.topbar-ig svg { width: 18px; height: 18px; }
.btn-whats--sm { padding: 10px 18px; font-size: .92rem; border-radius: 11px; }
.btn-whats--sm svg { width: 18px; height: 18px; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  padding: 90px 0 80px;
  text-align: center;
  background:
    radial-gradient(900px 480px at 50% -8%, rgba(232,92,0,.22), transparent 60%),
    radial-gradient(700px 380px at 85% 12%, rgba(255,122,26,.10), transparent 55%),
    var(--dark);
  overflow: hidden;
}
.hero-badge {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange3);
  background: rgba(232, 92, 0, .12);
  border: 1px solid rgba(232, 92, 0, .32);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}
#hero h1 {
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 22px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: clamp(15px, 2.4vw, 18px);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text); font-weight: 700; }

/* ============================================================
   FAIXA DE AUTORIDADE
   ============================================================ */
#autoridade {
  background: var(--dark2);
  border-top: 1px solid rgba(232,92,0,.14);
  border-bottom: 1px solid rgba(232,92,0,.14);
  padding: 40px 0;
}
.autoridade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.auth-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.auth-item svg { width: 30px; height: 30px; color: var(--orange2); }
.auth-item .auth-title { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.auth-item .auth-desc { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   SELOS DOS TRIBUNAIS
   ============================================================ */
#selos { padding: 56px 0 10px; text-align: center; }
.selos-label { font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 22px; }
.selos-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.selo {
  font-weight: 700;
  font-size: .9rem;
  color: var(--orange3);
  background: rgba(232,92,0,.10);
  border: 1px solid rgba(232,92,0,.35);
  padding: 9px 20px;
  border-radius: 999px;
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
section.block { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(24px, 4.5vw, 34px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1rem; }

/* ===== DORES (4 cards) ===== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dor-card {
  background: var(--dark3);
  border: 1px solid rgba(232,92,0,.18);
  border-radius: 16px;
  padding: 28px 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.dor-card:hover { transform: translateY(-4px); border-color: rgba(232,92,0,.45); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.dor-icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(232,92,0,.14);
  margin-bottom: 18px;
}
.dor-icon svg { width: 26px; height: 26px; color: var(--orange2); }
.dor-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.dor-card p { font-size: .9rem; color: var(--muted); }

/* ===== COMO FUNCIONA (3 passos) ===== */
#como { background: var(--dark2); }
.passos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.passo {
  position: relative;
  background: var(--dark3);
  border: 1px solid rgba(232,92,0,.18);
  border-radius: 16px;
  padding: 34px 26px 28px;
  text-align: center;
}
.passo-num {
  width: 46px; height: 46px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  font-family: var(--font-title);
}
.passo h3 { font-size: 1.12rem; margin-bottom: 8px; }
.passo p { font-size: .9rem; color: var(--muted); }

/* ===== VÍDEOS (2 cards) ===== */
.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.video-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(232,92,0,.22);
  background: var(--dark3);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(232,92,0,.5); box-shadow: 0 16px 38px rgba(0,0,0,.45); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 45%, rgba(232,92,0,.18), transparent 60%),
    linear-gradient(160deg, #1E1510, #0D0A08);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: relative;
  z-index: 2;
  width: 66px; height: 66px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(232,92,0,.92);
  box-shadow: 0 8px 26px rgba(232,92,0,.5);
  transition: transform .25s;
}
.video-card:hover .video-play { transform: scale(1.08); }
.video-play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.video-meta { padding: 18px 20px; display: flex; align-items: center; gap: 10px; }
.video-meta svg { width: 18px; height: 18px; color: var(--orange2); flex-shrink: 0; }
.video-meta span { font-weight: 700; font-size: .98rem; }
.video-ph-tag {
  position: absolute; z-index: 2; bottom: 10px; left: 10px;
  font-size: .68rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); background: rgba(0,0,0,.55);
  padding: 4px 9px; border-radius: 6px;
}

/* ===== FAQ (accordion) ===== */
#faq { background: var(--dark2); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--dark3);
  border: 1px solid rgba(232,92,0,.18);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q:hover { color: var(--orange3); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  transition: transform .3s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--orange2);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq-icon::before { width: 14px; height: 2.5px; }
.faq-icon::after { width: 2.5px; height: 14px; transition: transform .3s; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: .94rem; }

/* ===== CTA FINAL ===== */
#cta-final { padding: 72px 0; }
.cta-box {
  background:
    radial-gradient(700px 320px at 50% -20%, rgba(232,92,0,.30), transparent 60%),
    var(--dark3);
  border: 1px solid rgba(232,92,0,.35);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.cta-box h2 { font-size: clamp(24px, 5vw, 36px); margin-bottom: 18px; }
.cta-box p { color: var(--muted); max-width: 620px; margin: 0 auto 32px; font-size: 1.02rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(232,92,0,.18);
  padding: 44px 0 32px;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-inner .logo { align-items: center; }
.footer-info { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; color: var(--orange3); font-weight: 600; }
.footer-ig svg { width: 18px; height: 18px; }
.footer-badge {
  font-size: .82rem; color: var(--muted);
  border: 1px solid rgba(232,92,0,.25);
  padding: 7px 16px; border-radius: 999px;
}

/* ============================================================
   ANIMAÇÃO DE ENTRADA
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 860px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .passos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #hero { padding: 64px 0 56px; }
  .autoridade-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .topbar-ig span { display: none; }
  section.block { padding: 48px 0; }
  .cta-box { padding: 40px 22px; }
}
