/* ==========================================
   RESETS E CONFIGURAÇÕES GERAIS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #1c3a58;
    font-family: sans-serif;
    overflow-x: hidden; /* Mantido apenas no body para evitar conflitos */
}

.secao-pagina-cheia {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

h1 { 
    margin-top: 0px;
    margin-left: 3%;
    padding-top: 0px;
}

ul {
    list-style-type: circle;
}

/* ==========================================
   TIPOGRAFIA GLOBAL E PADRÕES
   ========================================== */
.titulo {
    font-family: 'Wondershine', serif;
    color: #f9f8f5;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

/* Unificado para servir no "Sobre", "Serviços" e "Contato" */
.subtitulo-sobre, .subtitulo {
    font-family: 'Century Gothic', sans-serif;
    color: #f9f8f5;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
}

.subtitulo {
    padding-top: 40px;
}

.linha-divisora, .linha-decorativa {
    width: 60px;
    height: 1px;
    background-color: #f9f8f5;
    margin-bottom: 30px;
    opacity: 0.3;
}

.texto {
    font-family: 'Century Gothic', sans-serif;
    color: #f9f8f5;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-align: justify;
    opacity: 0.9;
}

/* ==========================================
   MENU E NAVEGAÇÃO
   ========================================== */
.menu {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 20px 5%;
    width: 100%;
    background-color: #173049;       
    border-bottom: 1px solid #d4ccb6;
    position: fixed;   
    top: 0;            
    left: 0;           
    z-index: 1000;     
    transition: transform 0.3s ease-out; 
    opacity: 1; 
}

.menu-lado-esquerdo, 
.menu-lado-direito {
    flex: 1; 
    display: flex;
    gap: 50px;
}

.menu-lado-esquerdo {
    justify-content: flex-end;  
    margin-right: 120px;
    margin-left: 2%;
}

.menu-lado-direito {
    justify-content: flex-start; 
    margin-left: 120px;
    margin-right: 2%;
}

.menu-logo-container {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.logo-link {
    height: 120px;
    width: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.logo-link:hover {
    transform: scale(1.1);
}

.linkmenu {
    font-family: 'Century Gothic', sans-serif;
    text-decoration: none;
    font-size: 22px;
    display: inline-block;
    background: linear-gradient(to right, #e8e4d8 50%, #f9f8f5 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.4s ease-out, transform 0.3s ease-in-out;
    position: relative;
}

.linkmenu::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    color: #e8e4d8;
    top: 0;
    left: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.linkmenu:hover {
    background-position: 0 0;
    transform: scale(1.1); 
}

.linkmenu:hover::after {
    transform: scaleX(1);
}

/* ==========================================
   BANNER PRINCIPAL (HERO)
   ========================================== */
.banner-principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 6% 0 6%;
    gap: 40px;
    height: 100vh;
}    

#titulo-principal {
    font-family: 'Wondershine', serif;
    font-size: 50px;
    text-align: left;
    color: #d4ccb6;
    padding-left: 4%;
    padding-bottom: 2%;
    margin-bottom: 4px;
    margin-left: 1px;
}

#descricaoinicial {
    color: #f9f8f5;
    font-size: 18px;
    padding-left: 4%;
    letter-spacing: 3px;
    line-height: 25px;
}

#conheca {
    display: inline-block;
    color: #f9f8f5;
    border: 1px solid #f9f8f5;
    border-radius: 50px;
    background-color: transparent;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    margin-left: 4%;
    margin-top: 3%;
    margin-bottom: 0px;
}

/* Carrossel */
.carrossel-container {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.foto-slide {
    display: none;
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.foto-slide.active {
    display: block;
    animation: fade 0.4s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; } 
    to { opacity: 1; }
}

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(23, 48, 73, 0.6);
    color: #f9f8f5;
    border: none;
    font-size: 20px;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.seta:hover {
    background-color: rgba(23, 48, 73, 0.9);
}

.anterior { left: 15px; }
.proximo { right: 15px; }

.indicadores {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.bolinha {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(249, 248, 245, 0.5); 
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}

.bolinha.active, .bolinha:hover {
    background-color: #f9f8f5; 
    transform: scale(1.2);
}

/* ==========================================
   SOBRE MIM E MOTIVAÇÕES
   ========================================== */
.sobre-mim {
    background-image: linear-gradient(rgba(23, 48, 73, 0.85), rgba(23, 48, 73, 0.85)), url('FOTOS Fernanda Nascimento/Fernanda Nascimento-322.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 6%;
}

.sobre-conteudo {
    max-width: 650px;
}

#motivacoes {
    background-image: linear-gradient(rgba(23, 48, 73, 0.85), rgba(23, 48, 73, 0.85)), url('FOTOS Fernanda Nascimento/Fernanda Nascimento-422.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    padding: 80px 6%;
    gap: 60px;
}

#motivo-imagem {
    width: 380px;
    max-width: 500px;
    height: 450px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#motivo-imagem:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.motivacoes-conteudo {
    flex: 1;                      
    max-width: 650px;             
}

/* ==========================================
   SERVIÇOS
   ========================================== */
#servicos {
    display: flex;
    justify-content: center;
    padding: 100px 6% 80px 6%;
    background-image: linear-gradient(rgba(23, 48, 73, 0.85), rgba(23, 48, 73, 0.85)), url('FOTOS Fernanda Nascimento/Fernanda Nascimento-222.jpg');
    background-size: cover;
    background-position: center;
}

.servicos-container {
    width: 100%;
    max-width: 1200px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cabecalho-servicos {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.linha-central {
    margin: 0 auto 30px auto; 
}

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

.card-servico {
    background-color: #173049; 
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 2px solid transparent; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-servico:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
    border-color: #d4ccb6; 
}

.box-icone {
    background-color: #d4ccb6; 
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.card-servico:hover .box-icone,
.card-servico:hover .box-icone svg {
    transform: scale(1.1) rotate(5deg);
}

.box-icone svg {
    width: 26px;
    height: 26px;
    stroke: #1c3a58; 
    transition: transform 0.3s ease;
}

.titulo-card {
    font-family: 'Wondershine', serif; 
    font-size: 24px;
    color: #f9f8f5;
    margin-bottom: 15px;
    font-weight: 500;
}

.texto-card {
    font-family: 'Century Gothic', sans-serif;
    color: #f9f8f5;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.85; 
}

/* ==========================================
   CONTATO (NOVA ESTRUTURA - PLANO B)
   ========================================== */
#contato {
    background-color: #1c3a58;
    padding: 100px 6% 80px 6%;
}

/* Cabeçalho centralizado independente */
.cabecalho-contato {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.cabecalho-contato .descricao {
    font-family: 'Century Gothic', sans-serif;
    color: #f9f8f5;
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.6;
    margin-top: 10px;
}

/* Grid para Formulário e Redes Lado a Lado */
.conteudo-contato {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinhamento crucial pelo topo */
    max-width: 1100px;
    margin: 0 auto;
    gap: 60px;
}

/* Coluna 1: Formulário */
.coluna-formulario {
    flex: 1;
    max-width: 600px;
}

.formulario-pericia {
    background-color: #173049;
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 204, 182, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grupo-formulario {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.linha-dupla {
    display: flex;
    gap: 20px;
}

.grupo-formulario label {
    font-family: 'Century Gothic', sans-serif;
    color: #f9f8f5;
    font-size: 14px;
    font-weight: 500;
}

.grupo-formulario input,
.grupo-formulario select,
.grupo-formulario textarea {
    font-family: 'Century Gothic', sans-serif;
    background-color: #1c3a58;
    color: #f9f8f5;
    border: 1px solid rgba(212, 204, 182, 0.3);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.grupo-formulario input::placeholder,
.grupo-formulario textarea::placeholder {
    color: rgba(249, 248, 245, 0.4);
}

.grupo-formulario input:focus,
.grupo-formulario select:focus,
.grupo-formulario textarea:focus {
    border-color: #d4ccb6;
    box-shadow: 0 0 8px rgba(212, 204, 182, 0.3);
}

.grupo-formulario select option {
    background-color: #173049;
    color: #f9f8f5;
}

.botao-enviar {
    font-family: 'Century Gothic', sans-serif;
    background-color: #d4ccb6;
    color: #1c3a58;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.botao-enviar:hover {
    background-color: #f9f8f5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Coluna 2: Redes Sociais Grandes */
.coluna-redes {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px; 
}

.chamada-redes {
    font-family: 'Century Gothic', sans-serif;
    color: #f9f8f5;
    font-size: 1.3rem;
    font-weight: 300;
    margin: 0 0 30px 0;
}

.redes-sociais-contato {
    display: flex;
    gap: 35px;
}

.icone-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px; 
    height: 75px; 
    background-color: #173049;
    border-radius: 50%;
    color: #f9f8f5; 
    border: 2px solid rgba(212, 204, 182, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.icone-social svg {
    width: 35px; 
    height: 35px;
    fill: currentColor;
}

.icone-social:hover {
    transform: translateY(-8px);
    background-color: #d4ccb6;
    color: #1c3a58;
    border-color: #d4ccb6;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   RESPONSIVIDADE (MOBILE - Até 768px)
   ========================================== */
@media (max-width: 768px) {
    .secao-pagina-cheia {
        min-height: auto;
        padding: 60px 5%;
    }

    /* Menu Mobile */
    .menu {
        padding: 15px 5%;
        justify-content: center; 
    }

    .menu-lado-esquerdo, 
    .menu-lado-direito {
        display: none; 
    }

    .menu-logo-container {
        margin: 0 auto;
    }

    .logo-link {
        height: 75px;
    }

    .menu-hamburguer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: absolute;
        left: 5%;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-hamburguer span {
        width: 100%;
        height: 3px;
        background-color: #f9f8f5;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .menu-lado-esquerdo.ativo {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #173049;
        text-align: center;
        padding-top: 25px;
        gap: 20px;
        margin: 0;
        z-index: 10;
    }

    .menu-lado-direito.ativo {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 93px);
        left: 0;
        width: 100%;
        background-color: #173049;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 25px;
        gap: 20px;
        border-bottom: 1px solid #d4ccb6;
        margin: 0;
        margin-top: 6px;
    }

    /* Banner Mobile */
    .banner-principal {
        flex-direction: column;
        height: auto;
        padding-top: 140px;
        gap: 30px;
        text-align: center;
    }

    #titulo-principal {
        font-size: 38px;
        padding-left: 0;
        text-align: center;
    }

    #conheca, #descricaoinicial {
        margin-left: 0;
        padding-left: 0;
        list-style-type: none;
    }

    /* Sessões Mobile */
    .grid-servicos {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #motivacoes {
        flex-direction: column; 
        padding: 80px 5%; 
        gap: 30px; 
    }

    #motivo-imagem {
        width: 100%; 
        max-width: 380px; 
        height: auto; 
    }

    .texto-motivo, .texto.motivacoes-conteudo {
        display: flex;
        flex-direction: column;
        align-items: center; 
        text-align: center;
    }

    /* Contato Mobile */
    .conteudo-contato {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .linha-dupla {
        flex-direction: column;
        gap: 20px;
    }
    
    .formulario-pericia {
        padding: 25px 20px;
    }
}

/* ==========================================
   DESKTOP (A partir de 769px) - Correções de Menu
   ========================================== */
@media (min-width: 769px) {
    .menu-hamburguer {
        display: none !important;
    }
}

/* ==========================================
   RODAPÉ (FOOTER)
   ========================================== */
.rodape-site {
    background-color: #173049;
    padding: 60px 6% 20px 6%;
    border-top: 1px solid rgba(212, 204, 182, 0.2);
    font-family: 'Century Gothic', sans-serif;
}

.rodape-conteudo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 50px auto;
}

.rodape-marca {
    flex: 1.5;
    min-width: 280px;
}

.rodape-marca img {
    max-width: 200px;
    margin-bottom: 20px;
}

.rodape-marca p {
    color: #f9f8f5;
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 300px;
}

.rodape-links, .rodape-infos {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.rodape-site h4 {
    font-family: 'Wondershine', serif;
    font-size: 22px;
    color: #d4ccb6;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 500;
}

.rodape-links a, .rodape-infos p {
    color: #f9f8f5;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.rodape-links a:hover {
    opacity: 1;
    color: #d4ccb6;
    transform: translateX(5px);
}

.rodape-direitos {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(249, 248, 245, 0.1);
}

.rodape-direitos p {
    color: #f9f8f5;
    font-size: 13px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .rodape-conteudo {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .rodape-marca p {
        margin: 0 auto;
    }

    .rodape-links, .rodape-infos {
        align-items: center;
    }
    
    .rodape-links a:hover {
        transform: none; /* Desativa o movimento pro lado no celular */
    }
}