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

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* ===========================
   TOPO DESKTOP (inalterado)
=========================== */

.topo {
    background: #ffffff;
    padding: 0;
    text-align: center;
}

.logo-topo {
    width: 420px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* MOBILE */
@media (max-width: 768px) {

    .topo {
        padding: 10px 0; /* reduz altura do topo */
    }

    .logo-topo {
        width: 260px !important; /* tamanho ideal para tablets e celulares maiores */
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {

    .topo {
        padding: 8px 0; /* ainda mais compacto em celulares pequenos */
    }

    .logo-topo {
        width: 260px !important; /* tamanho ideal para smartphones */
        margin-top: 5px;
        margin-bottom: 5px;
    }
}





/* ===========================
   SEÇÕES
=========================== */
.secao {
    padding: 80px 20px;
    text-align: center;
}

.secao h2 {
    font-size: 32px;
    color: #d4af37;
    margin-bottom: 20px;
}

/* ===========================
   RODAPÉ
=========================== */
.rodape {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}


/* Remove padding da seção Home */
.secao.sem-padding {
    padding: 0;
}

/* ===========================
   CARROSSEL FULL WIDTH
=========================== */

.carousel {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    margin: auto;
}

.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Botões */
.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Bolinhas */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 4;
}

.dots span {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}

.dots .ativo {
    opacity: 1;
    background: #d4af37;
}


/* Sombra inferior do carrossel */
.carousel::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px; /* altura da sombra */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    z-index: 5;
}

.video-slide {
    width: 100%;
    height: 100%;
    object-fit: cover; /* vídeo preenche igual imagem */
    display: block;
}



/* ====== CONTATO ====== */

/* Barra do título */
.contato-barra {
    width: 100%;
    background: #07223F;
    padding: 14px 25px;
    border-left: 6px solid #C19C5D;
    margin-bottom: 40px;
}

.contato-barra h2 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}



/* FUNDO DA SEÇÃO */
.contato-bloco {
    width: 100%;
    background: #cccccc; /* dourado da paleta */
    padding: 70px 0;
    padding-bottom: 30px;
    }

/* CONTAINER CENTRAL */
.contato-container {
    width: 90%;
    margin: 0 auto;
}


/* GRID DAS COLUNAS (equivalente ao grid interno de Atuação) */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* COLUNA ESQUERDA */
.contato-col-esq {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* IMAGEM ESQUERDA 100% LARGURA */
.contato-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* BLOCO DOS ADVOGADOS */
.contato-advogados {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* CARD DE CADA ADVOGADO */
.adv-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.9);
    padding: 20px 14px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* FOTO PEQUENA */
.adv-foto {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

/* LINKS DOS ADVOGADOS */
.adv-card a {
    color: #07223F;
    text-decoration: none;
    font-size: 14px;
}

.adv-card a:hover {
    opacity: 0.7;
}

/* COLUNA DIREITA (FORMULÁRIO) */
.contato-col-dir {
    display: flex;
    justify-content: center;
}

/* BOX DO FORMULÁRIO */
.contato-box {
    background: #FFFFFF;
    padding: 18px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 480px;
}

.contato-box h3 {
    font-size: 24px;
    color: #07223F;
    margin-bottom: 20px;
}

/* FORMULÁRIO */
.contato-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contato-form input,
.contato-form textarea {
    padding: 12px 14px;
    border: 1px solid #CCC;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.contato-form input:focus,
.contato-form textarea:focus {
    border-color: #07223F;
    box-shadow: 0 0 0 2px rgba(7,34,63,0.25);
}

.contato-form textarea {
    height: 100px;
    resize: none;
}

/* BOTÃO */
.btn-enviar {
    background: #07223F;
    color: #FFF;
    padding: 13px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-enviar:hover {
    background: #0A2F55;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .contato-bloco {
        padding: 40px 0;
    }

    .contato-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contato-box {
        padding: 25px 20px;
    }

    .contato-box h3 {
        font-size: 20px;
    }

    .adv-card {
        padding: 8px 10px;
    }

    .adv-foto {
        width: 46px;
        height: 46px;
    }
}


/* ====== FOOTER ====== */

.footer {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: flex;
    justify-content: flex-end; /* alinha tudo à direita */
    align-items: center;
}

.footer .copy {
    font-size: 1rem;
    color: #333; /* preto suave */
}

.footer .wa-link {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

.footer .wa-logo {
    width: 55px; /* ajuste se quiser menor */
    height: auto;
    margin-left: 6px;
    opacity: 0.9;
    transition: 0.3s;
}

.footer .wa-logo:hover {
    opacity: 1;
}


#retorno-form {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}




/* WHATSAPP FLUTUANTE */

.whatsapp-float {
  position: fixed;
  bottom: 50px;
  right: 8px;
  width: 100px; /* tamanho do botão */
  height: auto;
  z-index: 1000;
  border-radius: 50%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float img {
  width: 100%; /* tamanho do ícone */
  height: 100%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}



/* ===========================
   MENU (versão elegante)
=========================== */
.menu {
    background: #07223F; /* azul da paleta */
    padding: 18px 0; /* mais leve */
    width: 100%;
    border-bottom: 3px solid #C19C5D; /* dourado elegante */
    position: sticky;
    top: 0;
    z-index: 999;
}

.menu ul {
    list-style: none;
    display: flex;
    justify-content: center; /* centraliza os itens */
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    padding: 16px 24px; /* mais fino */
    border-radius: 4px; /* mais elegante */
    position: relative;
    transition: 0.3s ease;
}



/* efeito moderno */
.menu a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #C19C5D; /* dourado */
    transition: 0.3s ease;
}

.menu a:hover::before {
    width: 100%;
}

.menu a:hover {
    color: #C19C5D; /* dourado */
    background-color: rgba(255, 255, 255, 0.08); /* azul suavizado */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu a.ativo {
    color: #C19C5D;
}
.menu a::before {
    background: #C19C5D; /* linha dourada */
}



/* ===== MENU MOBILE (NÃO AFETA DESKTOP) ===== */
@media (max-width: 768px) {

    /* Caixa do menu */
    .menu ul {
        position: fixed;
        top: 80px;
        right: 15px;
        width: auto;
        padding: 10px 0;
        background: #FFFFFF; /* fundo branco */
        border: 2px solid #07223F; /* dourado */
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        display: none;
        flex-direction: column;
        opacity: 0;
        transform: translateY(-10px);
        transition: .25s ease;
        z-index: 9999;
    }

    .menu ul.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Links */
    .menu a {
        padding: 18px 20px !important;
        font-size: 19px !important;
        line-height: 1.4;
        color: #07223F !important; /* azul escuro */
        background: transparent;
        position: relative;
    }

    .menu ul li {
        margin: 10px 0;
    }

    /* Botão mobile */
    .menu-mobile {
        position: fixed;
        top: 25px;
        right: 15px;
        z-index: 10000;
        background: #FFFFFF;
        padding: 8px;
        border-radius: 6px;
        border: 2px solid #07223F; /* dourado */
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    /* Ícone hambúrguer */
    .hamburguer div {
        width: 28px;
        height: 3px;
        background: #07223F; /* azul escuro */
        margin: 5px 0;
        transition: .3s;
    }

    /* Hover */
    .menu a:hover {
        background: rgba(193, 156, 93, 0.15); /* dourado suave */
        color: #07223F !important;
    }

    /* Remove bordas antigas */
    .menu a,
    .menu a.ativo,
    .menu li a,
    .menu li a.ativo {
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    /* Linha decorativa (desativada no mobile) */
    .menu a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 0px;
        background: transparent; /* removido */
    }
}



/* ===========================
   ÁREAS DE ATUAÇÃO
=========================== */

/* Fundo da sessão */
.atuacao-bg {
  width: 100%;
  background: #F2F2F2;
  padding: 70px 0;
  padding-bottom: 30px;
}

/* Container */
.atuacao-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Barra do título */
.atuacao-barra {
    width: 100%;
    background: #07223F;
    padding: 14px 25px;
    border-left: 6px solid #C19C5D;
    margin-bottom: 40px;
}

.atuacao-barra h2 {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* GRID */
.atuacao-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px; /* espaçamento premium */
    margin-top: 40px;
}



/* CARDS */
.atuacao-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 45px 25px;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  border-top: 6px solid #C19C5D;
  text-align: center;
}

.atuacao-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #07223F;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.atuacao-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.45;
}


/* Hover */
.atuacao-card:hover {
    background: #07223F;
    color: #FFFFFF;
    transform: translateY(-10px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}

.atuacao-card:hover h3,
.atuacao-card:hover p {
    color: #FFFFFF;
}



/* Estado inicial dos cards */
.atuacao-card {
    opacity: 0;
    transform: translateY(20px);
    /* Transição só para hover (sem delay) */
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Quando entra na tela: animação de entrada */
.atuacao-card.reveal {
    animation: fadeUp 0.6s ease forwards;
}

/* Delay progressivo só na ANIMAÇÃO (não afeta hover) */
.atuacao-card:nth-child(1).reveal { animation-delay: 0.05s; }
.atuacao-card:nth-child(2).reveal { animation-delay: 0.15s; }
.atuacao-card:nth-child(3).reveal { animation-delay: 0.25s; }
.atuacao-card:nth-child(4).reveal { animation-delay: 0.35s; }
.atuacao-card:nth-child(5).reveal { animation-delay: 0.45s; }
.atuacao-card:nth-child(6).reveal { animation-delay: 0.55s; }

/* Keyframes da entrada */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover continua instantâneo */
.atuacao-card:hover {
    background: #07223F;
    color: #FFFFFF;
    transform: translateY(-10px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25);
}

.atuacao-card:hover h3,
.atuacao-card:hover p {
    color: #FFFFFF;
}



/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #FFFFFF;
  margin: 8% auto;
  padding: 40px;
  border-radius: 12px;
  width: 80%;
  max-width: 650px;
  position: relative;
  border-top: 6px solid #C19C5D;
}

.modal-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #07223F;
  margin-bottom: 20px;
}

.modal-list li {
  font-size: 17px;
  color: #333;
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.modal-list li::before {
  content: "•";
  color: #C19C5D;
  font-size: 22px;
  position: absolute;
  left: 0;
  top: -2px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  font-weight: bold;
  color: #07223F;
  cursor: pointer;
  transition: 0.2s ease;
}

.close:hover {
  color: #C19C5D;
  transform: scale(1.2);
}

/* MOBILE */
@media (max-width: 900px) {
    .atuacao-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .atuacao-grid {
        grid-template-columns: 1fr;
    }

    .atuacao-card {
        padding: 35px 25px;
        min-height: 200px;
    }
}



/* ===========================
   EMPRESA
=========================== */

.empresa {
    padding: 90px 40px;
    background: #E5E5E5;
    text-align: center;
    padding-bottom: 30px;
}

.empresa h2 {
    font-size: 32px;
    color: #07223F;
    margin-bottom: 40px;
}

.empresa-grid {
    display: grid;
    grid-template-columns: 1fr auto 2px auto 1fr;
    align-items: center;
    column-gap: 30px;
}

/* Cada bloco dos sócios */
.socio {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* SÓCIO DA ESQUERDA → texto à esquerda, foto no centro */
.socio-esquerda {
    flex-direction: row-reverse;
    text-align: right;
}

/* SÓCIO DA DIREITA → texto à direita, foto no centro */
.socio-direita {
    flex-direction: row;
    text-align: left;
}

/* FOTOS */
.foto img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* TEXTOS */
.info {
    color: #07223F;
    font-size: 15px;
}

.info-esquerda {
    text-align: right;
}

.info-direita {
    text-align: left;
}

.info h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.info p {
    margin: 3px 0;
}

.email {
    font-weight: 600;
}

.oab {
    font-style: italic;
}

.bio {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

/* divisor vertical */
.divisor {
    width: 2px;
    height: 300px;
    background: #C19C5D;
}

/* ===========================
   MOBILE (até 768px)
=========================== */
@media (max-width: 768px) {

    .empresa {
        padding: 70px 20px 30px 20px;
    }

    .empresa-grid {
        grid-template-columns: 1fr; /* vira 1 coluna */
        row-gap: 35px;
        text-align: center;
    }

    /* Fotos menores no mobile */
    .foto img {
        width: 180px;
        height: 180px;
    }

    /* Texto centralizado no mobile */
    .info-esquerda,
    .info-direita {
        text-align: center;
    }

    /* Divisor vira linha horizontal */
    .divisor {
        width: 60%;
        height: 2px;
        margin: 0 auto;
    }
}

/* ===========================
   MOBILE PEQUENO (até 480px)
=========================== */
@media (max-width: 480px) {

    .empresa {
        padding: 60px 15px 25px 15px;
    }

    .foto img {
        width: 150px;
        height: 150px;
    }

    .empresa-grid {
        row-gap: 28px;
    }

    .divisor {
        width: 70%;
    }
}



/* container do carrossel precisa ser relative */
.carousel-container {
    position: relative;
}

/* barra sobreposta */
.barra-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 34, 63, 0.55); /* azul translúcido */
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 0;
    gap: 60px;
    z-index: 10;
}

/* cada item */
.barra-info .item {
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 40px;
    border-radius: 8px;
    transition: 0.35s ease;
}

/* título */
.barra-info .titulo {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

/* subtítulo */
.barra-info .sub {
    font-size: 13px;
    opacity: 0.85;
}

/* efeito hover — fundo branco translúcido */
.barra-info .item:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #07223F;
    transform: translateY(-3px);
}

/* separadores verticais */
.barra-info .item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    padding-right: 40px;
}

.barra-info .item:not(:first-child) {
    padding-left: 40px;
}

/* ===========================
   BARRA-INFO — MOBILE
=========================== */
@media (max-width: 768px) {

    .barra-info {
        padding: 6px 0;
        gap: 20px; /* reduz espaço entre itens */
    }

    .barra-info .item {
        padding: 12px 18px; /* menor e mais compacto */
    }

    .barra-info .titulo {
        font-size: 15px; /* menor */
    }

    .barra-info .sub {
        font-size: 11px; /* menor */
    }

    /* separadores verticais menores */
    .barra-info .item:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.25);
        padding-right: 18px;
    }

    .barra-info .item:not(:first-child) {
        padding-left: 18px;
    }
}

/* ===========================
   BARRA-INFO — MOBILE PEQUENO
=========================== */
@media (max-width: 480px) {

    .barra-info {
        gap: 12px;
        padding: 4px 0;
    }

    .barra-info .item {
        padding: 10px 14px;
    }

    .barra-info .titulo {
        font-size: 14px;
    }

    .barra-info .sub {
        font-size: 10px;
    }

    .barra-info .item:not(:last-child) {
        padding-right: 14px;
    }

    .barra-info .item:not(:first-child) {
        padding-left: 14px;
    }
}



html {
    scroll-behavior: smooth;
}

