/*
Theme Name: Aglailton Silva Advocacia
Theme URI: https://aglailtonsilvaadvocacia.com.br
Author: Aglailton Silva
Author URI: https://aglailtonsilvaadvocacia.com.br
Description: Tema personalizado para escritório de advocacia Aglailton Silva - Advocacia & Assessoria Jurídica
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aglailton-silva
Tags: advocacia, juridico, lei, escritorio
*/

/* =============================================
   RESET
   ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  color: #222;
  background: #f9f9f9;
  line-height: 1.6;
}

/* =============================================
   HEADER
   ============================================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  height: 70px;
  background: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* MENU WORDPRESS */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
  transition: color 0.3s;
  font-weight: 600;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
  color: #ccc;
}

/* HAMBURGER MOBILE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f') center/cover no-repeat;
  color: #fff;
  padding: 40px 20px;
}

.hero-text h1 {
  font-size: 42px;
  font-family: 'Cinzel', serif;
  line-height: 1.2;
  max-width: 800px;
}

.hero-text p {
  margin-top: 18px;
  font-size: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #ddd;
}

/* =============================================
   BOTÃO
   ============================================= */
.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 15px 32px;
  background: linear-gradient(135deg, #bcbcbc, #707070, #d9d9d9);
  color: #fff !important;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn:hover {
  background: linear-gradient(135deg, #d9d9d9, #909090, #bcbcbc);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* =============================================
   SEÇÕES
   ============================================= */
.section {
  padding: 80px 10%;
  background: #fff;
}

.section.light {
  background: #f4f4f4;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 35px;
  font-family: 'Cinzel', serif;
  text-align: center;
  color: #111;
}

.section h3 {
  margin-top: 28px;
  font-size: 20px;
  color: #111;
  font-family: 'Cinzel', serif;
}

.section p {
  margin-top: 10px;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* =============================================
   CARDS
   ============================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 35px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.14);
  border-top-color: #000;
}

.card-link {
  text-decoration: none;
  color: #222;
  display: block;
}

.card h3 {
  margin-bottom: 10px;
  color: #111;
  font-size: 18px;
  font-family: 'Cinzel', serif;
  margin-top: 0;
}

.card p {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

/* =============================================
   HIGHLIGHT (seção escura)
   ============================================= */
.highlight {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 90px 10%;
}

.highlight h2 {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  color: #fff;
  margin-bottom: 20px;
}

.highlight p {
  color: #ccc;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.9;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-item h3 {
  cursor: pointer;
  padding: 20px 25px;
  font-size: 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: #111;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-item h3:hover {
  color: #000;
}

.faq-item h3::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #000;
  transition: transform 0.3s;
}

.faq-item.active h3::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 25px 20px;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* =============================================
   CTA — fundo branco, letras pretas, botão prata
   ============================================= */
.cta {
  background: #fff;
  color: #111;
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid #e8e8e8;
}

.cta h2 {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  margin-bottom: 15px;
  color: #111;
}

.cta p {
  font-size: 16px;
  margin-bottom: 5px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}

.cta .btn {
  background: linear-gradient(135deg, #bcbcbc, #707070, #d9d9d9);
  color: #fff !important;
  margin-top: 25px;
}

.cta .btn:hover {
  background: linear-gradient(135deg, #d9d9d9, #909090, #bcbcbc);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* =============================================
   BLOG
   ============================================= */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 20px;
}

.post-card {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: all 0.3s;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.13);
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

.post-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #111;
  text-align: left;
}

.post-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}

.post-card p {
  color: #444;
  line-height: 1.7;
  font-size: 15px;
  margin-top: 0;
}

/* POST ÚNICO */
.post-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.post-content img {
  width: 100%;
  border-radius: 10px;
  margin: 25px 0;
}

.post-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  font-size: 17px;
  color: #333;
}

.post-content h2 {
  margin-top: 35px;
  font-family: 'Cinzel', serif;
  border-left: 4px solid #000;
  padding-left: 15px;
  font-size: 24px;
  text-align: left;
}

.post-content h3 {
  margin-top: 22px;
  color: #333;
  font-size: 19px;
  margin-bottom: 8px;
}

.post-content ul {
  margin-left: 22px;
  margin-bottom: 18px;
}

.post-content li {
  margin-bottom: 8px;
  color: #444;
  line-height: 1.7;
}

/* BREADCRUMB */
.breadcrumb {
  max-width: 820px;
  margin: 25px auto 0;
  font-size: 13px;
  color: #777;
  padding: 0 20px;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.btn-voltar {
  display: inline-block;
  margin-bottom: 25px;
  padding: 9px 18px;
  background: #000;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.3s;
}

.btn-voltar:hover {
  opacity: 0.85;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #111;
  color: #fff;
  margin-top: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 35px;
  padding: 60px 10%;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 18px;
  font-family: 'Cinzel', serif;
  color: #fff;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 8px;
  color: #bbb;
  line-height: 1.7;
}

.footer-col a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #888;
}

/* =============================================
   WHATSAPP FIXO
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: #fff !important;
  box-shadow: 0 5px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

/* =============================================
   PÁGINA SOBRE (section sobre)
   ============================================= */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 30px;
}

.sobre-texto p {
  margin-bottom: 16px;
}

.sobre-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 5%;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    width: 100%;
    display: none;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .main-nav ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .logo img {
    height: 50px;
  }

  .hero {
    min-height: 70vh;
    padding: 60px 20px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .section {
    padding: 50px 5%;
  }

  .section h2 {
    font-size: 24px;
  }

  .footer-container {
    padding: 40px 5%;
  }

  .highlight {
    padding: 60px 5%;
  }

  .cta {
    padding: 60px 5%;
  }
}