* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #0D1B2A;
    color: #E0E1DD;
    line-height: 1.6;
    padding-bottom: 40px;
}

header {
    background: #1B263B;
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

nav {
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav a {
    color: #E0E1DD;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

nav a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px #E0E1DD;
}

main {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 16px;
}

.hero {
    background: #1B263B;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.hero p {
    margin-bottom: 10px;
}

.servicos, .botao-servicos {
    display: inline-block;
    background: #415A77;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s;
}

.servicos:hover,
.botao-servicos:hover {
    background: #E0E1DD;
    color: #1B263B;
}

section {
    margin-top: 40px;
    padding: 25px;
    background: #1B263B;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

h1, h2, h3 {
    color: #FFFFFF;
}

h2, h3 {
    margin-bottom: 15px;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
}

figure {
    text-align: center;
    margin: 20px 0;
}

figure img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figcaption {
    margin-top: 8px;
    color: #E0E1DD;
    font-size: 0.9rem;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #0D1B2A;
    color: #E0E1DD;
    font-size: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

table th {
    background: #415A77;
    padding: 12px;
    text-align: left;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #415A77;
}

table tr:nth-child(even) {
    background: #1B263B;
}

caption {
    margin-bottom: 10px;
    font-weight: bold;
}

input, textarea {
    padding: 10px;
    border: 2px solid #415A77;
    border-radius: 6px;
    background: #0D1B2A;
    color: #E0E1DD;
    outline: none;
    font-size: 16px;
    width: 100%;
}

input:focus, textarea:focus {
    border-color: #E0E1DD;
    box-shadow: 0 0 6px rgba(224,225,221,0.08);
}

.btn-enviar {
    padding: 12px;
    background: #415A77;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-enviar:hover {
    background: #E0E1DD;
    color: #1B263B;
}

footer {
    margin-top: 40px;
    padding: 15px;
    text-align: center;
    background: #1B263B;
    color: #e0e1dd;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.sobre-principal a,
.contato a {
    color: #A8B4C8;
    text-decoration: none;
    transition: 0.3s;
}

.sobre-principal a:hover,
.contato a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.whats-button {
    position: fixed;
    width: 60px;    
    height: 60px;
    bottom: 95px;
    right: 25px;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whats-button img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 0px 4px rgba(0,0,0,0.4));
    border-radius: 50%;
}

.whats-button:hover {
    transform: scale(1.10);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.info-contato a {
    color: #e0e1dd;
}


.galeria {
    margin-top: 40px;
    padding: 25px;
    background: #1B263B;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

.galeria h2 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #FFFFFF;
}


.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}


.card-projeto {
    background: #0D1B2A;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    text-align: center;
    overflow: hidden;
}

.card-projeto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 12px;
}

.card-projeto p {
    color: #E0E1DD;
    font-size: 0.98rem;
    margin: 0;
    padding: 6px 4px 0 4px;
}


.card-projeto:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.5);
}


@media (max-width: 900px) {
    main {
        max-width: 860px;
    }

    .card-projeto img {
        height: 160px;
    }
}

@media (max-width: 600px) {
    main {
        max-width: 100%;
        margin: 20px;
    }

    .projetos-grid {
        grid-template-columns: 1fr;
    }

    .card-projeto img {
        height: 220px;
    }

    nav {
        gap: 12px;
        padding: 8px 12px;
    }

    nav a {
        font-size: 1rem;
    }
}

.h2{display: flex;
    align-items: center;
    justify-content: center;
}