﻿html {
    scroll-behavior: smooth;
}


/* APP carregamento tela inicial */


body {
    /*    font-family: 'Roboto', sans-serif;
*/
    font-family: 'Mulish', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mulish', sans-serif;
}

:root {
    --primary-color: #001f3f;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background-color: #00509e;
    color: white;
    padding: 10px 0;
    font-size: 0.9em;
}

    .top-bar .container {
        display: flex;
        justify-content: flex-end;
    }

    .top-bar .contact-info span {
        margin-left: 20px;
    }

    .top-bar .contact-info i {
        margin-right: 8px;
    }

/* Main Header */
.main-header {
/*    display: flex;
    justify-content: space-between;
    align-items: center;*/
    text-align:center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

    .main-header .logo img {
        width: 200px;
    }

    .main-header .cta .btn-primary {
        background-color: #ffcc00;
        color: #00264d;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s, color 0.3s;
    }

        .main-header .cta .btn-primary:hover {
            background-color: #00509e;
            color: white;
        }

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.navbar-header {
    display: none; /* Escondido por padrão */
}

.navbar-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
}

    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        margin: 4px 0;
        background-color: #333;
    }

/* Navbar Menu Styles */
.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

    .navbar-menu.collapsed {
        display: none;
    }

    .navbar-menu li {
        margin: 0 15px;
    }

        .navbar-menu li a {
            color: #00264d;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            transition: background-color 0.3s, color 0.3s;
            border-radius: 5px;
        }

            .navbar-menu li a:hover {
                background-color: #00509e;
                color: white;
            }

        .navbar-menu li .btn-secondary {
            background-color: #ffcc00;
            color: #00264d;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s, color 0.3s;
        }

            .navbar-menu li .btn-secondary:hover {
                background-color: #00264d;
                color: white;
            }

/* Background and Section Styles */
.home {
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    z-index: 1;
}

    .home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        z-index: -1;
    }

    .home h1 {
        font-size: 3em;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .home p {
        font-size: 1.5em;
        margin-bottom: 40px;
    }

    .home .btn {
        animation: pulse 1.5s infinite;
        background-color: #25d366;
        color: white;
        padding: 15px 30px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
        transition: background-color 0.3s, color 0.3s;
    }

        .home .btn:hover {
            background-color: #00509e;
            color: white;
        }

        /* EFEITO DE PULSAR BOTAO HOME */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}



    #contact {
        background-color:var(--primary-color);
    }
    .services, .contact {
    padding: 60px 0;
    background-color: #ffffff;
    margin-top: -50px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

    .services h2, .contact h2 {
        font-size: 2.5em;
        margin-bottom: 20px;
        color: #00264d;
        text-align: center;
    }
/* SERVICE */
#texto-service
{
    color:var(--primary-color);
}
/* Estilização para o container dos serviços */
.service-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Layout para telas grandes */
.service-item {
    flex: 1 1 calc(33.333% - 20px); /* Mantém 3 colunas em telas grandes */
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Layout para telas menores */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%; /* Em telas pequenas, 1 card por linha */
    }
}

/* Estilizações para o conteúdo */
.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #00509e;
}

.service-item p {
    font-size: 1em;
    color: #666;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.contact {
    background-color: #00264d;
    color: white;
}

    .contact h2 {
        color: #ffcc00;
    }

    .contact p {
        text-align: center;
        font-size: 1.2em;
        margin-bottom: 40px;
    }

    .contact form {
        max-width: 600px;
        margin: 0 auto;
    }
/* Overlay para o spinner */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10; /* Fica sobre o formulário */
}

.spinner-border {
    width: 4rem;
    height: 4rem;
    color: red; /* Cor do spinner */
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

    .form-control:focus {
        outline: none;
        border-color: #ffcc00;
    }

.btn {
    background-color: #ffcc00;
    color: #00264d;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

    .btn:hover {
        background-color: #00509e;
        color: white;
    }

.footer {
    background-color: #2B3A4B;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Section Spacing */
.section {
    padding: 60px 0;
}

#Services {
    margin-bottom: 40px;
}

#Perguntas {
    margin-top: 40px;
    margin-bottom: 40px;
}

#Contact {
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-header {
        justify-content: center;
    }

        .main-header .cta {
            display: none;
        }

    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-toggle {
        display: block;
        border: none;
        background: none;
        cursor: pointer;
        padding: 10px;
    }

        .navbar-toggle .icon-bar {
            display: block;
            width: 22px;
            height: 2px;
            margin: 4px 0;
            background-color: #333;
        }

    .navbar-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
        text-align: center;
        background-color: white;
        padding: 10px 0;
/*        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    }

        .navbar-menu.collapsed {
            display: none;
        }

        .navbar-menu li {
            margin: 10px 0;
        }

    .whatsapp-button-wrapper {
        display: none !important; /* Esconde o botão de WhatsApp em resoluções menores */
    }
    .home h1
    {
        font-size:30px;
    }
}

@media (min-width: 769px) {
    .navbar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        /*width: calc(100% - 160px);*/ /* Reserve espaço para o botão do WhatsApp */
    }

    .navbar-brand {
        margin-left: 0;
    }

    .navbar-toggle {
        display: none; /* Esconde o botão de toggle em resoluções maiores */
    }

    .whatsapp-button-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
/*        width: 160px;
*/        padding-right: 15px;
    }

    .whatsapp-button {
        background-color: #25d366;
        color: white;
        padding: 10px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s, color 0.3s;
    }

    .whatsapp-button-icon {
        margin-right: 8px;
        font-size: 1.25rem;
    }

    .whatsapp-button:hover {
        background-color: #128c7e;
        color: white;
    }
}


@media (min-width: 425px) {

    #home-horario{
        font-size:20px;
    }
}



