/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis de Cores */
:root {
    --azul-marinho: #0B2E45;
    --cinza-claro: #ECECED;
    --laranja-pastel: #CCA86E;
    --texto-principal: #333;
}

body {
    color: var(--texto-principal);
    line-height: 1.6;
    font-family: 'Arquitecta';
    background-color: var(--cinza-claro);
}

.navbar {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================= HEADER ================= */
header {
    width: 100%;
    background: rgba(11, 46, 69, 0.4);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
    font-family: 'Arquitecta'
}

header .container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: auto;
}

.logo-texto {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.logo-texto h1 {
    font-family: 'Meligor', serif;
    font-size: 32px;
    font-weight: 300;
    color: var(--cinza-claro);
}

.logo-texto h3 {
    font-family: 'Meligor', serif;
    font-size: 12px;
    font-weight: 200;
    color: var(--cinza-claro);
}

.contato {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 16px;
    font-weight: 500;
}

.contato a {
    color: var(--cinza-claro);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 5px 5px;
}

.contato i {
    font-size: 18px;
    margin-right: 10px;
}

.contato a:last-child {
    margin-left: 15px;
}

/* ================= HOME ================= */
#home {
    min-height: 110vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    color: var(--cinza-claro);
    padding-left: 5%;
    padding-top: 150px;
    background: url('img/bg/predios.jpg') no-repeat center center/cover;
    position: relative;
}

#home .container {
    background: rgba(11, 46, 69, 0.4);
    padding: 40px;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 3%;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#home h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 700px;
}

#home p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 700px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #25d366, #128C7E);
    color: var(--cinza-claro);
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-btn i {
    font-size: 22px;
    margin-right: 10px;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #128C7E, #25d366);
}

/* =============== SCROLL DOWN INDICADOR =============== */

.scroll-down {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--cinza-claro);
    cursor: pointer;
    animation: bounce 1.5s infinite ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(20px);
    }
}

.scroll-down:hover {
    transform: translateX(-50%) scale(1.2);
}

.scroll-down.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ================= SEÇÃO SOBRE ================= */
#sobre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 100px 20px;
    max-width: 1200px;
    margin: auto;
}

#sobre img {
    width: 45%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

#sobre img:hover {
    transform: scale(1.05);
}

#sobre .container {
    width: 50%;
    text-align: left;
}

#sobre h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--azul-marinho);
    margin-bottom: 20px;
    position: relative;
}

#sobre h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--laranja-pastel);
    margin: 10px 0 20px;
    border-radius: 2px;
}

#sobre p {
    font-size: 18px;
    font-weight: 400;
    color: var(--texto-principal);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ================= SEÇÃO SERVIÇOS ================= */
#servicos {
    background: var(--cinza-claro);
    padding: 100px 20px;
    text-align: center;
}

#servicos .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#servicos h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--azul-marinho);
    margin-bottom: 40px;
    position: relative;
}

#servicos h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--laranja-pastel);
    margin: 10px auto 20px;
    border-radius: 2px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.servico {
    background: var(--cinza-claro);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid var(--laranja-pastel);
}

.servico h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--laranja-pastel);
    margin-bottom: 15px;
}

.servico p {
    font-size: 16px;
    color: var(--texto-principal);
    line-height: 1.5;
}

.servico:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: var(--cinza-claro);
}

/* =============== SEÇÃO ASSESSOR =============== */
#assessor {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    color: var(--cinza-claro);
    background: url('img/img4.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

/* Filtro escuro sobre a imagem */
#assessor .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 46, 69, 0.7);
    backdrop-filter: blur(4px);
}

/* Layout em colunas */
#assessor .container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1100px;
    gap: 50px;
    z-index: 2;
}

/* Estilização da imagem de perfil */
#assessor .profile {
    flex: 1;
    display: flex;
    justify-content: center;
}

#assessor .profile img {
    width: 200px; /* ou até maior tipo 280px */
    height: 300px;
    border-radius: 50%;
    object-fit: contain; /* <- Muda de cover para contain */
    object-position: center center; /* Centraliza o foco */
    border: 5px solid var(--laranja-pastel);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#assessor .profile img:hover {
    transform: scale(1.05);
}

/* Estilização do texto */
#assessor .text {
    flex: 2;
    text-align: left;
}

/* Estilização do título */
#assessor h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

/* Linha decorativa abaixo do título */
#assessor h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: var(--laranja-pastel);
    margin: 10px 0 20px;
    border-radius: 2px;
}

/* Estilização do texto */
#assessor p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Botão estilizado */
.cta-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #25d366, #128C7E);
    color: var(--cinza-claro);
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.cta-btn i {
    font-size: 22px;
    margin-right: 10px;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #128C7E, #25d366);
}

/* =============== SEÇÃO DIFERENCIAL =============== */
#diferencial {
    background: var(--cinza-claro);
    padding: 100px 20px;
    text-align: center;
}

#diferencial .container {
    max-width: 1100px;
    margin: auto;
}

/* Títulos */
#diferencial h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--azul-marinho);
    margin-bottom: 10px;
    position: relative;
}

#diferencial h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--texto-principal);
    margin-bottom: 40px;
}

/* Grid dos diferenciais */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Estilização de cada diferencial */
.diferencial {
    background: var(--cinza-claro);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid var(--laranja-pastel);
}

.diferencial:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: var(--cinza-claro);
}

/* Ícones */
.diferencial i {
    font-size: 40px;
    color: var(--laranja-pastel);
    margin-bottom: 15px;
}

/* Título do diferencial */
.diferencial h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--azul-marinho);
    margin-bottom: 10px;
}

/* Texto do diferencial */
.diferencial p {
    font-size: 16px;
    color: var(--texto-principal);
    line-height: 1.5;
}

/* ================= TARJA AZUL ANTES DA LOGO ================= */
.tarja-topo {
    position: relative;
    background: var(--azul-marinho);
    width: 100%;
    height: 120px;
    clip-path: polygon(0% 100%, 50% 80%, 100% 100%, 100% 0%, 0% 0%);
}

.tarja-topo::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(0% 100%, 50% 80%, 100% 100%);
}

/* ================= SEÇÃO LOGO SOBRE O RODAPÉ ================= */
#logo-section {
    background: url('img/img3.jpg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Overlay escuro para destacar a logo */
#logo-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 46, 69, 0.7);
}

/* Caixa azul com a logo centralizada */
.logo-container {
    position: relative;
    background: var(--azul-marinho);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-container img {
    width: 120px;
    height: auto;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--azul-marinho);
    color: var(--cinza-claro);
    text-align: center;
    min-height: 80px;
    padding: 20px 0;
    backdrop-filter: blur(5px);
}

/* .footer::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(0% 100%, 10% 50%, 20% 100%, 30% 50%, 40% 100%, 50% 50%, 
                      60% 100%, 70% 50%, 80% 100%, 90% 50%, 100% 100%);
} */

section,
header {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* ================= BOTÃO WHATSAPP ================= */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--cinza-claro);
    font-size: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: 0.3s;
    animation: pulse 1.5s infinite ease-in-out;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    transform: scale(1.15);
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .contato {
        display: none;
    }

    .logo {
        justify-content: center;
    }

    #home {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    #home .container {
        border-radius: 0;
        width: 100%;
        max-width: none;
        padding: 50px 20px;
        box-shadow: none;
        background: rgba(11, 46, 69, 0.6);
    }

    #sobre {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    #sobre img {
        width: 100%;
        max-height: 300px;
    }

    #sobre .container {
        width: 100%;
        text-align: center;
    }

    #servicos {
        padding: 50px 10px;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    #assessor {
        padding: 80px 20px;
    }

    #assessor .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    #assessor .text {
        text-align: center;
    }

    #assessor .profile img {
        height: 160px;
        width: 110px;
    }  

    #diferencial {
        padding: 80px 20px;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        min-height: 100px;
        padding: 20px;
    }
}