/* ===== Reset básico ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #c7d3e0;
    background: #05080f;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

section {
    padding: 70px 8%;
    scroll-margin-top: 100px;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: #ffffff;
    scroll-margin-top: 100px;
}

/* ===== Cabeçalho ===== */
.cabecalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 6%;
    background: #050b14;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.cabecalho .logo img {
    height: 72px;
    width: 220px;
    max-width: none;
    object-fit: contain;
}

.cabecalho nav {
    display: flex;
    gap: 32px;
}

.cabecalho nav a {
    font-weight: 500;
    color: #e6f0fa;
    transition: color 0.2s ease;
}

.cabecalho nav a:hover {
    color: #29b6f6;
}

#btn-whats-topo {
    background: #1479d6;
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

#btn-whats-topo:hover {
    background: #0f5aa8;
    transform: translateY(-1px);
}

/* ===== Home (Hero) ===== */
.home {
    background: #0a0e1a;
    color: #ffffff;
    padding: 90px 8%;
}

.container-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    max-width: 1300px;
    margin: 0 auto;
}

.conteudo-home {
    flex: 1 1 480px;
    text-align: left;
}

.selo-home {
    display: inline-block;
    background: #1b2542;
    color: #a9bdff;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.home h1 {
    color: #ffffff;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.home h1 .destaque {
    color: #4f7dff;
}

.home p {
    color: #98a2b3;
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 520px;
}

.botoes-home {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primario {
    background: #3968f7;
    color: #ffffff;
    border: none;
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primario:hover {
    background: #2c53d6;
    transform: translateY(-2px);
}

.btn-secundario {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #3a4257;
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.btn-secundario:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
}

.imagem-home {
    flex: 1 1 460px;
    position: relative;
}

.imagem-home img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
}

.card-flutuante {
    position: absolute;
    left: 24px;
    bottom: -28px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #131a2b;
    border: 1px solid #232c42;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    max-width: 300px;
}

.icone-flutuante {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d2c4a;
    border-radius: 50%;
    font-size: 1.1rem;
}

.card-flutuante strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.card-flutuante p {
    color: #8b95a5;
    font-size: 0.82rem;
    margin: 0;
}

/* Em telas menores, a imagem desce pra baixo do texto */
@media (max-width: 900px) {
    .container-home {
        flex-direction: column;
        text-align: center;
    }

    .conteudo-home {
        text-align: center;
    }

    .home p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .imagem-home {
        margin-top: 40px;
        width: 100%;
    }

    .imagem-home img {
        height: 280px;
    }

    .card-flutuante {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
}

/* ===== Nossos Serviços ===== */
.nossos-servicos {
    background: #05080f;
    text-align: center;
}

.nossos-servicos h2 {
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.container-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.servicos {
    background: #0d1526;
    border: 1px solid #1a2740;
    border-radius: 14px;
    padding: 16px 16px 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.servicos:hover {
    transform: translateY(-6px);
    border-color: #29b6f6;
    box-shadow: 0 10px 28px rgba(20, 121, 214, 0.25);
}

.servicos h3 {
    font-size: 1.05rem;
    margin-top: 16px;
    color: #e6f0fa;
}

/* ===== Mini carrossel Antes/Depois (dentro dos cards de serviço) ===== */
.mini-carrossel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.mini-trilho {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.mini-slide {
    min-width: 100%;
    position: relative;
}

.mini-slide img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.mini-legenda {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(10, 26, 47, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 20px;
}

.mini-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.mini-seta:hover {
    background: #ffffff;
}

.mini-seta-anterior {
    left: 8px;
}

.mini-seta-proxima {
    right: 8px;
}

.mini-pontos {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.mini-ponto {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mini-ponto.ativo {
    background: #29b6f6;
    transform: scale(1.3);
}

/* ===== Quem Somos ===== */
.quem-somos {
    background: #080c17;
}

.container-quem-somos {
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 1200px;
    margin: 0 auto;
}

.foto-quem-somos {
    flex: 1 1 460px;
}

.foto-quem-somos img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #1a2740;
}

.texto-quem-somos-container {
    flex: 1 1 480px;
    text-align: left;
}

.selo-quem-somos {
    display: inline-block;
    background: #1479d6;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.quem-somos h2 {
    color: #ffffff;
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 24px;
}

.texto-quem-somos-container p {
    color: #9aa8ba;
    margin-bottom: 18px;
    font-size: 1rem;
}

.lista-quem-somos {
    list-style: none;
    margin-top: 24px;
}

.lista-quem-somos li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c7d3e0;
    margin-bottom: 14px;
    font-size: 0.98rem;
}

.check-quem-somos {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1479d6;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.75rem;
}

/* Em telas menores, a foto sobe e o texto fica embaixo */
@media (max-width: 900px) {
    .container-quem-somos {
        flex-direction: column;
        text-align: center;
    }

    .texto-quem-somos-container {
        text-align: center;
    }

    .lista-quem-somos li {
        justify-content: center;
    }

    .foto-quem-somos img {
        height: 300px;
    }
}

/* ===== Por que escolher ===== */
.porque-escolher {
    background: #05080f;
}

.container-porque-escolher {
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 1200px;
    margin: 0 auto;
}

.texto-porque-escolher {
    flex: 1 1 520px;
    text-align: left;
}

.porque-escolher h2 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.texto-porque-escolher > p {
    color: #9aa8ba;
    margin-bottom: 32px;
    font-size: 1rem;
}

.lista-porque-escolher {
    list-style: none;
}

.lista-porque-escolher li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.lista-porque-escolher li:last-child {
    margin-bottom: 0;
}

.icone-porque-escolher {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1479d6;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-top: 2px;
}

.lista-porque-escolher strong {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.lista-porque-escolher p {
    color: #9aa8ba;
    font-size: 0.95rem;
}

.imagem-porque-escolher {
    flex: 1 1 460px;
}

.imagem-porque-escolher img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #1a2740;
}

/* Em telas menores, a imagem sobe e o texto fica embaixo */
@media (max-width: 900px) {
    .container-porque-escolher {
        flex-direction: column;
        text-align: center;
    }

    .texto-porque-escolher {
        text-align: center;
    }

    .lista-porque-escolher li {
        text-align: left;
    }

    .imagem-porque-escolher img {
        height: 320px;
    }
}

/* ===== Depoimentos ===== */
.depoimentos {
    background: #080c17;
    text-align: center;
}

.depoimentos h5 {
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.container-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card-depoimentos {
    background: #0d1526;
    border: 1px solid #1a2740;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: left;
}

.card-depoimentos p {
    color: #9aa8ba;
    margin-bottom: 16px;
    font-style: italic;
}

.card-depoimentos h3 {
    font-size: 0.95rem;
    color: #29b6f6;
}

/* ===== Contato ===== */
.contato {
    background: #05080f;
    text-align: center;
}

.contato h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contato > p {
    color: #9aa8ba;
    margin-bottom: 32px;
}

.container-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-agendamento {
    background: #0d1526;
    border: 1px solid #1a2740;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.grupo-campo {
    margin-bottom: 20px;
}

.grupo-campo label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #e6f0fa;
}

.grupo-campo input,
.grupo-campo select,
.grupo-campo textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #22314d;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    background: #060a14;
    color: #e6f0fa;
}

.grupo-campo select option {
    background: #0d1526;
    color: #e6f0fa;
}

.grupo-campo textarea {
    min-height: 100px;
    resize: vertical;
}

.grupo-campo input::placeholder,
.grupo-campo textarea::placeholder {
    color: #5f7188;
}

.grupo-campo input:focus,
.grupo-campo select:focus,
.grupo-campo textarea:focus {
    outline: none;
    border-color: #1479d6;
    box-shadow: 0 0 0 3px rgba(20, 121, 214, 0.25);
}

.btn-enviar {
    width: 100%;
    background: #1479d6;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.btn-enviar:hover {
    background: #0f5aa8;
}

/* ===== Rodapé ===== */
.rodape {
    background: #050b14;
    color: #cfe3f7;
    padding: 60px 8% 24px;
    border-top: 1px solid #1a2740;
    text-align: center;
}

.marca-rodape {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    text-align: left;
}

.marca-rodape img {
    height: 56px;
    width: auto;
    border-radius: 10px;
}

.marca-rodape h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.marca-rodape p {
    color: #9db9d4;
    font-size: 0.88rem;
    max-width: 320px;
}

.divisor-rodape {
    height: 1px;
    background: #1a2740;
    max-width: 900px;
    margin: 0 auto 40px;
}

.container-rodape {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.coluna-rodape {
    text-align: left;
}

.coluna-rodape h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.coluna-rodape p {
    color: #9db9d4;
    font-size: 0.92rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icone-rodape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #0d2c4a;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.redes-sociais {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-rede {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9db9d4;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.link-rede:hover {
    color: #29b6f6;
}

.direitos-autorais {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.direitos-autorais p {
    color: #7391ab;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .marca-rodape {
        flex-direction: column;
        text-align: center;
    }

    .marca-rodape p {
        max-width: 100%;
    }

    .container-rodape {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .coluna-rodape {
        text-align: center;
    }

    .coluna-rodape p,
    .link-rede {
        justify-content: center;
    }
}

/* ===== Botão Hambúrguer (só aparece no celular) ===== */
#btn-hamburguer {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    padding: 0;
}

#btn-hamburguer span {
    display: block;
    width: 26px;
    height: 3px;
    background: #e6f0fa;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Transforma as 3 linhas em um "X" quando o menu está aberto */
#btn-hamburguer.ativo span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#btn-hamburguer.ativo span:nth-child(2) {
    opacity: 0;
}

#btn-hamburguer.ativo span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Responsivo ===== */
@media (max-width: 800px) {
    .cabecalho {
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
    }

    #btn-hamburguer {
        display: flex;
    }

    #btn-whats-topo {
        display: none;
    }

    .cabecalho nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #050b14;
        border-top: 1px solid #1a2740;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    }

    .cabecalho nav.ativo {
        display: flex;
    }

    .cabecalho nav a {
        padding: 16px 6%;
        border-bottom: 1px solid #131c2f;
        width: 100%;
        text-align: center;
    }

    section {
        padding: 50px 6%;
    }

    .home h1 {
        font-size: 1.9rem;
    }
}