/* Estilos gerais para o site Vasques Advogados */

:root {
    --primary-color: #052044;
    --secondary-color: #D12929;
    --light-color: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--light-color);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    transition: all 0.4s ease;
}

.logo img {
    height: 80px;
    transition: all 0.4s ease;
}

/* Classe para header reduzido após scroll */
header.scrolled .container {
    padding: 10px 20px;
}

header.scrolled .logo img {
    height: 50px;
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.language-selector a {
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.language-selector a.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-color);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Main content */
main {
    margin-top: 90px;
    min-height: calc(100vh - 90px - 300px); /* Altura da viewport menos header e footer */
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-contact h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.office {
    margin-bottom: 20px;
}

.office h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.office p {
    font-size: 14px;
    margin-bottom: 3px;
}

.email a {
    color: var(--light-color);
}

.email a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    transition: all 0.3s ease;
}

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

.footer-cta {
    margin-top: 25px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #031a36;
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: #b01e1e;
    color: var(--light-color);
}

/* Responsividade */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    nav.active ul li {
        margin: 10px 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo, .footer-contact, .footer-social {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .mobile-menu-toggle {
        order: 3;
    }

    .language-selector {
        order: 2;
        margin-right: 0;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 50px;
    }

    main {
        margin-top: 80px;
    }
}


/* Botão CTA no header */
.cta-button {
    margin-left: 20px;
}

.btn-consulta {
    background: linear-gradient(135deg, #D12929, #B91C1C);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(209, 41, 41, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-consulta:hover {
    background: linear-gradient(135deg, #B91C1C, #991B1B);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(209, 41, 41, 0.4);
}

.btn-consulta:active {
    transform: translateY(0);
}

/* Ajustes responsivos para o header com botão */
@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .cta-button {
        margin-left: 0;
        margin-top: 10px;
        order: 3;
        width: 100%;
        text-align: center;
    }
    
    .btn-consulta {
        padding: 10px 20px;
        font-size: 12px;
        display: inline-block;
    }
}

.success-message{
  background:#d4edda;
  border:1px solid #c3e6cb;
  color:#155724;
  padding:16px;
  border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  margin-top:12px;
}

