/*
Theme Name: Leandro Barros Advocacia
Theme URI: https://leandrobarrosadvogados.com.br
Author: Leandro Barros & Advogados
Author URI: https://leandrobarrosadvogados.com.br
Description: Tema profissional e moderno para escritório de advocacia. Totalmente editável via painel WordPress com suporte a Customizer, menus personalizados, logo, cores e textos.
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: leandrobarros
Tags: advocacia, profissional, customizer, responsivo
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-dourado: #D4AF37;
    --cor-dourado-escuro: #B8941F;
    --cor-cinza-escuro: #2C2C2C;
    --cor-cinza-medio: #4A4A4A;
    --cor-cinza-claro: #6B6B6B;
    --cor-branco: #FFFFFF;
    --cor-branco-suave: #F8F8F8;
    --cor-texto: #333333;
    --cor-texto-claro: #666666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--cor-texto);
    line-height: 1.6;
    background-color: var(--cor-branco);
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: #222834;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    max-height: 80px;
    width: auto;
}

.site-title {
    color: var(--cor-dourado);
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
}

/* Menu de Navegação */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--cor-branco);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--cor-dourado);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-dourado);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--cor-cinza-escuro) 0%, var(--cor-cinza-medio) 100%);
    color: var(--cor-branco);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23D4AF37" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23D4AF37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--cor-branco);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-subtitle {
    font-size: 24px;
    color: var(--cor-dourado);
    margin-bottom: 30px;
}

.hero-section .hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--cor-branco-suave);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--cor-dourado);
    color: var(--cor-cinza-escuro);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--cor-dourado);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cor-dourado);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Seções */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--cor-cinza-escuro);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cor-dourado), transparent);
}

.section-subtitle {
    text-align: center;
    color: var(--cor-texto-claro);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sobre Nós */
.about-section {
    background-color: var(--cor-branco-suave);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--cor-texto);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Serviços */
.services-section {
    background-color: var(--cor-branco);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--cor-branco);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--cor-dourado);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--cor-cinza-escuro);
    font-size: 24px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--cor-dourado);
    padding-bottom: 10px;
}

.service-card p {
    color: var(--cor-texto-claro);
    line-height: 1.8;
}

/* Logomarca */
.logomarca-section {
    padding: 0;
    background-color: var(--cor-branco);
}

.logomarca-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.logomarca-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Equipe */
.team-section {
    background-color: var(--cor-branco-suave);
}

.team-carousel-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.team-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding: 6px 4px 16px;
}

.team-carousel:focus {
    outline: none;
}

.team-card {
    display: flex;
    flex-direction: column;
    background-color: var(--cor-branco);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: calc((100% - 32px) / 3);
    scroll-snap-align: start;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.team-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #f2f2f2;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f7f7, #ececec);
}

.team-card-content {
    padding: 12px 14px 14px;
    text-align: center;
}

.team-card-name {
    font-size: 18px;
    color: var(--cor-cinza-escuro);
    margin-bottom: 4px;
}

.team-card-role {
    color: var(--cor-dourado);
    font-weight: 600;
    font-size: 13px;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cor-branco);
    border: 1px solid #e6e6e6;
    color: var(--cor-cinza-escuro);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.carousel-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 640px) {
    .team-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    display: flex;
    flex-direction: column;
    background-color: var(--cor-branco);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.team-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f2f2f2;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f7f7f7, #ececec);
}

.team-card-content {
    padding: 18px;
    text-align: center;
}

.team-card-name {
    font-size: 20px;
    color: var(--cor-cinza-escuro);
    margin-bottom: 6px;
}

.team-card-role {
    color: var(--cor-dourado);
    font-weight: 600;
    font-size: 14px;
}

.team-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-member {
    background-color: var(--cor-branco);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.team-member h3 {
    color: var(--cor-cinza-escuro);
    font-size: 28px;
    margin-bottom: 10px;
}

.team-member .oab {
    color: var(--cor-dourado);
    font-weight: bold;
    margin-bottom: 20px;
}

.team-member p {
    color: var(--cor-texto-claro);
    line-height: 1.8;
}

/* Contato novo layout */
.contact-flex {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.contact-heading {
    color: var(--cor-dourado);
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-info .contact-line {
    margin-bottom: 8px;
    color: var(--cor-branco);
    font-size: 16px;
}

.contact-info a {
    color: var(--cor-branco);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--cor-dourado);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #0b2e1a;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 14px 22px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    opacity: 0.95;
}

.btn-whatsapp-icon {
    font-size: 18px;
}

/* Contato */
.contact-section {
    background: linear-gradient(135deg, var(--cor-cinza-escuro) 0%, var(--cor-cinza-medio) 100%);
    color: var(--cor-branco);
}

.contact-section .section-title {
    color: var(--cor-branco);
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, transparent, var(--cor-dourado), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-item h4 {
    color: var(--cor-dourado);
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-item p,
.contact-item a {
    color: var(--cor-branco);
    text-decoration: none;
    font-size: 16px;
}

.contact-item a:hover {
    color: var(--cor-dourado);
}

/* Footer */
.site-footer {
    background-color: var(--cor-cinza-escuro);
    color: var(--cor-branco);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: var(--cor-dourado);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-widget p,
.footer-widget a {
    color: var(--cor-branco-suave);
    text-decoration: none;
    line-height: 1.8;
}

.footer-widget a:hover {
    color: var(--cor-dourado);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cor-branco-suave);
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section .hero-subtitle {
        font-size: 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

