/*
Theme Name: Douglas Bento Advocacia
Theme URI: https://douglasbento.com.br
Author: Douglas Bento Advogados
Description: Tema institucional para Douglas Bento Advogados — Direito Imobiliário e Holdings Familiares. Sem dependência de page builder. SEO-first. Design system claro/glass baseado em design-system.html.
Version: 3.1
License: GNU General Public License v2 or later
Text Domain: douglasbento
Tags: law-firm, light, professional, custom-logo, full-width-template, blog, translation-ready
*/

/* ============================================================
   TOKENS — extraídos de design-system.html
   ============================================================ */
:root {
  /* Superfícies */
  --bg-page:     #f4f7fb;   /* fundo geral (variação clara do token cfddea p/ legibilidade de texto longo) */
  --bg-tint:     #cfddea;   /* token literal "Page Background" — usado em seções de destaque */
  --bg-card:     #ffffff;
  --bg-soft:     #f1f2f3;   /* token literal "Card Background" */
  --bg-glass:    rgba(255,255,255,.62);
  --bg-dark:     #0f0f0f;
  --dark-grad:   linear-gradient(135deg,#000000,#374151); /* token "Dark Gradient" */

  /* Texto */
  --text-1:      #0f0f0f;   /* token "text-[#0f0f0f]" */
  --text-2:      #4b5563;
  --text-3:      #8a94a3;
  --text-inverse:#f7f9fc;

  /* Cor primária + acentos (tokens Primary #000 + paleta blue/purple/green) */
  --primary:     #000000;
  --primary-h:   #1c1c1c;
  --accent-blue: #2563eb;
  --accent-blue-l:#eef2ff;
  --accent-purple:#7c3aed;
  --accent-green:#16a34a;
  --wa-green:    #25d366;   /* mantido — cor de marca do WhatsApp, exceção deliberada ao token */

  --border:      rgba(15,15,15,.09);
  --border-soft: rgba(15,15,15,.14);
  --glow:        rgba(37,99,235,.18);

  /* Tipografia (tokens font-manrope / font-sans) */
  --f-head:      'Manrope', system-ui, sans-serif;
  --f-body:      'Inter', system-ui, sans-serif;
  --f-mono:      'Inter', system-ui, sans-serif; /* rótulos usam caixa-alta + tracking em vez de monoespaçada */

  --radius-sm:   .85rem;
  --radius:      1.25rem;
  --radius-lg:   1.75rem;  /* rounded-3xl do design system */
  --radius-full: 999px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --section:     6rem;

  --shadow-soft: 0 1px 1px rgba(255,255,255,.6) inset, 0 30px 60px -30px rgba(15,15,15,.16), 0 50px 100px -20px rgba(30,41,80,.12);
  --shadow-card: 0 1px 1px rgba(255,255,255,.7) inset, 0 18px 40px -18px rgba(15,15,15,.14);
  --shadow-btn:  0 2.8px 2.2px rgba(0,0,0,.034), 0 6.7px 5.3px rgba(0,0,0,.048), 0 12.5px 10px rgba(0,0,0,.06), 0 22.3px 17.9px rgba(0,0,0,.07);
}

/* ============================================================
   RESET
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--f-body);background:var(--bg-page);color:var(--text-1);line-height:1.7;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-blue);text-decoration:none;transition:color .2s var(--ease)}
a:hover{color:var(--primary)}
ul{list-style:none}
button{cursor:pointer;font-family:inherit;border:none;background:none}
input,textarea,select{font-family:inherit}

/* ============================================================
   TIPOGRAFIA
   ============================================================ */
h1,h2,h3,h4,h5,h6{font-family:var(--f-head);font-weight:700;line-height:1.15;color:var(--text-1);letter-spacing:-.02em}
h1{font-size:clamp(2.1rem,4.5vw,3.75rem);font-weight:600}
h2{font-size:clamp(1.7rem,3vw,2.6rem);font-weight:600}
h3{font-size:clamp(1.2rem,2vw,1.6rem)}
h4{font-size:1.15rem}
p{color:var(--text-2);max-width:68ch}
p+p{margin-top:1rem}

.text-gradient{
  background:linear-gradient(135deg,var(--primary),var(--accent-blue));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text
}
.label{
  font-family:var(--f-mono);font-size:.72rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--accent-blue);font-weight:700;
  display:inline-flex;align-items:center;gap:.5rem;margin-bottom:.85rem
}
.label::before{content:'';width:20px;height:2px;border-radius:2px;background:var(--accent-blue)}

/* ============================================================
   LAYOUT
   ============================================================ */
.container{max-width:1180px;margin:0 auto;padding:0 1.5rem}
.section{padding:var(--section) 0}
@media(max-width:768px){:root{--section:3.5rem}}

/* ============================================================
   AMBIENT BG (glows suaves, tons azul/roxo do design system)
   ============================================================ */
.ambient{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.ambient::before{
  content:'';position:absolute;top:10%;left:5%;
  width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.10) 0%,transparent 70%);
  filter:blur(70px);animation:amb1 16s ease-in-out infinite alternate
}
.ambient::after{
  content:'';position:absolute;bottom:15%;right:5%;
  width:480px;height:480px;border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,.08) 0%,transparent 70%);
  filter:blur(90px);animation:amb2 20s ease-in-out infinite alternate
}
@keyframes amb1{from{transform:translate(0,0) scale(1)}to{transform:translate(60px,-40px) scale(1.08)}}
@keyframes amb2{from{transform:translate(0,0)}to{transform:translate(-50px,60px) scale(.92)}}

/* ============================================================
   GLASS / CARDS
   ============================================================ */
.glass{
  background:var(--bg-glass);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  border:1px solid var(--border);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft)
}
.card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease)
}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft);border-color:var(--border-soft)}

/* ============================================================
   BOTÕES (pill / rounded-full, conforme design system)
   ============================================================ */
.btn{
  position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:.6rem;
  padding:.95rem 2rem;border-radius:var(--radius-full);
  font-weight:600;font-size:.92rem;font-family:var(--f-body);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),background .3s var(--ease),color .3s var(--ease)
}
.btn::after{
  content:'';position:absolute;top:0;left:-120%;width:80%;height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);
  transition:left .55s var(--ease)
}
.btn:hover::after{left:130%}
.btn-primary{
  background:var(--primary);color:#fff;box-shadow:var(--shadow-btn)
}
.btn-primary:hover{transform:translateY(-2px) scale(1.03);background:var(--primary-h);box-shadow:0 14px 30px rgba(0,0,0,.22);color:#fff}
.btn-outline{
  background:#fff;color:var(--text-1);border:1px solid var(--border-soft)
}
.btn-outline:hover{background:var(--bg-soft);border-color:var(--text-3);transform:translateY(-2px)}
.btn-wa{
  background:var(--wa-green);color:#fff;box-shadow:0 8px 22px rgba(37,211,102,.28)
}
.btn-wa:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 12px 30px rgba(37,211,102,.38);color:#fff}
.btn svg,.btn i{width:18px;height:18px;flex-shrink:0}

/* ============================================================
   HEADER
   ============================================================ */
#site-header{
  position:sticky;top:0;z-index:1000;
  background:rgba(255,255,255,.85);backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid var(--border);
  transition:box-shadow .3s var(--ease),background .3s var(--ease)
}
#site-header.scrolled{box-shadow:0 8px 30px rgba(15,15,15,.06);background:rgba(255,255,255,.95)}
.header-inner{
  max-width:1280px;margin:0 auto;padding:1rem 1.5rem;
  display:flex;align-items:center;justify-content:space-between;gap:1.5rem
}
.site-logo{display:flex;align-items:center;gap:.85rem;text-decoration:none;flex-shrink:0}
.logo-img{height:44px;width:auto;object-fit:contain}
.logo-text-wrap{display:flex;flex-direction:column;line-height:1.2}
.logo-name{font-family:var(--f-head);font-size:1rem;font-weight:700;color:var(--text-1)}
.logo-oab{font-family:var(--f-mono);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-blue)}
.site-nav{display:flex;align-items:center;gap:.1rem;flex-wrap:nowrap}
.nav-link{
  display:inline-flex;align-items:center;padding:.6rem .85rem;border-radius:var(--radius-full);
  font-size:.88rem;font-weight:600;color:var(--text-2);transition:all .2s var(--ease);
  white-space:nowrap
}
.nav-link:hover,.nav-link.active{color:var(--text-1);background:var(--bg-soft)}
.nav-dropdown{position:relative}
.nav-dropdown-toggle{
  display:inline-flex;align-items:center;gap:.3rem;padding:.6rem .85rem;border-radius:var(--radius-full);
  font-size:.88rem;font-weight:600;color:var(--text-2);cursor:pointer;transition:all .2s var(--ease);
  white-space:nowrap
}
.nav-dropdown-toggle:hover,.nav-dropdown:hover .nav-dropdown-toggle{color:var(--text-1);background:var(--bg-soft)}
.nav-dropdown-toggle svg{width:12px;height:12px;transition:transform .2s}
.nav-dropdown:hover .nav-dropdown-toggle svg{transform:rotate(180deg)}
.dropdown-menu{
  position:absolute;top:calc(100% + .5rem);left:0;min-width:220px;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:.5rem;box-shadow:var(--shadow-soft);
  opacity:0;visibility:hidden;transform:translateY(-8px);transition:all .25s var(--ease);z-index:1100
}
.nav-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-menu a{
  display:block;padding:.6rem .85rem;border-radius:.6rem;font-size:.88rem;color:var(--text-2);transition:all .15s
}
.dropdown-menu a:hover{color:var(--accent-blue);background:var(--accent-blue-l)}
.header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.hamburger{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;border-radius:var(--radius-full);background:var(--bg-soft)
}
.hamburger span{width:18px;height:2px;background:var(--text-1);margin:0 auto;border-radius:2px;transition:all .3s var(--ease)}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

.mobile-nav{
  position:fixed;top:0;left:0;bottom:0;right:auto;width:82%;max-width:320px;z-index:1300;
  background:#fff;backdrop-filter:blur(20px);padding:5.5rem 1.5rem 2rem;
  flex-direction:column;gap:.25rem;overflow-y:auto;
  transform:translateX(-100%);transition:transform .35s var(--ease);display:flex;
  box-shadow:20px 0 60px rgba(15,15,15,.15)
}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav a{padding:.85rem 1rem;border-radius:var(--radius-sm);font-weight:600;color:var(--text-1)}
.mobile-nav a:hover{color:var(--accent-blue);background:var(--bg-soft)}
.mobile-nav .mobile-sub a{padding-left:1.75rem;font-weight:500;font-size:.9rem;color:var(--text-2)}
.mobile-close{
  position:absolute;top:1.5rem;right:1.5rem;width:38px;height:38px;border-radius:var(--radius-full);
  background:var(--bg-soft);display:flex;align-items:center;justify-content:center;color:var(--text-1)
}
@media(max-width:1024px){
  .site-nav{display:none}
  .hamburger{display:flex}
  .header-actions .btn-wa .wa-text{display:none}
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;overflow:hidden;background:var(--bg-tint);
  border-radius:0 0 var(--radius-lg) var(--radius-lg)
}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.16}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(207,221,234,.4),rgba(207,221,234,.92))
}
.hero-content{position:relative;z-index:1;padding:7rem 0 5rem}
.hero-badge{
  display:inline-flex;align-items:center;gap:.6rem;background:#fff;border:1px solid var(--border);
  border-radius:var(--radius-full);padding:.55rem 1.15rem .55rem .75rem;margin-bottom:1.75rem;
  font-size:.82rem;font-weight:600;color:var(--text-2);box-shadow:var(--shadow-card)
}
.hero-badge .dot{width:8px;height:8px;border-radius:50%;background:var(--accent-green);flex-shrink:0;box-shadow:0 0 0 3px rgba(22,163,74,.18)}
.hero h1{margin-bottom:1.25rem}
.hero-sub{font-size:1.05rem;max-width:44ch;color:var(--text-2)}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:2.25rem}
.hero-stats{
  display:flex;gap:2.5rem;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border-soft)
}
.hero-stat-num{font-family:var(--f-head);font-size:1.7rem;font-weight:700;color:var(--text-1)}
.hero-stat-label{font-size:.8rem;color:var(--text-3);margin-top:.1rem}

.page-hero{
  position:relative;background:var(--bg-tint);padding:6.5rem 0 3rem;
  border-radius:0 0 var(--radius-lg) var(--radius-lg)
}
.page-hero-inner{position:relative;z-index:1}
.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.82rem;margin-bottom:1rem;font-weight:500}
.breadcrumb a{color:var(--text-3)}
.breadcrumb a:hover{color:var(--accent-blue)}
.breadcrumb-sep{color:var(--text-3)}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid{display:grid;gap:1.75rem}
.service-card{padding:1.9rem;display:flex;flex-direction:column;gap:.85rem}
.service-card .icon{
  width:52px;height:52px;border-radius:var(--radius-sm);background:var(--accent-blue-l);
  display:flex;align-items:center;justify-content:center;transition:all .3s var(--ease)
}
.service-card:hover .icon{background:var(--primary);box-shadow:0 8px 20px rgba(0,0,0,.18)}
.service-card:hover .icon svg{color:#fff}
.service-card .icon svg{width:22px;height:22px;color:var(--accent-blue);transition:color .3s}
.service-card h3{font-size:1.05rem;margin-bottom:0}
.service-card p{font-size:.875rem;flex:1}
.service-card .card-link{
  display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;font-weight:700;color:var(--text-1);
  transition:gap .25s var(--ease),color .25s
}
.service-card:hover .card-link{gap:.6rem;color:var(--accent-blue)}

.service-page-layout{display:grid;grid-template-columns:1fr 320px;gap:3rem;align-items:start}
.service-article h2{margin:2rem 0 .85rem}
.service-article h3{margin:1.5rem 0 .6rem}
.service-article p{margin-bottom:1rem;color:var(--text-2)}
.service-article ul,.service-article ol{margin:0 0 1.25rem 1.25rem}
.service-article ul li{list-style:disc;margin-bottom:.4rem;color:var(--text-2)}
.service-article ol li{list-style:decimal;margin-bottom:.4rem;color:var(--text-2)}
.service-article strong{color:var(--text-1);font-weight:700}
.service-sidebar{position:sticky;top:6.5rem}
.sidebar-cta{padding:1.9rem;text-align:center}
.sidebar-cta .sidebar-avatar{
  width:88px;height:88px;border-radius:50%;overflow:hidden;margin:0 auto 1rem;
  border:3px solid #fff;box-shadow:var(--shadow-card)
}
.sidebar-cta .sidebar-avatar img{width:100%;height:100%;object-fit:cover}
.sidebar-cta h4{margin-bottom:.5rem}
.sidebar-cta p{font-size:.875rem;margin-bottom:1.25rem}
.sidebar-posts{padding:1.5rem;margin-top:1.5rem}
.sidebar-posts h5{font-family:var(--f-head);font-size:.95rem;margin-bottom:1rem}
.sidebar-post-item{display:flex;gap:.75rem;align-items:center;padding:.6rem 0;border-bottom:1px solid var(--border)}
.sidebar-post-item:last-child{border-bottom:none}
.sidebar-post-img{width:52px;height:52px;border-radius:.6rem;object-fit:cover;flex-shrink:0}
.sidebar-post-title{font-size:.85rem;font-weight:600;color:var(--text-1);line-height:1.4}
.sidebar-post-title:hover{color:var(--accent-blue)}
@media(max-width:900px){
  .service-page-layout{grid-template-columns:1fr}
  .service-sidebar{position:static}
  .services-grid{grid-template-columns:1fr!important}
}
@media(min-width:600px) and (max-width:900px){
  .services-grid{grid-template-columns:repeat(2,1fr)!important}
}

/* ============================================================
   SOBRE
   ============================================================ */
.about-hero-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:3rem;align-items:center}
.about-photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-soft)}
.about-photo img{width:100%;height:auto;display:block}
.about-bio p{color:var(--text-2);margin-bottom:1rem}
.mvv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem}
.mvv-card{padding:1.9rem;text-align:center}
.mvv-card .mvv-icon{
  width:56px;height:56px;border-radius:50%;background:var(--bg-tint);
  display:flex;align-items:center;justify-content:center;margin:0 auto 1.1rem
}
.mvv-card .mvv-icon svg{width:24px;height:24px;color:var(--text-1)}
.mvv-card h4{margin-bottom:.5rem;font-size:1rem}
.mvv-card p{font-size:.875rem;margin:0 auto}
@media(max-width:768px){
  .about-hero-grid{grid-template-columns:1fr}
  .mvv-grid{grid-template-columns:1fr}
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem}
.contact-form-wrap{padding:2.4rem}
.contact-form-wrap h2{margin-bottom:1.5rem}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.5rem;color:var(--text-1)}
.form-group label .req{color:var(--accent-blue)}
.form-group input,.form-group textarea,.form-group select{
  width:100%;padding:.85rem 1rem;background:var(--bg-soft);border:1px solid var(--border);
  border-radius:var(--radius-sm);color:var(--text-1);font-size:.92rem;transition:all .2s var(--ease)
}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--accent-blue);background:#fff;box-shadow:0 0 0 3px var(--accent-blue-l)}
.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-3)}
.form-group textarea{resize:vertical;min-height:120px}
.form-accept{display:flex;align-items:flex-start;gap:.6rem;font-size:.82rem;color:var(--text-2)}
.form-accept input[type="checkbox"]{width:18px;height:18px;flex-shrink:0;accent-color:var(--primary);margin-top:.15rem}
.contact-info{padding:2rem 0}
.contact-info h3{margin-bottom:1.5rem}
.contact-info-item{display:flex;gap:1rem;align-items:flex-start;margin-bottom:1.5rem}
.contact-info-icon{
  width:44px;height:44px;border-radius:var(--radius-sm);background:var(--bg-tint);
  display:flex;align-items:center;justify-content:center;flex-shrink:0
}
.contact-info-icon svg{width:20px;height:20px;color:var(--text-1)}
.contact-info-text strong{display:block;margin-bottom:.15rem;color:var(--text-1)}
.contact-info-text span,.contact-info-text a{font-size:.9rem;color:var(--text-2)}
.contact-map{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);margin-top:1.5rem;box-shadow:var(--shadow-card)}
.contact-map iframe{width:100%;height:280px;border:none;display:block}
@media(max-width:768px){.contact-grid{grid-template-columns:1fr}}

/* ============================================================
   BLOG
   ============================================================ */
.blog-layout{display:grid;grid-template-columns:1fr 320px;gap:3rem;align-items:start}
.posts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.75rem}
.post-card{overflow:hidden;padding:0}
.post-card-thumb{aspect-ratio:16/10;overflow:hidden}
.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.post-card:hover .post-card-thumb img{transform:scale(1.06)}
.post-card-body{padding:1.4rem}
.post-badge{
  display:inline-block;background:var(--accent-blue-l);color:var(--accent-blue);
  font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  padding:.3rem .7rem;border-radius:var(--radius-full);margin-bottom:.7rem
}
.post-card h3{font-size:1.05rem;margin-bottom:.5rem}
.post-card:hover h3{color:var(--accent-blue)}
.post-card h3 a{color:inherit;text-decoration:none}
.post-meta{display:flex;gap:.85rem;font-size:.78rem;color:var(--text-3);margin-bottom:.9rem}
.post-read-more{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;font-weight:700;color:var(--text-1);transition:gap .25s var(--ease)}
.post-card:hover .post-read-more{gap:.6rem}
.blog-sidebar{position:sticky;top:6.5rem}
.sidebar-widget{padding:1.6rem;margin-bottom:1.5rem}
.sidebar-widget h5{font-family:var(--f-head);font-size:.95rem;margin-bottom:1rem}
.search-form{display:flex;gap:.5rem}
.search-form input{flex:1;padding:.75rem 1rem;background:var(--bg-soft);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text-1)}
.search-form input:focus{outline:none;border-color:var(--accent-blue)}
.search-form button{width:42px;height:42px;border-radius:var(--radius-sm);background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.search-form button:hover{background:var(--primary-h)}
.category-list li{border-bottom:1px solid var(--border)}
.category-list li:last-child{border-bottom:none}
.category-list a{display:flex;justify-content:space-between;padding:.7rem 0;font-size:.9rem;color:var(--text-2)}
.category-list a:hover{color:var(--accent-blue)}
.pagination{display:flex;justify-content:center;gap:.5rem;margin-top:2.5rem}
.pagination a,.pagination span{
  display:flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 .8rem;
  border:1px solid var(--border);border-radius:var(--radius-full);font-size:.85rem;color:var(--text-2)
}
.pagination a:hover{border-color:var(--accent-blue);color:var(--accent-blue)}
.pagination .current{background:var(--primary);color:#fff;border-color:var(--primary)}
@media(max-width:900px){
  .blog-layout{grid-template-columns:1fr}
  .blog-sidebar{position:static}
  .posts-grid{grid-template-columns:1fr}
}

/* ============================================================
   POST ÚNICO
   ============================================================ */
.single-layout{display:grid;grid-template-columns:1fr 300px;gap:3rem}
.post-content{max-width:72ch}
.post-content h2,.post-content h3{margin:2rem 0 .75rem}
.post-content p{margin-bottom:1.1rem;color:var(--text-2)}
.post-content ul,.post-content ol{margin:0 0 1.25rem 1.25rem}
.post-content ul li{list-style:disc;margin-bottom:.4rem}
.post-content ol li{list-style:decimal;margin-bottom:.4rem}
.post-content strong{color:var(--text-1)}
.post-content a{color:var(--accent-blue);text-decoration:underline}
.share-buttons{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.share-btn{
  display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;border:1px solid var(--border);
  border-radius:var(--radius-full);font-size:.8rem;color:var(--text-2)
}
.share-btn:hover{border-color:var(--accent-blue);color:var(--accent-blue)}
@media(max-width:900px){.single-layout{grid-template-columns:1fr}}

/* ============================================================
   CTA (usa o token Dark Gradient — maior contraste de conversão)
   ============================================================ */
.cta-section{
  background:var(--dark-grad);border-radius:var(--radius-lg);
  margin:0 auto;max-width:1180px;padding:4.5rem 2rem
}
.cta-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1rem}
.cta-inner .label{color:#93c5fd}
.cta-inner .label::before{background:#93c5fd}
.cta-inner h2{max-width:600px;color:#fff}
.cta-inner p{max-width:50ch;text-align:center;margin:0 auto;color:rgba(255,255,255,.72)}
.cta-inner .btn-wa{padding:.9rem 2.3rem;font-size:1rem;margin-top:.5rem}

/* ============================================================
   FOOTER (token Dark Gradient)
   ============================================================ */
#site-footer{background:var(--dark-grad);color:rgba(255,255,255,.7);margin-top:var(--section)}
.footer-grid{
  max-width:1180px;margin:0 auto;padding:4.5rem 1.5rem 3rem;
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:2.5rem
}
.footer-logo img{height:44px;width:auto;margin-bottom:1rem;filter:brightness(0) invert(1)}
.footer-desc{font-size:.85rem;color:rgba(255,255,255,.55);max-width:28ch;margin-bottom:1.25rem}
.footer-oab{font-size:.75rem;color:rgba(255,255,255,.4);font-family:var(--f-mono)}
.footer-social{display:flex;gap:.6rem;margin-top:1.25rem}
.footer-social a{
  width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.75);transition:all .2s
}
.footer-social a:hover{border-color:#fff;color:#fff;background:rgba(255,255,255,.08)}
.footer-col h5{font-family:var(--f-head);font-size:.9rem;color:#fff;margin-bottom:1.1rem;letter-spacing:.02em}
.footer-col ul li{margin-bottom:.5rem}
.footer-col ul li a{font-size:.875rem;color:rgba(255,255,255,.55);transition:color .2s}
.footer-col ul li a:hover{color:#fff}
.footer-contact-item{display:flex;gap:.65rem;align-items:flex-start;margin-bottom:1rem;font-size:.85rem}
.footer-contact-item svg{width:16px;height:16px;color:rgba(255,255,255,.5);flex-shrink:0;margin-top:.15rem}
.footer-contact-item span,.footer-contact-item a{color:rgba(255,255,255,.6);line-height:1.6}
.footer-contact-item a:hover{color:#fff}
.footer-bottom{
  max-width:1180px;margin:0 auto;padding:1.5rem;border-top:1px solid rgba(255,255,255,.1);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem
}
.footer-bottom p{font-size:.78rem;color:rgba(255,255,255,.45);margin:0}
.footer-bottom-links{display:flex;gap:1.25rem}
.footer-bottom-links a{font-size:.78rem;color:rgba(255,255,255,.45);transition:color .2s}
.footer-bottom-links a:hover{color:#fff}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;padding:3.5rem 1.5rem 2.5rem}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;text-align:center}}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.legal-content{max-width:72ch;margin:0 auto}
.legal-content h2{font-size:1.25rem;margin:2rem 0 .6rem;color:var(--text-1)}
.legal-content p{margin-bottom:1rem;color:var(--text-2);font-size:.95rem}
.legal-content br{display:none}

.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-4{margin-bottom:2rem}
.text-center{text-align:center}
.text-muted{color:var(--text-2)}
.divider{height:1px;background:var(--border);margin:2.5rem 0}

.fade-in{opacity:0;transform:translateY(18px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.fade-in.visible{opacity:1;transform:none}

/* ============================================================
   LANDING — Usucapião Extrajudicial (componentes específicos)
   ============================================================ */
.lp-hero{background:var(--dark-grad);border-radius:0 0 var(--radius-lg) var(--radius-lg);position:relative;overflow:hidden}
.lp-hero-inner{padding:7rem 0 5rem;position:relative;z-index:1}
.lp-hero .label{color:#93c5fd}
.lp-hero .label::before{background:#93c5fd}
.lp-hero h1{color:#fff}
.lp-hero p{color:rgba(255,255,255,.72)}
.lp-glow{position:absolute;border-radius:50%;filter:blur(90px);pointer-events:none}
.lp-glow-1{top:-10%;left:-5%;width:420px;height:420px;background:radial-gradient(circle,rgba(37,99,235,.35),transparent 70%)}
.lp-glow-2{bottom:-15%;right:-5%;width:480px;height:480px;background:radial-gradient(circle,rgba(124,58,237,.28),transparent 70%)}

.lp-compare{display:grid;grid-template-columns:1fr 1fr;gap:1.75rem}
.lp-compare-card{padding:2rem;border-radius:var(--radius-lg)}
.lp-compare-card.is-good{background:var(--bg-card);border:2px solid var(--accent-green)}
.lp-compare-card.is-neutral{background:var(--bg-soft);border:1px solid var(--border)}
.lp-compare-card h3{display:flex;align-items:center;gap:.6rem;margin-bottom:1.1rem}
.lp-compare-card ul{margin:0}
.lp-compare-card li{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem;color:var(--text-2);margin-bottom:.75rem}
.lp-compare-card li svg{width:18px;height:18px;flex-shrink:0;margin-top:.1rem}
.lp-compare-card.is-good li svg{color:var(--accent-green)}
.lp-compare-card.is-neutral li svg{color:var(--text-3)}

.lp-steps{counter-reset:lp-step;display:grid;gap:1.25rem}
.lp-step{
  display:grid;grid-template-columns:auto 1fr;gap:1.25rem;padding:1.75rem;
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg)
}
.lp-step-num{
  counter-increment:lp-step;width:44px;height:44px;border-radius:50%;background:var(--primary);color:#fff;
  display:flex;align-items:center;justify-content:center;font-family:var(--f-head);font-weight:700;flex-shrink:0
}
.lp-step-num::before{content:counter(lp-step)}
.lp-step h4{margin-bottom:.35rem}
.lp-step p{font-size:.9rem;margin-bottom:0}

.lp-req-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.lp-req-card{padding:1.75rem;text-align:center}
.lp-req-card .lp-req-icon{
  width:52px;height:52px;border-radius:50%;background:var(--bg-tint);margin:0 auto 1rem;
  display:flex;align-items:center;justify-content:center
}
.lp-req-card .lp-req-icon svg{width:22px;height:22px;color:var(--text-1)}
.lp-req-card h4{font-size:.95rem;margin-bottom:.4rem}
.lp-req-card p{font-size:.85rem;margin:0 auto}

.lp-faq{display:grid;gap:1rem;max-width:840px;margin:0 auto}
.lp-faq-item{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.lp-faq-item summary{
  list-style:none;cursor:pointer;padding:1.35rem 1.6rem;display:flex;justify-content:space-between;
  align-items:center;font-weight:700;font-size:.95rem;color:var(--text-1);gap:1rem
}
.lp-faq-item summary::-webkit-details-marker{display:none}
.lp-faq-item summary::after{
  content:'+';font-size:1.4rem;font-weight:400;color:var(--text-3);flex-shrink:0;transition:transform .25s var(--ease)
}
.lp-faq-item[open] summary::after{transform:rotate(45deg)}
.lp-faq-item .lp-faq-body{padding:0 1.6rem 1.5rem;font-size:.9rem;color:var(--text-2)}

.lp-disclaimer{
  font-size:.78rem;color:var(--text-3);border-top:1px solid var(--border);margin-top:3rem;padding-top:1.5rem
}

@media(max-width:900px){
  .lp-compare{grid-template-columns:1fr}
  .lp-req-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .lp-req-grid{grid-template-columns:1fr}
  .lp-step{grid-template-columns:1fr;text-align:left}
}