/* Variáveis de Cores Globais */
:root {
    --primary-color: #004a8f; /* Azul primário */
    --secondary-color: #FF6C00; /* Laranja */
    --background-light: #f9f9f9; /* Fundo claro */
    --background-dark: #333; /* Fundo escuro */
    --text-color-dark: #333; /* Texto escuro */
    --text-color-light: #fff; /* Texto claro */
    --hover-color: #E66000; /* Laranja escuro para hover */
}

/* Reset e Fontes Globais */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: var(--text-color-dark);
    background-color: var(--background-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

/* Navbar */
.navbar {
    background-color: var(--background-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand span {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    color: var(--text-color-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-image: url('images/banner-morpho-automacao-contabil.png'); /* Caminho da imagem */
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: var(--text-color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-section .btn {
    background: var(--text-color-light);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-section .btn:hover {
    background: var(--secondary-color);
    color: var(--text-color-light);
}


/* Seção Sobre Nós */
#about {
    position: relative;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

#about::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url('icons/logo-morpho-automacao-contabil.png'); /* Caminho da logo */
    background-repeat: no-repeat;
    background-size: 300px; /* Ajuste o tamanho */
    opacity: 0.09; /* Transparência */
    width: 300px; /* Tamanho ajustável */
    height: 300px; /* Tamanho ajustável */
    z-index: 1;
}

#about .container {
    position: relative;
    z-index: 2; /* Garante que o conteúdo fique acima da marca d'água */
}

#about p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Seções Gerais */
.section {
    padding: 60px 20px;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section p {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Botões */
.btn-primary {
    background: var(--secondary-color);
    color: var(--text-color-light);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease;
}

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

/* Seção de Produtos */
#services {
    background-color: var(--background-light);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    padding: 20px;
}

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

.card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-text {
    font-size: 1rem;
    color: #6c757d;
}

ul.list-unstyled li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

ul.list-unstyled li i {
    color: var(--secondary-color);
}

/* Seção de Contato */
#contact {
    background-color: var(--background-light);
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

#contact p {
    color: #6c757d;
    font-size: 1.1rem;
}

form {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: bold;
    color: var(--text-color-dark);
}

form input, form textarea, form select {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form textarea:focus, form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 74, 143, 0.3);
    outline: none;
}

form button {
    background: var(--primary-color);
    color: var(--text-color-light);
    font-size: 1.25rem;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-color-light);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
}

footer h5 {
    color: var(--text-color-light);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366; /* Cor do WhatsApp */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite; /* Animação de pulsar */
}

.whatsapp-float img {
    width: 30px; /* Tamanho do ícone */
    height: 30px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
    }
}


#testimonials .card {
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#testimonials .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

#testimonials h2 {
    color: var(--primary-color);
}

#testimonials .card-text {
    font-size: 1rem;
    line-height: 1.5;
}

#custom-software {
    background-color: #f9f9f9; /* Cor clara para contrastar com o restante */
}

#custom-software h2 {
    color: var(--primary-color); /* Ajusta para a cor primária definida */
    font-weight: bold;
}

#custom-software .card {
    transition: transform 0.2s ease-in-out;
}

#custom-software .card:hover {
    transform: translateY(-10px); /* Eleva o card ao passar o mouse */
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}


section {
    scroll-margin-top: 50px; /* Ajuste este valor com a altura exata do header */
}
/* Responsividade */
@media (max-width: 768px) {
    .navbar-nav {
        justify-content: center; /* Centraliza horizontalmente */
        align-items: center;    /* Centraliza verticalmente */
        flex-direction: column; /* Alinha os itens em coluna */
    }
    .navbar-nav .nav-item {
        margin-bottom: 10px; /* Espaço entre os links */
    }
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 10px 20px;
    }
}

