:root {
    --primary-color: #0d6efd; /* Azul padrão do Bootstrap, ajustável para Azul Escuro da marca */
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --dark-blue: #0b1c3c; /* Azul escuro da identidade */
    --light-gray: #f8f9fa;
    --cta-green: #198754;
    --cta-orange: #fd7e14;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Navbar */
#mainNav {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

#mainNav .navbar-brand {
    font-weight: 700;
    color: var(--dark-blue);
}

#mainNav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-right: 1rem;
}

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

.btn-orcamento {
    font-weight: 600;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s;
}

.btn-orcamento:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    padding-top: 8rem; /* Espaço para a navbar fixa */
    padding-bottom: 5rem;
    background: linear-gradient(to right, #ffffff, #f0f8ff);
    min-height: 100vh;
}

.hero-content h1 {
    color: var(--dark-blue);
    font-weight: 700;
}

.hero-img {
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Sections General */
.page-section {
    padding: 5rem 0;
}

.section-heading {
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Services */
#servicos {
    background-image: url('../img/servico.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#servicos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

#servicos .container {
    position: relative;
    z-index: 1;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9); /* Garante leitura no card */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.icon-box {
    height: 80px;
    width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
}

/* Portfolio */
#portfolio {
    background-image: url('../img/fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Opacidade maior pois tem cards com imagens */
    z-index: 0;
}

#portfolio .container {
    position: relative;
    z-index: 1;
}

.portfolio-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

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

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

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.1);
}

/* About */
.profile-img {
    border: 5px solid white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Process */
.process-step {
    position: relative;
    z-index: 1;
}

/* Linha conectora (apenas desktop) */
@media (min-width: 768px) {
    .process-row::before {
        content: "";
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #e9ecef;
        z-index: 0;
    }
}

/* CTA */
#cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Contact */
.card-body a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.card-body a:hover {
    color: var(--primary-dark);
}

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.float-whatsapp:hover {
    background-color: #20ba5a;
    color: #FFF;
    transform: scale(1.1);
}

.float-whatsapp i {
    margin-top: 2px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
}

.btn-social {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
