:root {
    --primary-color: #036c;
    --secondary-color: #025a;
    --accent-color: #e45153;
    --light-color: #e9f7ff;
    --dark-color: #036c;
    --white-color: #ffffff;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Cabeçalho */
.navbar {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

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

/* Banners */
.banner-section {
    position: relative;
    margin-top: 80px;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 60, 108, 0)), rgba(0, 60, 108, 0.9));
}

.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white-color);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #d13e40;
    border-color: #d13e40;
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Seções de Serviços */
.service-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.section-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border-top: 3px solid var(--accent-color);
}

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

.service-img {
    height: 250px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 25px;
}

.service-content h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
}

/* Seção Sobre Nós */
.about-section {
    background-color: #003366f5;
    color: var(--white-color);
    padding: 100px 0;
}

.about-section h2 {
    color: var(--white-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-section p {
    color: rgba(255, 255, 255, 0.9);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

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

/* Seção de Projetos */
.projects-section {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.project-img {
    height: 250px;
    overflow: hidden;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 60, 108, 0.9), rgba(0, 60, 108, 0));
    color: var(--white-color);
    transition: all 0.3s ease;
}

.project-overlay h4 {
    color: #f8f9fa;
}

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

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(0, 60, 108, 1), rgba(0, 60, 108, 0.7));
}

/* Formulário de Contato */
.contact-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    color: var(--white-color);
}

.contact-section .section-title h2 {
    color: var(--white-color);
}

.contact-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.contact-list i {
    color: var(--accent-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--accent-color);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-control {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

/* Rodapé */
.footer {
    background-color: #003366f5;
    color: var(--white-color);
    padding: 60px 0 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.footer-logo {
    background-color: white;
    padding: 10px;
    border-radius: 4px;

    display: flex;              /* Ativa Flexbox */
    justify-content: center;    /* Centraliza horizontalmente */
    align-items: center;        /* Centraliza verticalmente */
    height: 100px;              /* Define altura fixa para facilitar centralização vertical */
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--accent-color);
}

.footer-links h4 {
    color: var(--white-color);
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    padding-left: 0;
    list-style: none;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

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

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    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: var(--accent-color);
    transform: translateY(-5px);
}

 .instagram-float {
    position: fixed;
    bottom: 30px; /* Mesma altura do botão do WhatsApp */
    left: 30px;   /* Posicionado no lado esquerdo da tela */
    width: 52px;
    height: 52px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}



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

/* Responsividade */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .carousel-caption h1 {
        font-size: 2.8rem;
    }
    
    .service-section, .contact-section, .about-section, .projects-section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .navbar {
        padding: 10px 0;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .service-section, .contact-section, .about-section, .projects-section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

@media (max-width: 575px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-accent {
        padding: 10px 20px;
    }
    
    .service-section, .contact-section, .about-section, .projects-section {
        padding: 50px 0;
    }
}

/* Animações */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-up.show {
    opacity: 1;
    transform: translateY(0);
}
