/* ========================================
   VARIÁVEIS E RESET
======================================== */

:root {
    --primary-color: #006d77;
    --secondary-color: #8a9a5b;
    --dark-gray: #343a40;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===========================
   DROPDOWN SERVIÇOS – FIX FINAL
=========================== */

.nav-dropdown {
    position: relative;
}

/* Ícone */
.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
}

/* MENU FECHADO POR PADRÃO */
.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: #ffffff;
    min-width: 260px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 0.5rem 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}

/* ABRE SOMENTE NO DESKTOP COM HOVER */
@media (min-width: 993px) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Links */
.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 109, 119, 0.08);
    color: var(--primary-color);
}

.dropdown-menu i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* ===========================
   MOBILE – NÃO ABRE AUTOMÁTICO
=========================== */

@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        padding-left: 1rem;
    }

    /* Só aparece quando o menu mobile estiver aberto */
    .nav.active .nav-dropdown .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}
@media (max-width: 992px) {

    /* Espaço maior entre o menu e os botões WhatsApp */
    .nav-whatsapp {
        margin-top: 2.5rem;   /* afasta do link "Contato" */
        padding-top: 1.5rem;  /* cria respiro interno */
        border-top: 1px solid #e9ecef; /* separador visual elegante */
        width: 100%;
        justify-content: center;
    }

    /* Cards ocupam largura total no mobile */
    .wa-card {
        width: 100%;
        justify-content: center;
    }
}


/* ========================================
   HEADER - AJUSTADO PARA INCLUIR ARTIGOS
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1.5rem; /* Reduzido de 1.5rem  */
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.logo-text h1 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.logo-text span {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 1rem; /* cola o menu no logo */
}
.nav-list {
    display: flex;
    list-style: none;
    gap: 1.1rem; /* menu mais compacto */
    margin-left: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem; /* Levemente reduzido */
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* =====================================
   WHATSAPP NAV – MODERNO E COMPACTO
===================================== */

.nav-whatsapp {
    display: flex;
    gap: 0.6rem;
    margin-left: auto; /* joga totalmente para a direita */
}

/* Card */
.wa-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--secondary-color)
    );
    color: #fff;
    text-decoration: none;
    box-shadow:
        0 6px 14px rgba(0,0,0,0.25),
        inset 0 1px 2px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

/* Ícone */
.wa-card i {
    font-size: 1.25rem;
}

/* Texto */
.wa-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.wa-text strong {
    font-size: 0.75rem;
    font-weight: 600;
}

.wa-text span {
    font-size: 0.65rem;
    opacity: 0.9;
}

/* Hover 3D */
.wa-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 22px rgba(0,0,0,0.35),
        inset 0 1px 2px rgba(255,255,255,0.35);
}


/* ========================================
   BOTÕES DE CONTATO - OTIMIZADOS
======================================== */

.contact-buttons {
    display: flex;
    gap: 0.75rem; /* Reduzido de 1rem para 0.75rem */
    align-items: center;
    margin-left: 1rem; /* Reduzido de 1.5rem para 1rem */
}

.btn-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem; /* Padding mais compacto */
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.75rem;
    min-width: 110px; /* Largura mínima reduzida */
}

.btn-contact:hover {
    background: linear-gradient(135deg, #1ebe5d, #0e6b5e);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-contact i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.btn-contact .contact-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-contact .contact-phone {
    font-size: 0.7rem;
    opacity: 0.95;
    font-weight: 400;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   RESPONSIVE - HEADER
======================================== */

@media (max-width: 1200px) {
    .nav-list {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        gap: 0.5rem;
        margin-left: 0.75rem;
    }
    
    .btn-contact {
        min-width: 100px;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
        box-shadow: var(--shadow-md);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
        margin-left: 0;
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .btn-contact {
        width: 100%;
        min-width: unset;
        padding: 1rem;
        justify-content: center;
    }
    
    .btn-contact i {
        font-size: 1.5rem;
    }
    
    .btn-contact .contact-name {
        font-size: 0.9rem;
    }
    
    .btn-contact .contact-phone {
        font-size: 0.85rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}
/* ========================================
   CORREÇÃO: BOTÕES DE CONTATO SEPARADOS
======================================== */

.contact-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.85rem;
}

.btn-contact:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-contact i {
    font-size: 1.2rem;
}

.btn-contact .contact-name {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.btn-contact .contact-phone {
    font-size: 0.9rem;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION - CORREÇÃO: IMAGEM DA JUSTIÇA
======================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('imagem/backgroud_inicial-removebg-preview.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 109, 119, 0.9), rgba(52, 58, 64, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons .btn i {
    font-size: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2.5rem;
    color: var(--white);
}

/* ========================================
   SERVIÇOS
======================================== */

.servicos {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.servico-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.servico-card:hover .servico-icon {
    transform: scale(1.1) rotate(5deg);
}

.servico-icon i {
    font-size: 2.25rem;
    color: var(--white);
}

.servico-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.servico-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.servico-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.servico-link:hover {
    gap: 1rem;
}

.servico-link i {
    font-size: 0.9rem;
}

/* ========================================
   CONTE SEU CASO
======================================== */

.conte-caso {
    padding: 5rem 0;
    background: var(--white);
}

.conte-caso-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.conte-caso-info h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.conte-caso-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem;
}

.btn-block i {
    font-size: 1.2rem;
}

.btn-contato {
    background: #25D366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-contato:hover {
    background: #1ebe5d;
    color: #fff;
}

/* ========================================
   SOBRE (INDEX - PRÉVIA)
======================================== */

.sobre-preview {
    padding: 5rem 0;
    background: var(--white);
}

.equipe-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.advogado-preview {
    text-align: center;
}

.advogado-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

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

.advogado-preview h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.advogado-preview .cargo {
    color: var(--text-light);
    font-size: 1rem;
}

/* ========================================
   PÁGINA SOBRE - HERO
======================================== */

.hero-sobre {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-color) 100%);
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920');
    background-size: cover;
    background-position: center;
    margin-top: 80px;
}

/* ========================================
   ESCRITÓRIO INFO
======================================== */

.escritorio-info {
    padding: 5rem 0;
    background: var(--light-gray);
}

.escritorio-text {
    max-width: 900px;
    margin: 0 auto;
}

.escritorio-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.valor-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.valor-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.valor-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.valor-item h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.valor-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ========================================
   SÓCIOS
======================================== */

.socios {
    padding: 5rem 0;
    background: var(--white);
}

.socio-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.socio-image {
    position: relative;
    text-align: center;
}

.socio-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.socio-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.socio-badge i {
    font-size: 1.5rem;
}

.socio-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.socio-info .cargo {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
}

.socio-bio {
    margin-bottom: 2rem;
}

.socio-bio p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.socio-especialidades {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.socio-especialidades h4 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.socio-especialidades h4 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.socio-especialidades ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.socio-especialidades li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.socio-especialidades li i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.socio-contato {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.socio-contato .btn i {
    font-size: 1.1rem;
}

.divisor {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 4rem 0;
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-gray));
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
}

.btn-large i {
    font-size: 1.4rem;
}

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

.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}

/* CORREÇÃO APLICADA: Logo h3 visível no footer */
.footer-col .logo-text h3 {
    color: var(--white);
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* CORREÇÃO APLICADA: Ícone do endereço alinhado no topo */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* CORREÇÃO APLICADA: Texto do endereço justificado */
.contact-info li span {
    text-align: justify;
    line-height: 1.6;
}

/* CORREÇÃO APLICADA: Ícone fixo e alinhado */
.contact-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ========================================
   RECAPTCHA INFO
======================================== */

.recaptcha-info {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.recaptcha-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recaptcha-info p i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.recaptcha-info small {
    color: var(--text-light);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.recaptcha-info small a {
    color: var(--primary-color);
    text-decoration: none;
}

.recaptcha-info small a:hover {
    text-decoration: underline;
}

/* ========================================
   BOTÕES WHATSAPP APÓS ENVIO
======================================== */

@media (max-width: 768px) {
  .btn-whatsapp {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 999;
    border-radius: 14px;
  }
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #25D366;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

.btn-whatsapp span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-whatsapp strong {
    font-size: 1rem;
}

.btn-whatsapp small {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1024px) {
    .contact-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .contact-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-contact {
        width: 100%;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .conte-caso-content,
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .sobre-features {
        grid-template-columns: 1fr;
    }
    
    /* Página Sobre - Mobile */
    .socio-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .socio-image img {
        max-width: 300px;
    }
    
    .socio-especialidades ul {
        grid-template-columns: 1fr;
    }
    
    .socio-contato {
        flex-direction: column;
    }
    
    .socio-contato .btn {
        width: 100%;
        justify-content: center;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .equipe-preview {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CARROSSEL HERO
======================================== */

.hero-carousel-container {
    position: relative;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.carousel-item.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-carousel .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    border-color: var(--white);
    transform: scale(1.1);
}

/* Controles de Navegação */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 1rem;
}

.carousel-control {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: scale(1.1);
}

.carousel-control i {
    font-size: 1.2rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero-carousel-container {
        min-height: 100px;
    }
    
    .carousel-controls {
        display: none; /* Esconde controles em mobile para não atrapalhar */
    }
    
    .carousel-indicators {
        margin-top: 1rem;
    }
    
    .hero-carousel .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-carousel-container {
        min-height: 120px;
    }
    
    .hero-carousel .hero-subtitle {
        font-size: 1rem;
    }
}
/* ========================================
   MENU MOBILE - CORREÇÃO DEFINITIVA
======================================== */

@media (max-width: 768px) {

  html, body {
    overflow-x: hidden;
  }

  .header {
    overflow-x: hidden;
  }

  .nav {
    position: fixed;
    top: 80px; /* ajuste se seu header for maior/menor */
    left: 0;
    right: auto;

    width: 100vw;
    height: calc(100vh - 80px);

    margin-left: 0 !important;
    padding: 1.5rem;

    background: #ffffff;
    z-index: 999;

    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.active {
    transform: translateX(0);
  }
}
