/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5f8d;
    --accent-color: #c9a961;
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-dark: #0f172a;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Mulish', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

p {
    font-family: 'Mulish', sans-serif;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Navegação */
.header {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header:hover {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: #b89850;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary.white {
    color: var(--white);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content .subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-content .accent {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.hero-content .subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease;
    font-weight: 700;
}

.hero-content .paragraph-large {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    max-width: 90%;
}

.hero-content ._2-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease;
    position: relative;
    z-index: 2;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--accent-color);
    opacity: 0.2;
    border-radius: 8px;
    z-index: 1;
}

/* Seções */
section {
    padding: 5rem 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Sobre */
.sobre {
    background: var(--bg-light);
}

.sobre-content {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.credenciais, .diferenciais {
    margin: 2rem 0;
}

.credenciais h3, .diferenciais h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.credenciais ul {
    list-style: none;
    padding-left: 0;
}

.credenciais li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.credenciais li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.diferenciais .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.diferenciais .card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: var(--transition);
}

.diferenciais .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Áreas de Atuação */
.home-practice-areas {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 0;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.split-content {
    flex: 1;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.accent {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.subtitle.white {
    color: var(--accent-color);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.area-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.area-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.area-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.area-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* Serviços */
.servicos {
    background: var(--bg-light);
}

.servicos-table {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.servico-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.servico-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.servico-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-card .link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* Depoimentos */
.depoimentos {
    background: var(--bg-light);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.depoimento-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    font-style: italic;
}

.depoimento-card .autor {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
}

/* Contato */
.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-form input,
.contato-form textarea {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contato-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contato-info p {
    margin-bottom: 1rem;
}

.contato-info a {
    color: var(--accent-color);
    text-decoration: none;
}

.mapa {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-cta p {
    margin-bottom: 1rem;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Responsivo */
@media (max-width: 991px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .top-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .split-content {
        width: 100%;
    }
    
    .top-content .split-content:last-child {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .btn-nav {
        width: 100%;
        text-align: center;
    }
    
    /* Hero Section */
    .hero {
        padding: 5rem 0 4rem;
        min-height: auto;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-content .paragraph-large {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-content ._2-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-content ._2-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    /* Áreas de Atuação */
    .home-practice-areas {
        padding: 4rem 0;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .area-card {
        padding: 2rem;
    }
    
    /* Sobre */
    .sobre {
        padding: 4rem 0;
    }
    
    .diferenciais .cards {
        grid-template-columns: 1fr;
    }
    
    /* Serviços */
    .servicos {
        padding: 4rem 0;
    }
    
    /* Contato */
    .contato {
        padding: 4rem 0;
    }
    
    .contato-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Títulos */
    section h2 {
        font-size: 2rem;
    }
    
    .home-practice-areas h2 {
        font-size: 2rem !important;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
    
    .area-card {
        padding: 1.5rem;
    }
    
    .area-card h3 {
        font-size: 1.25rem;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 64px;
        height: 64px;
    }
    
    .whatsapp-float svg {
        width: 36px;
        height: 36px;
    }
}
