/* -------------------------------------------------------------
   EDMILSON OLIVEIRA ADVOCACIA - CLONE 100% FIEL (FRONTEND SÊNIOR)
   Tokens e Medidas Oficiais do Prompt:
   - Azul-acinzentado: #5d7788
   - Azul-marinho: #343666
   - Azul-claro: #84b5d3
   - Topbar: #3b3f48 (41px)
   - Serviços / Rodapé escuro: #3f3f3f
   - Faixa Citação: #e4e4f2 (com solucoes-eficientes-de-conflitos.jpg)
   - Texto corpo: #333333 (16px / 24px)
   - Título de post: #54595f
   - WhatsApp flutuante: #25D366 (Canto Inferior DIREITO)
   ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --cor-azul-acinzentado: #5d7788;
  --cor-azul-marinho: #343666;
  --cor-azul-claro: #84b5d3;
  --cor-topbar: #3b3f48;
  --cor-escuro: #3f3f3f;
  --cor-citacao: #e4e4f2;
  --cor-texto: #333333;
  --cor-post-titulo: #54595f;
  --cor-branco: #ffffff;
  --cor-whatsapp: #25D366;
  --fonte-ubuntu: 'Ubuntu', sans-serif;
  --fonte-open-sans: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--fonte-open-sans);
  color: var(--cor-texto);
  background-color: var(--cor-branco);
}

body {
  font-size: 16px;
  line-height: 24px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ================= A) TOPBAR (#3b3f48, 41px) ================= */
.topbar-section {
  background-color: var(--cor-topbar);
  color: var(--cor-branco);
  height: 41px;
  display: flex;
  align-items: center;
  font-size: 13.5px;
}

.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-social a {
  color: var(--cor-branco);
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.topbar-social a:hover {
  opacity: 0.8;
}

.topbar-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.topbar-contatos {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-contato-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cor-branco);
  font-size: 13.5px;
}

.topbar-contato-item:hover {
  color: var(--cor-azul-claro);
}

.topbar-contato-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ================= B) HEADER BRANCO (~140px) ================= */
.site-header {
  background-color: var(--cor-branco);
  padding: 25px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  width: 208px;
  height: auto;
  display: block;
}

/* CÁPSULA #5d7788 (radius 20px, altura 46px) */
.menu-capsula {
  background-color: var(--cor-azul-acinzentado);
  border-radius: 20px;
  height: 46px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.menu-capsula ul {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.menu-capsula li {
  display: flex;
  align-items: center;
}

.menu-capsula li:not(:last-child)::after {
  content: '|';
  color: rgba(255, 255, 255, 0.7);
  margin: 0 10px;
  font-size: 14px;
}

.menu-capsula a {
  font-family: var(--fonte-ubuntu);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cor-branco);
  padding: 10px 6px;
  transition: color 0.2s ease;
}

.menu-capsula a:hover,
.menu-capsula a.active {
  color: var(--cor-azul-claro);
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--cor-azul-acinzentado);
  margin: 5px 0;
  border-radius: 2px;
}

/* ================= C) SLIDER 500px ================= */
.hero-slider-500 {
  position: relative;
  height: 500px;
  background: #000;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.hero-slide-1 { background-image: url('../assets/img/mais-de-10-anos-no-mercado-juridico.jpg'); }
.hero-slide-2 { background-image: url('../assets/img/area-civel-trabalhista-e-previdenciaria.jpg'); }
.hero-slide-3 { background-image: url('../assets/img/atendimento-juridico-personalizado.jpg'); }

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 876px;
  text-align: left;
}

.hero-slide-title {
  font-family: var(--fonte-ubuntu);
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  color: var(--cor-branco);
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.btn-slider-fale {
  display: inline-block;
  background-color: var(--cor-azul-acinzentado);
  color: var(--cor-branco);
  font-family: var(--fonte-open-sans);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn-slider-fale:hover {
  background-color: var(--cor-azul-claro);
  color: #000;
}

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow-btn:hover {
  background: var(--cor-azul-acinzentado);
}

.slider-arrow-prev { left: 20px; }
.slider-arrow-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--cor-branco);
}

/* ================= D) BEM-VINDO (2 COLUNAS) ================= */
.welcome-section {
  padding: 80px 0;
  background-color: var(--cor-branco);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.welcome-img img {
  width: 100%;
  max-width: 618px;
  height: auto;
  display: block;
}

.welcome-sub {
  font-family: var(--fonte-ubuntu);
  font-size: 20.8px;
  font-weight: 700;
  color: var(--cor-azul-claro);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.welcome-title {
  font-family: var(--fonte-ubuntu);
  font-size: 40px;
  font-weight: 700;
  color: var(--cor-azul-marinho);
  margin-bottom: 22px;
  line-height: 1.2;
}

.welcome-text p {
  color: var(--cor-texto);
  font-size: 16px;
  line-height: 26px;
  margin-bottom: 16px;
  text-align: justify;
}

/* ================= E) SERVIÇOS (#3f3f3f) ================= */
.services-section {
  padding: 70px 0 90px;
  background-color: #3f3f3f;
  color: #ffffff;
}

.services-top-accent {
  width: 46px;
  height: 12px;
  background-color: #84b5d3;
  margin: 0 auto 15px;
}

.services-main-title {
  font-family: var(--fonte-ubuntu);
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #5d7788;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 18px;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-title {
  font-family: var(--fonte-ubuntu);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.service-card-list-centered {
  list-style: none;
  font-size: 13.5px;
  line-height: 1.7;
  color: #ffffff;
  text-align: center;
  margin: 0;
  padding: 0;
}

.service-card-list-centered li {
  margin-bottom: 4px;
}

/* ================= F) FAIXA BIPARTIDA LILÁS + FOTO (IGUAL AO PRINT) ================= */
.split-banner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 260px;
  background-color: #e4e4f2;
}

.split-banner-left {
  background-color: #e4e4f2;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-banner-title {
  font-family: var(--fonte-ubuntu);
  font-size: 30px;
  font-weight: 700;
  color: #343666;
  line-height: 1.25;
  margin-bottom: 15px;
}

.split-banner-sub {
  font-family: var(--fonte-open-sans);
  font-size: 14.5px;
  font-weight: 400;
  color: #343666;
  line-height: 1.6;
}

.split-banner-right {
  background: url('../assets/img/b-centro-1024x529.jpg') center/cover no-repeat;
  min-height: 260px;
  width: 100%;
}

/* ================= G) BLOG (100% FIEL AO PRINT) ================= */
.blog-home-section {
  padding: 70px 0 90px;
  background-color: #ffffff;
  text-align: center;
}

.blog-topo-icon {
  width: 75px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}

.blog-main-title {
  font-family: var(--fonte-ubuntu);
  font-size: 36px;
  font-weight: 700;
  color: #343666;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.blog-sub-title {
  font-family: var(--fonte-ubuntu);
  font-size: 16px;
  font-weight: 300;
  color: #343666;
  text-transform: uppercase;
  margin-bottom: 45px;
  letter-spacing: 1px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-thumb {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 24px 20px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card-title {
  font-family: var(--fonte-ubuntu);
  font-size: 17.5px;
  font-weight: 700;
  color: #54595f;
  line-height: 1.35;
  margin-bottom: 14px;
}

.blog-card-teaser {
  font-family: var(--fonte-open-sans);
  font-size: 13.5px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 18px;
}

.blog-card-readmore {
  font-family: var(--fonte-open-sans);
  font-size: 12px;
  font-weight: 700;
  color: #54595f;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.blog-card-readmore:hover {
  color: #5d7788;
}

.blog-card-date {
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
  font-size: 12px;
  color: #999999;
}

.btn-veja-mais-artigos {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #5d7788;
  color: #ffffff;
  font-family: var(--fonte-ubuntu);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 20px;
  margin-top: 45px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background 0.25s ease;
}

.btn-veja-mais-artigos:hover {
  background-color: #343666;
  color: #ffffff;
}

.btn-veja-mais-artigos svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ================= H) RODAPÉ (4 COLUNAS + BARRA AZUL IGUAL AO PRINT) ================= */
.site-footer-main {
  background-color: #3f3f3f;
  color: #ffffff;
  padding: 55px 0 45px;
}

.footer-4-cols-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 1.3fr 1fr;
  gap: 35px;
  align-items: start;
}

.footer-col-logo img {
  max-width: 140px;
  height: auto;
  display: block;
}

.footer-col-item h4 {
  font-family: var(--fonte-ubuntu);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-list-info {
  list-style: none;
  font-size: 13.5px;
  line-height: 1.65;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.footer-list-info li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-list-info a {
  color: #ffffff;
}

.footer-list-info a:hover {
  color: #84b5d3;
}

.footer-list-info svg {
  width: 14px;
  height: 14px;
  fill: #84b5d3;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social-boxes {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  background-color: #5d7788;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social-btn:hover {
  background-color: #84b5d3;
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

/* BARRA INFERIOR DE COPYRIGHT (AZUL ESCURO #273D55) */
.footer-bottom-bar {
  background-color: #273d55;
  color: #ffffff;
  padding: 12px 0;
  text-align: center;
  font-size: 12px;
}

.footer-bottom-bar a {
  color: #ffffff;
}

.footer-bottom-bar a:hover {
  text-decoration: underline;
}

/* ================= I) WHATSAPP FLUTUANTE (DIREITO) ================= */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: var(--cor-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.35);
  z-index: 9999;
  transition: transform 0.25s ease;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1);
}

.whatsapp-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* ================= PÁGINAS INTERNAS & HERO BANNER (#273D55 IGUAL AO PRINT) ================= */
.internal-hero-banner {
  background-color: #273d55;
  color: #ffffff;
  padding: 22px 0;
}

.internal-hero-banner h1 {
  font-family: var(--fonte-ubuntu);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  margin: 0;
}

.internal-page-content {
  padding: 70px 0 90px;
}

.sobre-nos-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.sobre-nos-img img {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
}

.sobre-nos-text p {
  font-family: var(--fonte-open-sans);
  font-size: 16px;
  line-height: 26px;
  color: #555555;
  margin-bottom: 20px;
}

/* Equipe 5 Pessoas (#5D7788 IGUAL AO PRINT) */
.team-container-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.team-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.team-card-5d {
  background-color: #5d7788;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.team-card-5d:hover {
  transform: translateY(-4px);
}

.team-card-img-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 14px;
  background-color: #ffffff;
}

.team-card-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.team-card-meta {
  text-align: center;
  color: #ffffff;
}

.team-card-meta h3 {
  font-family: var(--fonte-ubuntu);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.team-card-meta .role {
  font-family: var(--fonte-open-sans);
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 2px;
}

.team-card-meta .oab {
  font-family: var(--fonte-open-sans);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.team-row-center {
  max-width: 425px;
  margin: 0 auto;
}

/* Fale Conosco */
.fale-conosco-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 45px;
}

.fale-card-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 35px;
  border-radius: 6px;
}

.fale-card-info h3 {
  font-family: var(--fonte-ubuntu);
  font-size: 22px;
  font-weight: 700;
  color: var(--cor-azul-marinho);
  margin-bottom: 20px;
}

.fale-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 35px;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cor-azul-marinho);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}

.btn-form-submit {
  background-color: var(--cor-azul-acinzentado);
  color: var(--cor-branco);
  border: none;
  font-family: var(--fonte-ubuntu);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-form-submit:hover {
  background-color: var(--cor-azul-marinho);
}

.form-msg-sucesso {
  display: none;
  background: #dcfce7;
  color: #166534;
  padding: 15px;
  border-radius: 4px;
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
}

/* ================= POST / ARTIGO SINGLE (761px IGUAL AO post-286.css) ================= */
.article-wrap {
  max-width: 761px;
  margin: 0 auto;
  color: #333333;
  font-family: var(--fonte-open-sans);
  font-size: 16px;
  line-height: 28px;
}

.article-wrap p {
  margin-bottom: 20px;
  color: #333333;
}

.article-wrap p em {
  color: #444444;
  font-style: italic;
}

.article-wrap h2 {
  font-family: var(--fonte-ubuntu);
  font-size: 22px;
  font-weight: 700;
  color: #343666;
  margin-top: 35px;
  margin-bottom: 14px;
}

.article-wrap ul {
  margin: 15px 0 25px 20px;
  line-height: 1.8;
}

.article-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 4px;
}

.article-wrap a {
  color: #5d7788;
  text-decoration: underline;
}

.article-wrap a:hover {
  color: #343666;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 992px) {
  .menu-capsula { display: none; }
  .menu-capsula.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    height: auto;
    border-radius: 8px;
    padding: 20px;
    z-index: 100;
  }
  .menu-capsula.active ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .menu-capsula.active li:not(:last-child)::after { display: none; }
  .menu-toggle-btn { display: block; }
  .welcome-grid, .fale-conosco-grid, .footer-grid-3 { grid-template-columns: 1fr; }
  .services-grid, .blog-grid, .team-grid-5 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar-section { height: auto; padding: 8px 0; }
  .topbar-flex { flex-direction: column; gap: 8px; }
  .hero-slide-title { font-size: 22px; line-height: 28px; }
}
