/* ============================================
   CSS PRINCIPAL - Landing Page Advocacia
   ============================================ */

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen {
    
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 60px;
    width: auto;
}

.oab-badge {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.main-nav a {
    color: var(--primary-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--accent-blue);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.phone-link:hover {
    color: var(--accent-blue);
}

.cta-button {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 122, 0.2);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 5rem;
    background-color: var(--primary-dark);
    color: var(--white);
    margin-top: 80px; /* Compensa o header fixo */
    overflow: hidden;
}

.imgHero img{
    height: 100px;
    width: 100px;
}

.hero-background img{
    width: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.highlight-question {
    color: var(--white);
    position: relative;
    display: inline-block;
}

.highlight-question::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-blue);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-blue);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.primary-cta {
    background-color: white;
    color: var(--accent-blue);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.primary-cta:hover {
    background-color: var(--accent-blue);
    color: white;
}

.secondary-link {
    color: var(--light-blue);
    text-decoration: underline;
    font-weight: 500;
}

.secondary-link:hover {
    color: var(--white);
}

#final-cta-button{
    background-color: white;
    color: var(--accent-blue);
}

#final-cta-button:hover{
    background-color: var(--accent-blue);
    color: white;
}

/* Seções gerais */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards de Serviços */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--gray-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--accent-blue);
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Mapa */
.map-section {
    height: 500px;
    margin-top: 100px;
    margin-bottom: 200px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#map-section{
    margin-top: 50px;
    margin-bottom: 100px;
}

.card-icon {
    margin-bottom: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 50px;
    height: 50px;
}

.card-title {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    min-height: 3.5rem;
}

.card-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.services-cta {
    text-align: center;
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* Seção Sobre */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

#about-2{
    padding-top: 0px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-md);
}

.credentials {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.credential-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.credential-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-serif);
}

.credential-label {
    font-size: 0.9rem;
    color: var(--gray-medium);
    margin-top: 0.25rem;
}

.about-image{
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.about-image-2{
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Seção FAQ */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--gray-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(10, 26, 58, 0.03);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--gray-light);
}

/* Seção Final CTA */
.final-cta-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-dark);
    color: var(--white);
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-title {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.final-cta-text {
    margin-bottom: var(--spacing-xl);
}

.final-cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.large-cta {
    background-color: var(--accent-blue);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.large-cta:hover {
    background-color: #4A7ACA;
}

/* Footer */
.main-footer {
    background-color: #0A1629;
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo img {
    height: 55px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-serif);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.contact-item svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.footer-cta {
    margin-top: var(--spacing-md);
}

.footer-cta-button {
    width: 100%;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-style: italic;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-md);
}

.modal-overlay.active {
    display: flex;
}


.modal-container {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-light);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray-medium);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--primary-dark);
}

.modal-content {
    padding: var(--spacing-lg);
}

.modal-description {
    color: var(--gray-medium);
    margin-bottom: var(--spacing-lg);
}

/* Formulário */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

input, select, textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-submit {
    margin-top: var(--spacing-sm);
}

/* Menu móvel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 1500;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-light);
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-dark);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    flex: 1;
    padding: var(--spacing-md);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--gray-light);
}

.mobile-nav a {
    display: block;
    padding: var(--spacing-sm) 0;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 1.1rem;
}

.mobile-nav a:hover {
    color: var(--accent-blue);
}

.mobile-contact {
    padding: var(--spacing-md);
    border-top: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* Efeito de overlay nos cards para hover mais suave */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

.destaque-section {
    padding: 60px 0;
    background: var(--primary-dark);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: px 0;
    text-align: center;
}

.destaque-content {
    max-width: 800px;
    margin: 0;
    text-align: center;
}

.destaque-texto {
    font-size: 25px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: white;
    width: 500px;
    font-family: 'Playfair Display';
}

.destaque-numeros {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    font-family: 'Playfair Display';
}

.numero-item {
    text-align: center;
}

.numero {
    font-size: 48px;
    font-weight: 700;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.numero-label {
    font-size: 18px;
    color: var(--light-text);
}

.destaque-section .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 18px;
}

.containerDestaque{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgDestaque img{
    width: auto;
    height: 440px;
    margin-left: 100px;
    border-radius: 40px 0px 40px 0px;
    box-shadow: 5px 5px 15px rgb(66, 64, 64);
}

/* Responsividade */
@media (max-width: 768px) {
    .imgDestaque img{
        height: 350px;
        width: auto;
        margin: 0;
        margin-bottom: 20px;
    }

    .containerDestaque{
        flex-direction: column-reverse;
    }

    .destaque-content, .destaque-texto{
        width: 320px;
    }

    .destaque-texto {
        font-size: 18px;
    }
    
    .destaque-numeros {
        gap: 30px;
    }
    
    .numero {
        font-size: 36px;
    }
    
    .numero-label {
        font-size: 16px;
    }
}


