/* Estilos Gerais */
:root {
    --primary-color: #a78743;
    --dark-blue: #0a1a2a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-padding: 80px 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-bottom: 60px; /* Espaço para a barra fixa */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 0;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-saiba-mais {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 0;
}

.btn-saiba-mais:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Barra de Retorno para Projetos */
.return-to-projects-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(45deg, #17a2b8, #0056b3);
    text-align: center;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.15);
}

.return-to-projects-btn {
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 8px 30px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    max-width: 100%;
}

.return-to-projects-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.land-logo-btn {
    height: 50px;
    margin-left: 20px;
    margin-right: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.return-text {
    position: relative;
    display: inline-block;
    font-size: 1.05rem;
}

.return-to-projects-btn i {
    transition: transform 0.3s ease;
    margin-right: 8px;
    font-size: 16px;
}

.return-to-projects-btn:hover i {
    transform: translateX(-5px);
}

/* Botão Voltar para Projetos (versão antiga - mantido para referência) */
.btn-voltar {
    position: relative;
    z-index: 100;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    margin-top: 15px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-voltar:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Navbar */
#main-navbar {
    background-color: rgba(10, 26, 42, 0.8);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#main-navbar.scrolled {
    background-color: var(--dark-blue);
    padding: 10px 0;
}

.navbar-brand .logo {
    height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0 15px;
    font-size: 0.9rem;
}

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

.btn-contato {
    margin-left: 15px;
    font-size: 0.8rem;
    padding: 8px 15px;
}

/* Hero Section */
#hero {
    background: url('imgs/slide-1.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    position: relative;
    color: var(--text-light);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 26, 42, 0.7);
}

.hero-content {
    position: relative;
    padding-top: 150px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.novo-badge {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Áreas de Atuação */
#areas-atuacao {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.area-card {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 40px 20px;
    border-radius: 5px;
    height: 100%;
    transition: all 0.3s ease;
}

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

.area-icon {
    margin-bottom: 20px;
}

.area-icon img {
    height: 60px;
    width: auto;
}

.area-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.area-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Sobre */
#sobre {
    padding: var(--section-padding);
    background-color: var(--dark-blue);
    color: var(--text-light);
}

.sobre-img img {
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sobre-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.sobre-texto {
    margin-bottom: 20px;
    line-height: 1.6;
}

.oab-badge {
    display: inline-block;
    background-color: rgba(167, 135, 67, 0.2);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

/* Diferenciais */
#diferenciais {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.diferencial-card {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 30px 20px;
    border-radius: 5px;
    height: 100%;
    transition: all 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    margin-bottom: 20px;
}

.diferencial-icon img {
    height: 50px;
    width: auto;
}

.diferencial-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.diferencial-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contato */
#contato {
    padding: var(--section-padding);
    background-color: #fff;
}

.contato-desc {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
}

.contato-form .form-control,
.contato-form .form-select {
    padding: 12px 15px;
    border-radius: 0;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

.contato-form .form-control:focus,
.contato-form .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contato-info {
    background-color: var(--dark-blue);
    color: var(--text-light);
    padding: 30px;
    border-radius: 5px;
    height: 100%;
}

.contato-info h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contato-info ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.contato-info ul li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(167, 135, 67, 0.2);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer .input-group {
    margin-top: 15px;
}

.footer .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 0;
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer .input-group .btn {
    border-radius: 0;
    padding: 10px 20px;
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .contato-info {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding-top: 100px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn-contato {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .footer .col-md-4:not(:first-child) {
        margin-top: 30px;
    }
    
    .return-to-projects-bar {
        padding: 12px 0;
    }
    
    .return-to-projects-btn {
        padding: 10px 15px;
        width: 100%;
        max-width: 350px;
        font-size: 0.95rem;
    }
    
    .land-logo-btn {
        height: 45px;
        margin-left: 15px;
        margin-right: 0;
    }
    
    .return-text {
        font-size: 0.95rem;
    }
}
