/* ========================= */
/* PALETA DE CORES - LOCAÇÃO */
/* ========================= */
:root {
    /* Cores Principais - Inspiradas no Recife */
    --azul-profundo: #003366;      /* Confiança, mercado imobiliário, mar de Boa Viagem */
    --verde-musgo: #6B8E23;        /* Clima de reserva e campo de Aldeia */
    --bege-areia: #F5F5DC;         /* Praia, luminosidade, apartamentos urbanos */
    --terracota: #CC4E22;          /* Telhas de Olinda, calor e destaque */
    
    /* Cores Derivadas */
    --azul-claro: #004d99;         /* Variação mais clara do azul profundo */
    --azul-muito-claro: #e6f0ff;   /* Fundo suave azulado */
    --verde-escuro: #4a6318;       /* Verde mais escuro para contraste */
    --terracota-claro: #e8a68a;    /* Terracota mais suave */
    --branco: #ffffff;
    --cinza-escuro: #333333;
    --cinza-medio: #666666;
    --cinza-claro: #f0f0f0;
    
    /* Tipografia */
    --text-dark: #003366;          /* Azul profundo para textos */
    --text-light: #F5F5DC;         /* Bege para textos em fundos escuros */
    --text-gray: #666666;
    
    /* Elementos */
    --shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
    --radius: 12px;
    --transition: 0.3s ease;
}

/* ========================= */
/* RESET */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--bege-areia);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* login */

body#login{
    background-color: var(--azul-muito-claro);
}

body#login section#form{
    display: flex;
    justify-content: center;
}

/* html */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* ========================= */
/* CONTAINER */
/* ========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================= */
/* HEADER */
/* ========================= */
#header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    
    width: calc(100% - 40px);
    height: 75px;
    
    background: linear-gradient(135deg, var(--azul-profundo), var(--azul-claro));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0.60;
    
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    
    display: flex;
    align-items: center;
    
    z-index: 9999;
    transition: var(--transition);
}


#header.scrolled {
    background: linear-gradient(135deg, var(--azul-profundo), var(--azul-claro));
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.25);
    opacity: 0.9;
    transition: var(--transition);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


.logo {
    height: 65px;        /* controla tamanho da logo */
    width: auto;
    display: block;
    object-fit: contain;
    padding-bottom: 1px;
}

/* ========================= */
/* MENU */
/* ========================= */
.menu ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.menu ul li a {
    color: var(--bege-areia);
    text-decoration: none;
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.menu ul li a:hover {
    color: var(--terracota);
}

.menu ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--terracota);
    transition: var(--transition);
}

.menu ul li a:hover::after {
    width: 100%;
}

/* ========================= */
/* MENU MOBILE */
/* ========================= */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--bege-areia);
    margin: 5px 0;
    transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================= */
/* SEÇÕES GERAIS */
/* ========================= */
section {
    min-height: 100vh;
    display: flex;
    position: relative;
    padding: 80px 0;
}

/* ========================= */
/* HOME/BANNER */
/* ========================= */
#home {
    background: linear-gradient(135deg, var(--azul-profundo), var(--azul-claro));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.3;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 51, 102, 0.95) 0%,
        rgba(107, 142, 35, 0.7) 50%,
        rgba(0, 51, 102, 0.95) 100%
    );
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
    color: var(--bege-areia);
}

#home h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#home h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ========================= */
/* SOBRE */
/* ========================= */
#sobre {
    background-color: var(--bege-areia);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

#sobre .container {
    flex: 1;
    min-width: 300px;
}

#text {
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 300px;
}

#text h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--azul-profundo);
}

#text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

#img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

#img img {
    background-color: transparent;
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ========================= */
/* SERVIÇOS */
/* ========================= */
#servicos {
    background: linear-gradient(135deg, var(--verde-musgo), rgba(107, 142, 35, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

#servicos .container {
    width: 100%;
}

#servicos h2 {
    font-size: 2.5rem;
    color: var(--bege-areia);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.cards {
    display: flex;
    gap: 30px;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--bege-areia);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.1);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 51, 102, 0.08);
    border-left: 5px solid var(--terracota);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(204, 78, 34, 0.1), transparent);
    transition: 0.6s;
    z-index: 0;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.15);
    border-left: 5px solid var(--azul-profundo);
}

.card h3 {
    color: var(--azul-profundo);
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================= */
/* CONTATO E ENDEREÇO */
/* ========================= */
#contato-endereco {
    background-color: var(--azul-muito-claro);
    padding: 80px 0;
}

.contato-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contato-box,
.endereco-box {
    flex: 1;
    min-width: 300px;
}

.contato-box h2,
.endereco-box h2 {
    color: var(--azul-profundo);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: bold;
}

/* ========================= */
/* FORMULÁRIO */
/* ========================= */
form {
    background-color: var(--azul-profundo);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 51, 102, 0.2);
    border-left: 5px solid var(--terracota);
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    position: relative;
    overflow: hidden;
}

form::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 245, 220, 0.05), transparent);
    transition: 0.6s;
    z-index: 0;
}

form:hover::before {
    left: 100%;
}

form input,
form textarea {
    background: rgba(255, 255, 255, 0.95);
    color: var(--azul-profundo);
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 51, 102, 0.1);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(102, 102, 102, 0.6);
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--terracota);
    box-shadow: 0 0 0 3px rgba(204, 78, 34, 0.1);
    background-color: var(--branco);
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

.botoes-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#form{
    margin-left: 35%;
    display: flex;
    width: 25rem;
}


/* ========================= */
/* BOTÕES */
/* ========================= */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

/* EFEITO DE BRILHO */
.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    
    transform: skewX(-25deg);
    transition: 0.6s;
}

.btn:hover::after {
    left: 120%;
}

.btn {
    background: linear-gradient(135deg, var(--azul-profundo), var(--azul-claro));
    color: var(--bege-areia);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.3);
}

.btn-wpp {
    background: linear-gradient(135deg, var(--terracota), #e8a68a);
    color: var(--branco);
}

.btn-wpp:hover {
    background: linear-gradient(135deg, #b83d1a, var(--terracota));
    box-shadow: 0 15px 40px rgba(204, 78, 34, 0.3);
}

.btn-brilho {
    background: linear-gradient(135deg, var(--terracota), #e8a68a);
    color: var(--branco);
    font-weight: bold;
}

.btn-brilho:hover {
    background: linear-gradient(135deg, #b83d1a, var(--terracota));
    box-shadow: 0 15px 40px rgba(204, 78, 34, 0.3);
}

.botoes-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.mapa-container {
    border-radius: var(--radius);
    border: 2px solid var(--azul-profundo);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.info-endereco {
    background-color: var(--branco);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 5px solid var(--verde-musgo);
    margin-bottom: 20px;
}

.info-endereco p {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.info-endereco strong {
    color: var(--azul-profundo);
}

/* ========================= */
/* FOOTER */
/* ========================= */
#footer {
    background-color: var(--azul-profundo);
    color: var(--bege-areia);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

#footer p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ========================= */
/* ANIMAÇÕES */
/* ========================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */
@media (max-width: 768px) {
    #header {
        width: calc(100% - 20px);
        top: 5px;
    }

    .menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: var(--azul-profundo);
        display: none;
        flex-direction: column;
        border-radius: var(--radius);
    }

    .menu.active {
        display: flex;
    }

    .menu ul {
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
        gap: 10px;
    }

    .menu-toggle {
        display: block;
    }

    #home h1 {
        font-size: 2.2rem;
    }

    #home h2 {
        font-size: 1.1rem;
    }

    #text h1 {
        font-size: 1.8rem;
    }

    #text p {
        font-size: 0.95rem;
    }

    #servicos h2 {
        font-size: 1.8rem;
    }

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        min-width: 100%;
        max-width: 100%;
    }

    .contato-grid {
        flex-direction: column;
        gap: 30px;
    }

    .botoes-form {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        flex: none;
    }

    #sobre {
        flex-direction: column;
    }

    .video-bg {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;

    }

    .menu ul {
        gap: 5px;
    }

    #home {
        padding-top: 100px;
    }

    #home h1 {
        font-size: 1.8rem;
    }

    #home h2 {
        font-size: 0.95rem;
    }

    .container {
        width: 95%;
    }
}
