/*
Theme Name: BR Prime Legal
Theme URI: https://bittencourtrodrigues.adv.br/
Author: OpenAI for Paulo Ivo Rodrigues Neto
Author URI: https://openai.com/
Description: Tema WordPress premium com identidade visual Bittencourt & Rodrigues, home autoral, destaques editoriais, biblioteca, agenda e RSS jurídico seguro.
Version: 9.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: br-prime-legal
Tags: custom-logo, custom-menu, featured-images, blog, editor-style, right-sidebar, custom-background, custom-header
*/

/* Base stylesheet lives in assets/css/main.css */


/* Portfolio section */
.portfolio-section {
  padding-top: 8px;
}

.portfolio-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.portfolio-logo-card {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(15, 39, 68, 0.08);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 39, 68, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.portfolio-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 138, 73, 0.35);
  box-shadow: 0 18px 42px rgba(15, 39, 68, 0.09);
}

.portfolio-logo-card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.92;
}

.portfolio-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 1200px) {
  .portfolio-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .portfolio-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .portfolio-logo-card {
    min-height: 92px;
    padding: 14px;
  }

  .portfolio-logo-card img {
    max-height: 42px;
  }
}


/* V9 identity images */
.brand-logo-fallback img{max-height:72px;width:auto;display:block;}
.hero-premium .hero-visual-frame.brand-identity{padding:0;overflow:hidden;background:#102138;}
.hero-premium .hero-visual-frame.brand-identity::before{display:none;}
.hero-premium .hero-identity-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.18;mix-blend-mode:screen;}
.hero-premium .hero-portrait{position:relative;z-index:2;height:100%;display:flex;align-items:flex-end;justify-content:center;padding:28px 28px 0;}
.hero-premium .hero-portrait img{width:100%;max-width:500px;height:100%;max-height:640px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 30px 60px rgba(0,0,0,.45));}
.hero-premium .brand-signature-strip{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px 16px;border-radius:20px;background:rgba(8,31,58,.06);border:1px solid rgba(8,31,58,.08);max-width:560px;}
.hero-premium .brand-signature-strip img{width:64px;height:64px;object-fit:contain;flex:0 0 64px;}
.hero-premium .brand-signature-strip strong{display:block;font-size:1rem;color:var(--primary);}
.hero-premium .brand-signature-strip span{display:block;font-size:.92rem;color:var(--muted);}
.identity-section .identity-card{display:grid;grid-template-columns:.95fr 1.05fr;gap:30px;align-items:center;padding:32px;border-radius:32px;background:linear-gradient(135deg,#0c1f35 0%,#1c3556 100%);color:#fff;box-shadow:0 25px 70px rgba(8,24,46,.18);overflow:hidden;position:relative;}
.identity-section .identity-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right, rgba(215,184,148,.24), transparent 26%);pointer-events:none;}
.identity-section .identity-wall{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.12;mix-blend-mode:screen;}
.identity-section .identity-photo{position:relative;z-index:2;border-radius:28px;overflow:hidden;min-height:460px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);}
.identity-section .identity-photo img{width:100%;height:100%;object-fit:cover;}
.identity-section .identity-copy{position:relative;z-index:2;padding-right:10px;}
.identity-section .identity-copy h2,.identity-section .identity-copy p,.identity-section .identity-copy .eyebrow{color:#fff;}
.identity-section .identity-copy .eyebrow{background:rgba(215,184,148,.16);}
.identity-section .identity-copy p{color:rgba(255,255,255,.84);}
.identity-section .identity-list{display:grid;gap:12px;margin:22px 0 0;padding:0;list-style:none;}
.identity-section .identity-list li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);}
.identity-section .identity-list li::before{content:"•";color:var(--accent);font-size:1.4rem;line-height:1;}
@media (max-width:1024px){.identity-section .identity-card{grid-template-columns:1fr;}.identity-section .identity-photo{min-height:360px;}.hero-premium .hero-portrait img{max-height:520px;}}
@media (max-width:768px){.hero-premium .brand-signature-strip{padding:12px 14px;}.hero-premium .brand-signature-strip img{width:52px;height:52px;flex-basis:52px;}.identity-section .identity-card{padding:22px;border-radius:24px;}.identity-section .identity-photo{min-height:300px;}}
