/* =========================================================
   Cristina Pimentel Advocacia — folha de estilos compartilhada
   Contém: base/reset, home (tema neutro), tema Criminal (escuro)
   e tema Família (leve). Trocar cores só nas variáveis :root
   de cada bloco de tema.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  text-transform: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

.section-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.section-sub { max-width: 620px; font-size: 1.05rem; }

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #1ebe5b; box-shadow: 0 10px 26px rgba(37,211,102,.45); }
.btn-whatsapp svg { fill: #fff; }

/* ---------- Header (comum) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand-group { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.brand span { display: block; font-family: 'Inter'; font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }
.footer-brand-group { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand-group .logo-mark { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: .92rem;
  font-weight: 500;
}
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Rodapé (comum) ---------- */
.site-footer {
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Formulário ---------- */
.form-card {
  padding: 36px;
  border-radius: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: .85rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  border: 1px solid rgba(0,0,0,.15);
}
.form-note { font-size: .78rem; opacity: .7; margin-top: 10px; }

/* =========================================================
   HOME — tema neutro (bordô/creme)
   ========================================================= */
body.theme-home {
  --bg: #f8f9fb;
  --ink: #101c33;
  --muted: #5b6577;
  --accent: #0e2a5c;
  --accent-2: #163d75;
  --gold: #c9a24a;
  --card: #ffffff;
  --border: rgba(14,42,92,.1);
  background: var(--bg);
  color: var(--ink);
}
body.theme-home .site-header { background: rgba(248,249,251,.9); border-bottom: 1px solid var(--border); }
body.theme-home .section-label { color: var(--accent); }
body.theme-home .btn-primary { background: var(--accent); color: #fff; }
body.theme-home .btn-primary:hover { background: var(--accent-2); }
body.theme-home .site-footer { background: #0a1730; color: #dbe1ec; }
body.theme-home .site-footer a:hover { color: var(--gold); }
body.theme-home .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 30px; box-shadow: 0 6px 20px rgba(14,42,92,.05); }
body.theme-home .card h3 { font-size: 1.15rem; margin-bottom: 10px; }
body.theme-home .card p { color: var(--muted); font-size: .93rem; }
body.theme-home .alt-bg { background: #eef2f8; }

.home-hero {
  padding: 90px 0 70px;
  text-align: center;
}
.home-hero .kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
}
.home-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 18px auto 20px;
  max-width: 780px;
}
.home-hero p {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 1.08rem;
}
.oab-badge {
  display: inline-block;
  margin-top: 28px;
  font-size: .85rem;
  color: var(--muted);
}

.path-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) { .path-cards { grid-template-columns: 1fr; } }

.path-card {
  border-radius: 18px;
  padding: 44px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.path-card:hover { transform: translateY(-6px); }
.path-card .icon { font-size: 2rem; margin-bottom: 18px; }
.path-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.path-card p { font-size: .95rem; margin-bottom: 24px; }
.path-card .go { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }

.path-card.criminal { background: #101218; color: #eef0f3; }
.path-card.criminal p { color: #b9bec9; }
.path-card.criminal .icon, .path-card.criminal .go { color: #c9a24a; }
.path-card.criminal .go svg { fill: #c9a24a; }

.path-card.familia { background: #eef2f8; color: #101c33; border: 1px solid rgba(14,42,92,.08); }
.path-card.familia p { color: #5b6577; }
.path-card.familia .icon, .path-card.familia .go { color: #0e2a5c; }
.path-card.familia .go svg { fill: #0e2a5c; }

.home-about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) { .home-about { grid-template-columns: 1fr; } }
.home-about .photo-placeholder {
  aspect-ratio: 3/4;
  border-radius: 0;
  background: linear-gradient(160deg, #eef2f8, #d7e0ee);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e2a5c;
  font-size: .85rem;
  text-align: center;
  padding: 20px;
  font-weight: 600;
  overflow: hidden;
}
.home-about .photo-placeholder img,
.hero-visual img,
.hero-visual-familia img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* =========================================================
   TEMA CRIMINAL — escuro, sóbrio, autoridade
   ========================================================= */
body.theme-criminal {
  --bg: #101218;
  --bg-alt: #181b23;
  --ink: #eef0f3;
  --muted: #b9bec9;
  --accent: #c9a24a;
  --accent-2: #e0bb63;
  --card: #181b23;
  --border: rgba(255,255,255,.08);
  background: var(--bg);
  color: var(--ink);
}
body.theme-criminal .site-header { background: rgba(16,18,24,.88); border-bottom: 1px solid var(--border); }
body.theme-criminal .section-label { color: var(--accent); }
body.theme-criminal .btn-primary { background: var(--accent); color: #14161c; }
body.theme-criminal .btn-primary:hover { background: var(--accent-2); }
body.theme-criminal .btn-outline { border: 1px solid var(--accent); color: var(--accent); }
body.theme-criminal .btn-outline:hover { background: var(--accent); color: #14161c; }
body.theme-criminal .card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
body.theme-criminal .card h3 { font-size: 1.15rem; margin-bottom: 10px; color: #fff; }
body.theme-criminal .card p { color: var(--muted); font-size: .93rem; }
body.theme-criminal .card .num { color: var(--accent); font-family: 'Playfair Display'; font-size: 1.6rem; margin-bottom: 14px; display: block; }
body.theme-criminal .alt-bg { background: var(--bg-alt); }
body.theme-criminal .site-footer { background: #0a0b0f; color: #cfd2d8; }
body.theme-criminal .site-footer a:hover { color: var(--accent); }
body.theme-criminal .form-card { background: var(--bg-alt); border: 1px solid var(--border); }
body.theme-criminal .form-field input,
body.theme-criminal .form-field select,
body.theme-criminal .form-field textarea {
  background: #10121899;
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
body.theme-criminal .form-field input::placeholder,
body.theme-criminal .form-field textarea::placeholder { color: #6d7280; }

.hero-criminal {
  padding: 84px 0 70px;
  background:
    radial-gradient(circle at 85% 0%, rgba(201,162,74,.14), transparent 55%),
    linear-gradient(180deg, #14161c, #101218);
  border-bottom: 1px solid var(--border);
}
.hero-criminal .grid-2 { align-items: center; gap: 48px; }
.hero-criminal .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 18px;
  display: inline-block;
}
.hero-criminal h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 20px; }
.hero-criminal p.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-badges div { font-size: .82rem; color: var(--muted); }
.hero-badges strong { display: block; color: var(--ink); font-size: 1.3rem; font-family: 'Archivo', sans-serif; font-weight: 800; }
.hero-visual {
  aspect-ratio: 4/5;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #1c1f27, #101218);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  font-size: .85rem;
}

.urgency-strip {
  background: var(--accent);
  color: #14161c;
  text-align: center;
  padding: 14px 20px;
  font-weight: 600;
  font-size: .92rem;
}
.urgency-strip a { text-decoration: underline; }

/* =========================================================
   TEMA FAMÍLIA — leve, acolhedor
   ========================================================= */
body.theme-familia {
  --bg: #f6f8fb;
  --bg-alt: #ffffff;
  --ink: #16223d;
  --muted: #5c6579;
  --accent: #163d75;
  --accent-2: #0e2a5c;
  --cta: #163d75;
  --cta-2: #0e2a5c;
  --gold: #c9a24a;
  --card: #ffffff;
  --border: rgba(14,42,92,.09);
  background: var(--bg);
  color: var(--ink);
}
body.theme-familia .site-header { background: rgba(246,248,251,.92); border-bottom: 1px solid var(--border); }
body.theme-familia .section-label { color: var(--accent); }
body.theme-familia .btn-primary { background: var(--cta); color: #fff; }
body.theme-familia .btn-primary:hover { background: var(--cta-2); }
body.theme-familia .btn-outline { border: 1px solid var(--accent); color: var(--accent); }
body.theme-familia .btn-outline:hover { background: var(--accent); color: #fff; }
body.theme-familia .card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 30px; box-shadow: 0 6px 20px rgba(14,42,92,.05); }
body.theme-familia .card h3 { font-size: 1.15rem; margin-bottom: 10px; }
body.theme-familia .card p { color: var(--muted); font-size: .93rem; }
body.theme-familia .card .icon { font-size: 1.7rem; margin-bottom: 14px; display: block; }
body.theme-familia .alt-bg { background: #eef2f8; }
body.theme-familia .site-footer { background: #0e2a5c; color: #dbe4f2; }
body.theme-familia .site-footer a:hover { color: var(--gold); }
body.theme-familia .form-card { background: var(--bg-alt); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(14,42,92,.06); }

.hero-familia {
  padding: 84px 0 70px;
  background: linear-gradient(180deg, #eef2f8, #f6f8fb);
  border-bottom: 1px solid var(--border);
}
.hero-familia .grid-2 { align-items: center; gap: 48px; }
.hero-familia .eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 18px;
  display: inline-block;
}
.hero-familia h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 20px; }
.hero-familia p.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 32px; max-width: 520px; }
.hero-visual-familia {
  aspect-ratio: 4/5;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #dce6f4, #eef2f8);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  font-size: .85rem;
}
.reassure-strip {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  font-weight: 600;
  font-size: .92rem;
}

/* =========================================================
   Avaliações — carrossel automático (Google Reviews)
   ========================================================= */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.rating-number { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2.3rem; line-height: 1; }
.rating-stars { color: #f5b301; font-size: 1.35rem; letter-spacing: 3px; }
.rating-caption { color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: 6px; }
.google-g { width: 16px; height: 16px; flex-shrink: 0; }

.reviews-carousel {
  overflow: hidden;
  max-width: 640px;
}
.reviews-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.review-card { flex: 0 0 100%; box-sizing: border-box; padding-right: 4px; }
.review-card .card { height: 100%; }
.review-stars { color: #f5b301; letter-spacing: 3px; margin-bottom: 14px; font-size: 1rem; }
.review-text { font-size: .96rem; color: var(--ink); margin-bottom: 22px; line-height: 1.65; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0; font-family: 'Archivo', sans-serif;
}
.review-author strong { display: block; font-size: .92rem; }
.review-author span { font-size: .78rem; color: var(--muted); }

.carousel-dots { display: flex; gap: 8px; margin-top: 26px; }
.carousel-dots .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border); cursor: pointer; border: none; padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dots .dot.active { background: var(--accent); transform: scale(1.2); }

/* ---------- Selo de nota + ticker de comentários abaixo da foto ---------- */
.photo-frame { display: flex; flex-direction: column; }
.photo-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 16px;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.pr-summary { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.photo-rating .pr-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.4rem; color: #fff; line-height: 1; }
.photo-rating .pr-stars { color: #ffd35a; letter-spacing: 2px; font-size: 1.05rem; }
.photo-rating .pr-cap { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #fff; opacity: .92; white-space: nowrap; }
.photo-rating .pr-cap .google-g { width: 15px; height: 15px; }
.pr-ticker {
  font-size: .82rem;
  color: #fff;
  opacity: .95;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
  min-height: 2.2em;
  max-width: 320px;
  transition: opacity .35s ease;
}
.pr-ticker.fade { opacity: 0; }
.pr-ticker-data { display: none; }