
:root {
    --brand: #B8860B;
    --dark: #0b1220;
    --muted: #6b7280;
    --bg: #f7f9fb;
}

* {
    box-sizing: border-box
}

body {
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    margin: 0;
    background: var(--bg);
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px
}

/* HEADER */
.header {
    background: linear-gradient(90deg,rgba(0,0,0,0.75), rgba(0,0,0,0));
    color: white;
    padding: 18px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .brand img {
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

.nav a {
    margin-left: 18px;
    text-decoration: none;
    color: white;
    font-weight: 600;
}

/* HERO */
.hero {
    background-image: url('assets/img/hero.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    color: white;
    padding: 80px 24px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

    .hero .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(11,18,32,0.55), rgba(11,18,32,0.45));
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.h-title {
    font-size: 36px;
    margin: 0 0 12px;
    color: white;
}

.h-desc {
    color: rgba(255,255,255,0.9);
    margin: 0 0 18px
}

.cta {
    display: inline-block;
    background: var(--brand);
    color: white;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(184,134,11,0.15);
}

/* CARDS */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
    margin-top: 8px;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(11,18,32,0.06);
    overflow: hidden;
    transition: transform .25s,box-shadow .25s;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(11,18,32,0.12);
    }

    .card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

.card-body {
    padding: 16px
}

.card h3 {
    margin: 0;
    color: var(--brand)
}

.card p {
    color: var(--muted);
    margin: 8px 0 0
}

/* GRID 2 */
.section {
    margin: 40px 0
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}

/* PANELS */
.about-panel, .contact-card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(11,18,32,0.04);
}

/* FOOTER */
.footer {
    background: #081023;
    color: rgba(255,255,255,0.85);
    padding: 30px 0;
    margin-top: 40px;
}

    .footer a {
        color: var(--brand);
        text-decoration: none;
    }

/* FORM */
.form-group {
    margin-bottom: 10px
}

input[type=text], input[type=email], textarea, select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e6eef7;
    font-size: 14px;
}

button.primary {
    background: var(--brand);
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
}

/* BTN WHATSAPP */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .whatsapp-button img {
        width: 65px;
        height: 65px;
    }

    .whatsapp-button:hover {
        transform: scale(1.12);
        box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    }

/* RESPONSIVIDADE */
@media(max-width:900px) {
    .grid-2 {
        grid-template-columns: 1fr
    }

    .brand img {
        width: 52px;
        height: 52px
    }

    .h-title {
        font-size: 30px;
        padding-right: 10px
    }

    .nav a {
        color: white;
        font-size: 15px
    }
}

@media(max-width:600px) {
    .nav {
        flex-direction: column; /* empilha os itens */
        align-items: flex-end; /* alinha à esquerda */
        gap: 12px;
    }

        .nav a {
            margin-left: 0; /* remove margem que empurra */
            display: block; /* garante quebra */
            font-size: 16px;
        }
}


    .whatsapp-button {
        width: 58px;
        height: 58px;
        bottom: 18px;
        right: 22px
    }

        .whatsapp-button img {
            width: 58px;
            height: 58px
        }
}
