/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F0F4F8;
    color: #333;
    line-height: 1.6;
}

/* Cabeçalho */
header {
    background-color: transparent; /* Antes era azul escuro */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 15px 0;
    color: #FFF;
    text-align: center;
}

section.container {
    border-radius: 18px;
    background: white;
    padding: 60px 30px;
    margin-top: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}


header h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

/* Navbar */
.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004080;
    border-radius: 5px;
}

.navbar-container h1 {
    font-size: 1.8rem;
    color: white;
}

.navbar {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    background-color: transparent;
    border-radius: 8px;
    transition: all 0.3s;
}

.navbar li a:hover {
    background-color: #FFF;
    color: #004080;
}

/* Banner */
#banner {
    height: 65vh; /* Ajustável conforme seu gosto */
    background: url('img/apresentacao.png') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    position: relative;
    overflow: hidden;
    z-index: 1; /* abaixo do header */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Escurece a imagem de fundo */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.banner-content a {
    text-decoration: none;
    background-color: #00A0E4;
    color: #FFF;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s;
}

.banner-content a:hover {
    background-color: #004080;
}


/* Seção Serviços */
#servicos {
    background-color: #F8FAFB;
    padding: 50px 0;
    text-align: center;
}

#servicos h2 {
    font-size: 2.2rem;
    color: #004080;
    margin-bottom: 40px;
}

/* Card com estrutura moderna, visual limpo e forte presença visual */
.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

/* Imagem no topo: retangular e destacada */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    background-color: #e9f0f5;
    transition: transform 0.4s ease;
}

.card:hover img {
    transform: scale(1.03);
}

/* Corpo do card com padding generoso e alinhamento */
.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Título elegante */
.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #002b5b;
    margin-bottom: 14px;
    text-align: center;
    text-transform: capitalize;
}

/* Descrição com ótima leitura */
.card-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    flex-grow: 1;
    text-align: justify;
}

/* Botão moderno e responsivo */
.card .btn {
    margin-top: 25px;
    align-self: center;
    padding: 10px 26px;
    font-size: 0.95rem;
    border-radius: 40px;
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #004080, #007bff);
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.2);
    transition: all 0.3s ease;
    display: none;
}

.card .btn:hover {
    background: linear-gradient(135deg, #003366, #0062cc);
    box-shadow: 0 6px 18px rgba(0, 64, 128, 0.3);
    transform: scale(1.05);
}

.h2 {
    font-weight: 700;
    color: #002b5b;
}

.ul {
    padding-left: 1.2rem;
}

.li {
    margin-bottom: 8px;
}

.rounded-4 {
    border-radius: 20px !important;
}

.img-fluid.shadow {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* Seção Orçamento */
#orcamento {
    background-color: #0077CC;
    padding: 60px 30px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

#orcamento h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

#orcamento p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #FFF;
}

#orcamento a {
    background-color: #00A0E4;
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

#orcamento a:hover {
    background-color: #004080;
}

/* Seção Sobre Nós */
#sobre-nos {
    background-color: #FFF;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#sobre-nos h2 {
    font-size: 2.5rem;
    color: #004080;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.sobre-nos-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin-top: 30px;
}

.sobre-nos-text {
    flex: 1;
    max-width: 550px;
    text-align: left;
}

.sobre-nos-text h3 {
    color: #004080;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.sobre-nos-text p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.sobre-nos-img {
    flex: 1;
    text-align: center;
}

.sobre-nos-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Seção Comentários */
#comentarios {
    background-color: #F0F4F8;
    padding: 60px 0;
    text-align: center;
}

#comentarios h2 {
    font-size: 2.2rem;
    color: #004080;
    margin-bottom: 30px;
}

.comentarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    padding: 0 20px;
}

.comentario-card {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-align: left;
}

.comentario-card::before {
    content: "“";
    font-size: 4rem;
    color: #00A0E4;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

.comentario-card p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 15px;
    font-style: italic;
    padding-left: 20px;
}

.comentario-card .autor {
    display: flex;
    align-items: center;
    margin-left: 20px;
    font-weight: 600;
    color: #004080;
}

.comentario-card .autor-inicial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #004080;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Rodapé */
footer {
    background-color: #00274D;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 1rem;
    letter-spacing: 1px;
}
