/*Rolagem suave ao clicar no menu*/

html {
    scroll-behavior: smooth;
}

/* Estilo geral */
body {
    background-color: #111111;
    color: #e5e5e5;
    font-family: "Helvetica Neue", Arial, sans-serif;
    /* texto em Helvetica */
    margin: 0;
}

/* Títulos, logo e botões com a fonte principal */
h1,
h2,
h3,
.logo span,
.btn {
    font-family: "Keep Calm Medium", "Helvetica Neue", Arial, sans-serif;
}

/*Container centralizado*/
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/*TOPO/MENU*/
.topo {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #000000;
    border-bottom: 1px solid #333333;
    padding: 15px 80px 15px 80px;
    /* top, right, bottom, left*/
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;

    &>div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1100px;
    }
}

.topo.ocultar {
    transform: translateY(-100%);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    /* Altura ajustável da logo logo */
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.menu {
    display: flex;
    align-items: center;
}

/*Links do Menu*/
.menu a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 16px;
    padding: 0 20px;
    border-right: 1px solid #e5e5e5;

    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
}

.menu a:first-child {
    padding-left: 0;
}

.menu a:last-child {
    border-right: none;
    padding-right: 0;
}

/*HOVER*/
.menu a:hover {
    color: #f5f5f5;
    border-color: #ffffff;
    transform: translateY(-1px);
}

/*HERO*/
.hero {
    padding: 10px 0;
    min-height: 70vh;

    background-image:
        linear-gradient(to right,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 35%,
            rgba(0, 0, 0, 0.55) 65%,
            rgba(0, 0, 0, 0.15) 100%),

        url("imagens/parede-escritorio.jpg");

    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

/* Conteúdo do hero alinhado */
.hero-conteudo {
    width: 100%;
}

/* Título e texto do hero */
.hero h1 {
    max-width: 620px;
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    max-width: 620px;
    font-size: 18px;
    color: #dcdcdc;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-texto {
    flex: 1 1 420px;
    /* <-- corrigido */
    max-width: 520px;
}

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

.hero-imagem img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    /* <-- corrigido */
}

/*Botões*/
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-principal {
    background-color: #f5f5f5;
    color: #000000;
    font-weight: 600;
    margin-right: 10px;
    box-shadow: 0 6px 16px rgba (0, 0, 0, 0.35)
}

.btn-principal:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-1px);
}

.btn-secundario {
    color: #f5f5f5;
    border: 1px solid #f5f5f5;
    background-color: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secundario:hover {
    background-color: transparent;
    /*manter efeito transparente*/
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-1px);
    color: #000000;
}

.hero-botoes .btn-secundario {
    border: 1px solid #b3b3b3;
    color: #b3b3b3;
    background-color: transparent;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-botoes .btn-secundario:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: transparent;
    transform: translateY(-1px);
}

/*Botão enviar email*/

.btn-email {
    border-color: #b3b3b3;
    color: #b3b3b3;
}

.btn-email:hover {
    border-color: #ffffff;
    color: #ffffff;
}

.contato-opcoes {
    display: flex;
    gap: 24px;
    justify-content: center;
    /* centraliza os botões */
    margin-top: 40px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;

    /* animação */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;

    /* blur no fundo */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* quando o modal estiver aberto (classe adicionada via JS) */
.modal-overlay.aberto {
    opacity: 1;
    pointer-events: auto;
}

/*Caixa do Modal*/
.modal-email {
    background-color: #1a1a1a;
    border: 1px solid #4d4d4d;
    border-radius: 22px;

    padding: 32px 36px 40px;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    position: relative;

    /* estado inicial: invisível (para animação) */
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-email form button[type="submit"] {
    display: block;
    margin: 20px auto 0;
}

/* quando o overlay estiver "aberto", a caixa aparece */
.modal-overlay.aberto .modal-email {
    opacity: 1;
    transform: translateY(0) scale(1);
}

#telefone-modal {
    letter-spacing: 1px;
}

/*Título do modal*/
.modal-email h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 14px;
    color: #d0d0d0
}

/*Botão de fechar (X)*/
.modal-fechar {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    color: #e5e5e5;
    font-size: 22px;
    cursor: pointer;
}

.campo-form {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.campo-form label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #d0d0d0;
}

.campo-form input,
.campo-form textarea {
    background-color: #101010;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    color: #f0f0f0;

    resize: none;
    overflow-y: auto;
}

.campo-form input:focus,
.campo-form textarea:focus {
    outline: none;
    border-color: #b3b3b3;
}

/*Mensagens de feedback no modal*/
.feedback-sucesso,
.feedback-erro {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sucesso */
.feedback-sucesso {
    background: rgba(0, 150, 70, 0.12);
    border: 1px solid rgba(0, 150, 70, 0.25);
    color: #8cffb3
}

.icone-sucesso {
    font-size: 18px;
    color: #00cc66;
}

/* Erro */
.feedback-erro {
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.25);
    color: #ff8c8c;
}

.icone-erro {
    font-size: 18px;
    color: #ff4d4d;
}

/* Seções */
.secao {
    padding: 100px 20px;
    background-color: #111111;
    color: #e5e5e5;
}

.secao-clara {
    background-color: #ffffff;
    color: #111111;
}

/*Títulos das seções claras*/
.secao h2 {
    font-size: 32px;
    margin: 0 0 40px 0;
    padding-left: 12px;
    border-left: 3px solid #b3b3b3;
}

/* Títulos das seções escuras*/
.secao p {
    font-size: 17px;
    line-height: 1.8;
    color: #d0d0d0;
    max-width: 900px;
    margin-bottom: 24px;
}

/*Texto das seções claras*/
.secao-clara p {
    color: #333333;
}



/*GRID DE SERVIÇOS*/
.grid-serviços {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.card-servico {
    background-color: #101010;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    padding: 20px;
}

.card-servico h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.card-servico p {
    margin-top: 20px;
    margin-bottom: 0;
}

/* RODAPÉ */
.rodape {
    border-top: 1px solid #333333;
    background-color: #000000;
    padding: 12px 0 4px;
    /* menos espaço em cima e embaixo */
    font-size: 13px;
}

.rodape p {
    margin: 0;
    color: #aaaaaa;
}

.rodape-conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.rodape-logo {
    max-width: 350px;
    height: auto;
}

.rodape-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* antes: flex-end */
    gap: 10px;
    text-align: left;
    /* antes: right */
}

/* Endereço com ícone + link */
.rodape-endereco a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: #bbbbbb;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.rodape-endereco a:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
    /* sem linha feia */
}

/* Ícone de localização */
.rodape-icone-localizacao svg {
    width: 16px;
    height: 16px;
    fill: #bbbbbb;
}

.rodape-endereco a:hover .rodape-icone-localizacao svg {
    fill: #ffffff;
}

/* Instagram com mesma fonte do endereço */
.rodape-instagram {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #bbbbbb;
    font-size: 13px;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.rodape-instagram:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

.rodape-instagram-icone {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.rodape-instagram-icone rect,
.rodape-instagram-icone circle {
    fill: none;
}

/* Linha © centralizada */
.rodape-copy-area {
    margin-bottom: 20px;
    /* antes 12px: aproxima mais do conteúdo */
    text-align: center;
}

.rodape-copy {
    font-size: 13px;
    color: #aaaaaa;
}

/* ===========================
   RESPONSIVIDADE (MOBILE)
=========================== */
@media (max-width: 768px) {

    /* Topo e Menu */
    .topo {
        padding: 15px 20px;
        /* Reduz o padding lateral em telas menores */
    }

    .topo>div {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .menu a {
        border-right: none;
        /* Remove a borda para não ficar estranho ao quebrar linha */
        padding: 5px 10px;
        font-size: 15px;
    }

    /* Hero */
    .hero {
        padding-top: 60px;
        background-position: center;
        /* Centraliza a imagem de fundo no mobile */
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .hero-botoes .btn {
        margin-right: 0;
        text-align: center;
    }

    /* Seções (ajuste de padding) */
    .secao {
        padding: 60px 20px;
    }

    .secao h2 {
        font-size: 26px;
    }

    /* Sobre - Centralizar foto ao quebrar linha */
    .sobre-layout {
        flex-direction: column;
        align-items: center;
    }

    .sobre-texto {
        text-align: center;
    }

    .sobre-foto-container {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* Rodapé */
    .rodape-conteudo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .rodape-info {
        align-items: center;
        text-align: center;
    }

    .rodape-linha-final {
        flex-direction: column;
    }
}

/*FAQ - PERGUNTAS FREQUENTES*/

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 30px;
}

.faq-item {
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: #ffffff;
}

/* ====== FAQ ESTILO FINAL =======*/

.faq.-conteiner {
    max-width: 760px;
    margin: 30px auto 0;
}

/* Caixa geral de cada pergunta*/
.faq-item {
    border: 1opx solid #d4d4d4;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: #f5f5f5
}


/* Botão da Pergunta*/
.faq-pergunta {
    width: 100%;
    background: #f0f0f0;
    border: none;
    padding: 18px 16px;
    font-size: 17px;
    text-align: left;
    color: #111111;
    font-family: "Keep Calm Medium", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-pergunta.hover {
    background-color: #e0e0e0;
    color: #e5e5e5;
}

/* Ícone "+" / "-" */
.faq-icone {
    font-size: 20px;
    transition: transform 0.25s ease;
}

/* Caixa da Resposta */
.faq-resposta {
    max-height: 0;
    overflow: hidden;
    background-color: #fafafa;
    border-top: 1px solid #e0e0e0;
    transition: max-height 0.35s ease-out;
}

.faq-resposta p {
    padding: 16px;
    margin: 0;
    color: #333333;
    font-family: "Helvetica Neue", sans-serif;
}

/* Quando item estiver aberto */
.faq-item.ativo .faq-resposta {
    max-height: 300px;
}

.faq-item.ativo .faq-icone {
    transform: rotate(45deg);
    /*vira "+" em "x" */
}

/*Layout da seção sobre o escritório*/
.sobre-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.sobre-texto {
    flex: 1 1 320px;
    text-align: justify;
}

.sobre-foto {
    max-width: 260px;
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* ===========================
DEPOIMENTOS / PROVA SOCIAL
=========================== */

#depoimentos p {
    max-width: 800px;
}

.depoimentos-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.depo-carousel-container {
    width: 100%;
    max-width: 960;
    margin: 0 auto;
    flex: 1;
    overflow-x: hidden;
    overflow-y: visible;
    padding-block: 10px;
}

/*Lista de cards */
.depo-card-list {
    display: flex;
    gap: 20px;
}

.depo-card {
    background: #f5f5f5;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 18px;
    width: 250px;
    /* controla quantos aparecem por vez */
    flex-shrink: 0;
    /* impede de encolher */
    margin: 0 10px;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.depo-card.ativo {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.depo-card:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}



.depo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.depo-identificacao {
    display: flex;
    flex-direction: column;
}

/* Logo do depoimento (circular no canto) */
.depo-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/*cabeçalho card*/
.depo-nome {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
}

.depo-empresa {
    margin: 2px 0 4px 0;
    color: #555;
    font-size: 14px;
}

.depo-estrelas {
    color: #777;
    margin-bottom: 10px;
}

.depo-texto {
    line-height: 1.5;
    font-size: 14px;
    color: #333;
}

.depo-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

/* ----- BOTÕES ----- */

.depo-btn {
    width: 40px;
    height: 40px;
    background: #e5e5e5;
    border: none;
    border-radius: 50%;
    color: #111;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

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