/* ==========================================================
   MARINHO & ALBUQUERQUE – Consultoria e Advocacia
   Design revisado: Fundo transparente, ícones otimizados
   Tipografia: Poppins (títulos) + Georgia (texto)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Paleta de cores e variáveis globais */
:root{
  --preto:#000;
  --cinza-90:#111;
  --cinza-45:#555;
  --branco:#fff;
  --maxw:1100px;
  --sombra:0 10px 30px rgba(0,0,0,.08);
}

/* Reset básico */
*{box-sizing:border-box;margin:0;padding:0}
html,body{scroll-behavior:smooth}
body{
  font-family:Georgia, "Times New Roman", serif;
  color:var(--cinza-90);
  background:#f5f5f5;
  line-height:1.6;
}

/* ===== Header ===== */
.header{
  position:sticky; 
  top:0; 
  z-index:99;
  background:var(--cinza-90);
  border-bottom:1px solid #1e1e1e;
}
.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 20px;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--branco);
  text-decoration:none;
}
.brand img{
  height:36px;
  width:auto;
  object-fit:contain;
  background:transparent;    /* Garante fundo limpo */
  border-radius:0;           /* Remove cantos brancos */
  display:block;
}
.brand .t1{
  font-family:Poppins,Arial,sans-serif;
  font-weight:700;
}
.brand .t2{
  font-family:Poppins,Arial,sans-serif;
  font-size:.9rem;
  opacity:.75;
}
.nav a{
  color:#ddd;
  text-decoration:none;
  margin-left:22px;
  font-family:Poppins,Arial,sans-serif;
  font-weight:600;
}
.nav a:hover{color:#fff}

/* ===== Topo (faixa full-bleed) ===== */
.hero{
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
  width:100vw;
  height:clamp(180px, 22vw, 300px);
  background:#000 url('imagens/topo.png') center / cover no-repeat;
  border-bottom:1px solid #1e1e1e;
  max-width:none !important;
}

/* ===== Seções padrão ===== */
.section{
  background:#fff;
  margin:26px auto;
  border-radius:12px;
  box-shadow:var(--sombra);
  padding:36px;
  max-width:var(--maxw);
}
.section.alt{background:#fafafa}
.section h2{
  margin-bottom:14px;
  font-family:Poppins,Arial,sans-serif;
  font-weight:700;
}

/* ===== Áreas / Sócios ===== */
.grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
}
.card{
  padding:18px;
  border:1px solid #ececec;
  border-radius:12px;
  background:#fff;
  transition:all .3s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 6px 18px rgba(0,0,0,.1);
}
.team{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
}
.person{
  padding:16px;
  border:1px solid #ececec;
  border-radius:12px;
  background:#fff;
  text-align:center;
}

/* ===== Contato ===== */
.info li{
  list-style:none;
  margin:6px 0;
}
.info a{
  color:var(--cinza-90);
  text-decoration:none;
}
.info a:hover{text-decoration:underline}

/* ===== Rodapé ===== */
.footer{
  background:var(--preto);
  color:#cfcfcf;
  text-align:center;
  padding:24px 16px;
  margin-top:32px;
}
.footer-logo{
  height:42px;               /* Maior visibilidade */
  width:auto;
  display:block;
  margin:0 auto 10px;
  opacity:.95;
  filter:brightness(1.1) contrast(1.05);
  transition:opacity .3s ease;
}
.footer-logo:hover{
  opacity:1;
}
.footer-text{
  font-size:.9rem;
  color:#aaa;
}

/* ===== WhatsApp ===== */
.whats{
  position:fixed;
  right:20px;
  bottom:20px;
  width:52px;
  height:52px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#25d366;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:transform .2s ease;
}
.whats:hover{transform:scale(1.05)}
.whats img{
  width:30px;
  height:30px;
  display:block;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,0.25));
}
/* Animação suave dos cards */
.card-anim {
  transition: all 0.25s ease;
}

.card-anim:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Destaque discreto para o Direito Ambiental */
.destaque-ambiental {
  border: 1px solid #1f7a3d;            /* verde escuro elegante */
  background: linear-gradient(
      135deg,
      rgba(31, 122, 61, 0.07),
      rgba(255, 255, 255, 0.5)
  );
}

.destaque-ambiental h3 {
  color: #1f7a3d;
  font-weight: 700;
}

/* ===== Responsivo ===== */
@media (max-width:900px){
  .nav{display:none}
  .hero{height:clamp(200px, 34vw, 320px)}
}
/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

/* Destaque discreto para Ambiental */
.accordion-item.destaque {
  border: 2px solid #4caf50;
  box-shadow: 0 0 12px rgba(76,175,80,0.20);
}

.accordion-header {
  width: 100%;
  text-align: center;
  background: #f7f7f7;
  font-size: 1.1rem;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 700;
  padding: 18px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background .25s ease;
}

.accordion-header:hover {
  background: #eee;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height .35s ease;
}

.accordion-body p {
  padding: 18px 0;
  line-height: 1.55;
  text-align: left;
  font-size: 1rem;
}

/* Quando abrir */
.accordion-item.active .accordion-body {
  max-height: 400px;
}

.accordion-item.active .accordion-header {
  background: #e8e8e8;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 1rem;
}

.info-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.85;
}

.map-container {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
}
/* ===== Contato lado a lado ===== */
.contato-wrapper {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.contato-info {
  flex: 1;
}

.contato-mapa {
  flex: 1;
  min-width: 300px;
}

.info li {
  list-style: none;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info li img {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

/* Responsivo para celular */
@media (max-width: 900px) {
  .contato-wrapper {
    flex-direction: column;
  }

  .contato-mapa {
    width: 100%;
  }
}
