/*
Theme Name: Kleinowski Advogados
Theme URI: https://kleinowskiadvogados.com.br
Author: Manus AI
Author URI: https://manus.ai
Description: Tema personalizado para o escritório Kleinowski Advogados, com design elegante e profissional.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kleinowski
*/

/* 
   Kleinowsk Advogados - Estilo CSS
   Redesenhado conforme modelo de referência
*/

/* ===== RESET E ESTILOS GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    width: 80px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 15px auto 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    background-color: #1a1a1a;
    color: #fff;
    border: 2px solid #1a1a1a;
}

.btn:hover {
    background-color: transparent;
    color: #1a1a1a;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

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

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

.menu li a:hover:after,
.menu li a.active:after {
    width: 100%;
}

.menu-mobile {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero .separator {
    background-color: #fff;
    margin: 20px auto;
}

/* ===== ÁREAS DE ATUAÇÃO ===== */
.areas-atuacao {
    background-color: #fff;
    padding: 100px 0;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.area-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.area-image {
    height: 250px;
    overflow: hidden;
}

.area-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.area-card:hover .area-image img {
    transform: scale(1.1);
}

.area-content {
    padding: 25px;
    background-color: #fff;
}

.area-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.area-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #1a1a1a;
}

/* ===== SOBRE SECTION ===== */
.sobre {
    background-color: #f9f9f9;
    padding: 100px 0;
}

.sobre-bg {
    background-color: #fff;
    padding: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sobre-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sobre-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== CONTATO ===== */
.contato {
    background-color: #fff;
    padding: 100px 0;
}

.contato-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contato-info {
    flex: 1;
    min-width: 300px;
}

.contato-item {
    margin-bottom: 30px;
}

.contato-item a {
    display: flex;
    align-items: flex-start;
    color: #333;
    font-size: 18px;
}

.contato-item a:hover {
    color: #1a1a1a;
}

.contato-item i {
    font-size: 24px;
    margin-right: 15px;
    color: #1a1a1a;
}

.contato-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a1a1a;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

.footer-links ul li a {
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-links ul li a:hover {
    color: #ccc;
}

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

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #333;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .sobre-bg {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .menu.active {
        right: 0;
    }
    
    .menu li {
        margin: 15px 0;
    }
    
    .menu-mobile {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .contato-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .sobre-bg {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
}
