/* ------------------------- */
/* 1. Variáveis e Estilos Globais */
/* ------------------------- */
:root {
    --azul-principal: #2A4D8F;
    --cinza-claro: #F7F8FA;
    --grafite: #333333;
    --grafite-escuro: #222222;
    --ouro: #C69C6D;
    --branco: #FFFFFF;
    --font-titulo: 'Montserrat', sans-serif;
    --font-texto: 'Lato', sans-serif;
}

/* Smooth scroll para links de âncora */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px; /* Offset para o header fixo */
}

body {
    font-family: var(--font-texto);
    background-color: var(--branco);
    color: var(--grafite);
    padding-top: 82px; /* Espaço para o header fixo */
}

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

.section-title {
    color: var(--azul-principal);
    font-weight: 700;
}

/* ------------------------- */
/* 2. Header (Navbar)        */
/* ------------------------- */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.nav-link {
    font-weight: 700;
    color: var(--grafite) !important;
    position: relative;
    padding-bottom: 5px;
    margin: 0 10px;
}

.nav-link:hover, .nav-link.active {
    color: var(--azul-principal) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--ouro);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.cta-button {
    background-color: var(--ouro);
    border-color: var(--ouro);
    color: var(--branco);
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #b3895a;
    border-color: #b3895a;
    color: var(--branco);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ------------------------- */
/* 3. Hero Section           */
/* ------------------------- */
.hero {
    position: relative;
    color: var(--branco);
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax Sutil */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

/* ------------------------- */
/* 4. Seção de Soluções      */
/* ------------------------- */
.solutions {
    background-color: var(--cinza-claro);
    padding-top: 5rem;    /* Adicionado para mais espaço */
    padding-bottom: 5rem; /* Adicionado para mais espaço */
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    color: var(--ouro);
}

.card-img-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.card h3 {
    color: var(--azul-principal);
}

.card p {
    color: #555;
}

/* ------------------------- */
/* 5. Seção Nossa História   */
/* ------------------------- */
#historia p {
    line-height: 1.7;
}

/* ------------------------- */
/* 6. Seção de Contato       */
/* ------------------------- */
.contact-info i {
    color: var(--ouro);
    width: 24px;
    height: 24px;
}

.contact-info a {
    text-decoration: none;
    color: var(--grafite);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--azul-principal);
}

#contactForm .form-control {
    border-radius: 8px;
    padding: 12px;
}

#contactForm .form-control:focus {
    border-color: var(--ouro);
    box-shadow: 0 0 0 0.25rem rgba(198, 156, 109, 0.25);
}

/* ------------------------- */
/* 7. Footer                 */
/* ------------------------- */
.footer {
    background-color: var(--grafite-escuro);
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    height: auto;
    max-width: 180px;
}

.footer-title {
    color: var(--branco);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.copyright-text {
    font-size: 0.9rem;
}

/* ------------------------- */
/* 8. Animações e Utilitários */
/* ------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-logo-wrapper {
    background-color: #ffffff;
    padding: 6px; /* menos espaço interno */
    display: inline-block;
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1); /* sombra leve opcional */
    max-width: 120px; /* controla o tamanho total do bloco */
}

.footer-logo {
    width: 100%; /* ocupa todo o espaço do wrapper */
    height: auto;
    display: block;
}

