/* Bruno Nascimento — Advogado Criminalista
   Design System: Dark graphite + Gold metallic */

:root {
  --gold: #ceaa50;
  --gold-light: #ddc182;
  --gold-dark: #b3892f;
  --graphite: #11161d;
  --graphite-light: #171d27;
  --graphite-dark: #0a0e15;
  --bg: #0a0e15;
  --fg: #e9edf2;
  --muted: #98a4b3;
  --card-grad: linear-gradient(145deg, #161b24 0%, #10141c 100%);
  --gold-grad: linear-gradient(135deg, #ceaa50 0%, #ddc182 50%, #ceaa50 100%);
  --gold-grad-btn: linear-gradient(135deg, #ceaa50 0%, #b3892f 100%);
  --shadow-card: 0 10px 40px -15px rgba(0,0,0,.5);
  --shadow-gold: 0 4px 30px -5px rgba(206,170,80,.25);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-light); }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(206,170,80,.25); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-graphite { background: var(--graphite); }
.bg-graphite-dark { background: var(--graphite-dark); }
.bg-gradient-dark { background: linear-gradient(180deg, #0a0e15 0%, #11161d 100%); }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.text-gold-gradient {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Dot pattern overlay */
.dot-pattern { position: relative; }
.dot-pattern::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .03;
  background-image: radial-gradient(circle at 1px 1px, var(--gold) 1px, transparent 0);
  background-size: 40px 40px;
}

.divider {
  height: 1px; max-width: 320px; margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, rgba(206,170,80,.5), transparent);
}

/* Section title */
.pretitle { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-bottom: 12px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: 36px; font-weight: 600; color: var(--fg); }
.section-head p { max-width: 680px; margin: 16px auto 0; color: var(--muted); }

/* Cards */
.card {
  background: var(--card-grad);
  border: 1px solid rgba(206,170,80,.15);
  box-shadow: var(--shadow-card);
  border-radius: 12px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
a.card:hover, .card.hoverable:hover {
  border-color: rgba(206,170,80,.4);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 16px 34px; font-size: 16px; }
.btn-gold { background: var(--gold-grad-btn); color: #0a0d13; box-shadow: 0 4px 30px -5px rgba(206,170,80,.4); }
.btn-gold:hover { color: #0a0d13; transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(206,170,80,.4); color: var(--gold); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { border: 1px solid rgba(206,170,80,.4); color: var(--fg); background: transparent; }
.btn-ghost:hover { color: var(--fg); border-color: var(--gold); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1eb954; color: #fff; }

/* Icon chips */
.icon-box { display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(206,170,80,.2); background: rgba(206,170,80,.05); flex-shrink: 0; }
.icon-round { border-radius: 999px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid rgba(206,170,80,.2); background: rgba(16,20,28,.5); padding: 8px 16px; font-size: 13px; color: rgba(231,235,240,.8); }
.badge svg { color: var(--gold); }

.lucide { width: 20px; height: 20px; stroke-width: 2; }

/* ===== Header ===== */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 40; border-bottom: 1px solid rgba(206,170,80,.1); background: rgba(10,13,19,.95); backdrop-filter: blur(12px); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo img { height: 46px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-desktop a { position: relative; border-radius: 6px; padding: 8px 12px; font-size: 13.5px; font-weight: 500; color: rgba(231,235,240,.8); }
.nav-desktop a:hover { color: var(--gold); }
.nav-desktop a.active { color: var(--gold); }
.nav-desktop a.active::after { content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px; height: 2px; background: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.header-phone:hover { color: var(--gold); }
.header-wa { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; background: #25D366; padding: 9px 16px; font-size: 13px; font-weight: 600; color: #fff; }
.header-wa:hover { color: #fff; background: #1eb954; }
.menu-btn { display: none; height: 40px; width: 40px; align-items: center; justify-content: center; border-radius: 6px; color: var(--fg); background: transparent; border: none; cursor: pointer; }
.nav-mobile { display: none; border-top: 1px solid rgba(206,170,80,.1); background: var(--graphite-dark); }
.nav-mobile.open { display: block; }
.nav-mobile nav { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.nav-mobile a { border-radius: 6px; padding: 12px 16px; font-size: 15px; font-weight: 500; color: rgba(231,235,240,.8); }
.nav-mobile a.active { background: rgba(206,170,80,.1); color: var(--gold); }
.page-body { padding-top: 76px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid rgba(206,170,80,.1); background: var(--graphite-dark); }
.footer-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 64px 0; }
.footer-grid h4 { font-size: 18px; color: var(--gold); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid li a { font-size: 14px; color: var(--muted); }
.footer-grid li a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.footer-contact svg { margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(206,170,80,.1); background: rgba(10,13,19,.5); }
.footer-bottom .inner { padding: 24px 0; }
.footer-bottom .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { font-size: 14px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold); }
.footer-disclaimer { margin-top: 16px; text-align: center; font-size: 12px; color: rgba(152,161,175,.7); }

/* Floating WhatsApp — logo only */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 50; display: flex; align-items: center; justify-content: center; height: 60px; width: 60px; border-radius: 999px; background: #25D366; color: #fff; box-shadow: 0 10px 30px -5px rgba(0,0,0,.5); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .pulse { animation: waPulse 2s ease-in-out infinite; display: flex; }
@keyframes waPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3-fixed { grid-template-columns: repeat(3, 1fr); }
.grid-4-fixed { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-4-fixed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3-fixed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3-fixed, .grid-4-fixed { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Service card */
.svc { display: flex; flex-direction: column; height: 100%; padding: 24px; }
.svc .icon-box { height: 48px; width: 48px; margin-bottom: 16px; }
.svc .icon-box svg { width: 24px; height: 24px; color: var(--gold); }
.svc h3 { font-size: 18px; font-weight: 500; color: var(--fg); margin-bottom: 8px; }
.svc:hover h3 { color: var(--gold); }
.svc p { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg,#0a0e15,#11161d); padding: 40px 0 90px; min-height: calc(100vh - 76px); display: flex; align-items: center; }
.hero-top-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(206,170,80,.3),transparent); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 56px; position: relative; z-index: 1; width: 100%; }
.hero-text { flex: 1; min-width: 320px; max-width: 640px; }
.hero-text h1 { font-size: 58px; font-weight: 600; line-height: 1.06; color: var(--fg); margin-bottom: 20px; }
.hero-text .lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; }
.hero-photo { position: relative; flex-shrink: 0; }
.hero-photo .frame { position: relative; height: 420px; width: 420px; max-width: 82vw; overflow: hidden; border-radius: 16px; border: 1px solid rgba(206,170,80,.2); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.hero-photo .frame img { height: 100%; width: 100%; object-fit: cover; object-position: top; }
.hero-photo .frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,13,19,.4), transparent 45%); }
.hero-photo .ghost { position: absolute; bottom: -12px; right: -12px; z-index: -1; height: 100%; width: 100%; border-radius: 16px; border: 1px solid rgba(206,170,80,.3); }

/* Page hero (interior) */
.page-hero { position: relative; background: linear-gradient(180deg,#0a0d13,#10141c); padding: 64px 0 72px; text-align: center; }
.page-hero .inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-size: 46px; font-weight: 600; line-height: 1.12; color: var(--fg); margin-bottom: 20px; }
.page-hero .lead { font-size: 18px; line-height: 1.7; color: var(--muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* Steps */
.step { text-align: center; }
.step .num { margin: 0 auto 16px; display: flex; height: 64px; width: 64px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--gold); background: var(--graphite-dark); font-family: var(--font-serif); font-size: 24px; color: var(--gold); }
.step h3 { font-size: 18px; color: var(--fg); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* Differential */
.diff { padding: 24px; text-align: center; }
.diff .icon-box { height: 56px; width: 56px; margin: 0 auto 16px; }
.diff .icon-box svg { width: 28px; height: 28px; color: var(--gold); }
.diff h3 { font-size: 18px; color: var(--fg); margin-bottom: 8px; }
.diff p { font-size: 14px; color: var(--muted); }

/* Check list */
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: var(--fg); }
.check-list li svg { margin-top: 2px; flex-shrink: 0; }

/* Accordion */
.accordion { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.acc-item { overflow: hidden; border-radius: 12px; }
.acc-trigger { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-family: var(--font-serif); font-size: 17px; color: var(--fg); background: transparent; border: none; cursor: pointer; }
.acc-trigger:hover { color: var(--gold); }
.acc-trigger svg { flex-shrink: 0; transition: transform .3s ease; color: var(--muted); }
.acc-item.open .acc-trigger svg { transform: rotate(180deg); color: var(--gold); }
.acc-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-content .inner { padding: 0 24px 20px; color: var(--muted); line-height: 1.7; }

/* Values row */
.values-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.value { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 32px; }
.value .icon-box { height: 48px; width: 48px; }
.value .icon-box svg { width: 24px; height: 24px; color: var(--gold); }
.value span { font-family: var(--font-serif); font-size: 18px; color: var(--fg); }

/* About */
.about-grid { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.about-photo { max-width: 440px; margin: 0 auto; width: 100%; }
.about-photo .frame { aspect-ratio: 3/4; overflow: hidden; border-radius: 14px; border: 1px solid rgba(206,170,80,.2); }
.about-photo .frame img { height: 100%; width: 100%; object-fit: cover; object-position: top; }
.about-bio p { color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

/* Scroll indicator */
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); z-index: 1; }
.scroll-cue span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue .mouse { height: 40px; width: 24px; border-radius: 999px; border: 1px solid rgba(206,170,80,.3); padding: 6px 0; display: flex; justify-content: center; }
.scroll-cue .dot { height: 8px; width: 4px; border-radius: 999px; background: var(--gold); animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* Testimonials */
.testimonial { padding: 24px; }
.testimonial .stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial .stars svg { width: 16px; height: 16px; fill: var(--gold); color: var(--gold); }
.testimonial .quote { font-size: 14px; font-style: italic; color: var(--muted); margin-bottom: 16px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { height: 40px; width: 40px; border-radius: 999px; background: rgba(206,170,80,.1); flex-shrink: 0; }
.testimonial .who .name { font-size: 14px; font-weight: 500; color: var(--fg); }
.testimonial .who .loc { font-size: 12px; color: var(--muted); }

/* Do / Dont */
.dd { padding: 32px; }
.dd .head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.dd .head .ring { display: flex; height: 48px; width: 48px; align-items: center; justify-content: center; border-radius: 999px; flex-shrink: 0; }
.dd .head h2 { font-size: 22px; color: var(--fg); }
.dd li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.dd li svg { margin-top: 2px; flex-shrink: 0; }
.dd.do .ring { background: rgba(34,197,94,.1); } .dd.do .ring svg, .dd.do li svg { color: #22c55e; }
.dd.dont .ring { background: rgba(239,68,68,.1); } .dd.dont .ring svg, .dd.dont li svg { color: #ef4444; }

/* Contact cards */
.contact-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.contact-card .icon-box { height: 48px; width: 48px; background: rgba(206,170,80,.1); border: none; }
.contact-card .icon-box svg { width: 20px; height: 20px; color: var(--gold); }
.contact-card h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 500; color: var(--fg); margin-bottom: 4px; }

/* Blog */
.blog-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.blog-thumb { aspect-ratio: 16/9; background: var(--graphite-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 56px; color: rgba(206,170,80,.3); }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.blog-meta { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card h2, .blog-card h3 { font-size: 20px; color: var(--fg); margin-bottom: 12px; }
.blog-card:hover h2, .blog-card:hover h3 { color: var(--gold); }
.blog-card p { flex: 1; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.article .meta span { display: flex; align-items: center; gap: 6px; }
.article-content { color: #c5ccd6; line-height: 1.8; font-size: 17px; }
.article-content h2 { font-size: 26px; color: var(--fg); margin: 36px 0 14px; }
.article-content p { margin-bottom: 18px; }
.article-content ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.article-content li { margin-bottom: 8px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 24px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .nav-desktop, .header-cta { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 640px) {
  .hero-text h1 { font-size: 38px; }
  .page-hero h1 { font-size: 34px; }
  .section-head h2, .hero + .section h2 { font-size: 28px; }
  .section { padding: 56px 0; }
}
