:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #666666;
    --light-accent: #999999;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-logo {
    max-height:160px;
    height: auto;
    width: auto;
    margin-left: -70px;
}

.footer-logo {
    max-height: 200px;
    height: auto;
    width: auto;
    filter: brightness(0.9);
}

.logo-initial {
    width: 50px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: color 0.3s ease;
    padding: 1rem 1.5rem !important;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-item.active .nav-link {
    border-bottom: 2px solid var(--primary-color);
}

.top-bar {
    background-color: var(--primary-color) !important;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-credentials {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.credential-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.hero-image-frame {
    height: 650px;
    border-radius: 10px;
    background: url('../img/barros-farias.jpg') center/cover no-repeat;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-danger:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 1.5rem;
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.card-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.card-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-list li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.section-intro .subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.escritorio-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('../img/escritorio-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

.escritorio-section .col-lg-7 {
    text-align: center;
}

.escritorio-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.escritorio-section .btn {
    min-width: 220px;
    text-align: center;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.stat-box span {
    color: white;
    font-weight: 800;
}

.stat-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 5rem;
    opacity: 0.1;
    color: white;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background-color: var(--primary-color);
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.experience-badge .number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.7rem;
    line-height: 1.2;
}

.about-list li {
    margin-bottom: 0.8rem;
}

section {
    padding: 5rem 0;
}

#sobre p, #marcia p {
    text-align: justify;
    text-justify: inter-word;
}

section h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.text-danger {
    color: var(--primary-color) !important;
}

.ratings {
    transition: transform 0.3s ease;
}

.ratings:hover {
    transform: translateY(-5px);
}

.fa-star {
    color: var(--accent-color);
}

.form-control {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 102, 102, 0.25);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    background-color: #333;
    text-decoration: none;
}

footer {
    background-color: var(--primary-color);
}

footer h4, footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

@media (max-width: 992px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        right: 0;
    }
    
    .navbar-logo {
        margin-left: -20px !important;
        max-height: 120px !important;
    }
    
    .footer-logo {
        max-height: 150px !important;
    }
    
    .about-image img {
        height: 580px !important;
    }
    
    .hero-image-frame {
        height: 550px !important;
    }
    
    .hero-section .d-flex {
        justify-content: center !important;
    }
    
    .hero-section .btn {
        margin: 0.5rem 0.5rem !important;
    }
    
    .hero-section {
        text-align: center !important;
    }
    
    .escritorio-section {
        text-align: center !important;
    }
    
    .escritorio-section .cta-buttons {
        justify-content: center !important;
        flex-direction: column;
        align-items: center;
    }
    
    .escritorio-section .btn {
        min-width: 260px !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center !important;
        padding-top: 120px;
    }
    
    .hero-section .col-lg-6 {
        text-align: center !important;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
        text-decoration: none;
    }
    
    .stat-box {
        margin-bottom: 1.5rem;
    }
    
    .experience-badge {
        bottom: 10px;
        right: 10px;
    }
    
    .navbar-logo {
        margin-left: 0 !important;
        max-height: 80px !important;
    }
    
    .about-image img {
        height: 480px !important;
    }
    
    .hero-image-frame {
        height: 400px !important;
    }
    
    .hero-section .d-flex {
        justify-content: center !important;
    }
    
    .hero-section .btn {
        margin: 0.5rem auto !important;
        display: block !important;
        width: 280px !important;
        text-align: center !important;
    }
    
    .hero-credentials {
        text-align: center !important;
    }
    
    .hero-logo {
        text-align: center !important;
    }
    
    .escritorio-section {
        text-align: center !important;
    }
    
    .escritorio-section .col-lg-7 {
        text-align: center !important;
    }
    
    .escritorio-section .cta-buttons {
        justify-content: center !important;
        text-align: center !important;
        flex-direction: column;
        align-items: center;
    }
    
    .escritorio-section .btn {
        margin: 0.5rem auto !important;
        display: block !important;
        width: 280px !important;
        text-align: center !important;
    }
    
    .escritorio-section .container {
        padding: 0 1.5rem !important;
    }
}

#contato .contact-info {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
}
#contato .contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}
#contato .contact-item {
    margin-bottom: 2rem;
}
#contato .contact-item:last-child {
    margin-bottom: 0;
}
#contato .contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
#contato .contact-item p {
    margin-bottom: 0.2rem;
    color: var(--secondary-color);
}
#contato .contact-item i {
    color: var(--primary-color);
}
#contato .contact-social {
    margin-top: 2rem;
}
#contato .contact-social h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
#contato .contact-social .btn {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1.5px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    margin-right: 0.5rem;
    transition: all 0.2s;
}
#contato .contact-social .btn:last-child {
    margin-right: 0;
}
#contato .contact-social .btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
#contato .map-container {
    margin-top: 2.5rem;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
@media (max-width: 768px) {
    #contato .contact-info {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
    
    .footer-logo {
        max-height: 120px !important;
    }
    
    footer {
        padding: 2rem 0 !important;
    }
    
    .footer-social {
        margin-top: 1rem;
    }
    
    .footer-social a {
        font-size: 1.5rem;
        margin: 0 0.5rem;
    }
    
    footer p {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        max-height: 80px !important;
    }
    
    footer {
        padding: 1.5rem 0 !important;
    }
    
    footer .container {
        padding: 0 1rem;
    }
    
    .footer-social a {
        font-size: 1.2rem;
        margin: 0 0.3rem;
    }
    
    footer p {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
    
    .escritorio-section .btn {
        width: 250px !important;
        font-size: 0.9rem !important;
    }
    
    .escritorio-section .container {
        padding: 0 1rem !important;
    }
    
    .escritorio-section .display-5 {
        font-size: 1.8rem !important;
    }
    
    .escritorio-section .lead {
        font-size: 1rem !important;
    }
}