:root {
    --azul: #1565c0;
    --azul-escuro: #0d3b66;
    --azul-claro: #e8f1fc;
    --vermelho: #e63946;
    --texto: #2b2b2b;
    --texto-suave: #6b7280;
    --cinza-fundo: #f5f7fa;
    --borda: #eceef1;
    --sombra: 0 4px 16px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: var(--texto);
    font-family: Arial, sans-serif;
    margin: 0;
}

header.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 40px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.marca {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

nav {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
}

nav a {
    color: var(--texto);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

nav a:hover,
nav a:focus {
    color: var(--azul);
    border-bottom-color: var(--azul);
}

.hero {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul));
    color: #ffffff;
    padding: 0;
}

.hero-conteudo {
    max-width: 1000px;
    margin: 0 auto;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-texto {
    flex: 1;
}

.hero-texto h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hero-texto p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0 0 20px;
}

.hero-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.hero-botao-primario {
    background-color: #ffffff;
    color: var(--azul-escuro);
}

.hero-botao-primario:hover {
    background-color: var(--azul-claro);
}

.hero-botao-secundario {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 26px;
}

.hero-botao-secundario:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-imagem img {
    width: 100%;
    max-width: 420px;
    height: 260px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 70px 0;
}

section h2 {
    font-size: 1.8rem;
    margin: 0 0 30px;
    color: var(--azul-escuro);
    position: relative;
    padding-bottom: 14px;
}

section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--vermelho);
    border-radius: 2px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.servico-card {
    background-color: #ffffff;
    border: 1px solid var(--borda);
    border-radius: 12px;
    box-shadow: var(--sombra);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.servico-icone {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--azul-claro);
    color: var(--azul);
}

.servico-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: var(--azul-escuro);
}

.servico-card p {
    color: var(--texto-suave);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

#historia {
    background-color: var(--cinza-fundo);
    border-radius: 16px;
    padding: 60px 40px;
}

#historia p {
    line-height: 1.6;
    color: var(--texto);
}

.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.galeria img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--sombra);
    transition: transform 0.25s ease;
}

.galeria img:hover {
    transform: scale(1.08);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.lightbox.ativo {
    display: flex;
}

.lightbox img {
    max-width: 85vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-fechar,
.lightbox-anterior,
.lightbox-proxima {
    position: absolute;
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
    transition: color 0.2s;
}

.lightbox-fechar:hover,
.lightbox-anterior:hover,
.lightbox-proxima:hover {
    color: var(--vermelho);
}

.lightbox-fechar {
    top: 15px;
    right: 20px;
}

.lightbox-anterior {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-proxima {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.avaliacoes-carrossel {
    display: flex;
    align-items: center;
    gap: 15px;
}

.carrossel-viewport {
    flex: 1;
    overflow: hidden;
}

.carrossel-trilha {
    display: flex;
    transition: transform 0.4s ease;
}

.carrossel-trilha blockquote {
    flex: 0 0 100%;
    background-color: #ffffff;
    border: 1px solid var(--borda);
    border-radius: 12px;
    box-shadow: var(--sombra);
    padding: 30px;
    margin: 0;
    box-sizing: border-box;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carrossel-trilha blockquote p {
    margin: 0 0 15px;
    line-height: 1.6;
    font-size: 1.05rem;
    color: var(--texto);
}

.carrossel-seta {
    flex-shrink: 0;
    background-color: var(--azul-claro);
    color: var(--azul);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.carrossel-seta:hover {
    background-color: var(--azul);
    color: #ffffff;
}

.carrossel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.carrossel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #d5dbe3;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s;
}

.carrossel-dots button.ativo {
    background-color: var(--azul);
}

.ver-mais-avaliacoes {
    text-align: center;
    margin-top: 20px;
}

.ver-mais-avaliacoes a {
    color: var(--azul);
    font-weight: bold;
    text-decoration: none;
}

.ver-mais-avaliacoes a:hover {
    text-decoration: underline;
}

.autor {
    font-weight: bold;
    color: var(--azul-escuro);
    font-style: normal;
    margin-top: 5px;
}

.estrelas {
    color: var(--vermelho);
}

.whatsapp-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: #0f2b1a;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    z-index: 200;
    animation: whatsapp-pulso 1.8s infinite;
}

.whatsapp-flutuante:hover {
    background-color: #1ebe5a;
}

@keyframes whatsapp-pulso {
    0% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

#localizacao {
    background-color: var(--cinza-fundo);
    border-radius: 16px;
    padding: 60px 40px;
}

#localizacao > p {
    color: var(--texto-suave);
}

.localizacao-info {
    background-color: #ffffff;
    border: 1px solid var(--borda);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.localizacao-info p {
    margin: 0 0 10px;
    color: var(--texto);
}

.localizacao-info p:last-child {
    margin-bottom: 0;
}

.localizacao-info strong {
    color: var(--azul-escuro);
}

.mapa-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra);
    line-height: 0;
}

.localizacao-botoes {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.botao-mapa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 20px;
    border-radius: 50px;
    transition: filter 0.2s;
}

.botao-mapa:hover {
    filter: brightness(1.1);
}

.botao-maps {
    background-color: var(--azul);
    color: #fff;
}

.botao-waze {
    background-color: #33ccff;
    color: #0d3b66;
}

#contato {
    background: linear-gradient(135deg, var(--azul-escuro), var(--azul));
    color: #ffffff;
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

#contato h2 {
    color: #ffffff;
}

#contato h2::after {
    background-color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
}

#contato p {
    color: rgba(255, 255, 255, 0.9);
}

#contato a {
    display: inline-block;
    background-color: #25d366;
    color: #0f2b1a;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 50px;
    margin-top: 10px;
    transition: background-color 0.2s;
}

#contato a:hover {
    background-color: #1ebe5a;
}

@media (max-width: 700px) {
    header.topo {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    nav {
        justify-content: center;
        gap: 12px 20px;
        width: 100%;
    }

    nav a {
        font-size: 0.95rem;
    }

    .hero-conteudo {
        flex-direction: column;
        padding: 25px 20px;
        text-align: center;
        gap: 20px;
    }

    .hero-texto h1 {
        font-size: 1.5rem;
    }

    .hero-botoes {
        justify-content: center;
    }

    .hero-imagem img {
        max-width: 300px;
        height: 180px;
    }

    section {
        padding: 40px 0;
    }

    #historia,
    #localizacao,
    #contato {
        padding: 35px 20px;
        border-radius: 12px;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .galeria {
        gap: 10px;
    }

    .galeria img {
        height: 90px;
    }

    .carrossel-trilha blockquote {
        padding: 20px;
        min-height: 200px;
    }

    .carrossel-seta {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .localizacao-botoes {
        flex-direction: column;
    }

    .lightbox-anterior,
    .lightbox-proxima {
        font-size: 1.8rem;
        padding: 6px;
    }

    .lightbox-fechar {
        font-size: 2rem;
        top: 8px;
        right: 10px;
    }

    .whatsapp-flutuante {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
