/*
Theme Name: Felipe Louzeiro Advocacia Premium
Theme URI: https://example.com/
Author: Felipe Louzeiro
Description: Tema WordPress responsivo para advocacia, inspirado na identidade visual azul profundo e dourado da marca Felipe Louzeiro Advocacia & Consultoria Jurídica.
Version: 2.0.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: felipe-advocacia
*/

:root {
  --navy-950: #020349;
  --navy-900: #05066b;
  --navy-850: #080b73;
  --navy-800: #0b117b;
  --navy-700: #111b8b;
  --gold-500: #e2b957;
  --gold-400: #efc866;
  --gold-300: #f5d77f;
  --gold-soft: rgba(226,185,87,.16);
  --white: #ffffff;
  --mist: #d9ddf1;
  --muted: #aeb6dc;
  --line: rgba(226,185,87,.38);
  --line-soft: rgba(255,255,255,.11);
  --shadow: 0 22px 55px rgba(0,0,0,.24);
  --radius: 18px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 860px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(3,4,76,.95);
  border-bottom: 1px solid rgba(226,185,87,.6);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
}
.header-brand {
  overflow: visible;
  flex: 0 0 auto;
}
.brand-logo-original-header {
  display: block;
  width: 305px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.brand-logo-footer {
  max-height: 94px;
  max-width: 340px;
}
.site-nav { justify-self: center; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 30px; list-style: none; padding: 0; margin: 0; }
.nav-list a { position: relative; padding: 27px 0 24px; color: #f8f7ff; font-family: Georgia, serif; font-size: .99rem; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 1px; background: var(--gold-400); transition: .25s ease; }
.nav-list a:hover::after, .nav-list .current-menu-item a::after { right: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--gold-500);
  border-radius: 5px;
  color: var(--gold-400);
  font-size: .88rem;
  white-space: nowrap;
  transition: .2s ease;
}
.header-cta:hover { background: var(--gold-500); color: var(--navy-950); }
.wa-dot { font-size: 1rem; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 7px; width: 44px; height: 42px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--gold-400); margin: 5px 0; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(32,46,171,.34), transparent 36%),
    linear-gradient(110deg, #080d79 0%, #05066b 46%, #020349 100%);
  border-bottom: 1px solid var(--gold-500);
}
.hero::after {
  content: "FL";
  position: absolute;
  left: -75px;
  bottom: -110px;
  font: 700 28rem/1 Georgia, serif;
  color: rgba(255,255,255,.018);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: .92fr 1.18fr;
  gap: 56px;
  align-items: center;
  z-index: 2;
}
.hero-brand-panel { position: relative; z-index: 2; display: grid; place-items: center; padding: 36px 0; }
.hero-logo { width: min(100%, 470px); filter: drop-shadow(0 18px 34px rgba(0,0,0,.14)); }
.hero-content { position: relative; z-index: 3; padding: 62px 0; max-width: 620px; }
.hero-kicker, .eyebrow {
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .75rem;
  font-weight: 700;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.025em;
  margin: 16px 0 18px;
  max-width: 700px;
}
.gold-line { width: 86px; height: 2px; background: linear-gradient(90deg,var(--gold-500),transparent); margin: 0 0 20px; }
.hero-content > p { color: #e4e6f3; font-size: 1.05rem; max-width: 570px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 29px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 47px;
  padding: 0 20px;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .89rem;
  transition: .2s ease;
}
.btn-gold { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); box-shadow: 0 8px 24px rgba(226,185,87,.13); }
.btn-gold:hover { background: var(--gold-300); border-color: var(--gold-300); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(226,185,87,.72); color: var(--gold-300); background: rgba(7,9,101,.24); }
.btn-ghost:hover { background: rgba(226,185,87,.08); }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .79rem; margin-top: 22px; }
.hero-meta span { position: relative; }
.hero-meta span + span::before { content: "•"; position: absolute; left: -14px; color: var(--gold-500); }
.hero-justice {
  position: absolute;
  right: -55px;
  top: 0;
  width: 430px;
  height: 100%;
  background: linear-gradient(90deg, rgba(5,6,107,1) 0%, rgba(5,6,107,.18) 34%, rgba(5,6,107,.02) 100%), url('assets/images/hero-justica.jpg') center/cover no-repeat;
  opacity: .67;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 25%, #000 55%);
  pointer-events: none;
  z-index: 1;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .45; pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; right: 120px; top: -230px; border: 1px solid rgba(226,185,87,.12); box-shadow: 0 0 0 80px rgba(226,185,87,.018), 0 0 0 160px rgba(226,185,87,.012); }
.hero-glow-two { width: 260px; height: 260px; left: 38%; bottom: -180px; background: rgba(35,49,175,.14); }

.section { padding: 76px 0; position: relative; }
.section-deep { background: linear-gradient(180deg,#071079 0%,#05106d 100%); border-bottom: 1px solid var(--gold-500); }
.section-heading { max-width: 770px; margin-bottom: 34px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-label { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold-400); font-family: Georgia,serif; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.section-label span { width: 62px; height: 1px; background: var(--gold-500); }
.section-label.left { justify-content: flex-start; }
.section-heading h2, .about-copy h2, .contact-info h2, .row-heading h2 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  line-height: 1.08;
}
.section-heading p { color: var(--muted); max-width: 680px; margin: 0 auto; }

.practice-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.practice-card {
  min-height: 290px;
  padding: 26px 22px 22px;
  border: 1px solid rgba(226,185,87,.28);
  border-radius: 7px;
  background: linear-gradient(180deg,rgba(17,27,139,.67),rgba(3,8,91,.48));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: .25s ease;
}
.practice-card:hover { transform: translateY(-5px); border-color: var(--gold-500); box-shadow: var(--shadow); background: rgba(17,27,139,.8); }
.line-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--gold-400); border: 1px solid rgba(226,185,87,.58); border-radius: 50%; font-size: 1.25rem; margin-bottom: 14px; }
.practice-card h3 { color: var(--gold-300); font-family: Georgia,serif; font-size: 1.19rem; font-weight: 500; line-height: 1.18; margin: 5px 0 11px; }
.practice-card p { color: #d8dcf0; font-size: .86rem; line-height: 1.55; margin: 0; }
.practice-card a { color: var(--gold-400); margin-top: auto; padding-top: 17px; font-size: .82rem; }
.practice-card a span, .text-link span { margin-left: 7px; }

.about-section { background: linear-gradient(100deg,#061064,#071170 58%,#061065); border-bottom: 1px solid var(--gold-500); }
.about-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 4% 45%,rgba(65,75,178,.12),transparent 26%); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: .78fr 1.2fr .92fr; gap: 38px; align-items: center; position: relative; z-index: 1; }
.about-photo-wrap { display: flex; justify-content: center; }
.about-photo { width: 100%; max-width: 320px; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border: 1px solid var(--gold-500); border-radius: 8px; box-shadow: 0 18px 42px rgba(0,0,0,.26); }
.placeholder-photo { background: radial-gradient(circle at 50% 28%,rgba(226,185,87,.12),transparent 30%),#05095f; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px; gap: 22px; color: var(--muted); text-align: center; }
.placeholder-photo img { width: 150px; max-height: 145px; object-fit: contain; opacity: .83; }
.placeholder-photo span { font-size: .78rem; }
.about-copy p { color: #d7dbee; margin: 0 0 14px; }
.text-link { display: inline-flex; align-items: center; color: var(--gold-400); font-weight: 700; font-size: .88rem; margin-top: 8px; }
.about-values { border-left: 1px solid rgba(226,185,87,.46); padding-left: 32px; display: grid; gap: 22px; }
.value-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.value-symbol { color: var(--gold-400); font-size: 1.8rem; line-height: 1; }
.value-item strong { display: block; color: var(--gold-300); font-family: Georgia,serif; font-weight: 500; font-size: 1rem; }
.value-item span { color: var(--muted); font-size: .82rem; display: block; margin-top: 3px; line-height: 1.42; }

.differentiators { background: linear-gradient(180deg,#071070,#061069); border-bottom: 1px solid var(--gold-500); padding: 58px 0; }
.differentials-wrap { display: grid; grid-template-columns: 1.45fr .75fr; gap: 32px; align-items: end; }
.diff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 20px; }
.diff-item { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 8px 18px; border-right: 1px solid rgba(226,185,87,.34); }
.diff-item:first-child { padding-left: 0; }
.diff-item:last-child { border-right: 0; }
.diff-item b { color: var(--gold-400); font-size: 1.45rem; line-height: 1.2; }
.diff-item strong { display: block; font-family: Georgia,serif; color: #f8e2a6; font-weight: 500; font-size: .91rem; }
.diff-item span { display: block; color: var(--muted); font-size: .73rem; line-height: 1.4; margin-top: 2px; }
.whatsapp-card { border: 1px solid rgba(226,185,87,.46); border-radius: 7px; padding: 24px; display: grid; grid-template-columns: 62px 1fr; gap: 18px; background: rgba(10,20,120,.58); }
.whatsapp-icon { width: 58px; height: 58px; border: 2px solid var(--gold-500); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); font-size: 1.5rem; }
.whatsapp-card h3 { font-family: Georgia,serif; color: var(--gold-300); font-weight: 500; font-size: 1.35rem; margin: 0; }
.small-label { color: var(--gold-400); text-transform: uppercase; letter-spacing: .09em; font-size: .65rem; }
.whatsapp-card p { color: var(--muted); font-size: .79rem; margin: 4px 0 13px; }
.whatsapp-card .btn { min-height: 39px; padding-inline: 13px; font-size: .78rem; }

.articles-section { background: linear-gradient(180deg,#05085d,#060a62); }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.article-card { min-height: 230px; border: 1px solid rgba(226,185,87,.25); background: linear-gradient(145deg,rgba(13,22,119,.64),rgba(4,7,78,.76)); padding: 26px; border-radius: 7px; display: flex; flex-direction: column; }
.article-card small { color: var(--gold-400); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.article-card h3 { font-family: Georgia,serif; color: #f8e2a6; font-weight: 500; font-size: 1.35rem; line-height: 1.2; margin: 12px 0 8px; }
.article-card p { color: var(--muted); font-size: .86rem; margin: 0; }
.article-card .text-link { margin-top: auto; padding-top: 18px; }

.contact-section { background: linear-gradient(115deg,#071070,#03044c); border-top: 1px solid rgba(226,185,87,.35); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--muted); max-width: 520px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 30px; }
.contact-list > * { padding: 12px 0; border-top: 1px solid rgba(226,185,87,.25); }
.contact-list span { color: var(--gold-400); display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .67rem; }
.contact-list strong { display: block; color: #fff; margin-top: 3px; font-size: .92rem; font-weight: 600; word-break: break-word; }
.contact-form-card { background: rgba(5,8,84,.66); border: 1px solid rgba(226,185,87,.38); border-radius: 8px; padding: 30px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label > span { display: block; color: #dce0f3; font-size: .77rem; margin-bottom: 6px; }
.contact-form input, .contact-form textarea { width: 100%; color: #fff; background: rgba(2,4,66,.68); border: 1px solid rgba(226,185,87,.22); border-radius: 5px; padding: 12px 13px; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(226,185,87,.09); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.privacy-check { display: grid !important; grid-template-columns: auto 1fr; gap: 9px; align-items: start; }
.privacy-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold-500); }
.privacy-check span { margin: 0 !important; color: var(--muted) !important; }
.submit-button { justify-self: start; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.alert { padding: 12px 14px; border-radius: 5px; margin-bottom: 16px; font-size: .86rem; }
.alert.success { background: rgba(77,188,126,.12); border: 1px solid rgba(77,188,126,.34); color: #b9f3d1; }
.alert.error { background: rgba(220,86,86,.12); border: 1px solid rgba(220,86,86,.34); color: #ffd1d1; }

.site-footer { background: #030447; border-top: 1px solid var(--gold-500); padding: 38px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .65fr .95fr .5fr; gap: 34px; align-items: start; }
.footer-brand-line .brand-copy strong { font-size: 1.08rem; }
.footer-brand p { color: var(--muted); font-size: .79rem; max-width: 310px; }
.site-footer h4 { color: var(--gold-400); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; margin: 0 0 11px; }
.footer-links { display: grid; gap: 6px; color: #d5d9ec; font-size: .78rem; }
.footer-links a:hover { color: var(--gold-300); }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 34px; height: 34px; border: 1px solid rgba(226,185,87,.5); border-radius: 50%; display: grid; place-items: center; color: var(--gold-400); font-size: .72rem; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(226,185,87,.18); color: #8f98c4; font-size: .68rem; }

.cookie-banner { display: none; position: fixed; z-index: 120; left: 20px; right: 20px; bottom: 20px; width: min(calc(100% - 40px), 760px); margin-inline: auto; background: #02033d; color: #e7e9f6; border: 1px solid var(--gold-500); box-shadow: var(--shadow); border-radius: 7px; padding: 16px 18px; align-items: center; justify-content: space-between; gap: 18px; }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .78rem; }
.cookie-accept { border: 1px solid var(--gold-500); color: var(--navy-950); background: var(--gold-500); border-radius: 4px; padding: 9px 15px; font-weight: 700; white-space: nowrap; }

.content-page { min-height: 70vh; background: linear-gradient(180deg,#071070,#03044d); padding: 72px 0; }
.page-header { margin-bottom: 30px; }
.page-header h1, .entry-card h1 { font-family: Georgia,serif; font-weight: 500; font-size: clamp(2.3rem,5vw,4rem); line-height: 1.08; }
.entry-card, .post-row { background: rgba(4,8,84,.66); border: 1px solid rgba(226,185,87,.28); border-radius: 8px; padding: 32px; }
.entry-content { color: #e4e7f3; }
.entry-content h2, .entry-content h3, .post-row h2 { font-family: Georgia,serif; color: var(--gold-300); font-weight: 500; }
.entry-content a { color: var(--gold-400); text-decoration: underline; }
.entry-content blockquote { margin-left: 0; border-left: 3px solid var(--gold-500); padding-left: 18px; color: var(--muted); }
.posts-list { display: grid; gap: 18px; }
.post-row small { color: var(--gold-400); }
.post-row h2 { margin: 8px 0; }
.post-row p { color: var(--muted); }
.center-card { text-align: center; }

@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(3,1fr); }
  .diff-grid { grid-template-columns: repeat(2,1fr); row-gap: 16px; }
  .diff-item:nth-child(2) { border-right: 0; }
  .about-grid { grid-template-columns: .75fr 1.25fr; }
  .about-values { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(226,185,87,.32); padding: 25px 0 0; grid-template-columns: repeat(3,1fr); }
  .header-inner { grid-template-columns: auto 1fr; }
  .site-nav { justify-self: end; }
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .brand-logo-original-header { width: 260px; }
  .brand-logo-footer { max-height: 80px; max-width: 280px; }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav { position: absolute; top: 70px; left: 20px; right: 20px; display: none; background: rgba(3,4,71,.98); border: 1px solid var(--gold-500); border-radius: 7px; padding: 12px 20px 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 11px 0; border-bottom: 1px solid rgba(226,185,87,.16); }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .hero-brand-panel { padding: 48px 0 0; }
  .hero-logo { width: min(78vw,420px); }
  .hero-content { padding: 24px 0 58px; text-align: center; margin-inline: auto; }
  .gold-line { margin-inline: auto; }
  .hero-content > p { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-justice { opacity: .22; width: 55%; right: -20%; }
  .practice-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo { max-width: 300px; }
  .about-values { grid-template-columns: 1fr; text-align: left; }
  .differentials-wrap { grid-template-columns: 1fr; }
  .whatsapp-card { max-width: 560px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .brand-logo-original-header { width: 225px; }
  .brand-logo-footer { max-height: 72px; max-width: 240px; }
  .brand-copy strong { font-size: .96rem; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.35rem,12vw,3.45rem); }
  .hero-content > p { font-size: .94rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .practice-grid, .article-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 250px; }
  .row-heading { align-items: start; flex-direction: column; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-item { border-right: 0; border-bottom: 1px solid rgba(226,185,87,.22); padding: 13px 0; }
  .whatsapp-card { grid-template-columns: 1fr; }
  .form-row, .contact-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-accept { width: 100%; }
}
